class Pyrite::Apimachinery::Apis::Meta::V1::OwnerReference

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.

Defined in:

versions/v1.14/apimachinery/apis/meta/v1/owner_reference.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

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.


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

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.


def self.new(*, api_version : String, block_owner_deletion : Bool? = nil, controller : Bool? = nil, kind : String, name : String, uid : String) #

Instance Method Detail

def api_version : String #

def api_version=(api_version : String) #

def block_owner_deletion : Bool? #

def block_owner_deletion=(block_owner_deletion : Bool?) #

def controller : Bool? #

def controller=(controller : Bool?) #

def kind : String #

def kind=(kind : String) #

def name : String #

def name=(name : String) #

def uid : String #

def uid=(uid : String) #