pub trait SecretExt2: SecretExt {
// Provided method
fn image_pull_secret(name: impl ToString, config: impl ToString) -> Self { ... }
}Provided Methods§
Sourcefn image_pull_secret(name: impl ToString, config: impl ToString) -> Self
👎Deprecated since 0.0.54: use SecretExt::docker_config_json_text instead
fn image_pull_secret(name: impl ToString, config: impl ToString) -> Self
use SecretExt::docker_config_json_text instead
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".