ResourceClaimSpec

io.k8s.api.resource.v1alpha2.ResourceClaimSpec
See theResourceClaimSpec companion object
final case class ResourceClaimSpec(resourceClassName: String, allocationMode: Option[String], parametersRef: Option[ResourceClaimParametersReference])

ResourceClaimSpec defines how a resource is to be allocated.

Attributes

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

Members list

Value members

Concrete methods

def mapAllocationMode(f: String => String): ResourceClaimSpec

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

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

Attributes

Source
ResourceClaimSpec.scala

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

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

Attributes

Source
ResourceClaimSpec.scala
def mapResourceClassName(f: String => String): ResourceClaimSpec

transforms resourceClassName to result of function

transforms resourceClassName to result of function

Attributes

Source
ResourceClaimSpec.scala

Returns a new data with allocationMode set to new value

Returns a new data with allocationMode set to new value

Attributes

Source
ResourceClaimSpec.scala

Returns a new data with parametersRef set to new value

Returns a new data with parametersRef set to new value

Attributes

Source
ResourceClaimSpec.scala

Returns a new data with resourceClassName set to new value

Returns a new data with resourceClassName set to new value

Attributes

Source
ResourceClaimSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product