Package-level declarations

Types

Link copied to clipboard
class DeviceClass : KotlinCustomResource

DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
data class DeviceClassArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<DeviceClassSpecArgs>? = null) : ConvertibleToJava<DeviceClassArgs>

DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
Link copied to clipboard
class DeviceClassList : KotlinCustomResource

DeviceClassList is a collection of classes.

Link copied to clipboard
data class DeviceClassListArgs(val apiVersion: Output<String>? = null, val items: Output<List<DeviceClassArgs>>? = null, val kind: Output<String>? = null, val metadata: Output<ListMetaArgs>? = null) : ConvertibleToJava<DeviceClassListArgs>

DeviceClassList is a collection of classes.

Link copied to clipboard
object DeviceClassListMapper : ResourceMapper<DeviceClassList>
Link copied to clipboard
object DeviceClassMapper : ResourceMapper<DeviceClass>
Link copied to clipboard
class DeviceClassPatch : KotlinCustomResource

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
data class DeviceClassPatchArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaPatchArgs>? = null, val spec: Output<DeviceClassSpecPatchArgs>? = null) : ConvertibleToJava<DeviceClassPatchArgs>

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
object DeviceClassPatchMapper : ResourceMapper<DeviceClassPatch>
Link copied to clipboard
Link copied to clipboard
class DeviceTaintRule : KotlinCustomResource

DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.

Link copied to clipboard
data class DeviceTaintRuleArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<DeviceTaintRuleSpecArgs>? = null) : ConvertibleToJava<DeviceTaintRuleArgs>

DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.

Link copied to clipboard
class DeviceTaintRuleList : KotlinCustomResource

DeviceTaintRuleList is a collection of DeviceTaintRules.

Link copied to clipboard
data class DeviceTaintRuleListArgs(val apiVersion: Output<String>? = null, val items: Output<List<DeviceTaintRuleArgs>>? = null, val kind: Output<String>? = null, val metadata: Output<ListMetaArgs>? = null) : ConvertibleToJava<DeviceTaintRuleListArgs>

DeviceTaintRuleList is a collection of DeviceTaintRules.

Link copied to clipboard
Link copied to clipboard
object DeviceTaintRuleMapper : ResourceMapper<DeviceTaintRule>
Link copied to clipboard
class DeviceTaintRulePatch : KotlinCustomResource

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.

Link copied to clipboard
data class DeviceTaintRulePatchArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaPatchArgs>? = null, val spec: Output<DeviceTaintRuleSpecPatchArgs>? = null) : ConvertibleToJava<DeviceTaintRulePatchArgs>

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.

Link copied to clipboard
Link copied to clipboard
class PodSchedulingContext : KotlinCustomResource

PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode. This is an alpha type and requires enabling the DRAControlPlaneController feature gate.

Link copied to clipboard
data class PodSchedulingContextArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<PodSchedulingContextSpecArgs>? = null) : ConvertibleToJava<PodSchedulingContextArgs>

PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode. This is an alpha type and requires enabling the DRAControlPlaneController feature gate.

Link copied to clipboard
class PodSchedulingContextList : KotlinCustomResource

PodSchedulingContextList is a collection of Pod scheduling objects.

Link copied to clipboard
data class PodSchedulingContextListArgs(val apiVersion: Output<String>? = null, val items: Output<List<PodSchedulingContextArgs>>? = null, val kind: Output<String>? = null, val metadata: Output<ListMetaArgs>? = null) : ConvertibleToJava<PodSchedulingContextListArgs>

PodSchedulingContextList is a collection of Pod scheduling objects.

Link copied to clipboard
Link copied to clipboard
class PodSchedulingContextPatch : KotlinCustomResource

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode. This is an alpha type and requires enabling the DRAControlPlaneController feature gate.

Link copied to clipboard
data class PodSchedulingContextPatchArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaPatchArgs>? = null, val spec: Output<PodSchedulingContextSpecPatchArgs>? = null) : ConvertibleToJava<PodSchedulingContextPatchArgs>

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode. This is an alpha type and requires enabling the DRAControlPlaneController feature gate.

Link copied to clipboard
class ResourceClaim : KotlinCustomResource

ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
data class ResourceClaimArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<ResourceClaimSpecArgs>? = null) : ConvertibleToJava<ResourceClaimArgs>

ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
Link copied to clipboard
class ResourceClaimList : KotlinCustomResource

ResourceClaimList is a collection of claims.

Link copied to clipboard
data class ResourceClaimListArgs(val apiVersion: Output<String>? = null, val items: Output<List<ResourceClaimArgs>>? = null, val kind: Output<String>? = null, val metadata: Output<ListMetaArgs>? = null) : ConvertibleToJava<ResourceClaimListArgs>

ResourceClaimList is a collection of claims.

Link copied to clipboard
object ResourceClaimListMapper : ResourceMapper<ResourceClaimList>
Link copied to clipboard
object ResourceClaimMapper : ResourceMapper<ResourceClaim>
Link copied to clipboard
class ResourceClaimPatch : KotlinCustomResource

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
data class ResourceClaimPatchArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaPatchArgs>? = null, val spec: Output<ResourceClaimSpecPatchArgs>? = null) : ConvertibleToJava<ResourceClaimPatchArgs>

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ResourceClaimTemplate : KotlinCustomResource

ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
data class ResourceClaimTemplateArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<ResourceClaimTemplateSpecArgs>? = null) : ConvertibleToJava<ResourceClaimTemplateArgs>

ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
class ResourceClaimTemplateList : KotlinCustomResource

ResourceClaimTemplateList is a collection of claim templates.

Link copied to clipboard
data class ResourceClaimTemplateListArgs(val apiVersion: Output<String>? = null, val items: Output<List<ResourceClaimTemplateArgs>>? = null, val kind: Output<String>? = null, val metadata: Output<ListMetaArgs>? = null) : ConvertibleToJava<ResourceClaimTemplateListArgs>

ResourceClaimTemplateList is a collection of claim templates.

Link copied to clipboard
Link copied to clipboard
class ResourceClaimTemplatePatch : KotlinCustomResource

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
data class ResourceClaimTemplatePatchArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaPatchArgs>? = null, val spec: Output<ResourceClaimTemplateSpecPatchArgs>? = null) : ConvertibleToJava<ResourceClaimTemplatePatchArgs>

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
class ResourceSlice : KotlinCustomResource

ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
data class ResourceSliceArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<ResourceSliceSpecArgs>? = null) : ConvertibleToJava<ResourceSliceArgs>

ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
Link copied to clipboard
class ResourceSliceList : KotlinCustomResource

ResourceSliceList is a collection of ResourceSlices.

Link copied to clipboard
data class ResourceSliceListArgs(val apiVersion: Output<String>? = null, val items: Output<List<ResourceSliceArgs>>? = null, val kind: Output<String>? = null, val listMeta: Output<ListMetaArgs>? = null, val metadata: Output<ListMetaArgs>? = null) : ConvertibleToJava<ResourceSliceListArgs>

ResourceSliceList is a collection of ResourceSlices.

Link copied to clipboard
object ResourceSliceListMapper : ResourceMapper<ResourceSliceList>
Link copied to clipboard
object ResourceSliceMapper : ResourceMapper<ResourceSlice>
Link copied to clipboard
class ResourceSlicePatch : KotlinCustomResource

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
data class ResourceSlicePatchArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaPatchArgs>? = null, val spec: Output<ResourceSliceSpecPatchArgs>? = null) : ConvertibleToJava<ResourceSlicePatchArgs>

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun deviceClass(name: String, block: suspend DeviceClassResourceBuilder.() -> Unit): DeviceClass
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard