struct

Kubernetes::Metadata

Inherits YAML::Serializable / JSON::Serializable / Kubernetes::Serializable / Struct / Value / Object

Constants

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

annotations
creation_timestamp
deletion_timestamp
finalizers
generate_name
generation
labels
name
namespace
owner_references
resource_version
uid