class Pyrite::Api::Core::V1::EnvVar

Overview

EnvVar represents an environment variable present in a Container.

Defined in:

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

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

EnvVar represents an environment variable present in a Container.


def self.new(pull : JSON::PullParser) #

EnvVar represents an environment variable present in a Container.


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

Instance Method Detail

def name : String #

def name=(name : String) #

def value : String? #

def value=(value : String?) #

def value_from : Api::Core::V1::EnvVarSource? #

def value_from=(value_from : Api::Core::V1::EnvVarSource?) #