struct Kubernetes::Metadata

Included Modules

Defined in:

kubernetes.cr

Constant Summary

DEFAULT_TIME = Time.new(seconds: 0, nanoseconds: 0, location: Time::Location::UTC)

Constructors

Instance Method Summary

Instance methods inherited from module Kubernetes::Serializable

pretty_print(pp) : Nil pretty_print

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

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) #

[View source]

Instance Method Detail

def annotations : Hash(String, String) #

def creation_timestamp : Time #

def deletion_timestamp : Time | Nil #

def finalizers : Array(String) #

def generate_name : String #

def generation : Int64 #

def labels : Hash(String, String) #

def name : String #

def namespace : String #

def owner_references : Array(OwnerReferenceApplyConfiguration) #

def resource_version : String #

def uid : UUID #