package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

Package install installs the resource API, making it available as an option to all of the API encoding/decoding machinery.
Package v1alpha3 is the v1alpha3 version of the resource API.
Package v1beta1 is the v1beta1 version of the resource API.

# Functions

Kind takes an unqualified kind and returns a Group qualified GroupKind.
Resource takes an unqualified resource and returns a Group qualified GroupResource.

# Constants

Valid [DeviceAllocationConfiguration.Source] values.
Valid [DeviceAllocationConfiguration.Source] values.
AllocationResultsMaxSize represents the maximum number of entries in allocation.devices.results.
CELSelectorExpressionMaxCost specifies the cost limit for a single CEL selector evaluation.
CELSelectorExpressionMaxLength is the maximum length of a CEL selector expression string.
Valid [DeviceRequest.CountMode] values.
Valid [DeviceRequest.CountMode] values.
DeviceAttributeMaxValueLength is the maximum length of a string or version attribute value.
DeviceMaxDomainLength is the maximum length of the domain prefix in a fully-qualified name.
DeviceMaxIDLength is the maximum length of the identifier in a device attribute or capacity name (`<domain>/<ID>`).
DriverNameMaxLength is the maximum valid length of a driver name in the ResourceSliceSpec and other places.
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.
OpaqueParametersMaxLength is the maximum length of the raw data in an [OpaqueDeviceConfiguration.Parameters] field.
Same as for a single node name.
ResourceClaimReservedForMaxSize is the maximum number of entries in claim.status.reservedFor.
Limit for the sum of the number of entries in both attributes and capacity.
ResourceSliceSelectorDriver can be used in a [metav1.ListOptions] field selector to filter based on [ResourceSliceSpec.Driver].
ResourceSliceSelectorNodeName can be used in a [metav1.ListOptions] field selector to filter based on [ResourceSliceSpec.NodeName].

# Variables

AddToScheme represents a func that can be used to apply all the registered funcs in a scheme.
SchemeBuilder object to register various known types.
SchemeGroupVersion is group version used to register these objects.

# Structs

AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it.
AllocationResult contains attributes of an allocated resource.
BasicDevice defines one device instance.
CELDeviceSelector contains a CEL expression for selecting a device.
Device represents one individual hardware instance that can be selected based on its attributes.
DeviceAllocationConfiguration gets embedded in an AllocationResult.
DeviceAllocationResult is the result of allocating devices.
DeviceAttribute must have exactly one field set.
DeviceCapacity describes a quantity associated with a device.
DeviceClaim defines how to request devices with a ResourceClaim.
DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.
DeviceClassConfiguration is used in DeviceClass.
DeviceClassList is a collection of classes.
DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.
DeviceConfiguration must have exactly one field set.
DeviceConstraint must have exactly one field set besides Requests.
DeviceRequest is a request for devices required for a claim.
DeviceRequestAllocationResult contains the allocation result for one request.
DeviceSelector must have exactly one field set.
NetworkDeviceData provides network-related details for the allocated device.
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
ResourceClaim describes a request for access to resources in the cluster, for use by workloads.
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim.
ResourceClaimList is a collection of claims.
ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.
ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.
ResourceClaimTemplate is used to produce ResourceClaim objects.
ResourceClaimTemplateList is a collection of claim templates.
ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
ResourcePool describes the pool that ResourceSlices belong to.
ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.
ResourceSliceList is a collection of ResourceSlices.
ResourceSliceSpec contains the information published by the driver in one ResourceSlice.

# Type aliases

FullyQualifiedName is a QualifiedName where the domain is set.
QualifiedName is the name of a device attribute or capacity.