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.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
ResourceFieldSelector represents container resources (cpu, memory) and their output format
-
.new(pull : JSON::PullParser)
ResourceFieldSelector represents container resources (cpu, memory) and their output format
- .new(*, container_name : String? = nil, divisor : Int32? = nil, resource : String)
Instance Method Summary
- #container_name : String?
- #container_name=(container_name : String?)
- #divisor : Int32?
- #divisor=(divisor : Int32?)
- #resource : String
- #resource=(resource : String)
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