class K8S::Api::Core::V1::EnvVar

Overview

EnvVar represents an environment variable present in a Container.

Included Modules

Defined in:

versions/v1.21/api/core/v1/env_var.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, name : String, value : String? = nil, value_from : Api::Core::V1::EnvVarSource? = nil) #

[View source]

Instance Method Detail

def name : String #

[View source]
def name=(name : String) #

[View source]
def value : String? #

[View source]
def value=(value : String?) #

[View source]
def value_from : Api::Core::V1::EnvVarSource? #

[View source]
def value_from=(value_from : Api::Core::V1::EnvVarSource?) #

[View source]