GroupVersionForDiscovery

io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery
See theGroupVersionForDiscovery companion object
final case class GroupVersionForDiscovery(groupVersion: String, version: String)

GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.

Attributes

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

Members list

Value members

Concrete methods

def mapGroupVersion(f: String => String): GroupVersionForDiscovery

transforms groupVersion to result of function

transforms groupVersion to result of function

Attributes

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

transforms version to result of function

transforms version to result of function

Attributes

Source
GroupVersionForDiscovery.scala

Returns a new data with groupVersion set to new value

Returns a new data with groupVersion set to new value

Attributes

Source
GroupVersionForDiscovery.scala

Returns a new data with version set to new value

Returns a new data with version set to new value

Attributes

Source
GroupVersionForDiscovery.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product