class Pyrite::Api::Core::V1::NodeSelectorRequirement
Overview
A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
Defined in:
versions/v1.14/api/core/v1/node_selector_requirement.crConstructors
- 
        .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
        
          A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. 
- 
        .new(pull : JSON::PullParser)
        
          A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. 
- .new(*, key : String, operator : String, values : Array? = nil)
Instance Method Summary
- #key : String
- #key=(key : String)
- #operator : String
- #operator=(operator : String)
- #values : Array(String)?
- #values=(values : Array(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)
        #
      
      
        A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
        
        def self.new(pull : JSON::PullParser)
        #
      
      
        A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.