ResourceClaim

io.k8s.api.resource.v1alpha2.ResourceClaim
See theResourceClaim companion object
final case class ResourceClaim(spec: ResourceClaimSpec, status: Option[ResourceClaimStatus], metadata: Option[ObjectMeta]) extends KObject

ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Attributes

Companion:
object
Source:
ResourceClaim.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def foldTo[T : Builder]: T

Attributes

Definition Classes
Source:
ResourceClaim.scala

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

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

Attributes

Source:
ResourceClaim.scala

transforms spec to result of function

transforms spec to result of function

Attributes

Source:
ResourceClaim.scala

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

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

Attributes

Source:
ResourceClaim.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source:
ResourceClaim.scala

Returns a new data with spec set to new value

Returns a new data with spec set to new value

Attributes

Source:
ResourceClaim.scala

Returns a new data with status set to new value

Returns a new data with status set to new value

Attributes

Source:
ResourceClaim.scala

Inherited methods

final def group: String

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

final lazy val apiVersion: String

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val kind: String

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val version: String

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala