Trait podman_rest_client::v5::apis::Manifests
source · pub trait Manifests:
HasConfig
+ Send
+ Sync {
// Provided methods
fn manifest_delete_libpod<'a>(
&'a self,
name: &'a str,
) -> Pin<Box<dyn Future<Output = Result<LibpodImagesRemoveReport, Error>> + Send + 'a>> { ... }
fn manifest_create_libpod<'a>(
&'a self,
name: &'a str,
params: Option<ManifestCreateLibpod<'a>>,
options: ManifestModifyOptions,
) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send + 'a>> { ... }
fn manifest_modify_libpod<'a>(
&'a self,
name: &'a str,
params: Option<ManifestModifyLibpod>,
options: ManifestModifyOptions,
) -> Pin<Box<dyn Future<Output = Result<ManifestModifyReport, Error>> + Send + 'a>> { ... }
fn manifest_add_libpod<'a>(
&'a self,
name: &'a str,
options: ManifestAddOptions,
) -> Pin<Box<dyn Future<Output = Result<IdResponse, 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<Schema2ListPublic, 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<IdResponse, 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<IdResponse, Error>> + Send + 'a>> { ... }
}
Provided Methods§
sourcefn manifest_delete_libpod<'a>(
&'a self,
name: &'a str,
) -> Pin<Box<dyn Future<Output = Result<LibpodImagesRemoveReport, Error>> + Send + 'a>>
fn manifest_delete_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<LibpodImagesRemoveReport, Error>> + Send + 'a>>
DELETE /libpod/manifests/{name} Delete manifest list Delete named manifest list
As of v4.0.0
sourcefn manifest_create_libpod<'a>(
&'a self,
name: &'a str,
params: Option<ManifestCreateLibpod<'a>>,
options: ManifestModifyOptions,
) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send + 'a>>
fn manifest_create_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestCreateLibpod<'a>>, options: ManifestModifyOptions, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send + 'a>>
POST /libpod/manifests/{name} Create Create a manifest list
sourcefn manifest_modify_libpod<'a>(
&'a self,
name: &'a str,
params: Option<ManifestModifyLibpod>,
options: ManifestModifyOptions,
) -> Pin<Box<dyn Future<Output = Result<ManifestModifyReport, Error>> + Send + 'a>>
fn manifest_modify_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestModifyLibpod>, options: ManifestModifyOptions, ) -> Pin<Box<dyn Future<Output = Result<ManifestModifyReport, 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: ManifestAddOptions,
) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send + 'a>>
fn manifest_add_libpod<'a>( &'a self, name: &'a str, options: ManifestAddOptions, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, 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<Schema2ListPublic, Error>> + Send + 'a>>
fn manifest_inspect_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestInspectLibpod>, ) -> Pin<Box<dyn Future<Output = Result<Schema2ListPublic, 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<IdResponse, 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<IdResponse, 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<IdResponse, 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<IdResponse, 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