class K8S::Apimachinery::Apis::Meta::V1::ObjectMeta
- K8S::Apimachinery::Apis::Meta::V1::ObjectMeta
- Reference
- Object
Overview
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.20/apimachinery/apis/meta/v1/object_meta.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .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? = nil, generate_name : String? = nil, generation : Int32? = nil, labels : Hash(String, String)? = nil, managed_fields : Array? = nil, name : String? = nil, namespace : String? = nil, owner_references : Array? = nil, resource_version : String? = nil, self_link : String? = nil, uid : String? = nil)
Instance Method Summary
- #annotations : Hash(String, String)?
- #annotations=(annotations : Hash(String, String)?)
- #cluster_name : String?
- #cluster_name=(cluster_name : String?)
- #creation_timestamp : Time?
- #creation_timestamp=(creation_timestamp : Time?)
- #deletion_grace_period_seconds : Int32?
- #deletion_grace_period_seconds=(deletion_grace_period_seconds : Int32?)
- #deletion_timestamp : Time?
- #deletion_timestamp=(deletion_timestamp : Time?)
- #finalizers : Array(String)?
- #finalizers=(finalizers : Array(String)?)
- #generate_name : String?
- #generate_name=(generate_name : String?)
- #generation : Int32?
- #generation=(generation : Int32?)
- #labels : Hash(String, String)?
- #labels=(labels : Hash(String, String)?)
- #managed_fields : Array(Apimachinery::Apis::Meta::V1::ManagedFieldsEntry)?
- #managed_fields=(managed_fields : Array(Apimachinery::Apis::Meta::V1::ManagedFieldsEntry)?)
- #name : String?
- #name=(name : String?)
- #namespace : String?
- #namespace=(namespace : String?)
- #owner_references : Array(Apimachinery::Apis::Meta::V1::OwnerReference)?
- #owner_references=(owner_references : Array(Apimachinery::Apis::Meta::V1::OwnerReference)?)
- #resource_version : String?
- #resource_version=(resource_version : String?)
- #self_link : String?
- #self_link=(self_link : String?)
- #uid : String?
- #uid=(uid : String?)
Constructor Detail
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? = nil, generate_name : String? = nil, generation : Int32? = nil, labels : Hash(String, String)? = nil, managed_fields : Array? = nil, name : String? = nil, namespace : String? = nil, owner_references : Array? = nil, resource_version : String? = nil, self_link : String? = nil, uid : String? = nil)
#
Instance Method Detail
def managed_fields=(managed_fields : Array(Apimachinery::Apis::Meta::V1::ManagedFieldsEntry)?)
#
def owner_references=(owner_references : Array(Apimachinery::Apis::Meta::V1::OwnerReference)?)
#