Trait k8s_openapi_ext::DeploymentExt 
source · [−]pub trait DeploymentExt: ResourceBuilder {
    fn new(name: impl ToString) -> Self;
    fn with_labels(
        name: impl ToString,
        labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
    ) -> Self;
    fn paused(self, yes: bool) -> Self;
    fn progress_deadline_seconds(self, seconds: i32) -> Self;
    fn replicas(self, replicas: i32) -> Self;
    fn revision_history_limit(self, limit: i32) -> Self;
    fn selector(self, selector: LabelSelector) -> Self;
    fn match_labels(
        self,
        match_labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
    ) -> Self;
    fn strategy(self, strategy: DeploymentStrategy) -> Self;
    fn template(self, template: PodTemplateSpec) -> Self;
    fn pod(self, pod: PodSpec) -> Self;
}Required Methods
sourcefn with_labels(
fn with_labels(
    name: impl ToString,
    labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
) -> Self
source
fn progress_deadline_seconds(self, seconds: i32) -> Self
source
fn revision_history_limit(self, limit: i32) -> Self
source
fn selector(self, selector: LabelSelector) -> Self
sourcefn match_labels(
fn match_labels(
    self,
    match_labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
) -> Self
source
fn strategy(self, strategy: DeploymentStrategy) -> Self
source