class K8S::Api::Batch::V1::JobTemplateSpec
- K8S::Api::Batch::V1::JobTemplateSpec
- Reference
- Object
Overview
JobTemplateSpec describes the data a Job should have when created from a template
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.23/api/batch/v1/job_template_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, spec : Api::Batch::V1::JobSpec? = nil)
Instance Method Summary
- #metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
- #metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
- #spec : Api::Batch::V1::JobSpec?
- #spec=(spec : Api::Batch::V1::JobSpec?)
Constructor Detail
def self.new(*, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, spec : Api::Batch::V1::JobSpec? = nil)
#