TypedObjectReference

io.k8s.api.core.v1.TypedObjectReference
See theTypedObjectReference companion object
final case class TypedObjectReference(kind: String, name: String, apiGroup: Option[String], namespace: Option[String])

Attributes

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

Members list

Value members

Concrete methods

def mapApiGroup(f: String => String): TypedObjectReference

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

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

Attributes

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

transforms kind to result of function

transforms kind to result of function

Attributes

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

transforms name to result of function

transforms name to result of function

Attributes

Source
TypedObjectReference.scala
def mapNamespace(f: String => String): TypedObjectReference

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

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

Attributes

Source
TypedObjectReference.scala
def withApiGroup(value: String): TypedObjectReference

Returns a new data with apiGroup set to new value

Returns a new data with apiGroup set to new value

Attributes

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

Returns a new data with kind set to new value

Returns a new data with kind set to new value

Attributes

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

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
TypedObjectReference.scala
def withNamespace(value: String): TypedObjectReference

Returns a new data with namespace set to new value

Returns a new data with namespace set to new value

Attributes

Source
TypedObjectReference.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product