Trait SecretsApi
Source pub trait SecretsApi: Send + Sync {
// Required methods
fn secret_create_libpod(
&self,
name: &str,
driver: Option<&str>,
driveropts: Option<&str>,
labels: Option<&str>,
request: Option<&str>,
) -> Pin<Box<dyn Future<Output = Result<SecretCreateLibpod201Response, Error>> + Send>>;
fn secret_delete_libpod(
&self,
name: &str,
all: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
fn secret_exists_libpod(
&self,
name: &str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
fn secret_inspect_libpod(
&self,
name: &str,
showsecret: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<SecretInfoReport, Error>> + Send>>;
fn secret_list_libpod(
&self,
filters: Option<&str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<SecretInfoReport>, Error>> + Send>>;
}