class K8S::Api::Core::V1::PodTemplateSpec
- K8S::Api::Core::V1::PodTemplateSpec
- Reference
- Object
Overview
PodTemplateSpec describes the data a pod should have when created from a template
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/core/v1/pod_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::Core::V1::PodSpec? = nil)
Instance Method Summary
- #metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
- #metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
- #spec : Api::Core::V1::PodSpec?
- #spec=(spec : Api::Core::V1::PodSpec?)
Constructor Detail
def self.new(*, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, spec : Api::Core::V1::PodSpec? = nil)
#