struct Kubernetes::Metadata
 
  - Kubernetes::Metadata
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
kubernetes.crConstant Summary
- 
        DEFAULT_TIME = Time.new(seconds: 0, nanoseconds: 0, location: Time::Location::UTC)
Constructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(name : String, namespace : String = "", labels : Nil | Hash(String, String) = {} of String => String, annotations : Nil | Hash(String, String) = {} of String => String)
Instance Method Summary
- #annotations : Hash(String, String)
- #creation_timestamp : Time
- #deletion_timestamp : Time | Nil
- #finalizers : Array(String)
- #generate_name : String
- #generation : Int64
- #labels : Hash(String, String)
- #name : String
- #namespace : String
- #owner_references : Array(OwnerReferenceApplyConfiguration)
- #resource_version : String
- #uid : UUID
Macros inherited from module Kubernetes::Serializable
  
  
    
      add_field(type, getter_type, key = nil, **args, &block)
    add_field, 
    
  
    
      field(type, key = nil, **args, &block)
    field, 
    
  
    
      field?(type, key = nil, **args, &block)
    field?
    
  
  
    
    
    
    
  
    
    
    
    
  
    
    
    
    
  
Constructor Detail
        
        def self.new(name : String, namespace : String = "", labels : Nil | Hash(String, String) = {} of String => String, annotations : Nil | Hash(String, String) = {} of String => String)
        #