class Pyrite::Api::Core::V1::ResourceFieldSelector

Overview

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

Defined in:

versions/v1.14/api/core/v1/resource_field_selector.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) #

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


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

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


def self.new(*, container_name : String? = nil, divisor : Int32? = nil, resource : String) #

Instance Method Detail

def container_name : String? #

def container_name=(container_name : String?) #

def divisor : Int32? #

def divisor=(divisor : Int32?) #

def resource : String #

def resource=(resource : String) #