pub trait PodExt {
    // Required methods
    fn new(name: impl ToString) -> Self;
    fn with_labels(
        name: impl ToString,
        labels: impl IntoIterator<Item = (impl ToString, impl ToString)>,
    ) -> Self;
    fn spec(self, spec: PodSpec) -> Self;
    fn container(self, container: Container) -> Self;
    fn containers(self, containers: impl IntoIterator<Item = Container>) -> Self;
}Required Methods§
sourcefn with_labels(
    name: impl ToString,
    labels: impl IntoIterator<Item = (impl ToString, impl ToString)>,
) -> Self
 
fn with_labels( name: impl ToString, labels: impl IntoIterator<Item = (impl ToString, impl ToString)>, ) -> Self
Creates new corev1::Pod object with given labels
sourcefn containers(self, containers: impl IntoIterator<Item = Container>) -> Self
 
fn containers(self, containers: impl IntoIterator<Item = Container>) -> Self
Sets this pod containers
Object Safety§
This trait is not object safe.