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 : Nil | String = nil, 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
Instance methods inherited from module Kubernetes::Serializable
pretty_print(pp) : Nil
pretty_print
Constructor Detail
def self.new(name : String, namespace : Nil | String = nil, labels : Nil | Hash(String, String) = {} of String => String, annotations : Nil | Hash(String, String) = {} of String => String)
#