class K8S::Api::Batch::V1::JobSpec
- K8S::Api::Batch::V1::JobSpec
- Reference
- Object
Overview
JobSpec describes how the job execution will look like.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.23/api/batch/v1/job_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, template : Api::Core::V1::PodTemplateSpec, active_deadline_seconds : Int32? = nil, backoff_limit : Int32? = nil, completion_mode : String? = nil, completions : Int32? = nil, manual_selector : Bool? = nil, parallelism : Int32? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, suspend : Bool? = nil, ttl_seconds_after_finished : Int32? = nil)
Instance Method Summary
- #active_deadline_seconds : Int32?
- #active_deadline_seconds=(active_deadline_seconds : Int32?)
- #backoff_limit : Int32?
- #backoff_limit=(backoff_limit : Int32?)
- #completion_mode : String?
- #completion_mode=(completion_mode : String?)
- #completions : Int32?
- #completions=(completions : Int32?)
- #manual_selector : Bool?
- #manual_selector=(manual_selector : Bool?)
- #parallelism : Int32?
- #parallelism=(parallelism : Int32?)
- #selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
- #suspend : Bool?
- #suspend=(suspend : Bool?)
- #template : Api::Core::V1::PodTemplateSpec
- #template=(template : Api::Core::V1::PodTemplateSpec)
- #ttl_seconds_after_finished : Int32?
- #ttl_seconds_after_finished=(ttl_seconds_after_finished : Int32?)
Constructor Detail
def self.new(*, template : Api::Core::V1::PodTemplateSpec, active_deadline_seconds : Int32? = nil, backoff_limit : Int32? = nil, completion_mode : String? = nil, completions : Int32? = nil, manual_selector : Bool? = nil, parallelism : Int32? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, suspend : Bool? = nil, ttl_seconds_after_finished : Int32? = nil)
#