pub trait SecretExt: ResourceBuilder + Sized {
    fn new(name: impl ToString) -> Self;
    fn immutable(self, yes: bool) -> Self;
    fn type(self, type: impl ToString) -> Self;
    fn data(
        self,
        data: impl IntoIterator<Item = (impl ToString, ByteString)>
    ) -> Self; fn string_data(
        self,
        data: impl IntoIterator<Item = (impl ToString, impl ToString)>
    ) -> Self; fn image_pull_secret(
        name: impl ToString,
        registry: impl ToString,
        username: impl ToString,
        password: impl ToString
    ) -> Self { ... } fn basic_auth(
        name: impl ToString,
        username: impl ToString,
        password: impl ToString
    ) -> Self { ... } fn ssh_auth(name: impl ToString, private_key: impl ToString) -> Self { ... } }

Required Methods

Provided Methods

Creates new image pull secret object

Creates new basic authentication secret object

Implementors