pub trait ContainerExt {
    // Required methods
    fn new(name: impl ToString) -> Self;
    fn env(self, env: impl IntoIterator<Item = impl ToEnvVar>) -> Self;
    fn env_from(self, env: impl IntoIterator<Item = impl ToEnvFrom>) -> Self;
    fn image(self, image: impl ToString) -> Self;
    fn image_pull_policy_always(self) -> Self;
    fn image_pull_policy_never(self) -> Self;
    fn liveness_probe(self, probe: Probe) -> Self;
    fn readiness_probe(self, probe: Probe) -> Self;
    fn resource_limits(
        self,
        limits: impl IntoIterator<Item = (String, Quantity)>
    ) -> Self;
    fn resource_requests(
        self,
        requests: impl IntoIterator<Item = (String, Quantity)>
    ) -> Self;
    fn startup_probe(self, probe: Probe) -> Self;
    fn volume_mounts(
        self,
        volume_mounts: impl IntoIterator<Item = VolumeMount>
    ) -> Self;
}

Required Methods§

source

fn new(name: impl ToString) -> Self

source

fn env(self, env: impl IntoIterator<Item = impl ToEnvVar>) -> Self

source

fn env_from(self, env: impl IntoIterator<Item = impl ToEnvFrom>) -> Self

source

fn image(self, image: impl ToString) -> Self

source

fn image_pull_policy_always(self) -> Self

source

fn image_pull_policy_never(self) -> Self

source

fn liveness_probe(self, probe: Probe) -> Self

source

fn readiness_probe(self, probe: Probe) -> Self

source

fn resource_limits( self, limits: impl IntoIterator<Item = (String, Quantity)> ) -> Self

source

fn resource_requests( self, requests: impl IntoIterator<Item = (String, Quantity)> ) -> Self

source

fn startup_probe(self, probe: Probe) -> Self

source

fn volume_mounts( self, volume_mounts: impl IntoIterator<Item = VolumeMount> ) -> Self

Implementors§