class K8S::Api::Settings::V1alpha1::PodPresetSpec
- K8S::Api::Settings::V1alpha1::PodPresetSpec
- Reference
- Object
Overview
PodPresetSpec is a description of a pod preset.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.13/api/settings/v1alpha1/pod_preset_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, env : Array? = nil, env_from : Array? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, volume_mounts : Array? = nil, volumes : Array? = nil)
Instance Method Summary
- #env : Array(Api::Core::V1::EnvVar)?
- #env=(env : Array(Api::Core::V1::EnvVar)?)
- #env_from : Array(Api::Core::V1::EnvFromSource)?
- #env_from=(env_from : Array(Api::Core::V1::EnvFromSource)?)
- #selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
- #volume_mounts : Array(Api::Core::V1::VolumeMount)?
- #volume_mounts=(volume_mounts : Array(Api::Core::V1::VolumeMount)?)
- #volumes : Array(Api::Core::V1::Volume)?
- #volumes=(volumes : Array(Api::Core::V1::Volume)?)
Constructor Detail
def self.new(*, env : Array? = nil, env_from : Array? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, volume_mounts : Array? = nil, volumes : Array? = nil)
#