pub trait CronJobExt: ResourceBuilder + Sized {
    // Required methods
    fn new(name: impl ToString) -> Self;
    fn with_labels(
        name: impl ToString,
        labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
    ) -> Self;
    fn starting_deadline_seconds(self, seconds: i64) -> Self;
    fn schedule(self, schedule: impl ToString) -> Self;
    fn suspend(self, yes: bool) -> Self;
    fn template(self, template: JobTemplateSpec) -> 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 starting_deadline_seconds(self, seconds: i64) -> Self

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§