Trait ServiceAccountExt

Source
pub trait ServiceAccountExt: ResourceBuilder {
    // Required methods
    fn new(name: impl ToString) -> Self;
    fn automount_service_account_token(self, yes: bool) -> Self;
    fn image_pull_secret(self, secret: impl ToString) -> Self;
    fn image_pull_secrets(
        self,
        secrets: impl IntoIterator<Item = impl ToString>,
    ) -> Self;
}

Required Methods§

Source

fn new(name: impl ToString) -> Self

Source

fn automount_service_account_token(self, yes: bool) -> Self

Source

fn image_pull_secret(self, secret: impl ToString) -> Self

Source

fn image_pull_secrets( self, secrets: impl IntoIterator<Item = impl ToString>, ) -> Self

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§