package
0.0.2
Repository: https://github.com/wzshiming/kectl.git
Documentation: pkg.go.dev

# README

k8s.io/api/resource/v1alpha2

Copying from https://github.com/kubernetes/api/tree/release-1.30/resource/v1alpha2

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.
AllocationResultResourceHandlesMaxSize represents the maximum number of entries in allocation.resourceHandles.
Finalizer is the finalizer that gets set for claims which were allocated through a builtin controller.
GroupName is the group name use in this package.
PodSchedulingNodeListMaxSize defines the maximum number of entries in the node lists that are stored in PodSchedulingContext objects.
ReservedForMaxSize is the maximum number of entries in claim.status.reservedFor.
ResourceHandleDataMaxSize represents the maximum size of resourceHandle.data.

# 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 attributes of an allocated resource.
AllocationResultModel must have one and only one field set.
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.
NamedResourcesAttributeValue must have one and only one field set.
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.
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a 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.
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.
ResourceFilterModel must have one and only one field set.
ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.
ResourceModel must have one and only one field set.
ResourceRequest is a request for resources from one particular driver.
ResourceRequestModel must have one and only one field set.
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.

# 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).