case class OwnerReference(apiVersion: String, blockOwnerDeletion: Optional[Boolean] = Optional.Absent, controller: Optional[Boolean] = Optional.Absent, kind: String, name: String, uid: String) extends Product with Serializable
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.
- 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
- Alphabetic
- By Inheritance
- OwnerReference
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
OwnerReference(apiVersion: String, blockOwnerDeletion: Optional[Boolean] = Optional.Absent, controller: Optional[Boolean] = Optional.Absent, kind: String, name: String, uid: String)
- 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
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val apiVersion: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val blockOwnerDeletion: Optional[Boolean]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val controller: Optional[Boolean]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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.
-
def
getBlockOwnerDeletion: IO[K8sFailure, Boolean]
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.
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.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
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.
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.
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kind: String
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val uid: String
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )