pub trait Manifests:
HasConfig
+ Send
+ Sync {
// Provided methods
fn manifest_create_libpod<'a>(
&'a self,
params: Option<ManifestCreateLibpod<'a>>,
options: (),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
fn manifest_delete_libpod<'a>(
&'a self,
name: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
fn manifest_modify_libpod<'a>(
&'a self,
name: &'a str,
params: Option<ManifestModifyLibpod>,
options: (),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
fn manifest_add_libpod<'a>(
&'a self,
name: &'a str,
options: (),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
fn manifest_exists_libpod<'a>(
&'a self,
name: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
fn manifest_inspect_libpod<'a>(
&'a self,
name: &'a str,
params: Option<ManifestInspectLibpod>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
fn manifest_push_v_3_libpod<'a>(
&'a self,
name: &'a str,
params: Option<ManifestPushV3Libpod<'a>>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
fn manifest_push_libpod<'a>(
&'a self,
name: &'a str,
destination: &'a str,
params: Option<ManifestPushLibpod<'a>>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
}v4 only.Provided Methods§
Sourcefn manifest_create_libpod<'a>(
&'a self,
params: Option<ManifestCreateLibpod<'a>>,
options: (),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn manifest_create_libpod<'a>( &'a self, params: Option<ManifestCreateLibpod<'a>>, options: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
POST /libpod/manifests
Create
Create a manifest list
Sourcefn manifest_delete_libpod<'a>(
&'a self,
name: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn manifest_delete_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
DELETE /libpod/manifests/{name}
Delete manifest list
Delete named manifest list
As of v4.0.0
Sourcefn manifest_modify_libpod<'a>(
&'a self,
name: &'a str,
params: Option<ManifestModifyLibpod>,
options: (),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn manifest_modify_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestModifyLibpod>, options: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
GET /libpod/manifests/{name}
Modify manifest list
Add/Remove an image(s) to a manifest list
Note: operations are not atomic when multiple Images are provided.
As of v4.0.0
Sourcefn manifest_add_libpod<'a>(
&'a self,
name: &'a str,
options: (),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn manifest_add_libpod<'a>( &'a self, name: &'a str, options: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
POST /libpod/manifests/{name}/add
Add image
Add an image to a manifest list
Deprecated: As of 4.0.0 use ManifestModifyLibpod instead
Sourcefn manifest_exists_libpod<'a>(
&'a self,
name: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn manifest_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
GET /libpod/manifests/{name}/exists
Exists
Check if manifest list exists
Note: There is no contract that the manifest list will exist for a follow-on operation
Sourcefn manifest_inspect_libpod<'a>(
&'a self,
name: &'a str,
params: Option<ManifestInspectLibpod>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn manifest_inspect_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestInspectLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
GET /libpod/manifests/{name}/json
Inspect
Display attributes of given manifest list
Sourcefn manifest_push_v_3_libpod<'a>(
&'a self,
name: &'a str,
params: Option<ManifestPushV3Libpod<'a>>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn manifest_push_v_3_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestPushV3Libpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
POST /libpod/manifests/{name}/push
Push manifest to registry
Push a manifest list or image index to a registry
Deprecated: As of 4.0.0 use ManifestPushLibpod instead
Sourcefn manifest_push_libpod<'a>(
&'a self,
name: &'a str,
destination: &'a str,
params: Option<ManifestPushLibpod<'a>>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn manifest_push_libpod<'a>( &'a self, name: &'a str, destination: &'a str, params: Option<ManifestPushLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
POST /libpod/manifests/{name}/registry/{destination}
Push manifest list to registry
Push a manifest list or image index to the named registry
As of v4.0.0