Trait k8s_openapi_ext::PodSpecExt
source · pub trait PodSpecExt {
// Required methods
fn container(container: Container) -> Self;
fn containers(containers: impl IntoIterator<Item = Container>) -> Self;
fn service_account_name(self, name: impl ToString) -> Self;
fn image_pull_secret(self, name: impl ToString) -> Self;
fn volumes(self, volumes: impl IntoIterator<Item = Volume>) -> Self;
}
Required Methods§
fn container(container: Container) -> Self
fn containers(containers: impl IntoIterator<Item = Container>) -> Self
fn service_account_name(self, name: impl ToString) -> Self
fn image_pull_secret(self, name: impl ToString) -> Self
fn volumes(self, volumes: impl IntoIterator<Item = Volume>) -> Self
Object Safety§
This trait is not object safe.