Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/builtin/resource.k8s.io@v1alpha2/structs.ts

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
import * as kubernetesApis from "https://deno.land/x/kubernetes_apis@v0.5.2/builtin/resource.k8s.io@v1alpha2/structs.ts";

Functions

Interfaces

AllocationResult contains attributes of an allocated resource.

DriverAllocationResult contains vendor parameters and the allocation result for one request.

DriverRequests describes all resources that are needed from one particular driver.

NamedResourcesAllocationResult is used in AllocationResultModel.

NamedResourcesAttribute is a combination of an attribute name and its value.

NamedResourcesFilter is used in ResourceFilterModel.

NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.

NamedResourcesIntSlice contains a slice of 64-bit integers.

NamedResourcesRequest is used in ResourceRequestModel.

NamedResourcesResources is used in ResourceModel.

NamedResourcesStringSlice contains a slice of strings.

PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.

PodSchedulingContextList is a collection of Pod scheduling objects.

PodSchedulingContextSpec describes where resources for the Pod are needed.

PodSchedulingContextStatus describes where resources for the Pod can be allocated.

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.

ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.

ResourceClaimList is a collection of claims.

ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.

ResourceClaimParametersList is a collection of ResourceClaimParameters.

ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.

ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.

ResourceClaimSpec defines how a resource is to be allocated.

ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.

ResourceClaimTemplate is used to produce ResourceClaim objects.

ResourceClaimTemplateList is a collection of claim templates.

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

ResourceClass is used by administrators to influence how resources are allocated.

ResourceClassList is a collection of classes.

ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.

ResourceClassParametersList is a collection of ResourceClassParameters.

ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.

ResourceFilter is a filter for resources from one particular driver.

ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.

ResourceRequest is a request for resources from one particular driver.

ResourceSlice provides information about available resources on individual nodes.

ResourceSliceList is a collection of ResourceSlices.

StructuredResourceHandle is the in-tree representation of the allocation result.

VendorParameters are opaque parameters for one particular driver.