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§
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
Object Safety§
This trait is not object safe.