class K8S::Api::Batch::V1beta1::JobTemplateSpec
- K8S::Api::Batch::V1beta1::JobTemplateSpec
- Reference
- Object
Overview
JobTemplateSpec describes the data a Job should have when created from a template
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.13/api/batch/v1beta1/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)
#