OwnerReference

io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference
See theOwnerReference companion object
final case class OwnerReference(name: String, uid: String, kind: String, apiVersion: String, blockOwnerDeletion: Option[Boolean], controller: Option[Boolean])

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.

Attributes

Companion
object
Source
OwnerReference.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapApiVersion(f: String => String): OwnerReference

transforms apiVersion to result of function

transforms apiVersion to result of function

Attributes

Source
OwnerReference.scala
def mapBlockOwnerDeletion(f: Boolean => Boolean): OwnerReference

if blockOwnerDeletion has a value, transforms to the result of function

if blockOwnerDeletion has a value, transforms to the result of function

Attributes

Source
OwnerReference.scala
def mapController(f: Boolean => Boolean): OwnerReference

if controller has a value, transforms to the result of function

if controller has a value, transforms to the result of function

Attributes

Source
OwnerReference.scala
def mapKind(f: String => String): OwnerReference

transforms kind to result of function

transforms kind to result of function

Attributes

Source
OwnerReference.scala
def mapName(f: String => String): OwnerReference

transforms name to result of function

transforms name to result of function

Attributes

Source
OwnerReference.scala
def mapUid(f: String => String): OwnerReference

transforms uid to result of function

transforms uid to result of function

Attributes

Source
OwnerReference.scala
def withApiVersion(value: String): OwnerReference

Returns a new data with apiVersion set to new value

Returns a new data with apiVersion set to new value

Attributes

Source
OwnerReference.scala
def withBlockOwnerDeletion(value: Boolean): OwnerReference

Returns a new data with blockOwnerDeletion set to new value

Returns a new data with blockOwnerDeletion set to new value

Attributes

Source
OwnerReference.scala
def withController(value: Boolean): OwnerReference

Returns a new data with controller set to new value

Returns a new data with controller set to new value

Attributes

Source
OwnerReference.scala
def withKind(value: String): OwnerReference

Returns a new data with kind set to new value

Returns a new data with kind set to new value

Attributes

Source
OwnerReference.scala
def withName(value: String): OwnerReference

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
OwnerReference.scala
def withUid(value: String): OwnerReference

Returns a new data with uid set to new value

Returns a new data with uid set to new value

Attributes

Source
OwnerReference.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product