OwnerReference class
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.
Constructors
-
OwnerReference({required Input<
String> apiVersion, Input<bool> ? blockOwnerDeletion, Input<bool> ? controller, required Input<String> kind, required Input<String> name, required Input<String> uid}) -
Creates a new OwnerReference.
apiVersionAPI version of the referent.blockOwnerDeletionIf 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. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.controllerIf true, this reference points to the managing controller.kindKind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsnameName of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#namesuidUID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uidsconst -
OwnerReference.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apiVersion
→ Input<
String> -
API version of the referent.
final
-
blockOwnerDeletion
→ Input<
bool> ? -
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. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
final
-
controller
→ Input<
bool> ? -
If true, this reference points to the managing controller.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kind
→ Input<
String> -
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
final
-
name
→ Input<
String> -
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uid
→ Input<
String> -
UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited