class K8S::Api::Core::V1::ResourceFieldSelector

Overview

ResourceFieldSelector represents container resources (cpu, memory) and their output format

Included Modules

Defined in:

versions/v1.21/api/core/v1/resource_field_selector.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(*, resource : String, container_name : String? = nil, divisor : Int32 | String | Nil = nil) #

[View source]

Instance Method Detail

def container_name : String? #

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

[View source]
def divisor : Int32 | String | Nil #

[View source]
def divisor=(divisor : Int32 | String | Nil) #

[View source]
def resource : String #

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

[View source]