OwnerReference

case
class OwnerReference(apiVersion: String, blockOwnerDeletion: Optional[Boolean], controller: Optional[Boolean], kind: String, name: String, uid: String)

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.

Value Params
apiVersion

API version of the referent.

blockOwnerDeletion

If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.

controller

If true, this reference points to the managing controller.

kind

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

name

Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names

uid

UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getApiVersion: IO[K8sFailure, String]

API version of the referent.

API version of the referent.

This effect always succeeds, it is safe to use the field apiVersion directly.

If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.

If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getController: IO[K8sFailure, Boolean]

If true, this reference points to the managing controller.

If true, this reference points to the managing controller.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getKind: IO[K8sFailure, String]

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

This effect always succeeds, it is safe to use the field kind directly.

def getName: IO[K8sFailure, String]

Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names

Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names

This effect always succeeds, it is safe to use the field name directly.

def getUid: IO[K8sFailure, String]

UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids

UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids

This effect always succeeds, it is safe to use the field uid directly.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product