pub struct IoArgoprojWorkflowV1alpha1CronWorkflowSpecBuilder { /* private fields */ }Expand description
Builder for IoArgoprojWorkflowV1alpha1CronWorkflowSpec.
Implementations§
Source§impl IoArgoprojWorkflowV1alpha1CronWorkflowSpecBuilder
impl IoArgoprojWorkflowV1alpha1CronWorkflowSpecBuilder
Sourcepub fn concurrency_policy(&mut self, value: Option<String>) -> &mut Self
pub fn concurrency_policy(&mut self, value: Option<String>) -> &mut Self
ConcurrencyPolicy is the K8s-style concurrency policy that will be used
Sourcepub fn failed_jobs_history_limit(&mut self, value: Option<i64>) -> &mut Self
pub fn failed_jobs_history_limit(&mut self, value: Option<i64>) -> &mut Self
FailedJobsHistoryLimit is the number of failed jobs to be kept at a time
Sourcepub fn schedule(&mut self, value: String) -> &mut Self
pub fn schedule(&mut self, value: String) -> &mut Self
Schedule is a schedule to run the Workflow in Cron format
Sourcepub fn starting_deadline_seconds(&mut self, value: Option<i64>) -> &mut Self
pub fn starting_deadline_seconds(&mut self, value: Option<i64>) -> &mut Self
StartingDeadlineSeconds is the K8s-style deadline that will limit the time a CronWorkflow will be run after its original scheduled time if it is missed.
Sourcepub fn successful_jobs_history_limit(&mut self, value: Option<i64>) -> &mut Self
pub fn successful_jobs_history_limit(&mut self, value: Option<i64>) -> &mut Self
SuccessfulJobsHistoryLimit is the number of successful jobs to be kept at a time
Sourcepub fn suspend(&mut self, value: Option<bool>) -> &mut Self
pub fn suspend(&mut self, value: Option<bool>) -> &mut Self
Suspend is a flag that will stop new CronWorkflows from running if set to true
Sourcepub fn timezone(&mut self, value: Option<String>) -> &mut Self
pub fn timezone(&mut self, value: Option<String>) -> &mut Self
Timezone is the timezone against which the cron schedule will be calculated, e.g. “Asia/Tokyo”. Default is machine’s local time.
Sourcepub fn workflow_metadata(
&mut self,
value: Option<IoK8sApimachineryPkgApisMetaV1ObjectMeta>,
) -> &mut Self
pub fn workflow_metadata( &mut self, value: Option<IoK8sApimachineryPkgApisMetaV1ObjectMeta>, ) -> &mut Self
WorkflowMetadata contains some metadata of the workflow to be run
Sourcepub fn workflow_spec(
&mut self,
value: IoArgoprojWorkflowV1alpha1WorkflowSpec,
) -> &mut Self
pub fn workflow_spec( &mut self, value: IoArgoprojWorkflowV1alpha1WorkflowSpec, ) -> &mut Self
WorkflowSpec is the spec of the workflow to be run
Sourcepub fn build(
&self,
) -> Result<IoArgoprojWorkflowV1alpha1CronWorkflowSpec, IoArgoprojWorkflowV1alpha1CronWorkflowSpecBuilderError>
pub fn build( &self, ) -> Result<IoArgoprojWorkflowV1alpha1CronWorkflowSpec, IoArgoprojWorkflowV1alpha1CronWorkflowSpecBuilderError>
Builds a new IoArgoprojWorkflowV1alpha1CronWorkflowSpec.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1CronWorkflowSpecBuilder
impl Clone for IoArgoprojWorkflowV1alpha1CronWorkflowSpecBuilder
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1CronWorkflowSpecBuilder
fn clone(&self) -> IoArgoprojWorkflowV1alpha1CronWorkflowSpecBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more