class K8S::Api::Core::V1::EnvVar
- K8S::Api::Core::V1::EnvVar
- Reference
- Object
Overview
EnvVar represents an environment variable present in a Container.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.11/api/core/v1/env_var.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, name : String, value : String? = nil, value_from : Api::Core::V1::EnvVarSource? = nil)
Instance Method Summary
- #name : String
- #name=(name : String)
- #value : String?
- #value=(value : String?)
- #value_from : Api::Core::V1::EnvVarSource?
- #value_from=(value_from : Api::Core::V1::EnvVarSource?)
Constructor Detail
def self.new(*, name : String, value : String? = nil, value_from : Api::Core::V1::EnvVarSource? = nil)
#