Trait SecretExt2

Source
pub trait SecretExt2: SecretExt {
    // Provided method
    fn image_pull_secret(name: impl ToString, data: impl ToString) -> Self { ... }
}

Provided Methods§

Source

fn image_pull_secret(name: impl ToString, data: impl ToString) -> Self

Creates new image pull secret object when you already have the .docker/config.json content extracted from some other source (i.e. secret)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§