GroupVersionResource

io.k8s.api.storagemigration.v1alpha1.GroupVersionResource
See theGroupVersionResource companion object
final case class GroupVersionResource(group: Option[String], resource: Option[String], version: Option[String])

The names of the group, the version, and the resource.

Attributes

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

Members list

Value members

Concrete methods

def mapGroup(f: String => String): GroupVersionResource

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

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

Attributes

Source
GroupVersionResource.scala
def mapResource(f: String => String): GroupVersionResource

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

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

Attributes

Source
GroupVersionResource.scala
def mapVersion(f: String => String): GroupVersionResource

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

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

Attributes

Source
GroupVersionResource.scala
def withGroup(value: String): GroupVersionResource

Returns a new data with group set to new value

Returns a new data with group set to new value

Attributes

Source
GroupVersionResource.scala
def withResource(value: String): GroupVersionResource

Returns a new data with resource set to new value

Returns a new data with resource set to new value

Attributes

Source
GroupVersionResource.scala
def withVersion(value: String): GroupVersionResource

Returns a new data with version set to new value

Returns a new data with version set to new value

Attributes

Source
GroupVersionResource.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product