Trait k8s_openapi_ext::JobExt
source · [−]pub trait JobExt: ResourceBuilder + Sized {
Show 16 methods
fn new(name: impl ToString) -> Self;
fn with_labels(
name: impl ToString,
labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
) -> Self;
fn active_deadline_seconds(self, seconds: i64) -> Self;
fn backoff_limit(self, limit: i32) -> Self;
fn completion_mode<'a>(self, mode: impl Into<Option<&'a str>>) -> Self;
fn completions(self, completions: i32) -> Self;
fn manual_selector(self, yes: bool) -> Self;
fn parallelism(self, parallelism: i32) -> Self;
fn selector(self, selector: LabelSelector) -> Self;
fn match_labels(
self,
match_labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
) -> Self;
fn suspend(self, yes: bool) -> Self;
fn template(self, template: PodTemplateSpec) -> Self;
fn pod(self, pod: PodSpec) -> Self;
fn ttl_seconds_after_finished(self, seconds: i32) -> Self;
fn non_indexed(self) -> Self { ... }
fn indexed(self) -> Self { ... }
}
Required Methods
sourcefn with_labels(
fn with_labels(
name: impl ToString,
labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
) -> Self
source
fn active_deadline_seconds(self, seconds: i64) -> Self
source
fn backoff_limit(self, limit: i32) -> Self
source
fn completion_mode<'a>(self, mode: impl Into<Option<&'a str>>) -> Self
source
fn completions(self, completions: i32) -> Self
source
fn manual_selector(self, yes: bool) -> Self
source
fn parallelism(self, parallelism: 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 template(self, template: PodTemplateSpec) -> Self
source
fn ttl_seconds_after_finished(self, seconds: i32) -> Self
Provided Methods
source