# README
k8s.io/api/resource/v1alpha1
Copying from https://github.com/kubernetes/api/tree/release-1.26/resource/v1alpha1
Generated by ./hack/clone_old_apis.sh
# Functions
Resource takes an unqualified resource and returns a Group qualified GroupResource.
# Constants
When a ResourceClaim has AllocationModeImmediate, allocation starts as soon as the ResourceClaim gets created.
When a ResourceClaim has AllocationModeWaitForFirstConsumer, allocation is delayed until a Pod gets scheduled that needs the ResourceClaim.
GroupName is the group name use in this package.
PodSchedulingNodeListMaxSize defines the maximum number of entries in the node lists that are stored in PodScheduling objects.
ReservedForMaxSize is the maximum number of entries in claim.status.reservedFor.
ResourceHandleMaxSize is the maximum size of allocation.resourceHandle.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
We only register manually written functions here.
SchemeGroupVersion is group version used to register these objects.
# Structs
AllocationResult contains attributed of an allocated resource.
PodScheduling objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
PodSchedulingList is a collection of Pod scheduling objects.
PodSchedulingSpec describes where resources for the Pod are needed.
PodSchedulingStatus describes where resources for the Pod can be allocated.
ResourceClaim describes which resources are needed by a resource consumer.
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim.
ResourceClaimList is a collection of claims.
ResourceClaimParametersReference contains enough information to let you locate the parameters for a 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.
ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.
# Type aliases
AllocationMode describes whether a ResourceClaim gets allocated immediately when it gets created (AllocationModeImmediate) or whether allocation is delayed until it is needed for a Pod (AllocationModeWaitForFirstConsumer).