class K8S::Api::Core::V1::ResourceFieldSelector
- K8S::Api::Core::V1::ResourceFieldSelector
- Reference
- Object
Overview
ResourceFieldSelector represents container resources (cpu, memory) and their output format
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.15/api/core/v1/resource_field_selector.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, resource : String, container_name : String? = nil, divisor : Int32 | String | Nil = nil)
Instance Method Summary
- #container_name : String?
- #container_name=(container_name : String?)
- #divisor : Int32 | String | Nil
- #divisor=(divisor : Int32 | String | Nil)
- #resource : String
- #resource=(resource : String)
Constructor Detail
def self.new(*, resource : String, container_name : String? = nil, divisor : Int32 | String | Nil = nil)
#