class K8S::Apimachinery::Apis::Meta::V1::OwnerReference
- K8S::Apimachinery::Apis::Meta::V1::OwnerReference
- Reference
- Object
Overview
OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.18/apimachinery/apis/meta/v1/owner_reference.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, api_version : String, kind : String, name : String, uid : String, block_owner_deletion : Bool? = nil, controller : Bool? = nil)
Instance Method Summary
- #api_version : String
- #api_version=(api_version : String)
- #block_owner_deletion : Bool?
- #block_owner_deletion=(block_owner_deletion : Bool?)
- #controller : Bool?
- #controller=(controller : Bool?)
- #kind : String
- #kind=(kind : String)
- #name : String
- #name=(name : String)
- #uid : String
- #uid=(uid : String)
Constructor Detail
def self.new(*, api_version : String, kind : String, name : String, uid : String, block_owner_deletion : Bool? = nil, controller : Bool? = nil)
#