APIResource

io.k8s.apimachinery.pkg.apis.meta.v1.APIResource
See theAPIResource companion object
final case class APIResource(name: String, verbs: Seq[String], namespaced: Boolean, kind: String, singularName: String, version: Option[String], categories: Option[Seq[String]], shortNames: Option[Seq[String]], storageVersionHash: Option[String], group: Option[String])

APIResource specifies the name of a resource and whether it is namespaced.

Attributes

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

Members list

Value members

Concrete methods

def addCategories(newValues: String*): APIResource

Appends new values to categories

Appends new values to categories

Attributes

Source
APIResource.scala
def addShortNames(newValues: String*): APIResource

Appends new values to shortNames

Appends new values to shortNames

Attributes

Source
APIResource.scala
def addVerbs(newValues: String*): APIResource

Appends new values to verbs

Appends new values to verbs

Attributes

Source
APIResource.scala
def mapCategories(f: Seq[String] => Seq[String]): APIResource

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

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

Attributes

Source
APIResource.scala
def mapGroup(f: String => String): APIResource

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

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

Attributes

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

transforms kind to result of function

transforms kind to result of function

Attributes

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

transforms name to result of function

transforms name to result of function

Attributes

Source
APIResource.scala
def mapNamespaced(f: Boolean => Boolean): APIResource

transforms namespaced to result of function

transforms namespaced to result of function

Attributes

Source
APIResource.scala
def mapShortNames(f: Seq[String] => Seq[String]): APIResource

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

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

Attributes

Source
APIResource.scala
def mapSingularName(f: String => String): APIResource

transforms singularName to result of function

transforms singularName to result of function

Attributes

Source
APIResource.scala
def mapStorageVersionHash(f: String => String): APIResource

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

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

Attributes

Source
APIResource.scala
def mapVerbs(f: Seq[String] => Seq[String]): APIResource

transforms verbs to result of function

transforms verbs to result of function

Attributes

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

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

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

Attributes

Source
APIResource.scala
def withCategories(value: Seq[String]): APIResource

Returns a new data with categories set to new value

Returns a new data with categories set to new value

Attributes

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

Returns a new data with group set to new value

Returns a new data with group set to new value

Attributes

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

Returns a new data with kind set to new value

Returns a new data with kind set to new value

Attributes

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

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
APIResource.scala
def withNamespaced(value: Boolean): APIResource

Returns a new data with namespaced set to new value

Returns a new data with namespaced set to new value

Attributes

Source
APIResource.scala
def withShortNames(value: Seq[String]): APIResource

Returns a new data with shortNames set to new value

Returns a new data with shortNames set to new value

Attributes

Source
APIResource.scala
def withSingularName(value: String): APIResource

Returns a new data with singularName set to new value

Returns a new data with singularName set to new value

Attributes

Source
APIResource.scala
def withStorageVersionHash(value: String): APIResource

Returns a new data with storageVersionHash set to new value

Returns a new data with storageVersionHash set to new value

Attributes

Source
APIResource.scala
def withVerbs(value: Seq[String]): APIResource

Returns a new data with verbs set to new value

Returns a new data with verbs set to new value

Attributes

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

Returns a new data with version set to new value

Returns a new data with version set to new value

Attributes

Source
APIResource.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product