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

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

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

transforms kind to result of function

transforms kind to result of function

Attributes

Source
APIResource.scala

transforms name to result of function

transforms name to result of function

Attributes

Source
APIResource.scala

transforms namespaced to result of function

transforms namespaced to result of function

Attributes

Source
APIResource.scala

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

transforms singularName to result of function

transforms singularName to result of function

Attributes

Source
APIResource.scala

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

transforms verbs to result of function

transforms verbs to result of function

Attributes

Source
APIResource.scala

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

Returns a new data with categories set to new value

Returns a new data with categories set to new value

Attributes

Source
APIResource.scala

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

Returns a new data with namespaced set to new value

Returns a new data with namespaced set to new value

Attributes

Source
APIResource.scala

Returns a new data with shortNames set to new value

Returns a new data with shortNames set to new value

Attributes

Source
APIResource.scala

Returns a new data with singularName set to new value

Returns a new data with singularName set to new value

Attributes

Source
APIResource.scala

Returns a new data with storageVersionHash set to new value

Returns a new data with storageVersionHash set to new value

Attributes

Source
APIResource.scala

Returns a new data with verbs set to new value

Returns a new data with verbs set to new value

Attributes

Source
APIResource.scala

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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product