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
- YAML::Serializable
Defined in:
versions/v1.21/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)
#