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
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/settings/v1alpha1/pod_preset_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, env : Array(Api::Core::V1::EnvVar)? = nil, env_from : Array(Api::Core::V1::EnvFromSource)? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, volume_mounts : Array(Api::Core::V1::VolumeMount)? = nil, volumes : Array(Api::Core::V1::Volume)? = 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(Api::Core::V1::EnvVar)? = nil, env_from : Array(Api::Core::V1::EnvFromSource)? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, volume_mounts : Array(Api::Core::V1::VolumeMount)? = nil, volumes : Array(Api::Core::V1::Volume)? = nil)
#