pub trait JobExt: ResourceBuilder + Sized {
Show 16 methods // Required 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; // Provided methods fn non_indexed(self) -> Self { ... } fn indexed(self) -> Self { ... }
}

Required Methods§

source

fn new(name: impl ToString) -> Self

source

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

source

fn match_labels( self, match_labels: impl IntoIterator<Item = (impl ToString, impl ToString)> ) -> Self

source

fn suspend(self, yes: bool) -> Self

source

fn template(self, template: PodTemplateSpec) -> Self

source

fn pod(self, pod: PodSpec) -> Self

source

fn ttl_seconds_after_finished(self, seconds: i32) -> Self

Provided Methods§

source

fn non_indexed(self) -> Self

source

fn indexed(self) -> Self

Implementors§