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

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(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

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

def self.new(name : String, namespace : String = "", 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 #