class K8S::Api::Settings::V1alpha1::PodPresetSpec

Overview

PodPresetSpec is a description of a pod preset.

Included Modules

Defined in:

versions/v1.15/api/settings/v1alpha1/pod_preset_spec.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(*, 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) #

[View source]

Instance Method Detail

def env : Array(Api::Core::V1::EnvVar)? #

[View source]
def env=(env : Array(Api::Core::V1::EnvVar)?) #

[View source]
def env_from : Array(Api::Core::V1::EnvFromSource)? #

[View source]
def env_from=(env_from : Array(Api::Core::V1::EnvFromSource)?) #

[View source]

[View source]
def selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?) #

[View source]
def volume_mounts : Array(Api::Core::V1::VolumeMount)? #

[View source]
def volume_mounts=(volume_mounts : Array(Api::Core::V1::VolumeMount)?) #

[View source]
def volumes : Array(Api::Core::V1::Volume)? #

[View source]
def volumes=(volumes : Array(Api::Core::V1::Volume)?) #

[View source]