class K8S::Apimachinery::Apis::Meta::V1::ObjectMeta

Overview

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

Included Modules

Defined in:

versions/v1.12/apimachinery/apis/meta/v1/object_meta.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, annotations : Hash(String, String)? = nil, cluster_name : String? = nil, creation_timestamp : Time? = nil, deletion_grace_period_seconds : Int32? = nil, deletion_timestamp : Time? = nil, finalizers : Array(String)? = nil, generate_name : String? = nil, generation : Int32? = nil, initializers : Apimachinery::Apis::Meta::V1::Initializers? = nil, labels : Hash(String, String)? = nil, name : String? = nil, namespace : String? = nil, owner_references : Array(Apimachinery::Apis::Meta::V1::OwnerReference)? = nil, resource_version : String? = nil, self_link : String? = nil, uid : String? = nil) #

[View source]

Instance Method Detail

def annotations : Hash(String, String)? #

[View source]
def annotations=(annotations : Hash(String, String)?) #

[View source]
def cluster_name : String? #

[View source]
def cluster_name=(cluster_name : String?) #

[View source]
def creation_timestamp : Time? #

[View source]
def creation_timestamp=(creation_timestamp : Time?) #

[View source]
def deletion_grace_period_seconds : Int32? #

[View source]
def deletion_grace_period_seconds=(deletion_grace_period_seconds : Int32?) #

[View source]
def deletion_timestamp : Time? #

[View source]
def deletion_timestamp=(deletion_timestamp : Time?) #

[View source]
def finalizers : Array(String)? #

[View source]
def finalizers=(finalizers : Array(String)?) #

[View source]
def generate_name : String? #

[View source]
def generate_name=(generate_name : String?) #

[View source]
def generation : Int32? #

[View source]
def generation=(generation : Int32?) #

[View source]

[View source]
def initializers=(initializers : Apimachinery::Apis::Meta::V1::Initializers?) #

[View source]
def labels : Hash(String, String)? #

[View source]
def labels=(labels : Hash(String, String)?) #

[View source]
def name : String? #

[View source]
def name=(name : String?) #

[View source]
def namespace : String? #

[View source]
def namespace=(namespace : String?) #

[View source]
def owner_references : Array(Apimachinery::Apis::Meta::V1::OwnerReference)? #

[View source]
def owner_references=(owner_references : Array(Apimachinery::Apis::Meta::V1::OwnerReference)?) #

[View source]
def resource_version : String? #

[View source]
def resource_version=(resource_version : String?) #

[View source]
def self_link : String? #

[View source]
def self_link=(self_link : String?) #

[View source]
def uid : String? #

[View source]
def uid=(uid : String?) #

[View source]