ResourceClaim

data class ResourceClaim(val apiVersion: String? = null, val kind: String? = null, val metadata: ObjectMeta? = null, val spec: ResourceClaimSpec, val status: ResourceClaimStatus? = null)

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.

Constructors

Link copied to clipboard
constructor(apiVersion: String? = null, kind: String? = null, metadata: ObjectMeta? = null, spec: ResourceClaimSpec, status: ResourceClaimStatus? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val apiVersion: String? = null

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

Link copied to clipboard
val kind: String? = null

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Link copied to clipboard
val metadata: ObjectMeta? = null

Standard object metadata

Link copied to clipboard

Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim.

Link copied to clipboard

Status describes whether the resource is available and with which attributes.