Trait k8s_openapi_ext::CronJobExt
source · 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§
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
Object Safety§
This trait is not object safe.