Trait ManifestsApi

Source
pub trait ManifestsApi: Send + Sync {
    // Required methods
    fn manifest_add_libpod(
        &self,
        name: &str,
        options: Option<ManifestAddOptions>,
    ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send>>;
    fn manifest_create_libpod(
        &self,
        name: &str,
        images: &str,
        all: Option<bool>,
        amend: Option<bool>,
        options: Option<ManifestModifyOptions>,
    ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send>>;
    fn manifest_delete_libpod(
        &self,
        name: &str,
    ) -> Pin<Box<dyn Future<Output = Result<LibpodImagesRemoveReport, Error>> + Send>>;
    fn manifest_exists_libpod(
        &self,
        name: &str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
    fn manifest_inspect_libpod(
        &self,
        name: &str,
        tls_verify: Option<bool>,
    ) -> Pin<Box<dyn Future<Output = Result<Schema2ListPublic, Error>> + Send>>;
    fn manifest_modify_libpod(
        &self,
        name: &str,
        options: ManifestModifyOptions,
        tls_verify: Option<bool>,
    ) -> Pin<Box<dyn Future<Output = Result<ManifestModifyReport, Error>> + Send>>;
    fn manifest_push_libpod(
        &self,
        name: &str,
        destination: &str,
        add_compression: Option<Vec<String>>,
        force_compression_format: Option<bool>,
        all: Option<bool>,
        tls_verify: Option<bool>,
        quiet: Option<bool>,
    ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send>>;
    fn manifest_push_v3_libpod(
        &self,
        name: &str,
        destination: &str,
        all: Option<bool>,
    ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send>>;
}

Required Methods§

Source

fn manifest_add_libpod( &self, name: &str, options: Option<ManifestAddOptions>, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send>>

Source

fn manifest_create_libpod( &self, name: &str, images: &str, all: Option<bool>, amend: Option<bool>, options: Option<ManifestModifyOptions>, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send>>

Source

fn manifest_delete_libpod( &self, name: &str, ) -> Pin<Box<dyn Future<Output = Result<LibpodImagesRemoveReport, Error>> + Send>>

Source

fn manifest_exists_libpod( &self, name: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source

fn manifest_inspect_libpod( &self, name: &str, tls_verify: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<Schema2ListPublic, Error>> + Send>>

Source

fn manifest_modify_libpod( &self, name: &str, options: ManifestModifyOptions, tls_verify: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<ManifestModifyReport, Error>> + Send>>

Source

fn manifest_push_libpod( &self, name: &str, destination: &str, add_compression: Option<Vec<String>>, force_compression_format: Option<bool>, all: Option<bool>, tls_verify: Option<bool>, quiet: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send>>

Source

fn manifest_push_v3_libpod( &self, name: &str, destination: &str, all: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send>>

Implementors§