class K8S::Api::Batch::V1::CronJobSpec
- K8S::Api::Batch::V1::CronJobSpec
- Reference
- Object
Overview
CronJobSpec describes how the job execution will look like and when it will actually run.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.22/api/batch/v1/cron_job_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, job_template : Api::Batch::V1::JobTemplateSpec, schedule : String, concurrency_policy : String? = nil, failed_jobs_history_limit : Int32? = nil, starting_deadline_seconds : Int32? = nil, successful_jobs_history_limit : Int32? = nil, suspend : Bool? = nil)
Instance Method Summary
- #concurrency_policy : String?
- #concurrency_policy=(concurrency_policy : String?)
- #failed_jobs_history_limit : Int32?
- #failed_jobs_history_limit=(failed_jobs_history_limit : Int32?)
- #job_template : Api::Batch::V1::JobTemplateSpec
- #job_template=(job_template : Api::Batch::V1::JobTemplateSpec)
- #schedule : String
- #schedule=(schedule : String)
- #starting_deadline_seconds : Int32?
- #starting_deadline_seconds=(starting_deadline_seconds : Int32?)
- #successful_jobs_history_limit : Int32?
- #successful_jobs_history_limit=(successful_jobs_history_limit : Int32?)
- #suspend : Bool?
- #suspend=(suspend : Bool?)
Constructor Detail
def self.new(*, job_template : Api::Batch::V1::JobTemplateSpec, schedule : String, concurrency_policy : String? = nil, failed_jobs_history_limit : Int32? = nil, starting_deadline_seconds : Int32? = nil, successful_jobs_history_limit : Int32? = nil, suspend : Bool? = nil)
#