v1beta1

package
v4.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocatedDeviceStatus

type AllocatedDeviceStatus struct {
	// Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.
	Conditions []metav1.Condition `pulumi:"conditions"`
	// Data contains arbitrary driver-specific data.
	//
	// The length of the raw data must be smaller or equal to 10 Ki.
	Data interface{} `pulumi:"data"`
	// Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
	Device string `pulumi:"device"`
	// Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver string `pulumi:"driver"`
	// NetworkData contains network-related information specific to the device.
	NetworkData *NetworkDeviceData `pulumi:"networkData"`
	// This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
	//
	// Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
	Pool string `pulumi:"pool"`
}

AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.

type AllocatedDeviceStatusArgs

type AllocatedDeviceStatusArgs struct {
	// Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.
	Conditions metav1.ConditionArrayInput `pulumi:"conditions"`
	// Data contains arbitrary driver-specific data.
	//
	// The length of the raw data must be smaller or equal to 10 Ki.
	Data pulumi.Input `pulumi:"data"`
	// Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
	Device pulumi.StringInput `pulumi:"device"`
	// Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver pulumi.StringInput `pulumi:"driver"`
	// NetworkData contains network-related information specific to the device.
	NetworkData NetworkDeviceDataPtrInput `pulumi:"networkData"`
	// This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
	//
	// Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
	Pool pulumi.StringInput `pulumi:"pool"`
}

AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.

func (AllocatedDeviceStatusArgs) ElementType

func (AllocatedDeviceStatusArgs) ElementType() reflect.Type

func (AllocatedDeviceStatusArgs) ToAllocatedDeviceStatusOutput

func (i AllocatedDeviceStatusArgs) ToAllocatedDeviceStatusOutput() AllocatedDeviceStatusOutput

func (AllocatedDeviceStatusArgs) ToAllocatedDeviceStatusOutputWithContext

func (i AllocatedDeviceStatusArgs) ToAllocatedDeviceStatusOutputWithContext(ctx context.Context) AllocatedDeviceStatusOutput

type AllocatedDeviceStatusArray

type AllocatedDeviceStatusArray []AllocatedDeviceStatusInput

func (AllocatedDeviceStatusArray) ElementType

func (AllocatedDeviceStatusArray) ElementType() reflect.Type

func (AllocatedDeviceStatusArray) ToAllocatedDeviceStatusArrayOutput

func (i AllocatedDeviceStatusArray) ToAllocatedDeviceStatusArrayOutput() AllocatedDeviceStatusArrayOutput

func (AllocatedDeviceStatusArray) ToAllocatedDeviceStatusArrayOutputWithContext

func (i AllocatedDeviceStatusArray) ToAllocatedDeviceStatusArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusArrayOutput

type AllocatedDeviceStatusArrayInput

type AllocatedDeviceStatusArrayInput interface {
	pulumi.Input

	ToAllocatedDeviceStatusArrayOutput() AllocatedDeviceStatusArrayOutput
	ToAllocatedDeviceStatusArrayOutputWithContext(context.Context) AllocatedDeviceStatusArrayOutput
}

AllocatedDeviceStatusArrayInput is an input type that accepts AllocatedDeviceStatusArray and AllocatedDeviceStatusArrayOutput values. You can construct a concrete instance of `AllocatedDeviceStatusArrayInput` via:

AllocatedDeviceStatusArray{ AllocatedDeviceStatusArgs{...} }

type AllocatedDeviceStatusArrayOutput

type AllocatedDeviceStatusArrayOutput struct{ *pulumi.OutputState }

func (AllocatedDeviceStatusArrayOutput) ElementType

func (AllocatedDeviceStatusArrayOutput) Index

func (AllocatedDeviceStatusArrayOutput) ToAllocatedDeviceStatusArrayOutput

func (o AllocatedDeviceStatusArrayOutput) ToAllocatedDeviceStatusArrayOutput() AllocatedDeviceStatusArrayOutput

func (AllocatedDeviceStatusArrayOutput) ToAllocatedDeviceStatusArrayOutputWithContext

func (o AllocatedDeviceStatusArrayOutput) ToAllocatedDeviceStatusArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusArrayOutput

type AllocatedDeviceStatusInput

type AllocatedDeviceStatusInput interface {
	pulumi.Input

	ToAllocatedDeviceStatusOutput() AllocatedDeviceStatusOutput
	ToAllocatedDeviceStatusOutputWithContext(context.Context) AllocatedDeviceStatusOutput
}

AllocatedDeviceStatusInput is an input type that accepts AllocatedDeviceStatusArgs and AllocatedDeviceStatusOutput values. You can construct a concrete instance of `AllocatedDeviceStatusInput` via:

AllocatedDeviceStatusArgs{...}

type AllocatedDeviceStatusOutput

type AllocatedDeviceStatusOutput struct{ *pulumi.OutputState }

AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.

func (AllocatedDeviceStatusOutput) Conditions

Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.

func (AllocatedDeviceStatusOutput) Data

Data contains arbitrary driver-specific data.

The length of the raw data must be smaller or equal to 10 Ki.

func (AllocatedDeviceStatusOutput) Device

Device references one device instance via its name in the driver's resource pool. It must be a DNS label.

func (AllocatedDeviceStatusOutput) Driver

Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

func (AllocatedDeviceStatusOutput) ElementType

func (AllocatedDeviceStatusOutput) NetworkData

NetworkData contains network-related information specific to the device.

func (AllocatedDeviceStatusOutput) Pool

This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).

Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.

func (AllocatedDeviceStatusOutput) ToAllocatedDeviceStatusOutput

func (o AllocatedDeviceStatusOutput) ToAllocatedDeviceStatusOutput() AllocatedDeviceStatusOutput

func (AllocatedDeviceStatusOutput) ToAllocatedDeviceStatusOutputWithContext

func (o AllocatedDeviceStatusOutput) ToAllocatedDeviceStatusOutputWithContext(ctx context.Context) AllocatedDeviceStatusOutput

type AllocatedDeviceStatusPatch

type AllocatedDeviceStatusPatch struct {
	// Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.
	Conditions []metav1.ConditionPatch `pulumi:"conditions"`
	// Data contains arbitrary driver-specific data.
	//
	// The length of the raw data must be smaller or equal to 10 Ki.
	Data interface{} `pulumi:"data"`
	// Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
	Device *string `pulumi:"device"`
	// Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver *string `pulumi:"driver"`
	// NetworkData contains network-related information specific to the device.
	NetworkData *NetworkDeviceDataPatch `pulumi:"networkData"`
	// This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
	//
	// Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
	Pool *string `pulumi:"pool"`
}

AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.

type AllocatedDeviceStatusPatchArgs

type AllocatedDeviceStatusPatchArgs struct {
	// Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.
	Conditions metav1.ConditionPatchArrayInput `pulumi:"conditions"`
	// Data contains arbitrary driver-specific data.
	//
	// The length of the raw data must be smaller or equal to 10 Ki.
	Data pulumi.Input `pulumi:"data"`
	// Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
	Device pulumi.StringPtrInput `pulumi:"device"`
	// Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver pulumi.StringPtrInput `pulumi:"driver"`
	// NetworkData contains network-related information specific to the device.
	NetworkData NetworkDeviceDataPatchPtrInput `pulumi:"networkData"`
	// This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
	//
	// Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
	Pool pulumi.StringPtrInput `pulumi:"pool"`
}

AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.

func (AllocatedDeviceStatusPatchArgs) ElementType

func (AllocatedDeviceStatusPatchArgs) ToAllocatedDeviceStatusPatchOutput

func (i AllocatedDeviceStatusPatchArgs) ToAllocatedDeviceStatusPatchOutput() AllocatedDeviceStatusPatchOutput

func (AllocatedDeviceStatusPatchArgs) ToAllocatedDeviceStatusPatchOutputWithContext

func (i AllocatedDeviceStatusPatchArgs) ToAllocatedDeviceStatusPatchOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchOutput

type AllocatedDeviceStatusPatchArray

type AllocatedDeviceStatusPatchArray []AllocatedDeviceStatusPatchInput

func (AllocatedDeviceStatusPatchArray) ElementType

func (AllocatedDeviceStatusPatchArray) ToAllocatedDeviceStatusPatchArrayOutput

func (i AllocatedDeviceStatusPatchArray) ToAllocatedDeviceStatusPatchArrayOutput() AllocatedDeviceStatusPatchArrayOutput

func (AllocatedDeviceStatusPatchArray) ToAllocatedDeviceStatusPatchArrayOutputWithContext

func (i AllocatedDeviceStatusPatchArray) ToAllocatedDeviceStatusPatchArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchArrayOutput

type AllocatedDeviceStatusPatchArrayInput

type AllocatedDeviceStatusPatchArrayInput interface {
	pulumi.Input

	ToAllocatedDeviceStatusPatchArrayOutput() AllocatedDeviceStatusPatchArrayOutput
	ToAllocatedDeviceStatusPatchArrayOutputWithContext(context.Context) AllocatedDeviceStatusPatchArrayOutput
}

AllocatedDeviceStatusPatchArrayInput is an input type that accepts AllocatedDeviceStatusPatchArray and AllocatedDeviceStatusPatchArrayOutput values. You can construct a concrete instance of `AllocatedDeviceStatusPatchArrayInput` via:

AllocatedDeviceStatusPatchArray{ AllocatedDeviceStatusPatchArgs{...} }

type AllocatedDeviceStatusPatchArrayOutput

type AllocatedDeviceStatusPatchArrayOutput struct{ *pulumi.OutputState }

func (AllocatedDeviceStatusPatchArrayOutput) ElementType

func (AllocatedDeviceStatusPatchArrayOutput) Index

func (AllocatedDeviceStatusPatchArrayOutput) ToAllocatedDeviceStatusPatchArrayOutput

func (o AllocatedDeviceStatusPatchArrayOutput) ToAllocatedDeviceStatusPatchArrayOutput() AllocatedDeviceStatusPatchArrayOutput

func (AllocatedDeviceStatusPatchArrayOutput) ToAllocatedDeviceStatusPatchArrayOutputWithContext

func (o AllocatedDeviceStatusPatchArrayOutput) ToAllocatedDeviceStatusPatchArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchArrayOutput

type AllocatedDeviceStatusPatchInput

type AllocatedDeviceStatusPatchInput interface {
	pulumi.Input

	ToAllocatedDeviceStatusPatchOutput() AllocatedDeviceStatusPatchOutput
	ToAllocatedDeviceStatusPatchOutputWithContext(context.Context) AllocatedDeviceStatusPatchOutput
}

AllocatedDeviceStatusPatchInput is an input type that accepts AllocatedDeviceStatusPatchArgs and AllocatedDeviceStatusPatchOutput values. You can construct a concrete instance of `AllocatedDeviceStatusPatchInput` via:

AllocatedDeviceStatusPatchArgs{...}

type AllocatedDeviceStatusPatchOutput

type AllocatedDeviceStatusPatchOutput struct{ *pulumi.OutputState }

AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.

func (AllocatedDeviceStatusPatchOutput) Conditions

Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.

func (AllocatedDeviceStatusPatchOutput) Data

Data contains arbitrary driver-specific data.

The length of the raw data must be smaller or equal to 10 Ki.

func (AllocatedDeviceStatusPatchOutput) Device

Device references one device instance via its name in the driver's resource pool. It must be a DNS label.

func (AllocatedDeviceStatusPatchOutput) Driver

Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

func (AllocatedDeviceStatusPatchOutput) ElementType

func (AllocatedDeviceStatusPatchOutput) NetworkData

NetworkData contains network-related information specific to the device.

func (AllocatedDeviceStatusPatchOutput) Pool

This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).

Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.

func (AllocatedDeviceStatusPatchOutput) ToAllocatedDeviceStatusPatchOutput

func (o AllocatedDeviceStatusPatchOutput) ToAllocatedDeviceStatusPatchOutput() AllocatedDeviceStatusPatchOutput

func (AllocatedDeviceStatusPatchOutput) ToAllocatedDeviceStatusPatchOutputWithContext

func (o AllocatedDeviceStatusPatchOutput) ToAllocatedDeviceStatusPatchOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchOutput

type AllocationResult

type AllocationResult struct {
	// Devices is the result of allocating devices.
	Devices *DeviceAllocationResult `pulumi:"devices"`
	// NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.
	NodeSelector *corev1.NodeSelector `pulumi:"nodeSelector"`
}

AllocationResult contains attributes of an allocated resource.

type AllocationResultArgs

type AllocationResultArgs struct {
	// Devices is the result of allocating devices.
	Devices DeviceAllocationResultPtrInput `pulumi:"devices"`
	// NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.
	NodeSelector corev1.NodeSelectorPtrInput `pulumi:"nodeSelector"`
}

AllocationResult contains attributes of an allocated resource.

func (AllocationResultArgs) ElementType

func (AllocationResultArgs) ElementType() reflect.Type

func (AllocationResultArgs) ToAllocationResultOutput

func (i AllocationResultArgs) ToAllocationResultOutput() AllocationResultOutput

func (AllocationResultArgs) ToAllocationResultOutputWithContext

func (i AllocationResultArgs) ToAllocationResultOutputWithContext(ctx context.Context) AllocationResultOutput

func (AllocationResultArgs) ToAllocationResultPtrOutput

func (i AllocationResultArgs) ToAllocationResultPtrOutput() AllocationResultPtrOutput

func (AllocationResultArgs) ToAllocationResultPtrOutputWithContext

func (i AllocationResultArgs) ToAllocationResultPtrOutputWithContext(ctx context.Context) AllocationResultPtrOutput

type AllocationResultInput

type AllocationResultInput interface {
	pulumi.Input

	ToAllocationResultOutput() AllocationResultOutput
	ToAllocationResultOutputWithContext(context.Context) AllocationResultOutput
}

AllocationResultInput is an input type that accepts AllocationResultArgs and AllocationResultOutput values. You can construct a concrete instance of `AllocationResultInput` via:

AllocationResultArgs{...}

type AllocationResultOutput

type AllocationResultOutput struct{ *pulumi.OutputState }

AllocationResult contains attributes of an allocated resource.

func (AllocationResultOutput) Devices

Devices is the result of allocating devices.

func (AllocationResultOutput) ElementType

func (AllocationResultOutput) ElementType() reflect.Type

func (AllocationResultOutput) NodeSelector

NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.

func (AllocationResultOutput) ToAllocationResultOutput

func (o AllocationResultOutput) ToAllocationResultOutput() AllocationResultOutput

func (AllocationResultOutput) ToAllocationResultOutputWithContext

func (o AllocationResultOutput) ToAllocationResultOutputWithContext(ctx context.Context) AllocationResultOutput

func (AllocationResultOutput) ToAllocationResultPtrOutput

func (o AllocationResultOutput) ToAllocationResultPtrOutput() AllocationResultPtrOutput

func (AllocationResultOutput) ToAllocationResultPtrOutputWithContext

func (o AllocationResultOutput) ToAllocationResultPtrOutputWithContext(ctx context.Context) AllocationResultPtrOutput

type AllocationResultPatch

type AllocationResultPatch struct {
	// Devices is the result of allocating devices.
	Devices *DeviceAllocationResultPatch `pulumi:"devices"`
	// NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.
	NodeSelector *corev1.NodeSelectorPatch `pulumi:"nodeSelector"`
}

AllocationResult contains attributes of an allocated resource.

type AllocationResultPatchArgs

type AllocationResultPatchArgs struct {
	// Devices is the result of allocating devices.
	Devices DeviceAllocationResultPatchPtrInput `pulumi:"devices"`
	// NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.
	NodeSelector corev1.NodeSelectorPatchPtrInput `pulumi:"nodeSelector"`
}

AllocationResult contains attributes of an allocated resource.

func (AllocationResultPatchArgs) ElementType

func (AllocationResultPatchArgs) ElementType() reflect.Type

func (AllocationResultPatchArgs) ToAllocationResultPatchOutput

func (i AllocationResultPatchArgs) ToAllocationResultPatchOutput() AllocationResultPatchOutput

func (AllocationResultPatchArgs) ToAllocationResultPatchOutputWithContext

func (i AllocationResultPatchArgs) ToAllocationResultPatchOutputWithContext(ctx context.Context) AllocationResultPatchOutput

func (AllocationResultPatchArgs) ToAllocationResultPatchPtrOutput

func (i AllocationResultPatchArgs) ToAllocationResultPatchPtrOutput() AllocationResultPatchPtrOutput

func (AllocationResultPatchArgs) ToAllocationResultPatchPtrOutputWithContext

func (i AllocationResultPatchArgs) ToAllocationResultPatchPtrOutputWithContext(ctx context.Context) AllocationResultPatchPtrOutput

type AllocationResultPatchInput

type AllocationResultPatchInput interface {
	pulumi.Input

	ToAllocationResultPatchOutput() AllocationResultPatchOutput
	ToAllocationResultPatchOutputWithContext(context.Context) AllocationResultPatchOutput
}

AllocationResultPatchInput is an input type that accepts AllocationResultPatchArgs and AllocationResultPatchOutput values. You can construct a concrete instance of `AllocationResultPatchInput` via:

AllocationResultPatchArgs{...}

type AllocationResultPatchOutput

type AllocationResultPatchOutput struct{ *pulumi.OutputState }

AllocationResult contains attributes of an allocated resource.

func (AllocationResultPatchOutput) Devices

Devices is the result of allocating devices.

func (AllocationResultPatchOutput) ElementType

func (AllocationResultPatchOutput) NodeSelector

NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.

func (AllocationResultPatchOutput) ToAllocationResultPatchOutput

func (o AllocationResultPatchOutput) ToAllocationResultPatchOutput() AllocationResultPatchOutput

func (AllocationResultPatchOutput) ToAllocationResultPatchOutputWithContext

func (o AllocationResultPatchOutput) ToAllocationResultPatchOutputWithContext(ctx context.Context) AllocationResultPatchOutput

func (AllocationResultPatchOutput) ToAllocationResultPatchPtrOutput

func (o AllocationResultPatchOutput) ToAllocationResultPatchPtrOutput() AllocationResultPatchPtrOutput

func (AllocationResultPatchOutput) ToAllocationResultPatchPtrOutputWithContext

func (o AllocationResultPatchOutput) ToAllocationResultPatchPtrOutputWithContext(ctx context.Context) AllocationResultPatchPtrOutput

type AllocationResultPatchPtrInput

type AllocationResultPatchPtrInput interface {
	pulumi.Input

	ToAllocationResultPatchPtrOutput() AllocationResultPatchPtrOutput
	ToAllocationResultPatchPtrOutputWithContext(context.Context) AllocationResultPatchPtrOutput
}

AllocationResultPatchPtrInput is an input type that accepts AllocationResultPatchArgs, AllocationResultPatchPtr and AllocationResultPatchPtrOutput values. You can construct a concrete instance of `AllocationResultPatchPtrInput` via:

        AllocationResultPatchArgs{...}

or:

        nil

type AllocationResultPatchPtrOutput

type AllocationResultPatchPtrOutput struct{ *pulumi.OutputState }

func (AllocationResultPatchPtrOutput) Devices

Devices is the result of allocating devices.

func (AllocationResultPatchPtrOutput) Elem

func (AllocationResultPatchPtrOutput) ElementType

func (AllocationResultPatchPtrOutput) NodeSelector

NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.

func (AllocationResultPatchPtrOutput) ToAllocationResultPatchPtrOutput

func (o AllocationResultPatchPtrOutput) ToAllocationResultPatchPtrOutput() AllocationResultPatchPtrOutput

func (AllocationResultPatchPtrOutput) ToAllocationResultPatchPtrOutputWithContext

func (o AllocationResultPatchPtrOutput) ToAllocationResultPatchPtrOutputWithContext(ctx context.Context) AllocationResultPatchPtrOutput

type AllocationResultPtrInput

type AllocationResultPtrInput interface {
	pulumi.Input

	ToAllocationResultPtrOutput() AllocationResultPtrOutput
	ToAllocationResultPtrOutputWithContext(context.Context) AllocationResultPtrOutput
}

AllocationResultPtrInput is an input type that accepts AllocationResultArgs, AllocationResultPtr and AllocationResultPtrOutput values. You can construct a concrete instance of `AllocationResultPtrInput` via:

        AllocationResultArgs{...}

or:

        nil

type AllocationResultPtrOutput

type AllocationResultPtrOutput struct{ *pulumi.OutputState }

func (AllocationResultPtrOutput) Devices

Devices is the result of allocating devices.

func (AllocationResultPtrOutput) Elem

func (AllocationResultPtrOutput) ElementType

func (AllocationResultPtrOutput) ElementType() reflect.Type

func (AllocationResultPtrOutput) NodeSelector

NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.

func (AllocationResultPtrOutput) ToAllocationResultPtrOutput

func (o AllocationResultPtrOutput) ToAllocationResultPtrOutput() AllocationResultPtrOutput

func (AllocationResultPtrOutput) ToAllocationResultPtrOutputWithContext

func (o AllocationResultPtrOutput) ToAllocationResultPtrOutputWithContext(ctx context.Context) AllocationResultPtrOutput

type BasicDevice

type BasicDevice struct {
	// Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.
	//
	// The maximum number of attributes and capacities combined is 32.
	Attributes map[string]DeviceAttribute `pulumi:"attributes"`
	// Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.
	//
	// The maximum number of attributes and capacities combined is 32.
	Capacity map[string]DeviceCapacity `pulumi:"capacity"`
}

BasicDevice defines one device instance.

type BasicDeviceArgs

type BasicDeviceArgs struct {
	// Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.
	//
	// The maximum number of attributes and capacities combined is 32.
	Attributes DeviceAttributeMapInput `pulumi:"attributes"`
	// Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.
	//
	// The maximum number of attributes and capacities combined is 32.
	Capacity DeviceCapacityMapInput `pulumi:"capacity"`
}

BasicDevice defines one device instance.

func (BasicDeviceArgs) ElementType

func (BasicDeviceArgs) ElementType() reflect.Type

func (BasicDeviceArgs) ToBasicDeviceOutput

func (i BasicDeviceArgs) ToBasicDeviceOutput() BasicDeviceOutput

func (BasicDeviceArgs) ToBasicDeviceOutputWithContext

func (i BasicDeviceArgs) ToBasicDeviceOutputWithContext(ctx context.Context) BasicDeviceOutput

func (BasicDeviceArgs) ToBasicDevicePtrOutput

func (i BasicDeviceArgs) ToBasicDevicePtrOutput() BasicDevicePtrOutput

func (BasicDeviceArgs) ToBasicDevicePtrOutputWithContext

func (i BasicDeviceArgs) ToBasicDevicePtrOutputWithContext(ctx context.Context) BasicDevicePtrOutput

type BasicDeviceInput

type BasicDeviceInput interface {
	pulumi.Input

	ToBasicDeviceOutput() BasicDeviceOutput
	ToBasicDeviceOutputWithContext(context.Context) BasicDeviceOutput
}

BasicDeviceInput is an input type that accepts BasicDeviceArgs and BasicDeviceOutput values. You can construct a concrete instance of `BasicDeviceInput` via:

BasicDeviceArgs{...}

type BasicDeviceOutput

type BasicDeviceOutput struct{ *pulumi.OutputState }

BasicDevice defines one device instance.

func (BasicDeviceOutput) Attributes

Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.

The maximum number of attributes and capacities combined is 32.

func (BasicDeviceOutput) Capacity

Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.

The maximum number of attributes and capacities combined is 32.

func (BasicDeviceOutput) ElementType

func (BasicDeviceOutput) ElementType() reflect.Type

func (BasicDeviceOutput) ToBasicDeviceOutput

func (o BasicDeviceOutput) ToBasicDeviceOutput() BasicDeviceOutput

func (BasicDeviceOutput) ToBasicDeviceOutputWithContext

func (o BasicDeviceOutput) ToBasicDeviceOutputWithContext(ctx context.Context) BasicDeviceOutput

func (BasicDeviceOutput) ToBasicDevicePtrOutput

func (o BasicDeviceOutput) ToBasicDevicePtrOutput() BasicDevicePtrOutput

func (BasicDeviceOutput) ToBasicDevicePtrOutputWithContext

func (o BasicDeviceOutput) ToBasicDevicePtrOutputWithContext(ctx context.Context) BasicDevicePtrOutput

type BasicDevicePatch

type BasicDevicePatch struct {
	// Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.
	//
	// The maximum number of attributes and capacities combined is 32.
	Attributes map[string]DeviceAttribute `pulumi:"attributes"`
	// Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.
	//
	// The maximum number of attributes and capacities combined is 32.
	Capacity map[string]DeviceCapacity `pulumi:"capacity"`
}

BasicDevice defines one device instance.

type BasicDevicePatchArgs

type BasicDevicePatchArgs struct {
	// Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.
	//
	// The maximum number of attributes and capacities combined is 32.
	Attributes DeviceAttributeMapInput `pulumi:"attributes"`
	// Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.
	//
	// The maximum number of attributes and capacities combined is 32.
	Capacity DeviceCapacityMapInput `pulumi:"capacity"`
}

BasicDevice defines one device instance.

func (BasicDevicePatchArgs) ElementType

func (BasicDevicePatchArgs) ElementType() reflect.Type

func (BasicDevicePatchArgs) ToBasicDevicePatchOutput

func (i BasicDevicePatchArgs) ToBasicDevicePatchOutput() BasicDevicePatchOutput

func (BasicDevicePatchArgs) ToBasicDevicePatchOutputWithContext

func (i BasicDevicePatchArgs) ToBasicDevicePatchOutputWithContext(ctx context.Context) BasicDevicePatchOutput

func (BasicDevicePatchArgs) ToBasicDevicePatchPtrOutput

func (i BasicDevicePatchArgs) ToBasicDevicePatchPtrOutput() BasicDevicePatchPtrOutput

func (BasicDevicePatchArgs) ToBasicDevicePatchPtrOutputWithContext

func (i BasicDevicePatchArgs) ToBasicDevicePatchPtrOutputWithContext(ctx context.Context) BasicDevicePatchPtrOutput

type BasicDevicePatchInput

type BasicDevicePatchInput interface {
	pulumi.Input

	ToBasicDevicePatchOutput() BasicDevicePatchOutput
	ToBasicDevicePatchOutputWithContext(context.Context) BasicDevicePatchOutput
}

BasicDevicePatchInput is an input type that accepts BasicDevicePatchArgs and BasicDevicePatchOutput values. You can construct a concrete instance of `BasicDevicePatchInput` via:

BasicDevicePatchArgs{...}

type BasicDevicePatchOutput

type BasicDevicePatchOutput struct{ *pulumi.OutputState }

BasicDevice defines one device instance.

func (BasicDevicePatchOutput) Attributes

Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.

The maximum number of attributes and capacities combined is 32.

func (BasicDevicePatchOutput) Capacity

Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.

The maximum number of attributes and capacities combined is 32.

func (BasicDevicePatchOutput) ElementType

func (BasicDevicePatchOutput) ElementType() reflect.Type

func (BasicDevicePatchOutput) ToBasicDevicePatchOutput

func (o BasicDevicePatchOutput) ToBasicDevicePatchOutput() BasicDevicePatchOutput

func (BasicDevicePatchOutput) ToBasicDevicePatchOutputWithContext

func (o BasicDevicePatchOutput) ToBasicDevicePatchOutputWithContext(ctx context.Context) BasicDevicePatchOutput

func (BasicDevicePatchOutput) ToBasicDevicePatchPtrOutput

func (o BasicDevicePatchOutput) ToBasicDevicePatchPtrOutput() BasicDevicePatchPtrOutput

func (BasicDevicePatchOutput) ToBasicDevicePatchPtrOutputWithContext

func (o BasicDevicePatchOutput) ToBasicDevicePatchPtrOutputWithContext(ctx context.Context) BasicDevicePatchPtrOutput

type BasicDevicePatchPtrInput

type BasicDevicePatchPtrInput interface {
	pulumi.Input

	ToBasicDevicePatchPtrOutput() BasicDevicePatchPtrOutput
	ToBasicDevicePatchPtrOutputWithContext(context.Context) BasicDevicePatchPtrOutput
}

BasicDevicePatchPtrInput is an input type that accepts BasicDevicePatchArgs, BasicDevicePatchPtr and BasicDevicePatchPtrOutput values. You can construct a concrete instance of `BasicDevicePatchPtrInput` via:

        BasicDevicePatchArgs{...}

or:

        nil

type BasicDevicePatchPtrOutput

type BasicDevicePatchPtrOutput struct{ *pulumi.OutputState }

func (BasicDevicePatchPtrOutput) Attributes

Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.

The maximum number of attributes and capacities combined is 32.

func (BasicDevicePatchPtrOutput) Capacity

Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.

The maximum number of attributes and capacities combined is 32.

func (BasicDevicePatchPtrOutput) Elem

func (BasicDevicePatchPtrOutput) ElementType

func (BasicDevicePatchPtrOutput) ElementType() reflect.Type

func (BasicDevicePatchPtrOutput) ToBasicDevicePatchPtrOutput

func (o BasicDevicePatchPtrOutput) ToBasicDevicePatchPtrOutput() BasicDevicePatchPtrOutput

func (BasicDevicePatchPtrOutput) ToBasicDevicePatchPtrOutputWithContext

func (o BasicDevicePatchPtrOutput) ToBasicDevicePatchPtrOutputWithContext(ctx context.Context) BasicDevicePatchPtrOutput

type BasicDevicePtrInput

type BasicDevicePtrInput interface {
	pulumi.Input

	ToBasicDevicePtrOutput() BasicDevicePtrOutput
	ToBasicDevicePtrOutputWithContext(context.Context) BasicDevicePtrOutput
}

BasicDevicePtrInput is an input type that accepts BasicDeviceArgs, BasicDevicePtr and BasicDevicePtrOutput values. You can construct a concrete instance of `BasicDevicePtrInput` via:

        BasicDeviceArgs{...}

or:

        nil

func BasicDevicePtr

func BasicDevicePtr(v *BasicDeviceArgs) BasicDevicePtrInput

type BasicDevicePtrOutput

type BasicDevicePtrOutput struct{ *pulumi.OutputState }

func (BasicDevicePtrOutput) Attributes

Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.

The maximum number of attributes and capacities combined is 32.

func (BasicDevicePtrOutput) Capacity

Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.

The maximum number of attributes and capacities combined is 32.

func (BasicDevicePtrOutput) Elem

func (BasicDevicePtrOutput) ElementType

func (BasicDevicePtrOutput) ElementType() reflect.Type

func (BasicDevicePtrOutput) ToBasicDevicePtrOutput

func (o BasicDevicePtrOutput) ToBasicDevicePtrOutput() BasicDevicePtrOutput

func (BasicDevicePtrOutput) ToBasicDevicePtrOutputWithContext

func (o BasicDevicePtrOutput) ToBasicDevicePtrOutputWithContext(ctx context.Context) BasicDevicePtrOutput

type CELDeviceSelector

type CELDeviceSelector struct {
	// Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
	//
	// The expression's input is an object named "device", which carries the following properties:
	//  - driver (string): the name of the driver which defines this device.
	//  - attributes (map[string]object): the device's attributes, grouped by prefix
	//    (e.g. device.attributes["dra.example.com"] evaluates to an object with all
	//    of the attributes which were prefixed by "dra.example.com".
	//  - capacity (map[string]object): the device's capacities, grouped by prefix.
	//
	// Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:
	//
	//     device.driver
	//     device.attributes["dra.example.com"].model
	//     device.attributes["ext.example.com"].family
	//     device.capacity["dra.example.com"].modules
	//
	// The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.
	//
	// The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.
	//
	// If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.
	//
	// A robust expression should check for the existence of attributes before referencing them.
	//
	// For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:
	//
	//     cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool)
	//
	// The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.
	Expression string `pulumi:"expression"`
}

CELDeviceSelector contains a CEL expression for selecting a device.

type CELDeviceSelectorArgs

type CELDeviceSelectorArgs struct {
	// Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
	//
	// The expression's input is an object named "device", which carries the following properties:
	//  - driver (string): the name of the driver which defines this device.
	//  - attributes (map[string]object): the device's attributes, grouped by prefix
	//    (e.g. device.attributes["dra.example.com"] evaluates to an object with all
	//    of the attributes which were prefixed by "dra.example.com".
	//  - capacity (map[string]object): the device's capacities, grouped by prefix.
	//
	// Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:
	//
	//     device.driver
	//     device.attributes["dra.example.com"].model
	//     device.attributes["ext.example.com"].family
	//     device.capacity["dra.example.com"].modules
	//
	// The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.
	//
	// The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.
	//
	// If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.
	//
	// A robust expression should check for the existence of attributes before referencing them.
	//
	// For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:
	//
	//     cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool)
	//
	// The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.
	Expression pulumi.StringInput `pulumi:"expression"`
}

CELDeviceSelector contains a CEL expression for selecting a device.

func (CELDeviceSelectorArgs) ElementType

func (CELDeviceSelectorArgs) ElementType() reflect.Type

func (CELDeviceSelectorArgs) ToCELDeviceSelectorOutput

func (i CELDeviceSelectorArgs) ToCELDeviceSelectorOutput() CELDeviceSelectorOutput

func (CELDeviceSelectorArgs) ToCELDeviceSelectorOutputWithContext

func (i CELDeviceSelectorArgs) ToCELDeviceSelectorOutputWithContext(ctx context.Context) CELDeviceSelectorOutput

func (CELDeviceSelectorArgs) ToCELDeviceSelectorPtrOutput

func (i CELDeviceSelectorArgs) ToCELDeviceSelectorPtrOutput() CELDeviceSelectorPtrOutput

func (CELDeviceSelectorArgs) ToCELDeviceSelectorPtrOutputWithContext

func (i CELDeviceSelectorArgs) ToCELDeviceSelectorPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPtrOutput

type CELDeviceSelectorInput

type CELDeviceSelectorInput interface {
	pulumi.Input

	ToCELDeviceSelectorOutput() CELDeviceSelectorOutput
	ToCELDeviceSelectorOutputWithContext(context.Context) CELDeviceSelectorOutput
}

CELDeviceSelectorInput is an input type that accepts CELDeviceSelectorArgs and CELDeviceSelectorOutput values. You can construct a concrete instance of `CELDeviceSelectorInput` via:

CELDeviceSelectorArgs{...}

type CELDeviceSelectorOutput

type CELDeviceSelectorOutput struct{ *pulumi.OutputState }

CELDeviceSelector contains a CEL expression for selecting a device.

func (CELDeviceSelectorOutput) ElementType

func (CELDeviceSelectorOutput) ElementType() reflect.Type

func (CELDeviceSelectorOutput) Expression

Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.

The expression's input is an object named "device", which carries the following properties:

  • driver (string): the name of the driver which defines this device.
  • attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes["dra.example.com"] evaluates to an object with all of the attributes which were prefixed by "dra.example.com".
  • capacity (map[string]object): the device's capacities, grouped by prefix.

Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:

device.driver
device.attributes["dra.example.com"].model
device.attributes["ext.example.com"].family
device.capacity["dra.example.com"].modules

The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.

The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.

If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.

A robust expression should check for the existence of attributes before referencing them.

For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:

cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool)

The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.

func (CELDeviceSelectorOutput) ToCELDeviceSelectorOutput

func (o CELDeviceSelectorOutput) ToCELDeviceSelectorOutput() CELDeviceSelectorOutput

func (CELDeviceSelectorOutput) ToCELDeviceSelectorOutputWithContext

func (o CELDeviceSelectorOutput) ToCELDeviceSelectorOutputWithContext(ctx context.Context) CELDeviceSelectorOutput

func (CELDeviceSelectorOutput) ToCELDeviceSelectorPtrOutput

func (o CELDeviceSelectorOutput) ToCELDeviceSelectorPtrOutput() CELDeviceSelectorPtrOutput

func (CELDeviceSelectorOutput) ToCELDeviceSelectorPtrOutputWithContext

func (o CELDeviceSelectorOutput) ToCELDeviceSelectorPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPtrOutput

type CELDeviceSelectorPatch

type CELDeviceSelectorPatch struct {
	// Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
	//
	// The expression's input is an object named "device", which carries the following properties:
	//  - driver (string): the name of the driver which defines this device.
	//  - attributes (map[string]object): the device's attributes, grouped by prefix
	//    (e.g. device.attributes["dra.example.com"] evaluates to an object with all
	//    of the attributes which were prefixed by "dra.example.com".
	//  - capacity (map[string]object): the device's capacities, grouped by prefix.
	//
	// Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:
	//
	//     device.driver
	//     device.attributes["dra.example.com"].model
	//     device.attributes["ext.example.com"].family
	//     device.capacity["dra.example.com"].modules
	//
	// The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.
	//
	// The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.
	//
	// If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.
	//
	// A robust expression should check for the existence of attributes before referencing them.
	//
	// For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:
	//
	//     cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool)
	//
	// The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.
	Expression *string `pulumi:"expression"`
}

CELDeviceSelector contains a CEL expression for selecting a device.

type CELDeviceSelectorPatchArgs

type CELDeviceSelectorPatchArgs struct {
	// Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
	//
	// The expression's input is an object named "device", which carries the following properties:
	//  - driver (string): the name of the driver which defines this device.
	//  - attributes (map[string]object): the device's attributes, grouped by prefix
	//    (e.g. device.attributes["dra.example.com"] evaluates to an object with all
	//    of the attributes which were prefixed by "dra.example.com".
	//  - capacity (map[string]object): the device's capacities, grouped by prefix.
	//
	// Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:
	//
	//     device.driver
	//     device.attributes["dra.example.com"].model
	//     device.attributes["ext.example.com"].family
	//     device.capacity["dra.example.com"].modules
	//
	// The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.
	//
	// The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.
	//
	// If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.
	//
	// A robust expression should check for the existence of attributes before referencing them.
	//
	// For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:
	//
	//     cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool)
	//
	// The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.
	Expression pulumi.StringPtrInput `pulumi:"expression"`
}

CELDeviceSelector contains a CEL expression for selecting a device.

func (CELDeviceSelectorPatchArgs) ElementType

func (CELDeviceSelectorPatchArgs) ElementType() reflect.Type

func (CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchOutput

func (i CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchOutput() CELDeviceSelectorPatchOutput

func (CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchOutputWithContext

func (i CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchOutputWithContext(ctx context.Context) CELDeviceSelectorPatchOutput

func (CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchPtrOutput

func (i CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchPtrOutput() CELDeviceSelectorPatchPtrOutput

func (CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchPtrOutputWithContext

func (i CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPatchPtrOutput

type CELDeviceSelectorPatchInput

type CELDeviceSelectorPatchInput interface {
	pulumi.Input

	ToCELDeviceSelectorPatchOutput() CELDeviceSelectorPatchOutput
	ToCELDeviceSelectorPatchOutputWithContext(context.Context) CELDeviceSelectorPatchOutput
}

CELDeviceSelectorPatchInput is an input type that accepts CELDeviceSelectorPatchArgs and CELDeviceSelectorPatchOutput values. You can construct a concrete instance of `CELDeviceSelectorPatchInput` via:

CELDeviceSelectorPatchArgs{...}

type CELDeviceSelectorPatchOutput

type CELDeviceSelectorPatchOutput struct{ *pulumi.OutputState }

CELDeviceSelector contains a CEL expression for selecting a device.

func (CELDeviceSelectorPatchOutput) ElementType

func (CELDeviceSelectorPatchOutput) Expression

Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.

The expression's input is an object named "device", which carries the following properties:

  • driver (string): the name of the driver which defines this device.
  • attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes["dra.example.com"] evaluates to an object with all of the attributes which were prefixed by "dra.example.com".
  • capacity (map[string]object): the device's capacities, grouped by prefix.

Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:

device.driver
device.attributes["dra.example.com"].model
device.attributes["ext.example.com"].family
device.capacity["dra.example.com"].modules

The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.

The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.

If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.

A robust expression should check for the existence of attributes before referencing them.

For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:

cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool)

The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.

func (CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchOutput

func (o CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchOutput() CELDeviceSelectorPatchOutput

func (CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchOutputWithContext

func (o CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchOutputWithContext(ctx context.Context) CELDeviceSelectorPatchOutput

func (CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchPtrOutput

func (o CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchPtrOutput() CELDeviceSelectorPatchPtrOutput

func (CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchPtrOutputWithContext

func (o CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPatchPtrOutput

type CELDeviceSelectorPatchPtrInput

type CELDeviceSelectorPatchPtrInput interface {
	pulumi.Input

	ToCELDeviceSelectorPatchPtrOutput() CELDeviceSelectorPatchPtrOutput
	ToCELDeviceSelectorPatchPtrOutputWithContext(context.Context) CELDeviceSelectorPatchPtrOutput
}

CELDeviceSelectorPatchPtrInput is an input type that accepts CELDeviceSelectorPatchArgs, CELDeviceSelectorPatchPtr and CELDeviceSelectorPatchPtrOutput values. You can construct a concrete instance of `CELDeviceSelectorPatchPtrInput` via:

        CELDeviceSelectorPatchArgs{...}

or:

        nil

type CELDeviceSelectorPatchPtrOutput

type CELDeviceSelectorPatchPtrOutput struct{ *pulumi.OutputState }

func (CELDeviceSelectorPatchPtrOutput) Elem

func (CELDeviceSelectorPatchPtrOutput) ElementType

func (CELDeviceSelectorPatchPtrOutput) Expression

Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.

The expression's input is an object named "device", which carries the following properties:

  • driver (string): the name of the driver which defines this device.
  • attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes["dra.example.com"] evaluates to an object with all of the attributes which were prefixed by "dra.example.com".
  • capacity (map[string]object): the device's capacities, grouped by prefix.

Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:

device.driver
device.attributes["dra.example.com"].model
device.attributes["ext.example.com"].family
device.capacity["dra.example.com"].modules

The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.

The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.

If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.

A robust expression should check for the existence of attributes before referencing them.

For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:

cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool)

The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.

func (CELDeviceSelectorPatchPtrOutput) ToCELDeviceSelectorPatchPtrOutput

func (o CELDeviceSelectorPatchPtrOutput) ToCELDeviceSelectorPatchPtrOutput() CELDeviceSelectorPatchPtrOutput

func (CELDeviceSelectorPatchPtrOutput) ToCELDeviceSelectorPatchPtrOutputWithContext

func (o CELDeviceSelectorPatchPtrOutput) ToCELDeviceSelectorPatchPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPatchPtrOutput

type CELDeviceSelectorPtrInput

type CELDeviceSelectorPtrInput interface {
	pulumi.Input

	ToCELDeviceSelectorPtrOutput() CELDeviceSelectorPtrOutput
	ToCELDeviceSelectorPtrOutputWithContext(context.Context) CELDeviceSelectorPtrOutput
}

CELDeviceSelectorPtrInput is an input type that accepts CELDeviceSelectorArgs, CELDeviceSelectorPtr and CELDeviceSelectorPtrOutput values. You can construct a concrete instance of `CELDeviceSelectorPtrInput` via:

        CELDeviceSelectorArgs{...}

or:

        nil

type CELDeviceSelectorPtrOutput

type CELDeviceSelectorPtrOutput struct{ *pulumi.OutputState }

func (CELDeviceSelectorPtrOutput) Elem

func (CELDeviceSelectorPtrOutput) ElementType

func (CELDeviceSelectorPtrOutput) ElementType() reflect.Type

func (CELDeviceSelectorPtrOutput) Expression

Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.

The expression's input is an object named "device", which carries the following properties:

  • driver (string): the name of the driver which defines this device.
  • attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes["dra.example.com"] evaluates to an object with all of the attributes which were prefixed by "dra.example.com".
  • capacity (map[string]object): the device's capacities, grouped by prefix.

Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:

device.driver
device.attributes["dra.example.com"].model
device.attributes["ext.example.com"].family
device.capacity["dra.example.com"].modules

The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.

The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.

If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.

A robust expression should check for the existence of attributes before referencing them.

For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:

cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool)

The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.

func (CELDeviceSelectorPtrOutput) ToCELDeviceSelectorPtrOutput

func (o CELDeviceSelectorPtrOutput) ToCELDeviceSelectorPtrOutput() CELDeviceSelectorPtrOutput

func (CELDeviceSelectorPtrOutput) ToCELDeviceSelectorPtrOutputWithContext

func (o CELDeviceSelectorPtrOutput) ToCELDeviceSelectorPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPtrOutput

type Device

type Device struct {
	// Basic defines one device instance.
	Basic *BasicDevice `pulumi:"basic"`
	// Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
	Name string `pulumi:"name"`
}

Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.

type DeviceAllocationConfiguration

type DeviceAllocationConfiguration struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque *OpaqueDeviceConfiguration `pulumi:"opaque"`
	// Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
	Requests []string `pulumi:"requests"`
	// Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
	Source string `pulumi:"source"`
}

DeviceAllocationConfiguration gets embedded in an AllocationResult.

type DeviceAllocationConfigurationArgs

type DeviceAllocationConfigurationArgs struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque OpaqueDeviceConfigurationPtrInput `pulumi:"opaque"`
	// Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
	Requests pulumi.StringArrayInput `pulumi:"requests"`
	// Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
	Source pulumi.StringInput `pulumi:"source"`
}

DeviceAllocationConfiguration gets embedded in an AllocationResult.

func (DeviceAllocationConfigurationArgs) ElementType

func (DeviceAllocationConfigurationArgs) ToDeviceAllocationConfigurationOutput

func (i DeviceAllocationConfigurationArgs) ToDeviceAllocationConfigurationOutput() DeviceAllocationConfigurationOutput

func (DeviceAllocationConfigurationArgs) ToDeviceAllocationConfigurationOutputWithContext

func (i DeviceAllocationConfigurationArgs) ToDeviceAllocationConfigurationOutputWithContext(ctx context.Context) DeviceAllocationConfigurationOutput

type DeviceAllocationConfigurationArray

type DeviceAllocationConfigurationArray []DeviceAllocationConfigurationInput

func (DeviceAllocationConfigurationArray) ElementType

func (DeviceAllocationConfigurationArray) ToDeviceAllocationConfigurationArrayOutput

func (i DeviceAllocationConfigurationArray) ToDeviceAllocationConfigurationArrayOutput() DeviceAllocationConfigurationArrayOutput

func (DeviceAllocationConfigurationArray) ToDeviceAllocationConfigurationArrayOutputWithContext

func (i DeviceAllocationConfigurationArray) ToDeviceAllocationConfigurationArrayOutputWithContext(ctx context.Context) DeviceAllocationConfigurationArrayOutput

type DeviceAllocationConfigurationArrayInput

type DeviceAllocationConfigurationArrayInput interface {
	pulumi.Input

	ToDeviceAllocationConfigurationArrayOutput() DeviceAllocationConfigurationArrayOutput
	ToDeviceAllocationConfigurationArrayOutputWithContext(context.Context) DeviceAllocationConfigurationArrayOutput
}

DeviceAllocationConfigurationArrayInput is an input type that accepts DeviceAllocationConfigurationArray and DeviceAllocationConfigurationArrayOutput values. You can construct a concrete instance of `DeviceAllocationConfigurationArrayInput` via:

DeviceAllocationConfigurationArray{ DeviceAllocationConfigurationArgs{...} }

type DeviceAllocationConfigurationArrayOutput

type DeviceAllocationConfigurationArrayOutput struct{ *pulumi.OutputState }

func (DeviceAllocationConfigurationArrayOutput) ElementType

func (DeviceAllocationConfigurationArrayOutput) Index

func (DeviceAllocationConfigurationArrayOutput) ToDeviceAllocationConfigurationArrayOutput

func (o DeviceAllocationConfigurationArrayOutput) ToDeviceAllocationConfigurationArrayOutput() DeviceAllocationConfigurationArrayOutput

func (DeviceAllocationConfigurationArrayOutput) ToDeviceAllocationConfigurationArrayOutputWithContext

func (o DeviceAllocationConfigurationArrayOutput) ToDeviceAllocationConfigurationArrayOutputWithContext(ctx context.Context) DeviceAllocationConfigurationArrayOutput

type DeviceAllocationConfigurationInput

type DeviceAllocationConfigurationInput interface {
	pulumi.Input

	ToDeviceAllocationConfigurationOutput() DeviceAllocationConfigurationOutput
	ToDeviceAllocationConfigurationOutputWithContext(context.Context) DeviceAllocationConfigurationOutput
}

DeviceAllocationConfigurationInput is an input type that accepts DeviceAllocationConfigurationArgs and DeviceAllocationConfigurationOutput values. You can construct a concrete instance of `DeviceAllocationConfigurationInput` via:

DeviceAllocationConfigurationArgs{...}

type DeviceAllocationConfigurationOutput

type DeviceAllocationConfigurationOutput struct{ *pulumi.OutputState }

DeviceAllocationConfiguration gets embedded in an AllocationResult.

func (DeviceAllocationConfigurationOutput) ElementType

func (DeviceAllocationConfigurationOutput) Opaque

Opaque provides driver-specific configuration parameters.

func (DeviceAllocationConfigurationOutput) Requests

Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.

func (DeviceAllocationConfigurationOutput) Source

Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.

func (DeviceAllocationConfigurationOutput) ToDeviceAllocationConfigurationOutput

func (o DeviceAllocationConfigurationOutput) ToDeviceAllocationConfigurationOutput() DeviceAllocationConfigurationOutput

func (DeviceAllocationConfigurationOutput) ToDeviceAllocationConfigurationOutputWithContext

func (o DeviceAllocationConfigurationOutput) ToDeviceAllocationConfigurationOutputWithContext(ctx context.Context) DeviceAllocationConfigurationOutput

type DeviceAllocationConfigurationPatch

type DeviceAllocationConfigurationPatch struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque *OpaqueDeviceConfigurationPatch `pulumi:"opaque"`
	// Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
	Requests []string `pulumi:"requests"`
	// Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
	Source *string `pulumi:"source"`
}

DeviceAllocationConfiguration gets embedded in an AllocationResult.

type DeviceAllocationConfigurationPatchArgs

type DeviceAllocationConfigurationPatchArgs struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque OpaqueDeviceConfigurationPatchPtrInput `pulumi:"opaque"`
	// Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
	Requests pulumi.StringArrayInput `pulumi:"requests"`
	// Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
	Source pulumi.StringPtrInput `pulumi:"source"`
}

DeviceAllocationConfiguration gets embedded in an AllocationResult.

func (DeviceAllocationConfigurationPatchArgs) ElementType

func (DeviceAllocationConfigurationPatchArgs) ToDeviceAllocationConfigurationPatchOutput

func (i DeviceAllocationConfigurationPatchArgs) ToDeviceAllocationConfigurationPatchOutput() DeviceAllocationConfigurationPatchOutput

func (DeviceAllocationConfigurationPatchArgs) ToDeviceAllocationConfigurationPatchOutputWithContext

func (i DeviceAllocationConfigurationPatchArgs) ToDeviceAllocationConfigurationPatchOutputWithContext(ctx context.Context) DeviceAllocationConfigurationPatchOutput

type DeviceAllocationConfigurationPatchArray

type DeviceAllocationConfigurationPatchArray []DeviceAllocationConfigurationPatchInput

func (DeviceAllocationConfigurationPatchArray) ElementType

func (DeviceAllocationConfigurationPatchArray) ToDeviceAllocationConfigurationPatchArrayOutput

func (i DeviceAllocationConfigurationPatchArray) ToDeviceAllocationConfigurationPatchArrayOutput() DeviceAllocationConfigurationPatchArrayOutput

func (DeviceAllocationConfigurationPatchArray) ToDeviceAllocationConfigurationPatchArrayOutputWithContext

func (i DeviceAllocationConfigurationPatchArray) ToDeviceAllocationConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceAllocationConfigurationPatchArrayOutput

type DeviceAllocationConfigurationPatchArrayInput

type DeviceAllocationConfigurationPatchArrayInput interface {
	pulumi.Input

	ToDeviceAllocationConfigurationPatchArrayOutput() DeviceAllocationConfigurationPatchArrayOutput
	ToDeviceAllocationConfigurationPatchArrayOutputWithContext(context.Context) DeviceAllocationConfigurationPatchArrayOutput
}

DeviceAllocationConfigurationPatchArrayInput is an input type that accepts DeviceAllocationConfigurationPatchArray and DeviceAllocationConfigurationPatchArrayOutput values. You can construct a concrete instance of `DeviceAllocationConfigurationPatchArrayInput` via:

DeviceAllocationConfigurationPatchArray{ DeviceAllocationConfigurationPatchArgs{...} }

type DeviceAllocationConfigurationPatchArrayOutput

type DeviceAllocationConfigurationPatchArrayOutput struct{ *pulumi.OutputState }

func (DeviceAllocationConfigurationPatchArrayOutput) ElementType

func (DeviceAllocationConfigurationPatchArrayOutput) Index

func (DeviceAllocationConfigurationPatchArrayOutput) ToDeviceAllocationConfigurationPatchArrayOutput

func (o DeviceAllocationConfigurationPatchArrayOutput) ToDeviceAllocationConfigurationPatchArrayOutput() DeviceAllocationConfigurationPatchArrayOutput

func (DeviceAllocationConfigurationPatchArrayOutput) ToDeviceAllocationConfigurationPatchArrayOutputWithContext

func (o DeviceAllocationConfigurationPatchArrayOutput) ToDeviceAllocationConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceAllocationConfigurationPatchArrayOutput

type DeviceAllocationConfigurationPatchInput

type DeviceAllocationConfigurationPatchInput interface {
	pulumi.Input

	ToDeviceAllocationConfigurationPatchOutput() DeviceAllocationConfigurationPatchOutput
	ToDeviceAllocationConfigurationPatchOutputWithContext(context.Context) DeviceAllocationConfigurationPatchOutput
}

DeviceAllocationConfigurationPatchInput is an input type that accepts DeviceAllocationConfigurationPatchArgs and DeviceAllocationConfigurationPatchOutput values. You can construct a concrete instance of `DeviceAllocationConfigurationPatchInput` via:

DeviceAllocationConfigurationPatchArgs{...}

type DeviceAllocationConfigurationPatchOutput

type DeviceAllocationConfigurationPatchOutput struct{ *pulumi.OutputState }

DeviceAllocationConfiguration gets embedded in an AllocationResult.

func (DeviceAllocationConfigurationPatchOutput) ElementType

func (DeviceAllocationConfigurationPatchOutput) Opaque

Opaque provides driver-specific configuration parameters.

func (DeviceAllocationConfigurationPatchOutput) Requests

Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.

func (DeviceAllocationConfigurationPatchOutput) Source

Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.

func (DeviceAllocationConfigurationPatchOutput) ToDeviceAllocationConfigurationPatchOutput

func (o DeviceAllocationConfigurationPatchOutput) ToDeviceAllocationConfigurationPatchOutput() DeviceAllocationConfigurationPatchOutput

func (DeviceAllocationConfigurationPatchOutput) ToDeviceAllocationConfigurationPatchOutputWithContext

func (o DeviceAllocationConfigurationPatchOutput) ToDeviceAllocationConfigurationPatchOutputWithContext(ctx context.Context) DeviceAllocationConfigurationPatchOutput

type DeviceAllocationResult

type DeviceAllocationResult struct {
	// This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.
	//
	// This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.
	Config []DeviceAllocationConfiguration `pulumi:"config"`
	// Results lists all allocated devices.
	Results []DeviceRequestAllocationResult `pulumi:"results"`
}

DeviceAllocationResult is the result of allocating devices.

type DeviceAllocationResultArgs

type DeviceAllocationResultArgs struct {
	// This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.
	//
	// This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.
	Config DeviceAllocationConfigurationArrayInput `pulumi:"config"`
	// Results lists all allocated devices.
	Results DeviceRequestAllocationResultArrayInput `pulumi:"results"`
}

DeviceAllocationResult is the result of allocating devices.

func (DeviceAllocationResultArgs) ElementType

func (DeviceAllocationResultArgs) ElementType() reflect.Type

func (DeviceAllocationResultArgs) ToDeviceAllocationResultOutput

func (i DeviceAllocationResultArgs) ToDeviceAllocationResultOutput() DeviceAllocationResultOutput

func (DeviceAllocationResultArgs) ToDeviceAllocationResultOutputWithContext

func (i DeviceAllocationResultArgs) ToDeviceAllocationResultOutputWithContext(ctx context.Context) DeviceAllocationResultOutput

func (DeviceAllocationResultArgs) ToDeviceAllocationResultPtrOutput

func (i DeviceAllocationResultArgs) ToDeviceAllocationResultPtrOutput() DeviceAllocationResultPtrOutput

func (DeviceAllocationResultArgs) ToDeviceAllocationResultPtrOutputWithContext

func (i DeviceAllocationResultArgs) ToDeviceAllocationResultPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPtrOutput

type DeviceAllocationResultInput

type DeviceAllocationResultInput interface {
	pulumi.Input

	ToDeviceAllocationResultOutput() DeviceAllocationResultOutput
	ToDeviceAllocationResultOutputWithContext(context.Context) DeviceAllocationResultOutput
}

DeviceAllocationResultInput is an input type that accepts DeviceAllocationResultArgs and DeviceAllocationResultOutput values. You can construct a concrete instance of `DeviceAllocationResultInput` via:

DeviceAllocationResultArgs{...}

type DeviceAllocationResultOutput

type DeviceAllocationResultOutput struct{ *pulumi.OutputState }

DeviceAllocationResult is the result of allocating devices.

func (DeviceAllocationResultOutput) Config

This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.

This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.

func (DeviceAllocationResultOutput) ElementType

func (DeviceAllocationResultOutput) Results

Results lists all allocated devices.

func (DeviceAllocationResultOutput) ToDeviceAllocationResultOutput

func (o DeviceAllocationResultOutput) ToDeviceAllocationResultOutput() DeviceAllocationResultOutput

func (DeviceAllocationResultOutput) ToDeviceAllocationResultOutputWithContext

func (o DeviceAllocationResultOutput) ToDeviceAllocationResultOutputWithContext(ctx context.Context) DeviceAllocationResultOutput

func (DeviceAllocationResultOutput) ToDeviceAllocationResultPtrOutput

func (o DeviceAllocationResultOutput) ToDeviceAllocationResultPtrOutput() DeviceAllocationResultPtrOutput

func (DeviceAllocationResultOutput) ToDeviceAllocationResultPtrOutputWithContext

func (o DeviceAllocationResultOutput) ToDeviceAllocationResultPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPtrOutput

type DeviceAllocationResultPatch

type DeviceAllocationResultPatch struct {
	// This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.
	//
	// This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.
	Config []DeviceAllocationConfigurationPatch `pulumi:"config"`
	// Results lists all allocated devices.
	Results []DeviceRequestAllocationResultPatch `pulumi:"results"`
}

DeviceAllocationResult is the result of allocating devices.

type DeviceAllocationResultPatchArgs

type DeviceAllocationResultPatchArgs struct {
	// This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.
	//
	// This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.
	Config DeviceAllocationConfigurationPatchArrayInput `pulumi:"config"`
	// Results lists all allocated devices.
	Results DeviceRequestAllocationResultPatchArrayInput `pulumi:"results"`
}

DeviceAllocationResult is the result of allocating devices.

func (DeviceAllocationResultPatchArgs) ElementType

func (DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchOutput

func (i DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchOutput() DeviceAllocationResultPatchOutput

func (DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchOutputWithContext

func (i DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchOutputWithContext(ctx context.Context) DeviceAllocationResultPatchOutput

func (DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchPtrOutput

func (i DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchPtrOutput() DeviceAllocationResultPatchPtrOutput

func (DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchPtrOutputWithContext

func (i DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPatchPtrOutput

type DeviceAllocationResultPatchInput

type DeviceAllocationResultPatchInput interface {
	pulumi.Input

	ToDeviceAllocationResultPatchOutput() DeviceAllocationResultPatchOutput
	ToDeviceAllocationResultPatchOutputWithContext(context.Context) DeviceAllocationResultPatchOutput
}

DeviceAllocationResultPatchInput is an input type that accepts DeviceAllocationResultPatchArgs and DeviceAllocationResultPatchOutput values. You can construct a concrete instance of `DeviceAllocationResultPatchInput` via:

DeviceAllocationResultPatchArgs{...}

type DeviceAllocationResultPatchOutput

type DeviceAllocationResultPatchOutput struct{ *pulumi.OutputState }

DeviceAllocationResult is the result of allocating devices.

func (DeviceAllocationResultPatchOutput) Config

This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.

This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.

func (DeviceAllocationResultPatchOutput) ElementType

func (DeviceAllocationResultPatchOutput) Results

Results lists all allocated devices.

func (DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchOutput

func (o DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchOutput() DeviceAllocationResultPatchOutput

func (DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchOutputWithContext

func (o DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchOutputWithContext(ctx context.Context) DeviceAllocationResultPatchOutput

func (DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchPtrOutput

func (o DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchPtrOutput() DeviceAllocationResultPatchPtrOutput

func (DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchPtrOutputWithContext

func (o DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPatchPtrOutput

type DeviceAllocationResultPatchPtrInput

type DeviceAllocationResultPatchPtrInput interface {
	pulumi.Input

	ToDeviceAllocationResultPatchPtrOutput() DeviceAllocationResultPatchPtrOutput
	ToDeviceAllocationResultPatchPtrOutputWithContext(context.Context) DeviceAllocationResultPatchPtrOutput
}

DeviceAllocationResultPatchPtrInput is an input type that accepts DeviceAllocationResultPatchArgs, DeviceAllocationResultPatchPtr and DeviceAllocationResultPatchPtrOutput values. You can construct a concrete instance of `DeviceAllocationResultPatchPtrInput` via:

        DeviceAllocationResultPatchArgs{...}

or:

        nil

type DeviceAllocationResultPatchPtrOutput

type DeviceAllocationResultPatchPtrOutput struct{ *pulumi.OutputState }

func (DeviceAllocationResultPatchPtrOutput) Config

This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.

This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.

func (DeviceAllocationResultPatchPtrOutput) Elem

func (DeviceAllocationResultPatchPtrOutput) ElementType

func (DeviceAllocationResultPatchPtrOutput) Results

Results lists all allocated devices.

func (DeviceAllocationResultPatchPtrOutput) ToDeviceAllocationResultPatchPtrOutput

func (o DeviceAllocationResultPatchPtrOutput) ToDeviceAllocationResultPatchPtrOutput() DeviceAllocationResultPatchPtrOutput

func (DeviceAllocationResultPatchPtrOutput) ToDeviceAllocationResultPatchPtrOutputWithContext

func (o DeviceAllocationResultPatchPtrOutput) ToDeviceAllocationResultPatchPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPatchPtrOutput

type DeviceAllocationResultPtrInput

type DeviceAllocationResultPtrInput interface {
	pulumi.Input

	ToDeviceAllocationResultPtrOutput() DeviceAllocationResultPtrOutput
	ToDeviceAllocationResultPtrOutputWithContext(context.Context) DeviceAllocationResultPtrOutput
}

DeviceAllocationResultPtrInput is an input type that accepts DeviceAllocationResultArgs, DeviceAllocationResultPtr and DeviceAllocationResultPtrOutput values. You can construct a concrete instance of `DeviceAllocationResultPtrInput` via:

        DeviceAllocationResultArgs{...}

or:

        nil

type DeviceAllocationResultPtrOutput

type DeviceAllocationResultPtrOutput struct{ *pulumi.OutputState }

func (DeviceAllocationResultPtrOutput) Config

This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.

This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.

func (DeviceAllocationResultPtrOutput) Elem

func (DeviceAllocationResultPtrOutput) ElementType

func (DeviceAllocationResultPtrOutput) Results

Results lists all allocated devices.

func (DeviceAllocationResultPtrOutput) ToDeviceAllocationResultPtrOutput

func (o DeviceAllocationResultPtrOutput) ToDeviceAllocationResultPtrOutput() DeviceAllocationResultPtrOutput

func (DeviceAllocationResultPtrOutput) ToDeviceAllocationResultPtrOutputWithContext

func (o DeviceAllocationResultPtrOutput) ToDeviceAllocationResultPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPtrOutput

type DeviceArgs

type DeviceArgs struct {
	// Basic defines one device instance.
	Basic BasicDevicePtrInput `pulumi:"basic"`
	// Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
	Name pulumi.StringInput `pulumi:"name"`
}

Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.

func (DeviceArgs) ElementType

func (DeviceArgs) ElementType() reflect.Type

func (DeviceArgs) ToDeviceOutput

func (i DeviceArgs) ToDeviceOutput() DeviceOutput

func (DeviceArgs) ToDeviceOutputWithContext

func (i DeviceArgs) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput

type DeviceArray

type DeviceArray []DeviceInput

func (DeviceArray) ElementType

func (DeviceArray) ElementType() reflect.Type

func (DeviceArray) ToDeviceArrayOutput

func (i DeviceArray) ToDeviceArrayOutput() DeviceArrayOutput

func (DeviceArray) ToDeviceArrayOutputWithContext

func (i DeviceArray) ToDeviceArrayOutputWithContext(ctx context.Context) DeviceArrayOutput

type DeviceArrayInput

type DeviceArrayInput interface {
	pulumi.Input

	ToDeviceArrayOutput() DeviceArrayOutput
	ToDeviceArrayOutputWithContext(context.Context) DeviceArrayOutput
}

DeviceArrayInput is an input type that accepts DeviceArray and DeviceArrayOutput values. You can construct a concrete instance of `DeviceArrayInput` via:

DeviceArray{ DeviceArgs{...} }

type DeviceArrayOutput

type DeviceArrayOutput struct{ *pulumi.OutputState }

func (DeviceArrayOutput) ElementType

func (DeviceArrayOutput) ElementType() reflect.Type

func (DeviceArrayOutput) Index

func (DeviceArrayOutput) ToDeviceArrayOutput

func (o DeviceArrayOutput) ToDeviceArrayOutput() DeviceArrayOutput

func (DeviceArrayOutput) ToDeviceArrayOutputWithContext

func (o DeviceArrayOutput) ToDeviceArrayOutputWithContext(ctx context.Context) DeviceArrayOutput

type DeviceAttribute

type DeviceAttribute struct {
	// BoolValue is a true/false value.
	Bool *bool `pulumi:"bool"`
	// IntValue is a number.
	Int *int `pulumi:"int"`
	// StringValue is a string. Must not be longer than 64 characters.
	String *string `pulumi:"string"`
	// VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
	Version *string `pulumi:"version"`
}

DeviceAttribute must have exactly one field set.

type DeviceAttributeArgs

type DeviceAttributeArgs struct {
	// BoolValue is a true/false value.
	Bool pulumi.BoolPtrInput `pulumi:"bool"`
	// IntValue is a number.
	Int pulumi.IntPtrInput `pulumi:"int"`
	// StringValue is a string. Must not be longer than 64 characters.
	String pulumi.StringPtrInput `pulumi:"string"`
	// VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

DeviceAttribute must have exactly one field set.

func (DeviceAttributeArgs) ElementType

func (DeviceAttributeArgs) ElementType() reflect.Type

func (DeviceAttributeArgs) ToDeviceAttributeOutput

func (i DeviceAttributeArgs) ToDeviceAttributeOutput() DeviceAttributeOutput

func (DeviceAttributeArgs) ToDeviceAttributeOutputWithContext

func (i DeviceAttributeArgs) ToDeviceAttributeOutputWithContext(ctx context.Context) DeviceAttributeOutput

type DeviceAttributeInput

type DeviceAttributeInput interface {
	pulumi.Input

	ToDeviceAttributeOutput() DeviceAttributeOutput
	ToDeviceAttributeOutputWithContext(context.Context) DeviceAttributeOutput
}

DeviceAttributeInput is an input type that accepts DeviceAttributeArgs and DeviceAttributeOutput values. You can construct a concrete instance of `DeviceAttributeInput` via:

DeviceAttributeArgs{...}

type DeviceAttributeMap

type DeviceAttributeMap map[string]DeviceAttributeInput

func (DeviceAttributeMap) ElementType

func (DeviceAttributeMap) ElementType() reflect.Type

func (DeviceAttributeMap) ToDeviceAttributeMapOutput

func (i DeviceAttributeMap) ToDeviceAttributeMapOutput() DeviceAttributeMapOutput

func (DeviceAttributeMap) ToDeviceAttributeMapOutputWithContext

func (i DeviceAttributeMap) ToDeviceAttributeMapOutputWithContext(ctx context.Context) DeviceAttributeMapOutput

type DeviceAttributeMapInput

type DeviceAttributeMapInput interface {
	pulumi.Input

	ToDeviceAttributeMapOutput() DeviceAttributeMapOutput
	ToDeviceAttributeMapOutputWithContext(context.Context) DeviceAttributeMapOutput
}

DeviceAttributeMapInput is an input type that accepts DeviceAttributeMap and DeviceAttributeMapOutput values. You can construct a concrete instance of `DeviceAttributeMapInput` via:

DeviceAttributeMap{ "key": DeviceAttributeArgs{...} }

type DeviceAttributeMapOutput

type DeviceAttributeMapOutput struct{ *pulumi.OutputState }

func (DeviceAttributeMapOutput) ElementType

func (DeviceAttributeMapOutput) ElementType() reflect.Type

func (DeviceAttributeMapOutput) MapIndex

func (DeviceAttributeMapOutput) ToDeviceAttributeMapOutput

func (o DeviceAttributeMapOutput) ToDeviceAttributeMapOutput() DeviceAttributeMapOutput

func (DeviceAttributeMapOutput) ToDeviceAttributeMapOutputWithContext

func (o DeviceAttributeMapOutput) ToDeviceAttributeMapOutputWithContext(ctx context.Context) DeviceAttributeMapOutput

type DeviceAttributeOutput

type DeviceAttributeOutput struct{ *pulumi.OutputState }

DeviceAttribute must have exactly one field set.

func (DeviceAttributeOutput) Bool

BoolValue is a true/false value.

func (DeviceAttributeOutput) ElementType

func (DeviceAttributeOutput) ElementType() reflect.Type

func (DeviceAttributeOutput) Int

IntValue is a number.

func (DeviceAttributeOutput) String

StringValue is a string. Must not be longer than 64 characters.

func (DeviceAttributeOutput) ToDeviceAttributeOutput

func (o DeviceAttributeOutput) ToDeviceAttributeOutput() DeviceAttributeOutput

func (DeviceAttributeOutput) ToDeviceAttributeOutputWithContext

func (o DeviceAttributeOutput) ToDeviceAttributeOutputWithContext(ctx context.Context) DeviceAttributeOutput

func (DeviceAttributeOutput) Version

VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.

type DeviceAttributePatch

type DeviceAttributePatch struct {
	// BoolValue is a true/false value.
	Bool *bool `pulumi:"bool"`
	// IntValue is a number.
	Int *int `pulumi:"int"`
	// StringValue is a string. Must not be longer than 64 characters.
	String *string `pulumi:"string"`
	// VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
	Version *string `pulumi:"version"`
}

DeviceAttribute must have exactly one field set.

type DeviceAttributePatchArgs

type DeviceAttributePatchArgs struct {
	// BoolValue is a true/false value.
	Bool pulumi.BoolPtrInput `pulumi:"bool"`
	// IntValue is a number.
	Int pulumi.IntPtrInput `pulumi:"int"`
	// StringValue is a string. Must not be longer than 64 characters.
	String pulumi.StringPtrInput `pulumi:"string"`
	// VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

DeviceAttribute must have exactly one field set.

func (DeviceAttributePatchArgs) ElementType

func (DeviceAttributePatchArgs) ElementType() reflect.Type

func (DeviceAttributePatchArgs) ToDeviceAttributePatchOutput

func (i DeviceAttributePatchArgs) ToDeviceAttributePatchOutput() DeviceAttributePatchOutput

func (DeviceAttributePatchArgs) ToDeviceAttributePatchOutputWithContext

func (i DeviceAttributePatchArgs) ToDeviceAttributePatchOutputWithContext(ctx context.Context) DeviceAttributePatchOutput

type DeviceAttributePatchInput

type DeviceAttributePatchInput interface {
	pulumi.Input

	ToDeviceAttributePatchOutput() DeviceAttributePatchOutput
	ToDeviceAttributePatchOutputWithContext(context.Context) DeviceAttributePatchOutput
}

DeviceAttributePatchInput is an input type that accepts DeviceAttributePatchArgs and DeviceAttributePatchOutput values. You can construct a concrete instance of `DeviceAttributePatchInput` via:

DeviceAttributePatchArgs{...}

type DeviceAttributePatchOutput

type DeviceAttributePatchOutput struct{ *pulumi.OutputState }

DeviceAttribute must have exactly one field set.

func (DeviceAttributePatchOutput) Bool

BoolValue is a true/false value.

func (DeviceAttributePatchOutput) ElementType

func (DeviceAttributePatchOutput) ElementType() reflect.Type

func (DeviceAttributePatchOutput) Int

IntValue is a number.

func (DeviceAttributePatchOutput) String

StringValue is a string. Must not be longer than 64 characters.

func (DeviceAttributePatchOutput) ToDeviceAttributePatchOutput

func (o DeviceAttributePatchOutput) ToDeviceAttributePatchOutput() DeviceAttributePatchOutput

func (DeviceAttributePatchOutput) ToDeviceAttributePatchOutputWithContext

func (o DeviceAttributePatchOutput) ToDeviceAttributePatchOutputWithContext(ctx context.Context) DeviceAttributePatchOutput

func (DeviceAttributePatchOutput) Version

VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.

type DeviceCapacity

type DeviceCapacity struct {
	// Value defines how much of a certain device capacity is available.
	Value string `pulumi:"value"`
}

DeviceCapacity describes a quantity associated with a device.

type DeviceCapacityArgs

type DeviceCapacityArgs struct {
	// Value defines how much of a certain device capacity is available.
	Value pulumi.StringInput `pulumi:"value"`
}

DeviceCapacity describes a quantity associated with a device.

func (DeviceCapacityArgs) ElementType

func (DeviceCapacityArgs) ElementType() reflect.Type

func (DeviceCapacityArgs) ToDeviceCapacityOutput

func (i DeviceCapacityArgs) ToDeviceCapacityOutput() DeviceCapacityOutput

func (DeviceCapacityArgs) ToDeviceCapacityOutputWithContext

func (i DeviceCapacityArgs) ToDeviceCapacityOutputWithContext(ctx context.Context) DeviceCapacityOutput

type DeviceCapacityInput

type DeviceCapacityInput interface {
	pulumi.Input

	ToDeviceCapacityOutput() DeviceCapacityOutput
	ToDeviceCapacityOutputWithContext(context.Context) DeviceCapacityOutput
}

DeviceCapacityInput is an input type that accepts DeviceCapacityArgs and DeviceCapacityOutput values. You can construct a concrete instance of `DeviceCapacityInput` via:

DeviceCapacityArgs{...}

type DeviceCapacityMap

type DeviceCapacityMap map[string]DeviceCapacityInput

func (DeviceCapacityMap) ElementType

func (DeviceCapacityMap) ElementType() reflect.Type

func (DeviceCapacityMap) ToDeviceCapacityMapOutput

func (i DeviceCapacityMap) ToDeviceCapacityMapOutput() DeviceCapacityMapOutput

func (DeviceCapacityMap) ToDeviceCapacityMapOutputWithContext

func (i DeviceCapacityMap) ToDeviceCapacityMapOutputWithContext(ctx context.Context) DeviceCapacityMapOutput

type DeviceCapacityMapInput

type DeviceCapacityMapInput interface {
	pulumi.Input

	ToDeviceCapacityMapOutput() DeviceCapacityMapOutput
	ToDeviceCapacityMapOutputWithContext(context.Context) DeviceCapacityMapOutput
}

DeviceCapacityMapInput is an input type that accepts DeviceCapacityMap and DeviceCapacityMapOutput values. You can construct a concrete instance of `DeviceCapacityMapInput` via:

DeviceCapacityMap{ "key": DeviceCapacityArgs{...} }

type DeviceCapacityMapOutput

type DeviceCapacityMapOutput struct{ *pulumi.OutputState }

func (DeviceCapacityMapOutput) ElementType

func (DeviceCapacityMapOutput) ElementType() reflect.Type

func (DeviceCapacityMapOutput) MapIndex

func (DeviceCapacityMapOutput) ToDeviceCapacityMapOutput

func (o DeviceCapacityMapOutput) ToDeviceCapacityMapOutput() DeviceCapacityMapOutput

func (DeviceCapacityMapOutput) ToDeviceCapacityMapOutputWithContext

func (o DeviceCapacityMapOutput) ToDeviceCapacityMapOutputWithContext(ctx context.Context) DeviceCapacityMapOutput

type DeviceCapacityOutput

type DeviceCapacityOutput struct{ *pulumi.OutputState }

DeviceCapacity describes a quantity associated with a device.

func (DeviceCapacityOutput) ElementType

func (DeviceCapacityOutput) ElementType() reflect.Type

func (DeviceCapacityOutput) ToDeviceCapacityOutput

func (o DeviceCapacityOutput) ToDeviceCapacityOutput() DeviceCapacityOutput

func (DeviceCapacityOutput) ToDeviceCapacityOutputWithContext

func (o DeviceCapacityOutput) ToDeviceCapacityOutputWithContext(ctx context.Context) DeviceCapacityOutput

func (DeviceCapacityOutput) Value

Value defines how much of a certain device capacity is available.

type DeviceCapacityPatch

type DeviceCapacityPatch struct {
	// Value defines how much of a certain device capacity is available.
	Value *string `pulumi:"value"`
}

DeviceCapacity describes a quantity associated with a device.

type DeviceCapacityPatchArgs

type DeviceCapacityPatchArgs struct {
	// Value defines how much of a certain device capacity is available.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

DeviceCapacity describes a quantity associated with a device.

func (DeviceCapacityPatchArgs) ElementType

func (DeviceCapacityPatchArgs) ElementType() reflect.Type

func (DeviceCapacityPatchArgs) ToDeviceCapacityPatchOutput

func (i DeviceCapacityPatchArgs) ToDeviceCapacityPatchOutput() DeviceCapacityPatchOutput

func (DeviceCapacityPatchArgs) ToDeviceCapacityPatchOutputWithContext

func (i DeviceCapacityPatchArgs) ToDeviceCapacityPatchOutputWithContext(ctx context.Context) DeviceCapacityPatchOutput

type DeviceCapacityPatchInput

type DeviceCapacityPatchInput interface {
	pulumi.Input

	ToDeviceCapacityPatchOutput() DeviceCapacityPatchOutput
	ToDeviceCapacityPatchOutputWithContext(context.Context) DeviceCapacityPatchOutput
}

DeviceCapacityPatchInput is an input type that accepts DeviceCapacityPatchArgs and DeviceCapacityPatchOutput values. You can construct a concrete instance of `DeviceCapacityPatchInput` via:

DeviceCapacityPatchArgs{...}

type DeviceCapacityPatchOutput

type DeviceCapacityPatchOutput struct{ *pulumi.OutputState }

DeviceCapacity describes a quantity associated with a device.

func (DeviceCapacityPatchOutput) ElementType

func (DeviceCapacityPatchOutput) ElementType() reflect.Type

func (DeviceCapacityPatchOutput) ToDeviceCapacityPatchOutput

func (o DeviceCapacityPatchOutput) ToDeviceCapacityPatchOutput() DeviceCapacityPatchOutput

func (DeviceCapacityPatchOutput) ToDeviceCapacityPatchOutputWithContext

func (o DeviceCapacityPatchOutput) ToDeviceCapacityPatchOutputWithContext(ctx context.Context) DeviceCapacityPatchOutput

func (DeviceCapacityPatchOutput) Value

Value defines how much of a certain device capacity is available.

type DeviceClaim

type DeviceClaim struct {
	// This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.
	Config []DeviceClaimConfiguration `pulumi:"config"`
	// These constraints must be satisfied by the set of devices that get allocated for the claim.
	Constraints []DeviceConstraint `pulumi:"constraints"`
	// Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.
	Requests []DeviceRequest `pulumi:"requests"`
}

DeviceClaim defines how to request devices with a ResourceClaim.

type DeviceClaimArgs

type DeviceClaimArgs struct {
	// This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.
	Config DeviceClaimConfigurationArrayInput `pulumi:"config"`
	// These constraints must be satisfied by the set of devices that get allocated for the claim.
	Constraints DeviceConstraintArrayInput `pulumi:"constraints"`
	// Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.
	Requests DeviceRequestArrayInput `pulumi:"requests"`
}

DeviceClaim defines how to request devices with a ResourceClaim.

func (DeviceClaimArgs) ElementType

func (DeviceClaimArgs) ElementType() reflect.Type

func (DeviceClaimArgs) ToDeviceClaimOutput

func (i DeviceClaimArgs) ToDeviceClaimOutput() DeviceClaimOutput

func (DeviceClaimArgs) ToDeviceClaimOutputWithContext

func (i DeviceClaimArgs) ToDeviceClaimOutputWithContext(ctx context.Context) DeviceClaimOutput

func (DeviceClaimArgs) ToDeviceClaimPtrOutput

func (i DeviceClaimArgs) ToDeviceClaimPtrOutput() DeviceClaimPtrOutput

func (DeviceClaimArgs) ToDeviceClaimPtrOutputWithContext

func (i DeviceClaimArgs) ToDeviceClaimPtrOutputWithContext(ctx context.Context) DeviceClaimPtrOutput

type DeviceClaimConfiguration

type DeviceClaimConfiguration struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque *OpaqueDeviceConfiguration `pulumi:"opaque"`
	// Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
	Requests []string `pulumi:"requests"`
}

DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.

type DeviceClaimConfigurationArgs

type DeviceClaimConfigurationArgs struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque OpaqueDeviceConfigurationPtrInput `pulumi:"opaque"`
	// Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
	Requests pulumi.StringArrayInput `pulumi:"requests"`
}

DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.

func (DeviceClaimConfigurationArgs) ElementType

func (DeviceClaimConfigurationArgs) ToDeviceClaimConfigurationOutput

func (i DeviceClaimConfigurationArgs) ToDeviceClaimConfigurationOutput() DeviceClaimConfigurationOutput

func (DeviceClaimConfigurationArgs) ToDeviceClaimConfigurationOutputWithContext

func (i DeviceClaimConfigurationArgs) ToDeviceClaimConfigurationOutputWithContext(ctx context.Context) DeviceClaimConfigurationOutput

type DeviceClaimConfigurationArray

type DeviceClaimConfigurationArray []DeviceClaimConfigurationInput

func (DeviceClaimConfigurationArray) ElementType

func (DeviceClaimConfigurationArray) ToDeviceClaimConfigurationArrayOutput

func (i DeviceClaimConfigurationArray) ToDeviceClaimConfigurationArrayOutput() DeviceClaimConfigurationArrayOutput

func (DeviceClaimConfigurationArray) ToDeviceClaimConfigurationArrayOutputWithContext

func (i DeviceClaimConfigurationArray) ToDeviceClaimConfigurationArrayOutputWithContext(ctx context.Context) DeviceClaimConfigurationArrayOutput

type DeviceClaimConfigurationArrayInput

type DeviceClaimConfigurationArrayInput interface {
	pulumi.Input

	ToDeviceClaimConfigurationArrayOutput() DeviceClaimConfigurationArrayOutput
	ToDeviceClaimConfigurationArrayOutputWithContext(context.Context) DeviceClaimConfigurationArrayOutput
}

DeviceClaimConfigurationArrayInput is an input type that accepts DeviceClaimConfigurationArray and DeviceClaimConfigurationArrayOutput values. You can construct a concrete instance of `DeviceClaimConfigurationArrayInput` via:

DeviceClaimConfigurationArray{ DeviceClaimConfigurationArgs{...} }

type DeviceClaimConfigurationArrayOutput

type DeviceClaimConfigurationArrayOutput struct{ *pulumi.OutputState }

func (DeviceClaimConfigurationArrayOutput) ElementType

func (DeviceClaimConfigurationArrayOutput) Index

func (DeviceClaimConfigurationArrayOutput) ToDeviceClaimConfigurationArrayOutput

func (o DeviceClaimConfigurationArrayOutput) ToDeviceClaimConfigurationArrayOutput() DeviceClaimConfigurationArrayOutput

func (DeviceClaimConfigurationArrayOutput) ToDeviceClaimConfigurationArrayOutputWithContext

func (o DeviceClaimConfigurationArrayOutput) ToDeviceClaimConfigurationArrayOutputWithContext(ctx context.Context) DeviceClaimConfigurationArrayOutput

type DeviceClaimConfigurationInput

type DeviceClaimConfigurationInput interface {
	pulumi.Input

	ToDeviceClaimConfigurationOutput() DeviceClaimConfigurationOutput
	ToDeviceClaimConfigurationOutputWithContext(context.Context) DeviceClaimConfigurationOutput
}

DeviceClaimConfigurationInput is an input type that accepts DeviceClaimConfigurationArgs and DeviceClaimConfigurationOutput values. You can construct a concrete instance of `DeviceClaimConfigurationInput` via:

DeviceClaimConfigurationArgs{...}

type DeviceClaimConfigurationOutput

type DeviceClaimConfigurationOutput struct{ *pulumi.OutputState }

DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.

func (DeviceClaimConfigurationOutput) ElementType

func (DeviceClaimConfigurationOutput) Opaque

Opaque provides driver-specific configuration parameters.

func (DeviceClaimConfigurationOutput) Requests

Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.

func (DeviceClaimConfigurationOutput) ToDeviceClaimConfigurationOutput

func (o DeviceClaimConfigurationOutput) ToDeviceClaimConfigurationOutput() DeviceClaimConfigurationOutput

func (DeviceClaimConfigurationOutput) ToDeviceClaimConfigurationOutputWithContext

func (o DeviceClaimConfigurationOutput) ToDeviceClaimConfigurationOutputWithContext(ctx context.Context) DeviceClaimConfigurationOutput

type DeviceClaimConfigurationPatch

type DeviceClaimConfigurationPatch struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque *OpaqueDeviceConfigurationPatch `pulumi:"opaque"`
	// Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
	Requests []string `pulumi:"requests"`
}

DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.

type DeviceClaimConfigurationPatchArgs

type DeviceClaimConfigurationPatchArgs struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque OpaqueDeviceConfigurationPatchPtrInput `pulumi:"opaque"`
	// Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
	Requests pulumi.StringArrayInput `pulumi:"requests"`
}

DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.

func (DeviceClaimConfigurationPatchArgs) ElementType

func (DeviceClaimConfigurationPatchArgs) ToDeviceClaimConfigurationPatchOutput

func (i DeviceClaimConfigurationPatchArgs) ToDeviceClaimConfigurationPatchOutput() DeviceClaimConfigurationPatchOutput

func (DeviceClaimConfigurationPatchArgs) ToDeviceClaimConfigurationPatchOutputWithContext

func (i DeviceClaimConfigurationPatchArgs) ToDeviceClaimConfigurationPatchOutputWithContext(ctx context.Context) DeviceClaimConfigurationPatchOutput

type DeviceClaimConfigurationPatchArray

type DeviceClaimConfigurationPatchArray []DeviceClaimConfigurationPatchInput

func (DeviceClaimConfigurationPatchArray) ElementType

func (DeviceClaimConfigurationPatchArray) ToDeviceClaimConfigurationPatchArrayOutput

func (i DeviceClaimConfigurationPatchArray) ToDeviceClaimConfigurationPatchArrayOutput() DeviceClaimConfigurationPatchArrayOutput

func (DeviceClaimConfigurationPatchArray) ToDeviceClaimConfigurationPatchArrayOutputWithContext

func (i DeviceClaimConfigurationPatchArray) ToDeviceClaimConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceClaimConfigurationPatchArrayOutput

type DeviceClaimConfigurationPatchArrayInput

type DeviceClaimConfigurationPatchArrayInput interface {
	pulumi.Input

	ToDeviceClaimConfigurationPatchArrayOutput() DeviceClaimConfigurationPatchArrayOutput
	ToDeviceClaimConfigurationPatchArrayOutputWithContext(context.Context) DeviceClaimConfigurationPatchArrayOutput
}

DeviceClaimConfigurationPatchArrayInput is an input type that accepts DeviceClaimConfigurationPatchArray and DeviceClaimConfigurationPatchArrayOutput values. You can construct a concrete instance of `DeviceClaimConfigurationPatchArrayInput` via:

DeviceClaimConfigurationPatchArray{ DeviceClaimConfigurationPatchArgs{...} }

type DeviceClaimConfigurationPatchArrayOutput

type DeviceClaimConfigurationPatchArrayOutput struct{ *pulumi.OutputState }

func (DeviceClaimConfigurationPatchArrayOutput) ElementType

func (DeviceClaimConfigurationPatchArrayOutput) Index

func (DeviceClaimConfigurationPatchArrayOutput) ToDeviceClaimConfigurationPatchArrayOutput

func (o DeviceClaimConfigurationPatchArrayOutput) ToDeviceClaimConfigurationPatchArrayOutput() DeviceClaimConfigurationPatchArrayOutput

func (DeviceClaimConfigurationPatchArrayOutput) ToDeviceClaimConfigurationPatchArrayOutputWithContext

func (o DeviceClaimConfigurationPatchArrayOutput) ToDeviceClaimConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceClaimConfigurationPatchArrayOutput

type DeviceClaimConfigurationPatchInput

type DeviceClaimConfigurationPatchInput interface {
	pulumi.Input

	ToDeviceClaimConfigurationPatchOutput() DeviceClaimConfigurationPatchOutput
	ToDeviceClaimConfigurationPatchOutputWithContext(context.Context) DeviceClaimConfigurationPatchOutput
}

DeviceClaimConfigurationPatchInput is an input type that accepts DeviceClaimConfigurationPatchArgs and DeviceClaimConfigurationPatchOutput values. You can construct a concrete instance of `DeviceClaimConfigurationPatchInput` via:

DeviceClaimConfigurationPatchArgs{...}

type DeviceClaimConfigurationPatchOutput

type DeviceClaimConfigurationPatchOutput struct{ *pulumi.OutputState }

DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.

func (DeviceClaimConfigurationPatchOutput) ElementType

func (DeviceClaimConfigurationPatchOutput) Opaque

Opaque provides driver-specific configuration parameters.

func (DeviceClaimConfigurationPatchOutput) Requests

Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.

func (DeviceClaimConfigurationPatchOutput) ToDeviceClaimConfigurationPatchOutput

func (o DeviceClaimConfigurationPatchOutput) ToDeviceClaimConfigurationPatchOutput() DeviceClaimConfigurationPatchOutput

func (DeviceClaimConfigurationPatchOutput) ToDeviceClaimConfigurationPatchOutputWithContext

func (o DeviceClaimConfigurationPatchOutput) ToDeviceClaimConfigurationPatchOutputWithContext(ctx context.Context) DeviceClaimConfigurationPatchOutput

type DeviceClaimInput

type DeviceClaimInput interface {
	pulumi.Input

	ToDeviceClaimOutput() DeviceClaimOutput
	ToDeviceClaimOutputWithContext(context.Context) DeviceClaimOutput
}

DeviceClaimInput is an input type that accepts DeviceClaimArgs and DeviceClaimOutput values. You can construct a concrete instance of `DeviceClaimInput` via:

DeviceClaimArgs{...}

type DeviceClaimOutput

type DeviceClaimOutput struct{ *pulumi.OutputState }

DeviceClaim defines how to request devices with a ResourceClaim.

func (DeviceClaimOutput) Config

This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.

func (DeviceClaimOutput) Constraints

These constraints must be satisfied by the set of devices that get allocated for the claim.

func (DeviceClaimOutput) ElementType

func (DeviceClaimOutput) ElementType() reflect.Type

func (DeviceClaimOutput) Requests

Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.

func (DeviceClaimOutput) ToDeviceClaimOutput

func (o DeviceClaimOutput) ToDeviceClaimOutput() DeviceClaimOutput

func (DeviceClaimOutput) ToDeviceClaimOutputWithContext

func (o DeviceClaimOutput) ToDeviceClaimOutputWithContext(ctx context.Context) DeviceClaimOutput

func (DeviceClaimOutput) ToDeviceClaimPtrOutput

func (o DeviceClaimOutput) ToDeviceClaimPtrOutput() DeviceClaimPtrOutput

func (DeviceClaimOutput) ToDeviceClaimPtrOutputWithContext

func (o DeviceClaimOutput) ToDeviceClaimPtrOutputWithContext(ctx context.Context) DeviceClaimPtrOutput

type DeviceClaimPatch

type DeviceClaimPatch struct {
	// This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.
	Config []DeviceClaimConfigurationPatch `pulumi:"config"`
	// These constraints must be satisfied by the set of devices that get allocated for the claim.
	Constraints []DeviceConstraintPatch `pulumi:"constraints"`
	// Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.
	Requests []DeviceRequestPatch `pulumi:"requests"`
}

DeviceClaim defines how to request devices with a ResourceClaim.

type DeviceClaimPatchArgs

type DeviceClaimPatchArgs struct {
	// This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.
	Config DeviceClaimConfigurationPatchArrayInput `pulumi:"config"`
	// These constraints must be satisfied by the set of devices that get allocated for the claim.
	Constraints DeviceConstraintPatchArrayInput `pulumi:"constraints"`
	// Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.
	Requests DeviceRequestPatchArrayInput `pulumi:"requests"`
}

DeviceClaim defines how to request devices with a ResourceClaim.

func (DeviceClaimPatchArgs) ElementType

func (DeviceClaimPatchArgs) ElementType() reflect.Type

func (DeviceClaimPatchArgs) ToDeviceClaimPatchOutput

func (i DeviceClaimPatchArgs) ToDeviceClaimPatchOutput() DeviceClaimPatchOutput

func (DeviceClaimPatchArgs) ToDeviceClaimPatchOutputWithContext

func (i DeviceClaimPatchArgs) ToDeviceClaimPatchOutputWithContext(ctx context.Context) DeviceClaimPatchOutput

func (DeviceClaimPatchArgs) ToDeviceClaimPatchPtrOutput

func (i DeviceClaimPatchArgs) ToDeviceClaimPatchPtrOutput() DeviceClaimPatchPtrOutput

func (DeviceClaimPatchArgs) ToDeviceClaimPatchPtrOutputWithContext

func (i DeviceClaimPatchArgs) ToDeviceClaimPatchPtrOutputWithContext(ctx context.Context) DeviceClaimPatchPtrOutput

type DeviceClaimPatchInput

type DeviceClaimPatchInput interface {
	pulumi.Input

	ToDeviceClaimPatchOutput() DeviceClaimPatchOutput
	ToDeviceClaimPatchOutputWithContext(context.Context) DeviceClaimPatchOutput
}

DeviceClaimPatchInput is an input type that accepts DeviceClaimPatchArgs and DeviceClaimPatchOutput values. You can construct a concrete instance of `DeviceClaimPatchInput` via:

DeviceClaimPatchArgs{...}

type DeviceClaimPatchOutput

type DeviceClaimPatchOutput struct{ *pulumi.OutputState }

DeviceClaim defines how to request devices with a ResourceClaim.

func (DeviceClaimPatchOutput) Config

This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.

func (DeviceClaimPatchOutput) Constraints

These constraints must be satisfied by the set of devices that get allocated for the claim.

func (DeviceClaimPatchOutput) ElementType

func (DeviceClaimPatchOutput) ElementType() reflect.Type

func (DeviceClaimPatchOutput) Requests

Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.

func (DeviceClaimPatchOutput) ToDeviceClaimPatchOutput

func (o DeviceClaimPatchOutput) ToDeviceClaimPatchOutput() DeviceClaimPatchOutput

func (DeviceClaimPatchOutput) ToDeviceClaimPatchOutputWithContext

func (o DeviceClaimPatchOutput) ToDeviceClaimPatchOutputWithContext(ctx context.Context) DeviceClaimPatchOutput

func (DeviceClaimPatchOutput) ToDeviceClaimPatchPtrOutput

func (o DeviceClaimPatchOutput) ToDeviceClaimPatchPtrOutput() DeviceClaimPatchPtrOutput

func (DeviceClaimPatchOutput) ToDeviceClaimPatchPtrOutputWithContext

func (o DeviceClaimPatchOutput) ToDeviceClaimPatchPtrOutputWithContext(ctx context.Context) DeviceClaimPatchPtrOutput

type DeviceClaimPatchPtrInput

type DeviceClaimPatchPtrInput interface {
	pulumi.Input

	ToDeviceClaimPatchPtrOutput() DeviceClaimPatchPtrOutput
	ToDeviceClaimPatchPtrOutputWithContext(context.Context) DeviceClaimPatchPtrOutput
}

DeviceClaimPatchPtrInput is an input type that accepts DeviceClaimPatchArgs, DeviceClaimPatchPtr and DeviceClaimPatchPtrOutput values. You can construct a concrete instance of `DeviceClaimPatchPtrInput` via:

        DeviceClaimPatchArgs{...}

or:

        nil

type DeviceClaimPatchPtrOutput

type DeviceClaimPatchPtrOutput struct{ *pulumi.OutputState }

func (DeviceClaimPatchPtrOutput) Config

This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.

func (DeviceClaimPatchPtrOutput) Constraints

These constraints must be satisfied by the set of devices that get allocated for the claim.

func (DeviceClaimPatchPtrOutput) Elem

func (DeviceClaimPatchPtrOutput) ElementType

func (DeviceClaimPatchPtrOutput) ElementType() reflect.Type

func (DeviceClaimPatchPtrOutput) Requests

Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.

func (DeviceClaimPatchPtrOutput) ToDeviceClaimPatchPtrOutput

func (o DeviceClaimPatchPtrOutput) ToDeviceClaimPatchPtrOutput() DeviceClaimPatchPtrOutput

func (DeviceClaimPatchPtrOutput) ToDeviceClaimPatchPtrOutputWithContext

func (o DeviceClaimPatchPtrOutput) ToDeviceClaimPatchPtrOutputWithContext(ctx context.Context) DeviceClaimPatchPtrOutput

type DeviceClaimPtrInput

type DeviceClaimPtrInput interface {
	pulumi.Input

	ToDeviceClaimPtrOutput() DeviceClaimPtrOutput
	ToDeviceClaimPtrOutputWithContext(context.Context) DeviceClaimPtrOutput
}

DeviceClaimPtrInput is an input type that accepts DeviceClaimArgs, DeviceClaimPtr and DeviceClaimPtrOutput values. You can construct a concrete instance of `DeviceClaimPtrInput` via:

        DeviceClaimArgs{...}

or:

        nil

func DeviceClaimPtr

func DeviceClaimPtr(v *DeviceClaimArgs) DeviceClaimPtrInput

type DeviceClaimPtrOutput

type DeviceClaimPtrOutput struct{ *pulumi.OutputState }

func (DeviceClaimPtrOutput) Config

This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.

func (DeviceClaimPtrOutput) Constraints

These constraints must be satisfied by the set of devices that get allocated for the claim.

func (DeviceClaimPtrOutput) Elem

func (DeviceClaimPtrOutput) ElementType

func (DeviceClaimPtrOutput) ElementType() reflect.Type

func (DeviceClaimPtrOutput) Requests

Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.

func (DeviceClaimPtrOutput) ToDeviceClaimPtrOutput

func (o DeviceClaimPtrOutput) ToDeviceClaimPtrOutput() DeviceClaimPtrOutput

func (DeviceClaimPtrOutput) ToDeviceClaimPtrOutputWithContext

func (o DeviceClaimPtrOutput) ToDeviceClaimPtrOutputWithContext(ctx context.Context) DeviceClaimPtrOutput

type DeviceClass

type DeviceClass struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaOutput `pulumi:"metadata"`
	// Spec defines what can be allocated and how to configure it.
	//
	// This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec DeviceClassSpecOutput `pulumi:"spec"`
}

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.

func GetDeviceClass

func GetDeviceClass(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeviceClassState, opts ...pulumi.ResourceOption) (*DeviceClass, error)

GetDeviceClass gets an existing DeviceClass resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeviceClass

func NewDeviceClass(ctx *pulumi.Context,
	name string, args *DeviceClassArgs, opts ...pulumi.ResourceOption) (*DeviceClass, error)

NewDeviceClass registers a new resource with the given unique name, arguments, and options.

func (*DeviceClass) ElementType

func (*DeviceClass) ElementType() reflect.Type

func (*DeviceClass) ToDeviceClassOutput

func (i *DeviceClass) ToDeviceClassOutput() DeviceClassOutput

func (*DeviceClass) ToDeviceClassOutputWithContext

func (i *DeviceClass) ToDeviceClassOutputWithContext(ctx context.Context) DeviceClassOutput

type DeviceClassArgs

type DeviceClassArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata
	Metadata metav1.ObjectMetaPtrInput
	// Spec defines what can be allocated and how to configure it.
	//
	// This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec DeviceClassSpecInput
}

The set of arguments for constructing a DeviceClass resource.

func (DeviceClassArgs) ElementType

func (DeviceClassArgs) ElementType() reflect.Type

type DeviceClassArray

type DeviceClassArray []DeviceClassInput

func (DeviceClassArray) ElementType

func (DeviceClassArray) ElementType() reflect.Type

func (DeviceClassArray) ToDeviceClassArrayOutput

func (i DeviceClassArray) ToDeviceClassArrayOutput() DeviceClassArrayOutput

func (DeviceClassArray) ToDeviceClassArrayOutputWithContext

func (i DeviceClassArray) ToDeviceClassArrayOutputWithContext(ctx context.Context) DeviceClassArrayOutput

type DeviceClassArrayInput

type DeviceClassArrayInput interface {
	pulumi.Input

	ToDeviceClassArrayOutput() DeviceClassArrayOutput
	ToDeviceClassArrayOutputWithContext(context.Context) DeviceClassArrayOutput
}

DeviceClassArrayInput is an input type that accepts DeviceClassArray and DeviceClassArrayOutput values. You can construct a concrete instance of `DeviceClassArrayInput` via:

DeviceClassArray{ DeviceClassArgs{...} }

type DeviceClassArrayOutput

type DeviceClassArrayOutput struct{ *pulumi.OutputState }

func (DeviceClassArrayOutput) ElementType

func (DeviceClassArrayOutput) ElementType() reflect.Type

func (DeviceClassArrayOutput) Index

func (DeviceClassArrayOutput) ToDeviceClassArrayOutput

func (o DeviceClassArrayOutput) ToDeviceClassArrayOutput() DeviceClassArrayOutput

func (DeviceClassArrayOutput) ToDeviceClassArrayOutputWithContext

func (o DeviceClassArrayOutput) ToDeviceClassArrayOutputWithContext(ctx context.Context) DeviceClassArrayOutput

type DeviceClassConfiguration

type DeviceClassConfiguration struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque *OpaqueDeviceConfiguration `pulumi:"opaque"`
}

DeviceClassConfiguration is used in DeviceClass.

type DeviceClassConfigurationArgs

type DeviceClassConfigurationArgs struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque OpaqueDeviceConfigurationPtrInput `pulumi:"opaque"`
}

DeviceClassConfiguration is used in DeviceClass.

func (DeviceClassConfigurationArgs) ElementType

func (DeviceClassConfigurationArgs) ToDeviceClassConfigurationOutput

func (i DeviceClassConfigurationArgs) ToDeviceClassConfigurationOutput() DeviceClassConfigurationOutput

func (DeviceClassConfigurationArgs) ToDeviceClassConfigurationOutputWithContext

func (i DeviceClassConfigurationArgs) ToDeviceClassConfigurationOutputWithContext(ctx context.Context) DeviceClassConfigurationOutput

type DeviceClassConfigurationArray

type DeviceClassConfigurationArray []DeviceClassConfigurationInput

func (DeviceClassConfigurationArray) ElementType

func (DeviceClassConfigurationArray) ToDeviceClassConfigurationArrayOutput

func (i DeviceClassConfigurationArray) ToDeviceClassConfigurationArrayOutput() DeviceClassConfigurationArrayOutput

func (DeviceClassConfigurationArray) ToDeviceClassConfigurationArrayOutputWithContext

func (i DeviceClassConfigurationArray) ToDeviceClassConfigurationArrayOutputWithContext(ctx context.Context) DeviceClassConfigurationArrayOutput

type DeviceClassConfigurationArrayInput

type DeviceClassConfigurationArrayInput interface {
	pulumi.Input

	ToDeviceClassConfigurationArrayOutput() DeviceClassConfigurationArrayOutput
	ToDeviceClassConfigurationArrayOutputWithContext(context.Context) DeviceClassConfigurationArrayOutput
}

DeviceClassConfigurationArrayInput is an input type that accepts DeviceClassConfigurationArray and DeviceClassConfigurationArrayOutput values. You can construct a concrete instance of `DeviceClassConfigurationArrayInput` via:

DeviceClassConfigurationArray{ DeviceClassConfigurationArgs{...} }

type DeviceClassConfigurationArrayOutput

type DeviceClassConfigurationArrayOutput struct{ *pulumi.OutputState }

func (DeviceClassConfigurationArrayOutput) ElementType

func (DeviceClassConfigurationArrayOutput) Index

func (DeviceClassConfigurationArrayOutput) ToDeviceClassConfigurationArrayOutput

func (o DeviceClassConfigurationArrayOutput) ToDeviceClassConfigurationArrayOutput() DeviceClassConfigurationArrayOutput

func (DeviceClassConfigurationArrayOutput) ToDeviceClassConfigurationArrayOutputWithContext

func (o DeviceClassConfigurationArrayOutput) ToDeviceClassConfigurationArrayOutputWithContext(ctx context.Context) DeviceClassConfigurationArrayOutput

type DeviceClassConfigurationInput

type DeviceClassConfigurationInput interface {
	pulumi.Input

	ToDeviceClassConfigurationOutput() DeviceClassConfigurationOutput
	ToDeviceClassConfigurationOutputWithContext(context.Context) DeviceClassConfigurationOutput
}

DeviceClassConfigurationInput is an input type that accepts DeviceClassConfigurationArgs and DeviceClassConfigurationOutput values. You can construct a concrete instance of `DeviceClassConfigurationInput` via:

DeviceClassConfigurationArgs{...}

type DeviceClassConfigurationOutput

type DeviceClassConfigurationOutput struct{ *pulumi.OutputState }

DeviceClassConfiguration is used in DeviceClass.

func (DeviceClassConfigurationOutput) ElementType

func (DeviceClassConfigurationOutput) Opaque

Opaque provides driver-specific configuration parameters.

func (DeviceClassConfigurationOutput) ToDeviceClassConfigurationOutput

func (o DeviceClassConfigurationOutput) ToDeviceClassConfigurationOutput() DeviceClassConfigurationOutput

func (DeviceClassConfigurationOutput) ToDeviceClassConfigurationOutputWithContext

func (o DeviceClassConfigurationOutput) ToDeviceClassConfigurationOutputWithContext(ctx context.Context) DeviceClassConfigurationOutput

type DeviceClassConfigurationPatch

type DeviceClassConfigurationPatch struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque *OpaqueDeviceConfigurationPatch `pulumi:"opaque"`
}

DeviceClassConfiguration is used in DeviceClass.

type DeviceClassConfigurationPatchArgs

type DeviceClassConfigurationPatchArgs struct {
	// Opaque provides driver-specific configuration parameters.
	Opaque OpaqueDeviceConfigurationPatchPtrInput `pulumi:"opaque"`
}

DeviceClassConfiguration is used in DeviceClass.

func (DeviceClassConfigurationPatchArgs) ElementType

func (DeviceClassConfigurationPatchArgs) ToDeviceClassConfigurationPatchOutput

func (i DeviceClassConfigurationPatchArgs) ToDeviceClassConfigurationPatchOutput() DeviceClassConfigurationPatchOutput

func (DeviceClassConfigurationPatchArgs) ToDeviceClassConfigurationPatchOutputWithContext

func (i DeviceClassConfigurationPatchArgs) ToDeviceClassConfigurationPatchOutputWithContext(ctx context.Context) DeviceClassConfigurationPatchOutput

type DeviceClassConfigurationPatchArray

type DeviceClassConfigurationPatchArray []DeviceClassConfigurationPatchInput

func (DeviceClassConfigurationPatchArray) ElementType

func (DeviceClassConfigurationPatchArray) ToDeviceClassConfigurationPatchArrayOutput

func (i DeviceClassConfigurationPatchArray) ToDeviceClassConfigurationPatchArrayOutput() DeviceClassConfigurationPatchArrayOutput

func (DeviceClassConfigurationPatchArray) ToDeviceClassConfigurationPatchArrayOutputWithContext

func (i DeviceClassConfigurationPatchArray) ToDeviceClassConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceClassConfigurationPatchArrayOutput

type DeviceClassConfigurationPatchArrayInput

type DeviceClassConfigurationPatchArrayInput interface {
	pulumi.Input

	ToDeviceClassConfigurationPatchArrayOutput() DeviceClassConfigurationPatchArrayOutput
	ToDeviceClassConfigurationPatchArrayOutputWithContext(context.Context) DeviceClassConfigurationPatchArrayOutput
}

DeviceClassConfigurationPatchArrayInput is an input type that accepts DeviceClassConfigurationPatchArray and DeviceClassConfigurationPatchArrayOutput values. You can construct a concrete instance of `DeviceClassConfigurationPatchArrayInput` via:

DeviceClassConfigurationPatchArray{ DeviceClassConfigurationPatchArgs{...} }

type DeviceClassConfigurationPatchArrayOutput

type DeviceClassConfigurationPatchArrayOutput struct{ *pulumi.OutputState }

func (DeviceClassConfigurationPatchArrayOutput) ElementType

func (DeviceClassConfigurationPatchArrayOutput) Index

func (DeviceClassConfigurationPatchArrayOutput) ToDeviceClassConfigurationPatchArrayOutput

func (o DeviceClassConfigurationPatchArrayOutput) ToDeviceClassConfigurationPatchArrayOutput() DeviceClassConfigurationPatchArrayOutput

func (DeviceClassConfigurationPatchArrayOutput) ToDeviceClassConfigurationPatchArrayOutputWithContext

func (o DeviceClassConfigurationPatchArrayOutput) ToDeviceClassConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceClassConfigurationPatchArrayOutput

type DeviceClassConfigurationPatchInput

type DeviceClassConfigurationPatchInput interface {
	pulumi.Input

	ToDeviceClassConfigurationPatchOutput() DeviceClassConfigurationPatchOutput
	ToDeviceClassConfigurationPatchOutputWithContext(context.Context) DeviceClassConfigurationPatchOutput
}

DeviceClassConfigurationPatchInput is an input type that accepts DeviceClassConfigurationPatchArgs and DeviceClassConfigurationPatchOutput values. You can construct a concrete instance of `DeviceClassConfigurationPatchInput` via:

DeviceClassConfigurationPatchArgs{...}

type DeviceClassConfigurationPatchOutput

type DeviceClassConfigurationPatchOutput struct{ *pulumi.OutputState }

DeviceClassConfiguration is used in DeviceClass.

func (DeviceClassConfigurationPatchOutput) ElementType

func (DeviceClassConfigurationPatchOutput) Opaque

Opaque provides driver-specific configuration parameters.

func (DeviceClassConfigurationPatchOutput) ToDeviceClassConfigurationPatchOutput

func (o DeviceClassConfigurationPatchOutput) ToDeviceClassConfigurationPatchOutput() DeviceClassConfigurationPatchOutput

func (DeviceClassConfigurationPatchOutput) ToDeviceClassConfigurationPatchOutputWithContext

func (o DeviceClassConfigurationPatchOutput) ToDeviceClassConfigurationPatchOutputWithContext(ctx context.Context) DeviceClassConfigurationPatchOutput

type DeviceClassInput

type DeviceClassInput interface {
	pulumi.Input

	ToDeviceClassOutput() DeviceClassOutput
	ToDeviceClassOutputWithContext(ctx context.Context) DeviceClassOutput
}

type DeviceClassList

type DeviceClassList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// Items is the list of resource classes.
	Items DeviceClassTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard list metadata
	Metadata metav1.ListMetaOutput `pulumi:"metadata"`
}

DeviceClassList is a collection of classes.

func GetDeviceClassList

func GetDeviceClassList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeviceClassListState, opts ...pulumi.ResourceOption) (*DeviceClassList, error)

GetDeviceClassList gets an existing DeviceClassList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeviceClassList

func NewDeviceClassList(ctx *pulumi.Context,
	name string, args *DeviceClassListArgs, opts ...pulumi.ResourceOption) (*DeviceClassList, error)

NewDeviceClassList registers a new resource with the given unique name, arguments, and options.

func (*DeviceClassList) ElementType

func (*DeviceClassList) ElementType() reflect.Type

func (*DeviceClassList) ToDeviceClassListOutput

func (i *DeviceClassList) ToDeviceClassListOutput() DeviceClassListOutput

func (*DeviceClassList) ToDeviceClassListOutputWithContext

func (i *DeviceClassList) ToDeviceClassListOutputWithContext(ctx context.Context) DeviceClassListOutput

type DeviceClassListArgs

type DeviceClassListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Items is the list of resource classes.
	Items DeviceClassTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a DeviceClassList resource.

func (DeviceClassListArgs) ElementType

func (DeviceClassListArgs) ElementType() reflect.Type

type DeviceClassListArray

type DeviceClassListArray []DeviceClassListInput

func (DeviceClassListArray) ElementType

func (DeviceClassListArray) ElementType() reflect.Type

func (DeviceClassListArray) ToDeviceClassListArrayOutput

func (i DeviceClassListArray) ToDeviceClassListArrayOutput() DeviceClassListArrayOutput

func (DeviceClassListArray) ToDeviceClassListArrayOutputWithContext

func (i DeviceClassListArray) ToDeviceClassListArrayOutputWithContext(ctx context.Context) DeviceClassListArrayOutput

type DeviceClassListArrayInput

type DeviceClassListArrayInput interface {
	pulumi.Input

	ToDeviceClassListArrayOutput() DeviceClassListArrayOutput
	ToDeviceClassListArrayOutputWithContext(context.Context) DeviceClassListArrayOutput
}

DeviceClassListArrayInput is an input type that accepts DeviceClassListArray and DeviceClassListArrayOutput values. You can construct a concrete instance of `DeviceClassListArrayInput` via:

DeviceClassListArray{ DeviceClassListArgs{...} }

type DeviceClassListArrayOutput

type DeviceClassListArrayOutput struct{ *pulumi.OutputState }

func (DeviceClassListArrayOutput) ElementType

func (DeviceClassListArrayOutput) ElementType() reflect.Type

func (DeviceClassListArrayOutput) Index

func (DeviceClassListArrayOutput) ToDeviceClassListArrayOutput

func (o DeviceClassListArrayOutput) ToDeviceClassListArrayOutput() DeviceClassListArrayOutput

func (DeviceClassListArrayOutput) ToDeviceClassListArrayOutputWithContext

func (o DeviceClassListArrayOutput) ToDeviceClassListArrayOutputWithContext(ctx context.Context) DeviceClassListArrayOutput

type DeviceClassListInput

type DeviceClassListInput interface {
	pulumi.Input

	ToDeviceClassListOutput() DeviceClassListOutput
	ToDeviceClassListOutputWithContext(ctx context.Context) DeviceClassListOutput
}

type DeviceClassListMap

type DeviceClassListMap map[string]DeviceClassListInput

func (DeviceClassListMap) ElementType

func (DeviceClassListMap) ElementType() reflect.Type

func (DeviceClassListMap) ToDeviceClassListMapOutput

func (i DeviceClassListMap) ToDeviceClassListMapOutput() DeviceClassListMapOutput

func (DeviceClassListMap) ToDeviceClassListMapOutputWithContext

func (i DeviceClassListMap) ToDeviceClassListMapOutputWithContext(ctx context.Context) DeviceClassListMapOutput

type DeviceClassListMapInput

type DeviceClassListMapInput interface {
	pulumi.Input

	ToDeviceClassListMapOutput() DeviceClassListMapOutput
	ToDeviceClassListMapOutputWithContext(context.Context) DeviceClassListMapOutput
}

DeviceClassListMapInput is an input type that accepts DeviceClassListMap and DeviceClassListMapOutput values. You can construct a concrete instance of `DeviceClassListMapInput` via:

DeviceClassListMap{ "key": DeviceClassListArgs{...} }

type DeviceClassListMapOutput

type DeviceClassListMapOutput struct{ *pulumi.OutputState }

func (DeviceClassListMapOutput) ElementType

func (DeviceClassListMapOutput) ElementType() reflect.Type

func (DeviceClassListMapOutput) MapIndex

func (DeviceClassListMapOutput) ToDeviceClassListMapOutput

func (o DeviceClassListMapOutput) ToDeviceClassListMapOutput() DeviceClassListMapOutput

func (DeviceClassListMapOutput) ToDeviceClassListMapOutputWithContext

func (o DeviceClassListMapOutput) ToDeviceClassListMapOutputWithContext(ctx context.Context) DeviceClassListMapOutput

type DeviceClassListOutput

type DeviceClassListOutput struct{ *pulumi.OutputState }

func (DeviceClassListOutput) ApiVersion

func (o DeviceClassListOutput) ApiVersion() pulumi.StringOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeviceClassListOutput) ElementType

func (DeviceClassListOutput) ElementType() reflect.Type

func (DeviceClassListOutput) Items

Items is the list of resource classes.

func (DeviceClassListOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeviceClassListOutput) Metadata

Standard list metadata

func (DeviceClassListOutput) ToDeviceClassListOutput

func (o DeviceClassListOutput) ToDeviceClassListOutput() DeviceClassListOutput

func (DeviceClassListOutput) ToDeviceClassListOutputWithContext

func (o DeviceClassListOutput) ToDeviceClassListOutputWithContext(ctx context.Context) DeviceClassListOutput

type DeviceClassListState

type DeviceClassListState struct {
}

func (DeviceClassListState) ElementType

func (DeviceClassListState) ElementType() reflect.Type

type DeviceClassListType

type DeviceClassListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Items is the list of resource classes.
	Items []DeviceClassType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard list metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

DeviceClassList is a collection of classes.

type DeviceClassListTypeArgs

type DeviceClassListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Items is the list of resource classes.
	Items DeviceClassTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard list metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

DeviceClassList is a collection of classes.

func (DeviceClassListTypeArgs) ElementType

func (DeviceClassListTypeArgs) ElementType() reflect.Type

func (DeviceClassListTypeArgs) ToDeviceClassListTypeOutput

func (i DeviceClassListTypeArgs) ToDeviceClassListTypeOutput() DeviceClassListTypeOutput

func (DeviceClassListTypeArgs) ToDeviceClassListTypeOutputWithContext

func (i DeviceClassListTypeArgs) ToDeviceClassListTypeOutputWithContext(ctx context.Context) DeviceClassListTypeOutput

type DeviceClassListTypeInput

type DeviceClassListTypeInput interface {
	pulumi.Input

	ToDeviceClassListTypeOutput() DeviceClassListTypeOutput
	ToDeviceClassListTypeOutputWithContext(context.Context) DeviceClassListTypeOutput
}

DeviceClassListTypeInput is an input type that accepts DeviceClassListTypeArgs and DeviceClassListTypeOutput values. You can construct a concrete instance of `DeviceClassListTypeInput` via:

DeviceClassListTypeArgs{...}

type DeviceClassListTypeOutput

type DeviceClassListTypeOutput struct{ *pulumi.OutputState }

DeviceClassList is a collection of classes.

func (DeviceClassListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeviceClassListTypeOutput) ElementType

func (DeviceClassListTypeOutput) ElementType() reflect.Type

func (DeviceClassListTypeOutput) Items

Items is the list of resource classes.

func (DeviceClassListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeviceClassListTypeOutput) Metadata

Standard list metadata

func (DeviceClassListTypeOutput) ToDeviceClassListTypeOutput

func (o DeviceClassListTypeOutput) ToDeviceClassListTypeOutput() DeviceClassListTypeOutput

func (DeviceClassListTypeOutput) ToDeviceClassListTypeOutputWithContext

func (o DeviceClassListTypeOutput) ToDeviceClassListTypeOutputWithContext(ctx context.Context) DeviceClassListTypeOutput

type DeviceClassMap

type DeviceClassMap map[string]DeviceClassInput

func (DeviceClassMap) ElementType

func (DeviceClassMap) ElementType() reflect.Type

func (DeviceClassMap) ToDeviceClassMapOutput

func (i DeviceClassMap) ToDeviceClassMapOutput() DeviceClassMapOutput

func (DeviceClassMap) ToDeviceClassMapOutputWithContext

func (i DeviceClassMap) ToDeviceClassMapOutputWithContext(ctx context.Context) DeviceClassMapOutput

type DeviceClassMapInput

type DeviceClassMapInput interface {
	pulumi.Input

	ToDeviceClassMapOutput() DeviceClassMapOutput
	ToDeviceClassMapOutputWithContext(context.Context) DeviceClassMapOutput
}

DeviceClassMapInput is an input type that accepts DeviceClassMap and DeviceClassMapOutput values. You can construct a concrete instance of `DeviceClassMapInput` via:

DeviceClassMap{ "key": DeviceClassArgs{...} }

type DeviceClassMapOutput

type DeviceClassMapOutput struct{ *pulumi.OutputState }

func (DeviceClassMapOutput) ElementType

func (DeviceClassMapOutput) ElementType() reflect.Type

func (DeviceClassMapOutput) MapIndex

func (DeviceClassMapOutput) ToDeviceClassMapOutput

func (o DeviceClassMapOutput) ToDeviceClassMapOutput() DeviceClassMapOutput

func (DeviceClassMapOutput) ToDeviceClassMapOutputWithContext

func (o DeviceClassMapOutput) ToDeviceClassMapOutputWithContext(ctx context.Context) DeviceClassMapOutput

type DeviceClassOutput

type DeviceClassOutput struct{ *pulumi.OutputState }

func (DeviceClassOutput) ApiVersion

func (o DeviceClassOutput) ApiVersion() pulumi.StringOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeviceClassOutput) ElementType

func (DeviceClassOutput) ElementType() reflect.Type

func (DeviceClassOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeviceClassOutput) Metadata

Standard object metadata

func (DeviceClassOutput) Spec

Spec defines what can be allocated and how to configure it.

This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.

Changing the spec automatically increments the metadata.generation number.

func (DeviceClassOutput) ToDeviceClassOutput

func (o DeviceClassOutput) ToDeviceClassOutput() DeviceClassOutput

func (DeviceClassOutput) ToDeviceClassOutputWithContext

func (o DeviceClassOutput) ToDeviceClassOutputWithContext(ctx context.Context) DeviceClassOutput

type DeviceClassPatch

type DeviceClassPatch struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// Spec defines what can be allocated and how to configure it.
	//
	// This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec DeviceClassSpecPatchPtrOutput `pulumi:"spec"`
}

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](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) 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.

func GetDeviceClassPatch

func GetDeviceClassPatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeviceClassPatchState, opts ...pulumi.ResourceOption) (*DeviceClassPatch, error)

GetDeviceClassPatch gets an existing DeviceClassPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeviceClassPatch

func NewDeviceClassPatch(ctx *pulumi.Context,
	name string, args *DeviceClassPatchArgs, opts ...pulumi.ResourceOption) (*DeviceClassPatch, error)

NewDeviceClassPatch registers a new resource with the given unique name, arguments, and options.

func (*DeviceClassPatch) ElementType

func (*DeviceClassPatch) ElementType() reflect.Type

func (*DeviceClassPatch) ToDeviceClassPatchOutput

func (i *DeviceClassPatch) ToDeviceClassPatchOutput() DeviceClassPatchOutput

func (*DeviceClassPatch) ToDeviceClassPatchOutputWithContext

func (i *DeviceClassPatch) ToDeviceClassPatchOutputWithContext(ctx context.Context) DeviceClassPatchOutput

type DeviceClassPatchArgs

type DeviceClassPatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrInput
	// Spec defines what can be allocated and how to configure it.
	//
	// This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec DeviceClassSpecPatchPtrInput
}

The set of arguments for constructing a DeviceClassPatch resource.

func (DeviceClassPatchArgs) ElementType

func (DeviceClassPatchArgs) ElementType() reflect.Type

type DeviceClassPatchArray

type DeviceClassPatchArray []DeviceClassPatchInput

func (DeviceClassPatchArray) ElementType

func (DeviceClassPatchArray) ElementType() reflect.Type

func (DeviceClassPatchArray) ToDeviceClassPatchArrayOutput

func (i DeviceClassPatchArray) ToDeviceClassPatchArrayOutput() DeviceClassPatchArrayOutput

func (DeviceClassPatchArray) ToDeviceClassPatchArrayOutputWithContext

func (i DeviceClassPatchArray) ToDeviceClassPatchArrayOutputWithContext(ctx context.Context) DeviceClassPatchArrayOutput

type DeviceClassPatchArrayInput

type DeviceClassPatchArrayInput interface {
	pulumi.Input

	ToDeviceClassPatchArrayOutput() DeviceClassPatchArrayOutput
	ToDeviceClassPatchArrayOutputWithContext(context.Context) DeviceClassPatchArrayOutput
}

DeviceClassPatchArrayInput is an input type that accepts DeviceClassPatchArray and DeviceClassPatchArrayOutput values. You can construct a concrete instance of `DeviceClassPatchArrayInput` via:

DeviceClassPatchArray{ DeviceClassPatchArgs{...} }

type DeviceClassPatchArrayOutput

type DeviceClassPatchArrayOutput struct{ *pulumi.OutputState }

func (DeviceClassPatchArrayOutput) ElementType

func (DeviceClassPatchArrayOutput) Index

func (DeviceClassPatchArrayOutput) ToDeviceClassPatchArrayOutput

func (o DeviceClassPatchArrayOutput) ToDeviceClassPatchArrayOutput() DeviceClassPatchArrayOutput

func (DeviceClassPatchArrayOutput) ToDeviceClassPatchArrayOutputWithContext

func (o DeviceClassPatchArrayOutput) ToDeviceClassPatchArrayOutputWithContext(ctx context.Context) DeviceClassPatchArrayOutput

type DeviceClassPatchInput

type DeviceClassPatchInput interface {
	pulumi.Input

	ToDeviceClassPatchOutput() DeviceClassPatchOutput
	ToDeviceClassPatchOutputWithContext(ctx context.Context) DeviceClassPatchOutput
}

type DeviceClassPatchMap

type DeviceClassPatchMap map[string]DeviceClassPatchInput

func (DeviceClassPatchMap) ElementType

func (DeviceClassPatchMap) ElementType() reflect.Type

func (DeviceClassPatchMap) ToDeviceClassPatchMapOutput

func (i DeviceClassPatchMap) ToDeviceClassPatchMapOutput() DeviceClassPatchMapOutput

func (DeviceClassPatchMap) ToDeviceClassPatchMapOutputWithContext

func (i DeviceClassPatchMap) ToDeviceClassPatchMapOutputWithContext(ctx context.Context) DeviceClassPatchMapOutput

type DeviceClassPatchMapInput

type DeviceClassPatchMapInput interface {
	pulumi.Input

	ToDeviceClassPatchMapOutput() DeviceClassPatchMapOutput
	ToDeviceClassPatchMapOutputWithContext(context.Context) DeviceClassPatchMapOutput
}

DeviceClassPatchMapInput is an input type that accepts DeviceClassPatchMap and DeviceClassPatchMapOutput values. You can construct a concrete instance of `DeviceClassPatchMapInput` via:

DeviceClassPatchMap{ "key": DeviceClassPatchArgs{...} }

type DeviceClassPatchMapOutput

type DeviceClassPatchMapOutput struct{ *pulumi.OutputState }

func (DeviceClassPatchMapOutput) ElementType

func (DeviceClassPatchMapOutput) ElementType() reflect.Type

func (DeviceClassPatchMapOutput) MapIndex

func (DeviceClassPatchMapOutput) ToDeviceClassPatchMapOutput

func (o DeviceClassPatchMapOutput) ToDeviceClassPatchMapOutput() DeviceClassPatchMapOutput

func (DeviceClassPatchMapOutput) ToDeviceClassPatchMapOutputWithContext

func (o DeviceClassPatchMapOutput) ToDeviceClassPatchMapOutputWithContext(ctx context.Context) DeviceClassPatchMapOutput

type DeviceClassPatchOutput

type DeviceClassPatchOutput struct{ *pulumi.OutputState }

func (DeviceClassPatchOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeviceClassPatchOutput) ElementType

func (DeviceClassPatchOutput) ElementType() reflect.Type

func (DeviceClassPatchOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeviceClassPatchOutput) Metadata

Standard object metadata

func (DeviceClassPatchOutput) Spec

Spec defines what can be allocated and how to configure it.

This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.

Changing the spec automatically increments the metadata.generation number.

func (DeviceClassPatchOutput) ToDeviceClassPatchOutput

func (o DeviceClassPatchOutput) ToDeviceClassPatchOutput() DeviceClassPatchOutput

func (DeviceClassPatchOutput) ToDeviceClassPatchOutputWithContext

func (o DeviceClassPatchOutput) ToDeviceClassPatchOutputWithContext(ctx context.Context) DeviceClassPatchOutput

type DeviceClassPatchState

type DeviceClassPatchState struct {
}

func (DeviceClassPatchState) ElementType

func (DeviceClassPatchState) ElementType() reflect.Type

type DeviceClassPatchType

type DeviceClassPatchType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Spec defines what can be allocated and how to configure it.
	//
	// This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec *DeviceClassSpecPatch `pulumi:"spec"`
}

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.

type DeviceClassPatchTypeArgs

type DeviceClassPatchTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Spec defines what can be allocated and how to configure it.
	//
	// This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec DeviceClassSpecPatchPtrInput `pulumi:"spec"`
}

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.

func (DeviceClassPatchTypeArgs) ElementType

func (DeviceClassPatchTypeArgs) ElementType() reflect.Type

func (DeviceClassPatchTypeArgs) ToDeviceClassPatchTypeOutput

func (i DeviceClassPatchTypeArgs) ToDeviceClassPatchTypeOutput() DeviceClassPatchTypeOutput

func (DeviceClassPatchTypeArgs) ToDeviceClassPatchTypeOutputWithContext

func (i DeviceClassPatchTypeArgs) ToDeviceClassPatchTypeOutputWithContext(ctx context.Context) DeviceClassPatchTypeOutput

type DeviceClassPatchTypeInput

type DeviceClassPatchTypeInput interface {
	pulumi.Input

	ToDeviceClassPatchTypeOutput() DeviceClassPatchTypeOutput
	ToDeviceClassPatchTypeOutputWithContext(context.Context) DeviceClassPatchTypeOutput
}

DeviceClassPatchTypeInput is an input type that accepts DeviceClassPatchTypeArgs and DeviceClassPatchTypeOutput values. You can construct a concrete instance of `DeviceClassPatchTypeInput` via:

DeviceClassPatchTypeArgs{...}

type DeviceClassPatchTypeOutput

type DeviceClassPatchTypeOutput struct{ *pulumi.OutputState }

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.

func (DeviceClassPatchTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeviceClassPatchTypeOutput) ElementType

func (DeviceClassPatchTypeOutput) ElementType() reflect.Type

func (DeviceClassPatchTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeviceClassPatchTypeOutput) Metadata

Standard object metadata

func (DeviceClassPatchTypeOutput) Spec

Spec defines what can be allocated and how to configure it.

This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.

Changing the spec automatically increments the metadata.generation number.

func (DeviceClassPatchTypeOutput) ToDeviceClassPatchTypeOutput

func (o DeviceClassPatchTypeOutput) ToDeviceClassPatchTypeOutput() DeviceClassPatchTypeOutput

func (DeviceClassPatchTypeOutput) ToDeviceClassPatchTypeOutputWithContext

func (o DeviceClassPatchTypeOutput) ToDeviceClassPatchTypeOutputWithContext(ctx context.Context) DeviceClassPatchTypeOutput

type DeviceClassSpec

type DeviceClassSpec struct {
	// Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.
	//
	// They are passed to the driver, but are not considered while allocating the claim.
	Config []DeviceClassConfiguration `pulumi:"config"`
	// Each selector must be satisfied by a device which is claimed via this class.
	Selectors []DeviceSelector `pulumi:"selectors"`
}

DeviceClassSpec is used in a DeviceClass to define what can be allocated and how to configure it.

type DeviceClassSpecArgs

type DeviceClassSpecArgs struct {
	// Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.
	//
	// They are passed to the driver, but are not considered while allocating the claim.
	Config DeviceClassConfigurationArrayInput `pulumi:"config"`
	// Each selector must be satisfied by a device which is claimed via this class.
	Selectors DeviceSelectorArrayInput `pulumi:"selectors"`
}

DeviceClassSpec is used in a DeviceClass to define what can be allocated and how to configure it.

func (DeviceClassSpecArgs) ElementType

func (DeviceClassSpecArgs) ElementType() reflect.Type

func (DeviceClassSpecArgs) ToDeviceClassSpecOutput

func (i DeviceClassSpecArgs) ToDeviceClassSpecOutput() DeviceClassSpecOutput

func (DeviceClassSpecArgs) ToDeviceClassSpecOutputWithContext

func (i DeviceClassSpecArgs) ToDeviceClassSpecOutputWithContext(ctx context.Context) DeviceClassSpecOutput

type DeviceClassSpecInput

type DeviceClassSpecInput interface {
	pulumi.Input

	ToDeviceClassSpecOutput() DeviceClassSpecOutput
	ToDeviceClassSpecOutputWithContext(context.Context) DeviceClassSpecOutput
}

DeviceClassSpecInput is an input type that accepts DeviceClassSpecArgs and DeviceClassSpecOutput values. You can construct a concrete instance of `DeviceClassSpecInput` via:

DeviceClassSpecArgs{...}

type DeviceClassSpecOutput

type DeviceClassSpecOutput struct{ *pulumi.OutputState }

DeviceClassSpec is used in a DeviceClass to define what can be allocated and how to configure it.

func (DeviceClassSpecOutput) Config

Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.

They are passed to the driver, but are not considered while allocating the claim.

func (DeviceClassSpecOutput) ElementType

func (DeviceClassSpecOutput) ElementType() reflect.Type

func (DeviceClassSpecOutput) Selectors

Each selector must be satisfied by a device which is claimed via this class.

func (DeviceClassSpecOutput) ToDeviceClassSpecOutput

func (o DeviceClassSpecOutput) ToDeviceClassSpecOutput() DeviceClassSpecOutput

func (DeviceClassSpecOutput) ToDeviceClassSpecOutputWithContext

func (o DeviceClassSpecOutput) ToDeviceClassSpecOutputWithContext(ctx context.Context) DeviceClassSpecOutput

type DeviceClassSpecPatch

type DeviceClassSpecPatch struct {
	// Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.
	//
	// They are passed to the driver, but are not considered while allocating the claim.
	Config []DeviceClassConfigurationPatch `pulumi:"config"`
	// Each selector must be satisfied by a device which is claimed via this class.
	Selectors []DeviceSelectorPatch `pulumi:"selectors"`
}

DeviceClassSpec is used in a DeviceClass to define what can be allocated and how to configure it.

type DeviceClassSpecPatchArgs

type DeviceClassSpecPatchArgs struct {
	// Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.
	//
	// They are passed to the driver, but are not considered while allocating the claim.
	Config DeviceClassConfigurationPatchArrayInput `pulumi:"config"`
	// Each selector must be satisfied by a device which is claimed via this class.
	Selectors DeviceSelectorPatchArrayInput `pulumi:"selectors"`
}

DeviceClassSpec is used in a DeviceClass to define what can be allocated and how to configure it.

func (DeviceClassSpecPatchArgs) ElementType

func (DeviceClassSpecPatchArgs) ElementType() reflect.Type

func (DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchOutput

func (i DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchOutput() DeviceClassSpecPatchOutput

func (DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchOutputWithContext

func (i DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchOutputWithContext(ctx context.Context) DeviceClassSpecPatchOutput

func (DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchPtrOutput

func (i DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchPtrOutput() DeviceClassSpecPatchPtrOutput

func (DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchPtrOutputWithContext

func (i DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchPtrOutputWithContext(ctx context.Context) DeviceClassSpecPatchPtrOutput

type DeviceClassSpecPatchInput

type DeviceClassSpecPatchInput interface {
	pulumi.Input

	ToDeviceClassSpecPatchOutput() DeviceClassSpecPatchOutput
	ToDeviceClassSpecPatchOutputWithContext(context.Context) DeviceClassSpecPatchOutput
}

DeviceClassSpecPatchInput is an input type that accepts DeviceClassSpecPatchArgs and DeviceClassSpecPatchOutput values. You can construct a concrete instance of `DeviceClassSpecPatchInput` via:

DeviceClassSpecPatchArgs{...}

type DeviceClassSpecPatchOutput

type DeviceClassSpecPatchOutput struct{ *pulumi.OutputState }

DeviceClassSpec is used in a DeviceClass to define what can be allocated and how to configure it.

func (DeviceClassSpecPatchOutput) Config

Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.

They are passed to the driver, but are not considered while allocating the claim.

func (DeviceClassSpecPatchOutput) ElementType

func (DeviceClassSpecPatchOutput) ElementType() reflect.Type

func (DeviceClassSpecPatchOutput) Selectors

Each selector must be satisfied by a device which is claimed via this class.

func (DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchOutput

func (o DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchOutput() DeviceClassSpecPatchOutput

func (DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchOutputWithContext

func (o DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchOutputWithContext(ctx context.Context) DeviceClassSpecPatchOutput

func (DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchPtrOutput

func (o DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchPtrOutput() DeviceClassSpecPatchPtrOutput

func (DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchPtrOutputWithContext

func (o DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchPtrOutputWithContext(ctx context.Context) DeviceClassSpecPatchPtrOutput

type DeviceClassSpecPatchPtrInput

type DeviceClassSpecPatchPtrInput interface {
	pulumi.Input

	ToDeviceClassSpecPatchPtrOutput() DeviceClassSpecPatchPtrOutput
	ToDeviceClassSpecPatchPtrOutputWithContext(context.Context) DeviceClassSpecPatchPtrOutput
}

DeviceClassSpecPatchPtrInput is an input type that accepts DeviceClassSpecPatchArgs, DeviceClassSpecPatchPtr and DeviceClassSpecPatchPtrOutput values. You can construct a concrete instance of `DeviceClassSpecPatchPtrInput` via:

        DeviceClassSpecPatchArgs{...}

or:

        nil

type DeviceClassSpecPatchPtrOutput

type DeviceClassSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (DeviceClassSpecPatchPtrOutput) Config

Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.

They are passed to the driver, but are not considered while allocating the claim.

func (DeviceClassSpecPatchPtrOutput) Elem

func (DeviceClassSpecPatchPtrOutput) ElementType

func (DeviceClassSpecPatchPtrOutput) Selectors

Each selector must be satisfied by a device which is claimed via this class.

func (DeviceClassSpecPatchPtrOutput) ToDeviceClassSpecPatchPtrOutput

func (o DeviceClassSpecPatchPtrOutput) ToDeviceClassSpecPatchPtrOutput() DeviceClassSpecPatchPtrOutput

func (DeviceClassSpecPatchPtrOutput) ToDeviceClassSpecPatchPtrOutputWithContext

func (o DeviceClassSpecPatchPtrOutput) ToDeviceClassSpecPatchPtrOutputWithContext(ctx context.Context) DeviceClassSpecPatchPtrOutput

type DeviceClassState

type DeviceClassState struct {
}

func (DeviceClassState) ElementType

func (DeviceClassState) ElementType() reflect.Type

type DeviceClassType

type DeviceClassType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Spec defines what can be allocated and how to configure it.
	//
	// This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec DeviceClassSpec `pulumi:"spec"`
}

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.

type DeviceClassTypeArgs

type DeviceClassTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Spec defines what can be allocated and how to configure it.
	//
	// This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec DeviceClassSpecInput `pulumi:"spec"`
}

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.

func (DeviceClassTypeArgs) ElementType

func (DeviceClassTypeArgs) ElementType() reflect.Type

func (DeviceClassTypeArgs) ToDeviceClassTypeOutput

func (i DeviceClassTypeArgs) ToDeviceClassTypeOutput() DeviceClassTypeOutput

func (DeviceClassTypeArgs) ToDeviceClassTypeOutputWithContext

func (i DeviceClassTypeArgs) ToDeviceClassTypeOutputWithContext(ctx context.Context) DeviceClassTypeOutput

type DeviceClassTypeArray

type DeviceClassTypeArray []DeviceClassTypeInput

func (DeviceClassTypeArray) ElementType

func (DeviceClassTypeArray) ElementType() reflect.Type

func (DeviceClassTypeArray) ToDeviceClassTypeArrayOutput

func (i DeviceClassTypeArray) ToDeviceClassTypeArrayOutput() DeviceClassTypeArrayOutput

func (DeviceClassTypeArray) ToDeviceClassTypeArrayOutputWithContext

func (i DeviceClassTypeArray) ToDeviceClassTypeArrayOutputWithContext(ctx context.Context) DeviceClassTypeArrayOutput

type DeviceClassTypeArrayInput

type DeviceClassTypeArrayInput interface {
	pulumi.Input

	ToDeviceClassTypeArrayOutput() DeviceClassTypeArrayOutput
	ToDeviceClassTypeArrayOutputWithContext(context.Context) DeviceClassTypeArrayOutput
}

DeviceClassTypeArrayInput is an input type that accepts DeviceClassTypeArray and DeviceClassTypeArrayOutput values. You can construct a concrete instance of `DeviceClassTypeArrayInput` via:

DeviceClassTypeArray{ DeviceClassTypeArgs{...} }

type DeviceClassTypeArrayOutput

type DeviceClassTypeArrayOutput struct{ *pulumi.OutputState }

func (DeviceClassTypeArrayOutput) ElementType

func (DeviceClassTypeArrayOutput) ElementType() reflect.Type

func (DeviceClassTypeArrayOutput) Index

func (DeviceClassTypeArrayOutput) ToDeviceClassTypeArrayOutput

func (o DeviceClassTypeArrayOutput) ToDeviceClassTypeArrayOutput() DeviceClassTypeArrayOutput

func (DeviceClassTypeArrayOutput) ToDeviceClassTypeArrayOutputWithContext

func (o DeviceClassTypeArrayOutput) ToDeviceClassTypeArrayOutputWithContext(ctx context.Context) DeviceClassTypeArrayOutput

type DeviceClassTypeInput

type DeviceClassTypeInput interface {
	pulumi.Input

	ToDeviceClassTypeOutput() DeviceClassTypeOutput
	ToDeviceClassTypeOutputWithContext(context.Context) DeviceClassTypeOutput
}

DeviceClassTypeInput is an input type that accepts DeviceClassTypeArgs and DeviceClassTypeOutput values. You can construct a concrete instance of `DeviceClassTypeInput` via:

DeviceClassTypeArgs{...}

type DeviceClassTypeOutput

type DeviceClassTypeOutput struct{ *pulumi.OutputState }

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.

func (DeviceClassTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeviceClassTypeOutput) ElementType

func (DeviceClassTypeOutput) ElementType() reflect.Type

func (DeviceClassTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeviceClassTypeOutput) Metadata

Standard object metadata

func (DeviceClassTypeOutput) Spec

Spec defines what can be allocated and how to configure it.

This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.

Changing the spec automatically increments the metadata.generation number.

func (DeviceClassTypeOutput) ToDeviceClassTypeOutput

func (o DeviceClassTypeOutput) ToDeviceClassTypeOutput() DeviceClassTypeOutput

func (DeviceClassTypeOutput) ToDeviceClassTypeOutputWithContext

func (o DeviceClassTypeOutput) ToDeviceClassTypeOutputWithContext(ctx context.Context) DeviceClassTypeOutput

type DeviceConstraint

type DeviceConstraint struct {
	// MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
	//
	// For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.
	//
	// Must include the domain qualifier.
	MatchAttribute *string `pulumi:"matchAttribute"`
	// Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
	Requests []string `pulumi:"requests"`
}

DeviceConstraint must have exactly one field set besides Requests.

type DeviceConstraintArgs

type DeviceConstraintArgs struct {
	// MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
	//
	// For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.
	//
	// Must include the domain qualifier.
	MatchAttribute pulumi.StringPtrInput `pulumi:"matchAttribute"`
	// Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
	Requests pulumi.StringArrayInput `pulumi:"requests"`
}

DeviceConstraint must have exactly one field set besides Requests.

func (DeviceConstraintArgs) ElementType

func (DeviceConstraintArgs) ElementType() reflect.Type

func (DeviceConstraintArgs) ToDeviceConstraintOutput

func (i DeviceConstraintArgs) ToDeviceConstraintOutput() DeviceConstraintOutput

func (DeviceConstraintArgs) ToDeviceConstraintOutputWithContext

func (i DeviceConstraintArgs) ToDeviceConstraintOutputWithContext(ctx context.Context) DeviceConstraintOutput

type DeviceConstraintArray

type DeviceConstraintArray []DeviceConstraintInput

func (DeviceConstraintArray) ElementType

func (DeviceConstraintArray) ElementType() reflect.Type

func (DeviceConstraintArray) ToDeviceConstraintArrayOutput

func (i DeviceConstraintArray) ToDeviceConstraintArrayOutput() DeviceConstraintArrayOutput

func (DeviceConstraintArray) ToDeviceConstraintArrayOutputWithContext

func (i DeviceConstraintArray) ToDeviceConstraintArrayOutputWithContext(ctx context.Context) DeviceConstraintArrayOutput

type DeviceConstraintArrayInput

type DeviceConstraintArrayInput interface {
	pulumi.Input

	ToDeviceConstraintArrayOutput() DeviceConstraintArrayOutput
	ToDeviceConstraintArrayOutputWithContext(context.Context) DeviceConstraintArrayOutput
}

DeviceConstraintArrayInput is an input type that accepts DeviceConstraintArray and DeviceConstraintArrayOutput values. You can construct a concrete instance of `DeviceConstraintArrayInput` via:

DeviceConstraintArray{ DeviceConstraintArgs{...} }

type DeviceConstraintArrayOutput

type DeviceConstraintArrayOutput struct{ *pulumi.OutputState }

func (DeviceConstraintArrayOutput) ElementType

func (DeviceConstraintArrayOutput) Index

func (DeviceConstraintArrayOutput) ToDeviceConstraintArrayOutput

func (o DeviceConstraintArrayOutput) ToDeviceConstraintArrayOutput() DeviceConstraintArrayOutput

func (DeviceConstraintArrayOutput) ToDeviceConstraintArrayOutputWithContext

func (o DeviceConstraintArrayOutput) ToDeviceConstraintArrayOutputWithContext(ctx context.Context) DeviceConstraintArrayOutput

type DeviceConstraintInput

type DeviceConstraintInput interface {
	pulumi.Input

	ToDeviceConstraintOutput() DeviceConstraintOutput
	ToDeviceConstraintOutputWithContext(context.Context) DeviceConstraintOutput
}

DeviceConstraintInput is an input type that accepts DeviceConstraintArgs and DeviceConstraintOutput values. You can construct a concrete instance of `DeviceConstraintInput` via:

DeviceConstraintArgs{...}

type DeviceConstraintOutput

type DeviceConstraintOutput struct{ *pulumi.OutputState }

DeviceConstraint must have exactly one field set besides Requests.

func (DeviceConstraintOutput) ElementType

func (DeviceConstraintOutput) ElementType() reflect.Type

func (DeviceConstraintOutput) MatchAttribute

func (o DeviceConstraintOutput) MatchAttribute() pulumi.StringPtrOutput

MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.

For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.

Must include the domain qualifier.

func (DeviceConstraintOutput) Requests

Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.

func (DeviceConstraintOutput) ToDeviceConstraintOutput

func (o DeviceConstraintOutput) ToDeviceConstraintOutput() DeviceConstraintOutput

func (DeviceConstraintOutput) ToDeviceConstraintOutputWithContext

func (o DeviceConstraintOutput) ToDeviceConstraintOutputWithContext(ctx context.Context) DeviceConstraintOutput

type DeviceConstraintPatch

type DeviceConstraintPatch struct {
	// MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
	//
	// For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.
	//
	// Must include the domain qualifier.
	MatchAttribute *string `pulumi:"matchAttribute"`
	// Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
	Requests []string `pulumi:"requests"`
}

DeviceConstraint must have exactly one field set besides Requests.

type DeviceConstraintPatchArgs

type DeviceConstraintPatchArgs struct {
	// MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
	//
	// For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.
	//
	// Must include the domain qualifier.
	MatchAttribute pulumi.StringPtrInput `pulumi:"matchAttribute"`
	// Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
	Requests pulumi.StringArrayInput `pulumi:"requests"`
}

DeviceConstraint must have exactly one field set besides Requests.

func (DeviceConstraintPatchArgs) ElementType

func (DeviceConstraintPatchArgs) ElementType() reflect.Type

func (DeviceConstraintPatchArgs) ToDeviceConstraintPatchOutput

func (i DeviceConstraintPatchArgs) ToDeviceConstraintPatchOutput() DeviceConstraintPatchOutput

func (DeviceConstraintPatchArgs) ToDeviceConstraintPatchOutputWithContext

func (i DeviceConstraintPatchArgs) ToDeviceConstraintPatchOutputWithContext(ctx context.Context) DeviceConstraintPatchOutput

type DeviceConstraintPatchArray

type DeviceConstraintPatchArray []DeviceConstraintPatchInput

func (DeviceConstraintPatchArray) ElementType

func (DeviceConstraintPatchArray) ElementType() reflect.Type

func (DeviceConstraintPatchArray) ToDeviceConstraintPatchArrayOutput

func (i DeviceConstraintPatchArray) ToDeviceConstraintPatchArrayOutput() DeviceConstraintPatchArrayOutput

func (DeviceConstraintPatchArray) ToDeviceConstraintPatchArrayOutputWithContext

func (i DeviceConstraintPatchArray) ToDeviceConstraintPatchArrayOutputWithContext(ctx context.Context) DeviceConstraintPatchArrayOutput

type DeviceConstraintPatchArrayInput

type DeviceConstraintPatchArrayInput interface {
	pulumi.Input

	ToDeviceConstraintPatchArrayOutput() DeviceConstraintPatchArrayOutput
	ToDeviceConstraintPatchArrayOutputWithContext(context.Context) DeviceConstraintPatchArrayOutput
}

DeviceConstraintPatchArrayInput is an input type that accepts DeviceConstraintPatchArray and DeviceConstraintPatchArrayOutput values. You can construct a concrete instance of `DeviceConstraintPatchArrayInput` via:

DeviceConstraintPatchArray{ DeviceConstraintPatchArgs{...} }

type DeviceConstraintPatchArrayOutput

type DeviceConstraintPatchArrayOutput struct{ *pulumi.OutputState }

func (DeviceConstraintPatchArrayOutput) ElementType

func (DeviceConstraintPatchArrayOutput) Index

func (DeviceConstraintPatchArrayOutput) ToDeviceConstraintPatchArrayOutput

func (o DeviceConstraintPatchArrayOutput) ToDeviceConstraintPatchArrayOutput() DeviceConstraintPatchArrayOutput

func (DeviceConstraintPatchArrayOutput) ToDeviceConstraintPatchArrayOutputWithContext

func (o DeviceConstraintPatchArrayOutput) ToDeviceConstraintPatchArrayOutputWithContext(ctx context.Context) DeviceConstraintPatchArrayOutput

type DeviceConstraintPatchInput

type DeviceConstraintPatchInput interface {
	pulumi.Input

	ToDeviceConstraintPatchOutput() DeviceConstraintPatchOutput
	ToDeviceConstraintPatchOutputWithContext(context.Context) DeviceConstraintPatchOutput
}

DeviceConstraintPatchInput is an input type that accepts DeviceConstraintPatchArgs and DeviceConstraintPatchOutput values. You can construct a concrete instance of `DeviceConstraintPatchInput` via:

DeviceConstraintPatchArgs{...}

type DeviceConstraintPatchOutput

type DeviceConstraintPatchOutput struct{ *pulumi.OutputState }

DeviceConstraint must have exactly one field set besides Requests.

func (DeviceConstraintPatchOutput) ElementType

func (DeviceConstraintPatchOutput) MatchAttribute

MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.

For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.

Must include the domain qualifier.

func (DeviceConstraintPatchOutput) Requests

Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.

func (DeviceConstraintPatchOutput) ToDeviceConstraintPatchOutput

func (o DeviceConstraintPatchOutput) ToDeviceConstraintPatchOutput() DeviceConstraintPatchOutput

func (DeviceConstraintPatchOutput) ToDeviceConstraintPatchOutputWithContext

func (o DeviceConstraintPatchOutput) ToDeviceConstraintPatchOutputWithContext(ctx context.Context) DeviceConstraintPatchOutput

type DeviceInput

type DeviceInput interface {
	pulumi.Input

	ToDeviceOutput() DeviceOutput
	ToDeviceOutputWithContext(context.Context) DeviceOutput
}

DeviceInput is an input type that accepts DeviceArgs and DeviceOutput values. You can construct a concrete instance of `DeviceInput` via:

DeviceArgs{...}

type DeviceOutput

type DeviceOutput struct{ *pulumi.OutputState }

Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.

func (DeviceOutput) Basic

Basic defines one device instance.

func (DeviceOutput) ElementType

func (DeviceOutput) ElementType() reflect.Type

func (DeviceOutput) Name

func (o DeviceOutput) Name() pulumi.StringOutput

Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.

func (DeviceOutput) ToDeviceOutput

func (o DeviceOutput) ToDeviceOutput() DeviceOutput

func (DeviceOutput) ToDeviceOutputWithContext

func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput

type DevicePatch

type DevicePatch struct {
	// Basic defines one device instance.
	Basic *BasicDevicePatch `pulumi:"basic"`
	// Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
	Name *string `pulumi:"name"`
}

Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.

type DevicePatchArgs

type DevicePatchArgs struct {
	// Basic defines one device instance.
	Basic BasicDevicePatchPtrInput `pulumi:"basic"`
	// Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.

func (DevicePatchArgs) ElementType

func (DevicePatchArgs) ElementType() reflect.Type

func (DevicePatchArgs) ToDevicePatchOutput

func (i DevicePatchArgs) ToDevicePatchOutput() DevicePatchOutput

func (DevicePatchArgs) ToDevicePatchOutputWithContext

func (i DevicePatchArgs) ToDevicePatchOutputWithContext(ctx context.Context) DevicePatchOutput

type DevicePatchArray

type DevicePatchArray []DevicePatchInput

func (DevicePatchArray) ElementType

func (DevicePatchArray) ElementType() reflect.Type

func (DevicePatchArray) ToDevicePatchArrayOutput

func (i DevicePatchArray) ToDevicePatchArrayOutput() DevicePatchArrayOutput

func (DevicePatchArray) ToDevicePatchArrayOutputWithContext

func (i DevicePatchArray) ToDevicePatchArrayOutputWithContext(ctx context.Context) DevicePatchArrayOutput

type DevicePatchArrayInput

type DevicePatchArrayInput interface {
	pulumi.Input

	ToDevicePatchArrayOutput() DevicePatchArrayOutput
	ToDevicePatchArrayOutputWithContext(context.Context) DevicePatchArrayOutput
}

DevicePatchArrayInput is an input type that accepts DevicePatchArray and DevicePatchArrayOutput values. You can construct a concrete instance of `DevicePatchArrayInput` via:

DevicePatchArray{ DevicePatchArgs{...} }

type DevicePatchArrayOutput

type DevicePatchArrayOutput struct{ *pulumi.OutputState }

func (DevicePatchArrayOutput) ElementType

func (DevicePatchArrayOutput) ElementType() reflect.Type

func (DevicePatchArrayOutput) Index

func (DevicePatchArrayOutput) ToDevicePatchArrayOutput

func (o DevicePatchArrayOutput) ToDevicePatchArrayOutput() DevicePatchArrayOutput

func (DevicePatchArrayOutput) ToDevicePatchArrayOutputWithContext

func (o DevicePatchArrayOutput) ToDevicePatchArrayOutputWithContext(ctx context.Context) DevicePatchArrayOutput

type DevicePatchInput

type DevicePatchInput interface {
	pulumi.Input

	ToDevicePatchOutput() DevicePatchOutput
	ToDevicePatchOutputWithContext(context.Context) DevicePatchOutput
}

DevicePatchInput is an input type that accepts DevicePatchArgs and DevicePatchOutput values. You can construct a concrete instance of `DevicePatchInput` via:

DevicePatchArgs{...}

type DevicePatchOutput

type DevicePatchOutput struct{ *pulumi.OutputState }

Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.

func (DevicePatchOutput) Basic

Basic defines one device instance.

func (DevicePatchOutput) ElementType

func (DevicePatchOutput) ElementType() reflect.Type

func (DevicePatchOutput) Name

Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.

func (DevicePatchOutput) ToDevicePatchOutput

func (o DevicePatchOutput) ToDevicePatchOutput() DevicePatchOutput

func (DevicePatchOutput) ToDevicePatchOutputWithContext

func (o DevicePatchOutput) ToDevicePatchOutputWithContext(ctx context.Context) DevicePatchOutput

type DeviceRequest

type DeviceRequest struct {
	// AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device.  They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
	//
	// This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
	AdminAccess *bool `pulumi:"adminAccess"`
	// AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
	//
	// - ExactCount: This request is for a specific number of devices.
	// This is the default. The exact number is provided in the
	// count field.
	//
	// - All: This request is for all of the matching devices in a pool.
	// Allocation will fail if some devices are already allocated,
	// unless adminAccess is requested.
	//
	// If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.
	//
	// More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
	AllocationMode *string `pulumi:"allocationMode"`
	// Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
	Count *int `pulumi:"count"`
	// DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
	//
	// A class is required. Which classes are available depends on the cluster.
	//
	// Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
	DeviceClassName string `pulumi:"deviceClassName"`
	// Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
	//
	// Must be a DNS label.
	Name string `pulumi:"name"`
	// Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.
	Selectors []DeviceSelector `pulumi:"selectors"`
}

DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.

A DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.

type DeviceRequestAllocationResult

type DeviceRequestAllocationResult struct {
	// AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
	//
	// This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
	AdminAccess *bool `pulumi:"adminAccess"`
	// Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
	Device string `pulumi:"device"`
	// Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver string `pulumi:"driver"`
	// This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
	//
	// Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
	Pool string `pulumi:"pool"`
	// Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.
	Request string `pulumi:"request"`
}

DeviceRequestAllocationResult contains the allocation result for one request.

type DeviceRequestAllocationResultArgs

type DeviceRequestAllocationResultArgs struct {
	// AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
	//
	// This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
	AdminAccess pulumi.BoolPtrInput `pulumi:"adminAccess"`
	// Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
	Device pulumi.StringInput `pulumi:"device"`
	// Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver pulumi.StringInput `pulumi:"driver"`
	// This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
	//
	// Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
	Pool pulumi.StringInput `pulumi:"pool"`
	// Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.
	Request pulumi.StringInput `pulumi:"request"`
}

DeviceRequestAllocationResult contains the allocation result for one request.

func (DeviceRequestAllocationResultArgs) ElementType

func (DeviceRequestAllocationResultArgs) ToDeviceRequestAllocationResultOutput

func (i DeviceRequestAllocationResultArgs) ToDeviceRequestAllocationResultOutput() DeviceRequestAllocationResultOutput

func (DeviceRequestAllocationResultArgs) ToDeviceRequestAllocationResultOutputWithContext

func (i DeviceRequestAllocationResultArgs) ToDeviceRequestAllocationResultOutputWithContext(ctx context.Context) DeviceRequestAllocationResultOutput

type DeviceRequestAllocationResultArray

type DeviceRequestAllocationResultArray []DeviceRequestAllocationResultInput

func (DeviceRequestAllocationResultArray) ElementType

func (DeviceRequestAllocationResultArray) ToDeviceRequestAllocationResultArrayOutput

func (i DeviceRequestAllocationResultArray) ToDeviceRequestAllocationResultArrayOutput() DeviceRequestAllocationResultArrayOutput

func (DeviceRequestAllocationResultArray) ToDeviceRequestAllocationResultArrayOutputWithContext

func (i DeviceRequestAllocationResultArray) ToDeviceRequestAllocationResultArrayOutputWithContext(ctx context.Context) DeviceRequestAllocationResultArrayOutput

type DeviceRequestAllocationResultArrayInput

type DeviceRequestAllocationResultArrayInput interface {
	pulumi.Input

	ToDeviceRequestAllocationResultArrayOutput() DeviceRequestAllocationResultArrayOutput
	ToDeviceRequestAllocationResultArrayOutputWithContext(context.Context) DeviceRequestAllocationResultArrayOutput
}

DeviceRequestAllocationResultArrayInput is an input type that accepts DeviceRequestAllocationResultArray and DeviceRequestAllocationResultArrayOutput values. You can construct a concrete instance of `DeviceRequestAllocationResultArrayInput` via:

DeviceRequestAllocationResultArray{ DeviceRequestAllocationResultArgs{...} }

type DeviceRequestAllocationResultArrayOutput

type DeviceRequestAllocationResultArrayOutput struct{ *pulumi.OutputState }

func (DeviceRequestAllocationResultArrayOutput) ElementType

func (DeviceRequestAllocationResultArrayOutput) Index

func (DeviceRequestAllocationResultArrayOutput) ToDeviceRequestAllocationResultArrayOutput

func (o DeviceRequestAllocationResultArrayOutput) ToDeviceRequestAllocationResultArrayOutput() DeviceRequestAllocationResultArrayOutput

func (DeviceRequestAllocationResultArrayOutput) ToDeviceRequestAllocationResultArrayOutputWithContext

func (o DeviceRequestAllocationResultArrayOutput) ToDeviceRequestAllocationResultArrayOutputWithContext(ctx context.Context) DeviceRequestAllocationResultArrayOutput

type DeviceRequestAllocationResultInput

type DeviceRequestAllocationResultInput interface {
	pulumi.Input

	ToDeviceRequestAllocationResultOutput() DeviceRequestAllocationResultOutput
	ToDeviceRequestAllocationResultOutputWithContext(context.Context) DeviceRequestAllocationResultOutput
}

DeviceRequestAllocationResultInput is an input type that accepts DeviceRequestAllocationResultArgs and DeviceRequestAllocationResultOutput values. You can construct a concrete instance of `DeviceRequestAllocationResultInput` via:

DeviceRequestAllocationResultArgs{...}

type DeviceRequestAllocationResultOutput

type DeviceRequestAllocationResultOutput struct{ *pulumi.OutputState }

DeviceRequestAllocationResult contains the allocation result for one request.

func (DeviceRequestAllocationResultOutput) AdminAccess

AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.

This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.

func (DeviceRequestAllocationResultOutput) Device

Device references one device instance via its name in the driver's resource pool. It must be a DNS label.

func (DeviceRequestAllocationResultOutput) Driver

Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

func (DeviceRequestAllocationResultOutput) ElementType

func (DeviceRequestAllocationResultOutput) Pool

This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).

Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.

func (DeviceRequestAllocationResultOutput) Request

Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.

func (DeviceRequestAllocationResultOutput) ToDeviceRequestAllocationResultOutput

func (o DeviceRequestAllocationResultOutput) ToDeviceRequestAllocationResultOutput() DeviceRequestAllocationResultOutput

func (DeviceRequestAllocationResultOutput) ToDeviceRequestAllocationResultOutputWithContext

func (o DeviceRequestAllocationResultOutput) ToDeviceRequestAllocationResultOutputWithContext(ctx context.Context) DeviceRequestAllocationResultOutput

type DeviceRequestAllocationResultPatch

type DeviceRequestAllocationResultPatch struct {
	// AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
	//
	// This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
	AdminAccess *bool `pulumi:"adminAccess"`
	// Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
	Device *string `pulumi:"device"`
	// Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver *string `pulumi:"driver"`
	// This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
	//
	// Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
	Pool *string `pulumi:"pool"`
	// Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.
	Request *string `pulumi:"request"`
}

DeviceRequestAllocationResult contains the allocation result for one request.

type DeviceRequestAllocationResultPatchArgs

type DeviceRequestAllocationResultPatchArgs struct {
	// AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
	//
	// This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
	AdminAccess pulumi.BoolPtrInput `pulumi:"adminAccess"`
	// Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
	Device pulumi.StringPtrInput `pulumi:"device"`
	// Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver pulumi.StringPtrInput `pulumi:"driver"`
	// This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
	//
	// Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
	Pool pulumi.StringPtrInput `pulumi:"pool"`
	// Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.
	Request pulumi.StringPtrInput `pulumi:"request"`
}

DeviceRequestAllocationResult contains the allocation result for one request.

func (DeviceRequestAllocationResultPatchArgs) ElementType

func (DeviceRequestAllocationResultPatchArgs) ToDeviceRequestAllocationResultPatchOutput

func (i DeviceRequestAllocationResultPatchArgs) ToDeviceRequestAllocationResultPatchOutput() DeviceRequestAllocationResultPatchOutput

func (DeviceRequestAllocationResultPatchArgs) ToDeviceRequestAllocationResultPatchOutputWithContext

func (i DeviceRequestAllocationResultPatchArgs) ToDeviceRequestAllocationResultPatchOutputWithContext(ctx context.Context) DeviceRequestAllocationResultPatchOutput

type DeviceRequestAllocationResultPatchArray

type DeviceRequestAllocationResultPatchArray []DeviceRequestAllocationResultPatchInput

func (DeviceRequestAllocationResultPatchArray) ElementType

func (DeviceRequestAllocationResultPatchArray) ToDeviceRequestAllocationResultPatchArrayOutput

func (i DeviceRequestAllocationResultPatchArray) ToDeviceRequestAllocationResultPatchArrayOutput() DeviceRequestAllocationResultPatchArrayOutput

func (DeviceRequestAllocationResultPatchArray) ToDeviceRequestAllocationResultPatchArrayOutputWithContext

func (i DeviceRequestAllocationResultPatchArray) ToDeviceRequestAllocationResultPatchArrayOutputWithContext(ctx context.Context) DeviceRequestAllocationResultPatchArrayOutput

type DeviceRequestAllocationResultPatchArrayInput

type DeviceRequestAllocationResultPatchArrayInput interface {
	pulumi.Input

	ToDeviceRequestAllocationResultPatchArrayOutput() DeviceRequestAllocationResultPatchArrayOutput
	ToDeviceRequestAllocationResultPatchArrayOutputWithContext(context.Context) DeviceRequestAllocationResultPatchArrayOutput
}

DeviceRequestAllocationResultPatchArrayInput is an input type that accepts DeviceRequestAllocationResultPatchArray and DeviceRequestAllocationResultPatchArrayOutput values. You can construct a concrete instance of `DeviceRequestAllocationResultPatchArrayInput` via:

DeviceRequestAllocationResultPatchArray{ DeviceRequestAllocationResultPatchArgs{...} }

type DeviceRequestAllocationResultPatchArrayOutput

type DeviceRequestAllocationResultPatchArrayOutput struct{ *pulumi.OutputState }

func (DeviceRequestAllocationResultPatchArrayOutput) ElementType

func (DeviceRequestAllocationResultPatchArrayOutput) Index

func (DeviceRequestAllocationResultPatchArrayOutput) ToDeviceRequestAllocationResultPatchArrayOutput

func (o DeviceRequestAllocationResultPatchArrayOutput) ToDeviceRequestAllocationResultPatchArrayOutput() DeviceRequestAllocationResultPatchArrayOutput

func (DeviceRequestAllocationResultPatchArrayOutput) ToDeviceRequestAllocationResultPatchArrayOutputWithContext

func (o DeviceRequestAllocationResultPatchArrayOutput) ToDeviceRequestAllocationResultPatchArrayOutputWithContext(ctx context.Context) DeviceRequestAllocationResultPatchArrayOutput

type DeviceRequestAllocationResultPatchInput

type DeviceRequestAllocationResultPatchInput interface {
	pulumi.Input

	ToDeviceRequestAllocationResultPatchOutput() DeviceRequestAllocationResultPatchOutput
	ToDeviceRequestAllocationResultPatchOutputWithContext(context.Context) DeviceRequestAllocationResultPatchOutput
}

DeviceRequestAllocationResultPatchInput is an input type that accepts DeviceRequestAllocationResultPatchArgs and DeviceRequestAllocationResultPatchOutput values. You can construct a concrete instance of `DeviceRequestAllocationResultPatchInput` via:

DeviceRequestAllocationResultPatchArgs{...}

type DeviceRequestAllocationResultPatchOutput

type DeviceRequestAllocationResultPatchOutput struct{ *pulumi.OutputState }

DeviceRequestAllocationResult contains the allocation result for one request.

func (DeviceRequestAllocationResultPatchOutput) AdminAccess

AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.

This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.

func (DeviceRequestAllocationResultPatchOutput) Device

Device references one device instance via its name in the driver's resource pool. It must be a DNS label.

func (DeviceRequestAllocationResultPatchOutput) Driver

Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

func (DeviceRequestAllocationResultPatchOutput) ElementType

func (DeviceRequestAllocationResultPatchOutput) Pool

This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).

Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.

func (DeviceRequestAllocationResultPatchOutput) Request

Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.

func (DeviceRequestAllocationResultPatchOutput) ToDeviceRequestAllocationResultPatchOutput

func (o DeviceRequestAllocationResultPatchOutput) ToDeviceRequestAllocationResultPatchOutput() DeviceRequestAllocationResultPatchOutput

func (DeviceRequestAllocationResultPatchOutput) ToDeviceRequestAllocationResultPatchOutputWithContext

func (o DeviceRequestAllocationResultPatchOutput) ToDeviceRequestAllocationResultPatchOutputWithContext(ctx context.Context) DeviceRequestAllocationResultPatchOutput

type DeviceRequestArgs

type DeviceRequestArgs struct {
	// AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device.  They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
	//
	// This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
	AdminAccess pulumi.BoolPtrInput `pulumi:"adminAccess"`
	// AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
	//
	// - ExactCount: This request is for a specific number of devices.
	// This is the default. The exact number is provided in the
	// count field.
	//
	// - All: This request is for all of the matching devices in a pool.
	// Allocation will fail if some devices are already allocated,
	// unless adminAccess is requested.
	//
	// If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.
	//
	// More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
	AllocationMode pulumi.StringPtrInput `pulumi:"allocationMode"`
	// Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
	//
	// A class is required. Which classes are available depends on the cluster.
	//
	// Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
	DeviceClassName pulumi.StringInput `pulumi:"deviceClassName"`
	// Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
	//
	// Must be a DNS label.
	Name pulumi.StringInput `pulumi:"name"`
	// Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.
	Selectors DeviceSelectorArrayInput `pulumi:"selectors"`
}

DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.

A DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.

func (DeviceRequestArgs) ElementType

func (DeviceRequestArgs) ElementType() reflect.Type

func (DeviceRequestArgs) ToDeviceRequestOutput

func (i DeviceRequestArgs) ToDeviceRequestOutput() DeviceRequestOutput

func (DeviceRequestArgs) ToDeviceRequestOutputWithContext

func (i DeviceRequestArgs) ToDeviceRequestOutputWithContext(ctx context.Context) DeviceRequestOutput

type DeviceRequestArray

type DeviceRequestArray []DeviceRequestInput

func (DeviceRequestArray) ElementType

func (DeviceRequestArray) ElementType() reflect.Type

func (DeviceRequestArray) ToDeviceRequestArrayOutput

func (i DeviceRequestArray) ToDeviceRequestArrayOutput() DeviceRequestArrayOutput

func (DeviceRequestArray) ToDeviceRequestArrayOutputWithContext

func (i DeviceRequestArray) ToDeviceRequestArrayOutputWithContext(ctx context.Context) DeviceRequestArrayOutput

type DeviceRequestArrayInput

type DeviceRequestArrayInput interface {
	pulumi.Input

	ToDeviceRequestArrayOutput() DeviceRequestArrayOutput
	ToDeviceRequestArrayOutputWithContext(context.Context) DeviceRequestArrayOutput
}

DeviceRequestArrayInput is an input type that accepts DeviceRequestArray and DeviceRequestArrayOutput values. You can construct a concrete instance of `DeviceRequestArrayInput` via:

DeviceRequestArray{ DeviceRequestArgs{...} }

type DeviceRequestArrayOutput

type DeviceRequestArrayOutput struct{ *pulumi.OutputState }

func (DeviceRequestArrayOutput) ElementType

func (DeviceRequestArrayOutput) ElementType() reflect.Type

func (DeviceRequestArrayOutput) Index

func (DeviceRequestArrayOutput) ToDeviceRequestArrayOutput

func (o DeviceRequestArrayOutput) ToDeviceRequestArrayOutput() DeviceRequestArrayOutput

func (DeviceRequestArrayOutput) ToDeviceRequestArrayOutputWithContext

func (o DeviceRequestArrayOutput) ToDeviceRequestArrayOutputWithContext(ctx context.Context) DeviceRequestArrayOutput

type DeviceRequestInput

type DeviceRequestInput interface {
	pulumi.Input

	ToDeviceRequestOutput() DeviceRequestOutput
	ToDeviceRequestOutputWithContext(context.Context) DeviceRequestOutput
}

DeviceRequestInput is an input type that accepts DeviceRequestArgs and DeviceRequestOutput values. You can construct a concrete instance of `DeviceRequestInput` via:

DeviceRequestArgs{...}

type DeviceRequestOutput

type DeviceRequestOutput struct{ *pulumi.OutputState }

DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.

A DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.

func (DeviceRequestOutput) AdminAccess

func (o DeviceRequestOutput) AdminAccess() pulumi.BoolPtrOutput

AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.

This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.

func (DeviceRequestOutput) AllocationMode

func (o DeviceRequestOutput) AllocationMode() pulumi.StringPtrOutput

AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:

- ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field.

- All: This request is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested.

If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.

More modes may get added in the future. Clients must refuse to handle requests with unknown modes.

func (DeviceRequestOutput) Count

Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.

func (DeviceRequestOutput) DeviceClassName

func (o DeviceRequestOutput) DeviceClassName() pulumi.StringOutput

DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.

A class is required. Which classes are available depends on the cluster.

Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.

func (DeviceRequestOutput) ElementType

func (DeviceRequestOutput) ElementType() reflect.Type

func (DeviceRequestOutput) Name

Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.

Must be a DNS label.

func (DeviceRequestOutput) Selectors

Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.

func (DeviceRequestOutput) ToDeviceRequestOutput

func (o DeviceRequestOutput) ToDeviceRequestOutput() DeviceRequestOutput

func (DeviceRequestOutput) ToDeviceRequestOutputWithContext

func (o DeviceRequestOutput) ToDeviceRequestOutputWithContext(ctx context.Context) DeviceRequestOutput

type DeviceRequestPatch

type DeviceRequestPatch struct {
	// AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device.  They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
	//
	// This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
	AdminAccess *bool `pulumi:"adminAccess"`
	// AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
	//
	// - ExactCount: This request is for a specific number of devices.
	// This is the default. The exact number is provided in the
	// count field.
	//
	// - All: This request is for all of the matching devices in a pool.
	// Allocation will fail if some devices are already allocated,
	// unless adminAccess is requested.
	//
	// If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.
	//
	// More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
	AllocationMode *string `pulumi:"allocationMode"`
	// Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
	Count *int `pulumi:"count"`
	// DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
	//
	// A class is required. Which classes are available depends on the cluster.
	//
	// Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
	DeviceClassName *string `pulumi:"deviceClassName"`
	// Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
	//
	// Must be a DNS label.
	Name *string `pulumi:"name"`
	// Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.
	Selectors []DeviceSelectorPatch `pulumi:"selectors"`
}

DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.

A DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.

type DeviceRequestPatchArgs

type DeviceRequestPatchArgs struct {
	// AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device.  They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
	//
	// This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
	AdminAccess pulumi.BoolPtrInput `pulumi:"adminAccess"`
	// AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
	//
	// - ExactCount: This request is for a specific number of devices.
	// This is the default. The exact number is provided in the
	// count field.
	//
	// - All: This request is for all of the matching devices in a pool.
	// Allocation will fail if some devices are already allocated,
	// unless adminAccess is requested.
	//
	// If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.
	//
	// More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
	AllocationMode pulumi.StringPtrInput `pulumi:"allocationMode"`
	// Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
	//
	// A class is required. Which classes are available depends on the cluster.
	//
	// Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
	DeviceClassName pulumi.StringPtrInput `pulumi:"deviceClassName"`
	// Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
	//
	// Must be a DNS label.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.
	Selectors DeviceSelectorPatchArrayInput `pulumi:"selectors"`
}

DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.

A DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.

func (DeviceRequestPatchArgs) ElementType

func (DeviceRequestPatchArgs) ElementType() reflect.Type

func (DeviceRequestPatchArgs) ToDeviceRequestPatchOutput

func (i DeviceRequestPatchArgs) ToDeviceRequestPatchOutput() DeviceRequestPatchOutput

func (DeviceRequestPatchArgs) ToDeviceRequestPatchOutputWithContext

func (i DeviceRequestPatchArgs) ToDeviceRequestPatchOutputWithContext(ctx context.Context) DeviceRequestPatchOutput

type DeviceRequestPatchArray

type DeviceRequestPatchArray []DeviceRequestPatchInput

func (DeviceRequestPatchArray) ElementType

func (DeviceRequestPatchArray) ElementType() reflect.Type

func (DeviceRequestPatchArray) ToDeviceRequestPatchArrayOutput

func (i DeviceRequestPatchArray) ToDeviceRequestPatchArrayOutput() DeviceRequestPatchArrayOutput

func (DeviceRequestPatchArray) ToDeviceRequestPatchArrayOutputWithContext

func (i DeviceRequestPatchArray) ToDeviceRequestPatchArrayOutputWithContext(ctx context.Context) DeviceRequestPatchArrayOutput

type DeviceRequestPatchArrayInput

type DeviceRequestPatchArrayInput interface {
	pulumi.Input

	ToDeviceRequestPatchArrayOutput() DeviceRequestPatchArrayOutput
	ToDeviceRequestPatchArrayOutputWithContext(context.Context) DeviceRequestPatchArrayOutput
}

DeviceRequestPatchArrayInput is an input type that accepts DeviceRequestPatchArray and DeviceRequestPatchArrayOutput values. You can construct a concrete instance of `DeviceRequestPatchArrayInput` via:

DeviceRequestPatchArray{ DeviceRequestPatchArgs{...} }

type DeviceRequestPatchArrayOutput

type DeviceRequestPatchArrayOutput struct{ *pulumi.OutputState }

func (DeviceRequestPatchArrayOutput) ElementType

func (DeviceRequestPatchArrayOutput) Index

func (DeviceRequestPatchArrayOutput) ToDeviceRequestPatchArrayOutput

func (o DeviceRequestPatchArrayOutput) ToDeviceRequestPatchArrayOutput() DeviceRequestPatchArrayOutput

func (DeviceRequestPatchArrayOutput) ToDeviceRequestPatchArrayOutputWithContext

func (o DeviceRequestPatchArrayOutput) ToDeviceRequestPatchArrayOutputWithContext(ctx context.Context) DeviceRequestPatchArrayOutput

type DeviceRequestPatchInput

type DeviceRequestPatchInput interface {
	pulumi.Input

	ToDeviceRequestPatchOutput() DeviceRequestPatchOutput
	ToDeviceRequestPatchOutputWithContext(context.Context) DeviceRequestPatchOutput
}

DeviceRequestPatchInput is an input type that accepts DeviceRequestPatchArgs and DeviceRequestPatchOutput values. You can construct a concrete instance of `DeviceRequestPatchInput` via:

DeviceRequestPatchArgs{...}

type DeviceRequestPatchOutput

type DeviceRequestPatchOutput struct{ *pulumi.OutputState }

DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.

A DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.

func (DeviceRequestPatchOutput) AdminAccess

AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.

This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.

func (DeviceRequestPatchOutput) AllocationMode

func (o DeviceRequestPatchOutput) AllocationMode() pulumi.StringPtrOutput

AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:

- ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field.

- All: This request is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested.

If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.

More modes may get added in the future. Clients must refuse to handle requests with unknown modes.

func (DeviceRequestPatchOutput) Count

Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.

func (DeviceRequestPatchOutput) DeviceClassName

func (o DeviceRequestPatchOutput) DeviceClassName() pulumi.StringPtrOutput

DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.

A class is required. Which classes are available depends on the cluster.

Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.

func (DeviceRequestPatchOutput) ElementType

func (DeviceRequestPatchOutput) ElementType() reflect.Type

func (DeviceRequestPatchOutput) Name

Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.

Must be a DNS label.

func (DeviceRequestPatchOutput) Selectors

Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.

func (DeviceRequestPatchOutput) ToDeviceRequestPatchOutput

func (o DeviceRequestPatchOutput) ToDeviceRequestPatchOutput() DeviceRequestPatchOutput

func (DeviceRequestPatchOutput) ToDeviceRequestPatchOutputWithContext

func (o DeviceRequestPatchOutput) ToDeviceRequestPatchOutputWithContext(ctx context.Context) DeviceRequestPatchOutput

type DeviceSelector

type DeviceSelector struct {
	// CEL contains a CEL expression for selecting a device.
	Cel *CELDeviceSelector `pulumi:"cel"`
}

DeviceSelector must have exactly one field set.

type DeviceSelectorArgs

type DeviceSelectorArgs struct {
	// CEL contains a CEL expression for selecting a device.
	Cel CELDeviceSelectorPtrInput `pulumi:"cel"`
}

DeviceSelector must have exactly one field set.

func (DeviceSelectorArgs) ElementType

func (DeviceSelectorArgs) ElementType() reflect.Type

func (DeviceSelectorArgs) ToDeviceSelectorOutput

func (i DeviceSelectorArgs) ToDeviceSelectorOutput() DeviceSelectorOutput

func (DeviceSelectorArgs) ToDeviceSelectorOutputWithContext

func (i DeviceSelectorArgs) ToDeviceSelectorOutputWithContext(ctx context.Context) DeviceSelectorOutput

type DeviceSelectorArray

type DeviceSelectorArray []DeviceSelectorInput

func (DeviceSelectorArray) ElementType

func (DeviceSelectorArray) ElementType() reflect.Type

func (DeviceSelectorArray) ToDeviceSelectorArrayOutput

func (i DeviceSelectorArray) ToDeviceSelectorArrayOutput() DeviceSelectorArrayOutput

func (DeviceSelectorArray) ToDeviceSelectorArrayOutputWithContext

func (i DeviceSelectorArray) ToDeviceSelectorArrayOutputWithContext(ctx context.Context) DeviceSelectorArrayOutput

type DeviceSelectorArrayInput

type DeviceSelectorArrayInput interface {
	pulumi.Input

	ToDeviceSelectorArrayOutput() DeviceSelectorArrayOutput
	ToDeviceSelectorArrayOutputWithContext(context.Context) DeviceSelectorArrayOutput
}

DeviceSelectorArrayInput is an input type that accepts DeviceSelectorArray and DeviceSelectorArrayOutput values. You can construct a concrete instance of `DeviceSelectorArrayInput` via:

DeviceSelectorArray{ DeviceSelectorArgs{...} }

type DeviceSelectorArrayOutput

type DeviceSelectorArrayOutput struct{ *pulumi.OutputState }

func (DeviceSelectorArrayOutput) ElementType

func (DeviceSelectorArrayOutput) ElementType() reflect.Type

func (DeviceSelectorArrayOutput) Index

func (DeviceSelectorArrayOutput) ToDeviceSelectorArrayOutput

func (o DeviceSelectorArrayOutput) ToDeviceSelectorArrayOutput() DeviceSelectorArrayOutput

func (DeviceSelectorArrayOutput) ToDeviceSelectorArrayOutputWithContext

func (o DeviceSelectorArrayOutput) ToDeviceSelectorArrayOutputWithContext(ctx context.Context) DeviceSelectorArrayOutput

type DeviceSelectorInput

type DeviceSelectorInput interface {
	pulumi.Input

	ToDeviceSelectorOutput() DeviceSelectorOutput
	ToDeviceSelectorOutputWithContext(context.Context) DeviceSelectorOutput
}

DeviceSelectorInput is an input type that accepts DeviceSelectorArgs and DeviceSelectorOutput values. You can construct a concrete instance of `DeviceSelectorInput` via:

DeviceSelectorArgs{...}

type DeviceSelectorOutput

type DeviceSelectorOutput struct{ *pulumi.OutputState }

DeviceSelector must have exactly one field set.

func (DeviceSelectorOutput) Cel

CEL contains a CEL expression for selecting a device.

func (DeviceSelectorOutput) ElementType

func (DeviceSelectorOutput) ElementType() reflect.Type

func (DeviceSelectorOutput) ToDeviceSelectorOutput

func (o DeviceSelectorOutput) ToDeviceSelectorOutput() DeviceSelectorOutput

func (DeviceSelectorOutput) ToDeviceSelectorOutputWithContext

func (o DeviceSelectorOutput) ToDeviceSelectorOutputWithContext(ctx context.Context) DeviceSelectorOutput

type DeviceSelectorPatch

type DeviceSelectorPatch struct {
	// CEL contains a CEL expression for selecting a device.
	Cel *CELDeviceSelectorPatch `pulumi:"cel"`
}

DeviceSelector must have exactly one field set.

type DeviceSelectorPatchArgs

type DeviceSelectorPatchArgs struct {
	// CEL contains a CEL expression for selecting a device.
	Cel CELDeviceSelectorPatchPtrInput `pulumi:"cel"`
}

DeviceSelector must have exactly one field set.

func (DeviceSelectorPatchArgs) ElementType

func (DeviceSelectorPatchArgs) ElementType() reflect.Type

func (DeviceSelectorPatchArgs) ToDeviceSelectorPatchOutput

func (i DeviceSelectorPatchArgs) ToDeviceSelectorPatchOutput() DeviceSelectorPatchOutput

func (DeviceSelectorPatchArgs) ToDeviceSelectorPatchOutputWithContext

func (i DeviceSelectorPatchArgs) ToDeviceSelectorPatchOutputWithContext(ctx context.Context) DeviceSelectorPatchOutput

type DeviceSelectorPatchArray

type DeviceSelectorPatchArray []DeviceSelectorPatchInput

func (DeviceSelectorPatchArray) ElementType

func (DeviceSelectorPatchArray) ElementType() reflect.Type

func (DeviceSelectorPatchArray) ToDeviceSelectorPatchArrayOutput

func (i DeviceSelectorPatchArray) ToDeviceSelectorPatchArrayOutput() DeviceSelectorPatchArrayOutput

func (DeviceSelectorPatchArray) ToDeviceSelectorPatchArrayOutputWithContext

func (i DeviceSelectorPatchArray) ToDeviceSelectorPatchArrayOutputWithContext(ctx context.Context) DeviceSelectorPatchArrayOutput

type DeviceSelectorPatchArrayInput

type DeviceSelectorPatchArrayInput interface {
	pulumi.Input

	ToDeviceSelectorPatchArrayOutput() DeviceSelectorPatchArrayOutput
	ToDeviceSelectorPatchArrayOutputWithContext(context.Context) DeviceSelectorPatchArrayOutput
}

DeviceSelectorPatchArrayInput is an input type that accepts DeviceSelectorPatchArray and DeviceSelectorPatchArrayOutput values. You can construct a concrete instance of `DeviceSelectorPatchArrayInput` via:

DeviceSelectorPatchArray{ DeviceSelectorPatchArgs{...} }

type DeviceSelectorPatchArrayOutput

type DeviceSelectorPatchArrayOutput struct{ *pulumi.OutputState }

func (DeviceSelectorPatchArrayOutput) ElementType

func (DeviceSelectorPatchArrayOutput) Index

func (DeviceSelectorPatchArrayOutput) ToDeviceSelectorPatchArrayOutput

func (o DeviceSelectorPatchArrayOutput) ToDeviceSelectorPatchArrayOutput() DeviceSelectorPatchArrayOutput

func (DeviceSelectorPatchArrayOutput) ToDeviceSelectorPatchArrayOutputWithContext

func (o DeviceSelectorPatchArrayOutput) ToDeviceSelectorPatchArrayOutputWithContext(ctx context.Context) DeviceSelectorPatchArrayOutput

type DeviceSelectorPatchInput

type DeviceSelectorPatchInput interface {
	pulumi.Input

	ToDeviceSelectorPatchOutput() DeviceSelectorPatchOutput
	ToDeviceSelectorPatchOutputWithContext(context.Context) DeviceSelectorPatchOutput
}

DeviceSelectorPatchInput is an input type that accepts DeviceSelectorPatchArgs and DeviceSelectorPatchOutput values. You can construct a concrete instance of `DeviceSelectorPatchInput` via:

DeviceSelectorPatchArgs{...}

type DeviceSelectorPatchOutput

type DeviceSelectorPatchOutput struct{ *pulumi.OutputState }

DeviceSelector must have exactly one field set.

func (DeviceSelectorPatchOutput) Cel

CEL contains a CEL expression for selecting a device.

func (DeviceSelectorPatchOutput) ElementType

func (DeviceSelectorPatchOutput) ElementType() reflect.Type

func (DeviceSelectorPatchOutput) ToDeviceSelectorPatchOutput

func (o DeviceSelectorPatchOutput) ToDeviceSelectorPatchOutput() DeviceSelectorPatchOutput

func (DeviceSelectorPatchOutput) ToDeviceSelectorPatchOutputWithContext

func (o DeviceSelectorPatchOutput) ToDeviceSelectorPatchOutputWithContext(ctx context.Context) DeviceSelectorPatchOutput

type NetworkDeviceData

type NetworkDeviceData struct {
	// HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
	//
	// Must not be longer than 128 characters.
	HardwareAddress *string `pulumi:"hardwareAddress"`
	// InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
	//
	// Must not be longer than 256 characters.
	InterfaceName *string `pulumi:"interfaceName"`
	// IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
	Ips []string `pulumi:"ips"`
}

NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.

type NetworkDeviceDataArgs

type NetworkDeviceDataArgs struct {
	// HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
	//
	// Must not be longer than 128 characters.
	HardwareAddress pulumi.StringPtrInput `pulumi:"hardwareAddress"`
	// InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
	//
	// Must not be longer than 256 characters.
	InterfaceName pulumi.StringPtrInput `pulumi:"interfaceName"`
	// IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
	Ips pulumi.StringArrayInput `pulumi:"ips"`
}

NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.

func (NetworkDeviceDataArgs) ElementType

func (NetworkDeviceDataArgs) ElementType() reflect.Type

func (NetworkDeviceDataArgs) ToNetworkDeviceDataOutput

func (i NetworkDeviceDataArgs) ToNetworkDeviceDataOutput() NetworkDeviceDataOutput

func (NetworkDeviceDataArgs) ToNetworkDeviceDataOutputWithContext

func (i NetworkDeviceDataArgs) ToNetworkDeviceDataOutputWithContext(ctx context.Context) NetworkDeviceDataOutput

func (NetworkDeviceDataArgs) ToNetworkDeviceDataPtrOutput

func (i NetworkDeviceDataArgs) ToNetworkDeviceDataPtrOutput() NetworkDeviceDataPtrOutput

func (NetworkDeviceDataArgs) ToNetworkDeviceDataPtrOutputWithContext

func (i NetworkDeviceDataArgs) ToNetworkDeviceDataPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPtrOutput

type NetworkDeviceDataInput

type NetworkDeviceDataInput interface {
	pulumi.Input

	ToNetworkDeviceDataOutput() NetworkDeviceDataOutput
	ToNetworkDeviceDataOutputWithContext(context.Context) NetworkDeviceDataOutput
}

NetworkDeviceDataInput is an input type that accepts NetworkDeviceDataArgs and NetworkDeviceDataOutput values. You can construct a concrete instance of `NetworkDeviceDataInput` via:

NetworkDeviceDataArgs{...}

type NetworkDeviceDataOutput

type NetworkDeviceDataOutput struct{ *pulumi.OutputState }

NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.

func (NetworkDeviceDataOutput) ElementType

func (NetworkDeviceDataOutput) ElementType() reflect.Type

func (NetworkDeviceDataOutput) HardwareAddress

func (o NetworkDeviceDataOutput) HardwareAddress() pulumi.StringPtrOutput

HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.

Must not be longer than 128 characters.

func (NetworkDeviceDataOutput) InterfaceName

InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.

Must not be longer than 256 characters.

func (NetworkDeviceDataOutput) Ips

IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.

func (NetworkDeviceDataOutput) ToNetworkDeviceDataOutput

func (o NetworkDeviceDataOutput) ToNetworkDeviceDataOutput() NetworkDeviceDataOutput

func (NetworkDeviceDataOutput) ToNetworkDeviceDataOutputWithContext

func (o NetworkDeviceDataOutput) ToNetworkDeviceDataOutputWithContext(ctx context.Context) NetworkDeviceDataOutput

func (NetworkDeviceDataOutput) ToNetworkDeviceDataPtrOutput

func (o NetworkDeviceDataOutput) ToNetworkDeviceDataPtrOutput() NetworkDeviceDataPtrOutput

func (NetworkDeviceDataOutput) ToNetworkDeviceDataPtrOutputWithContext

func (o NetworkDeviceDataOutput) ToNetworkDeviceDataPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPtrOutput

type NetworkDeviceDataPatch

type NetworkDeviceDataPatch struct {
	// HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
	//
	// Must not be longer than 128 characters.
	HardwareAddress *string `pulumi:"hardwareAddress"`
	// InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
	//
	// Must not be longer than 256 characters.
	InterfaceName *string `pulumi:"interfaceName"`
	// IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
	Ips []string `pulumi:"ips"`
}

NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.

type NetworkDeviceDataPatchArgs

type NetworkDeviceDataPatchArgs struct {
	// HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
	//
	// Must not be longer than 128 characters.
	HardwareAddress pulumi.StringPtrInput `pulumi:"hardwareAddress"`
	// InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
	//
	// Must not be longer than 256 characters.
	InterfaceName pulumi.StringPtrInput `pulumi:"interfaceName"`
	// IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
	Ips pulumi.StringArrayInput `pulumi:"ips"`
}

NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.

func (NetworkDeviceDataPatchArgs) ElementType

func (NetworkDeviceDataPatchArgs) ElementType() reflect.Type

func (NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchOutput

func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchOutput() NetworkDeviceDataPatchOutput

func (NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchOutputWithContext

func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchOutputWithContext(ctx context.Context) NetworkDeviceDataPatchOutput

func (NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchPtrOutput

func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchPtrOutput() NetworkDeviceDataPatchPtrOutput

func (NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchPtrOutputWithContext

func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPatchPtrOutput

type NetworkDeviceDataPatchInput

type NetworkDeviceDataPatchInput interface {
	pulumi.Input

	ToNetworkDeviceDataPatchOutput() NetworkDeviceDataPatchOutput
	ToNetworkDeviceDataPatchOutputWithContext(context.Context) NetworkDeviceDataPatchOutput
}

NetworkDeviceDataPatchInput is an input type that accepts NetworkDeviceDataPatchArgs and NetworkDeviceDataPatchOutput values. You can construct a concrete instance of `NetworkDeviceDataPatchInput` via:

NetworkDeviceDataPatchArgs{...}

type NetworkDeviceDataPatchOutput

type NetworkDeviceDataPatchOutput struct{ *pulumi.OutputState }

NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.

func (NetworkDeviceDataPatchOutput) ElementType

func (NetworkDeviceDataPatchOutput) HardwareAddress

HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.

Must not be longer than 128 characters.

func (NetworkDeviceDataPatchOutput) InterfaceName

InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.

Must not be longer than 256 characters.

func (NetworkDeviceDataPatchOutput) Ips

IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.

func (NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchOutput

func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchOutput() NetworkDeviceDataPatchOutput

func (NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchOutputWithContext

func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchOutputWithContext(ctx context.Context) NetworkDeviceDataPatchOutput

func (NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchPtrOutput

func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchPtrOutput() NetworkDeviceDataPatchPtrOutput

func (NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchPtrOutputWithContext

func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPatchPtrOutput

type NetworkDeviceDataPatchPtrInput

type NetworkDeviceDataPatchPtrInput interface {
	pulumi.Input

	ToNetworkDeviceDataPatchPtrOutput() NetworkDeviceDataPatchPtrOutput
	ToNetworkDeviceDataPatchPtrOutputWithContext(context.Context) NetworkDeviceDataPatchPtrOutput
}

NetworkDeviceDataPatchPtrInput is an input type that accepts NetworkDeviceDataPatchArgs, NetworkDeviceDataPatchPtr and NetworkDeviceDataPatchPtrOutput values. You can construct a concrete instance of `NetworkDeviceDataPatchPtrInput` via:

        NetworkDeviceDataPatchArgs{...}

or:

        nil

type NetworkDeviceDataPatchPtrOutput

type NetworkDeviceDataPatchPtrOutput struct{ *pulumi.OutputState }

func (NetworkDeviceDataPatchPtrOutput) Elem

func (NetworkDeviceDataPatchPtrOutput) ElementType

func (NetworkDeviceDataPatchPtrOutput) HardwareAddress

HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.

Must not be longer than 128 characters.

func (NetworkDeviceDataPatchPtrOutput) InterfaceName

InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.

Must not be longer than 256 characters.

func (NetworkDeviceDataPatchPtrOutput) Ips

IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.

func (NetworkDeviceDataPatchPtrOutput) ToNetworkDeviceDataPatchPtrOutput

func (o NetworkDeviceDataPatchPtrOutput) ToNetworkDeviceDataPatchPtrOutput() NetworkDeviceDataPatchPtrOutput

func (NetworkDeviceDataPatchPtrOutput) ToNetworkDeviceDataPatchPtrOutputWithContext

func (o NetworkDeviceDataPatchPtrOutput) ToNetworkDeviceDataPatchPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPatchPtrOutput

type NetworkDeviceDataPtrInput

type NetworkDeviceDataPtrInput interface {
	pulumi.Input

	ToNetworkDeviceDataPtrOutput() NetworkDeviceDataPtrOutput
	ToNetworkDeviceDataPtrOutputWithContext(context.Context) NetworkDeviceDataPtrOutput
}

NetworkDeviceDataPtrInput is an input type that accepts NetworkDeviceDataArgs, NetworkDeviceDataPtr and NetworkDeviceDataPtrOutput values. You can construct a concrete instance of `NetworkDeviceDataPtrInput` via:

        NetworkDeviceDataArgs{...}

or:

        nil

type NetworkDeviceDataPtrOutput

type NetworkDeviceDataPtrOutput struct{ *pulumi.OutputState }

func (NetworkDeviceDataPtrOutput) Elem

func (NetworkDeviceDataPtrOutput) ElementType

func (NetworkDeviceDataPtrOutput) ElementType() reflect.Type

func (NetworkDeviceDataPtrOutput) HardwareAddress

HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.

Must not be longer than 128 characters.

func (NetworkDeviceDataPtrOutput) InterfaceName

InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.

Must not be longer than 256 characters.

func (NetworkDeviceDataPtrOutput) Ips

IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.

func (NetworkDeviceDataPtrOutput) ToNetworkDeviceDataPtrOutput

func (o NetworkDeviceDataPtrOutput) ToNetworkDeviceDataPtrOutput() NetworkDeviceDataPtrOutput

func (NetworkDeviceDataPtrOutput) ToNetworkDeviceDataPtrOutputWithContext

func (o NetworkDeviceDataPtrOutput) ToNetworkDeviceDataPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPtrOutput

type OpaqueDeviceConfiguration

type OpaqueDeviceConfiguration struct {
	// Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
	//
	// An admission policy provided by the driver developer could use this to decide whether it needs to validate them.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver string `pulumi:"driver"`
	// Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion between different versions.
	//
	// The length of the raw data must be smaller or equal to 10 Ki.
	Parameters interface{} `pulumi:"parameters"`
}

OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.

type OpaqueDeviceConfigurationArgs

type OpaqueDeviceConfigurationArgs struct {
	// Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
	//
	// An admission policy provided by the driver developer could use this to decide whether it needs to validate them.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver pulumi.StringInput `pulumi:"driver"`
	// Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion between different versions.
	//
	// The length of the raw data must be smaller or equal to 10 Ki.
	Parameters pulumi.Input `pulumi:"parameters"`
}

OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.

func (OpaqueDeviceConfigurationArgs) ElementType

func (OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationOutput

func (i OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationOutput() OpaqueDeviceConfigurationOutput

func (OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationOutputWithContext

func (i OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationOutput

func (OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationPtrOutput

func (i OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationPtrOutput() OpaqueDeviceConfigurationPtrOutput

func (OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationPtrOutputWithContext

func (i OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPtrOutput

type OpaqueDeviceConfigurationInput

type OpaqueDeviceConfigurationInput interface {
	pulumi.Input

	ToOpaqueDeviceConfigurationOutput() OpaqueDeviceConfigurationOutput
	ToOpaqueDeviceConfigurationOutputWithContext(context.Context) OpaqueDeviceConfigurationOutput
}

OpaqueDeviceConfigurationInput is an input type that accepts OpaqueDeviceConfigurationArgs and OpaqueDeviceConfigurationOutput values. You can construct a concrete instance of `OpaqueDeviceConfigurationInput` via:

OpaqueDeviceConfigurationArgs{...}

type OpaqueDeviceConfigurationOutput

type OpaqueDeviceConfigurationOutput struct{ *pulumi.OutputState }

OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.

func (OpaqueDeviceConfigurationOutput) Driver

Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.

An admission policy provided by the driver developer could use this to decide whether it needs to validate them.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

func (OpaqueDeviceConfigurationOutput) ElementType

func (OpaqueDeviceConfigurationOutput) Parameters

Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion between different versions.

The length of the raw data must be smaller or equal to 10 Ki.

func (OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationOutput

func (o OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationOutput() OpaqueDeviceConfigurationOutput

func (OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationOutputWithContext

func (o OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationOutput

func (OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationPtrOutput

func (o OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationPtrOutput() OpaqueDeviceConfigurationPtrOutput

func (OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationPtrOutputWithContext

func (o OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPtrOutput

type OpaqueDeviceConfigurationPatch

type OpaqueDeviceConfigurationPatch struct {
	// Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
	//
	// An admission policy provided by the driver developer could use this to decide whether it needs to validate them.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver *string `pulumi:"driver"`
	// Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion between different versions.
	//
	// The length of the raw data must be smaller or equal to 10 Ki.
	Parameters interface{} `pulumi:"parameters"`
}

OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.

type OpaqueDeviceConfigurationPatchArgs

type OpaqueDeviceConfigurationPatchArgs struct {
	// Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
	//
	// An admission policy provided by the driver developer could use this to decide whether it needs to validate them.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
	Driver pulumi.StringPtrInput `pulumi:"driver"`
	// Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion between different versions.
	//
	// The length of the raw data must be smaller or equal to 10 Ki.
	Parameters pulumi.Input `pulumi:"parameters"`
}

OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.

func (OpaqueDeviceConfigurationPatchArgs) ElementType

func (OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchOutput

func (i OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchOutput() OpaqueDeviceConfigurationPatchOutput

func (OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchOutputWithContext

func (i OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPatchOutput

func (OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchPtrOutput

func (i OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchPtrOutput() OpaqueDeviceConfigurationPatchPtrOutput

func (OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchPtrOutputWithContext

func (i OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPatchPtrOutput

type OpaqueDeviceConfigurationPatchInput

type OpaqueDeviceConfigurationPatchInput interface {
	pulumi.Input

	ToOpaqueDeviceConfigurationPatchOutput() OpaqueDeviceConfigurationPatchOutput
	ToOpaqueDeviceConfigurationPatchOutputWithContext(context.Context) OpaqueDeviceConfigurationPatchOutput
}

OpaqueDeviceConfigurationPatchInput is an input type that accepts OpaqueDeviceConfigurationPatchArgs and OpaqueDeviceConfigurationPatchOutput values. You can construct a concrete instance of `OpaqueDeviceConfigurationPatchInput` via:

OpaqueDeviceConfigurationPatchArgs{...}

type OpaqueDeviceConfigurationPatchOutput

type OpaqueDeviceConfigurationPatchOutput struct{ *pulumi.OutputState }

OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.

func (OpaqueDeviceConfigurationPatchOutput) Driver

Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.

An admission policy provided by the driver developer could use this to decide whether it needs to validate them.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

func (OpaqueDeviceConfigurationPatchOutput) ElementType

func (OpaqueDeviceConfigurationPatchOutput) Parameters

Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion between different versions.

The length of the raw data must be smaller or equal to 10 Ki.

func (OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchOutput

func (o OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchOutput() OpaqueDeviceConfigurationPatchOutput

func (OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchOutputWithContext

func (o OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPatchOutput

func (OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchPtrOutput

func (o OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchPtrOutput() OpaqueDeviceConfigurationPatchPtrOutput

func (OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchPtrOutputWithContext

func (o OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPatchPtrOutput

type OpaqueDeviceConfigurationPatchPtrInput

type OpaqueDeviceConfigurationPatchPtrInput interface {
	pulumi.Input

	ToOpaqueDeviceConfigurationPatchPtrOutput() OpaqueDeviceConfigurationPatchPtrOutput
	ToOpaqueDeviceConfigurationPatchPtrOutputWithContext(context.Context) OpaqueDeviceConfigurationPatchPtrOutput
}

OpaqueDeviceConfigurationPatchPtrInput is an input type that accepts OpaqueDeviceConfigurationPatchArgs, OpaqueDeviceConfigurationPatchPtr and OpaqueDeviceConfigurationPatchPtrOutput values. You can construct a concrete instance of `OpaqueDeviceConfigurationPatchPtrInput` via:

        OpaqueDeviceConfigurationPatchArgs{...}

or:

        nil

type OpaqueDeviceConfigurationPatchPtrOutput

type OpaqueDeviceConfigurationPatchPtrOutput struct{ *pulumi.OutputState }

func (OpaqueDeviceConfigurationPatchPtrOutput) Driver

Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.

An admission policy provided by the driver developer could use this to decide whether it needs to validate them.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

func (OpaqueDeviceConfigurationPatchPtrOutput) Elem

func (OpaqueDeviceConfigurationPatchPtrOutput) ElementType

func (OpaqueDeviceConfigurationPatchPtrOutput) Parameters

Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion between different versions.

The length of the raw data must be smaller or equal to 10 Ki.

func (OpaqueDeviceConfigurationPatchPtrOutput) ToOpaqueDeviceConfigurationPatchPtrOutput

func (o OpaqueDeviceConfigurationPatchPtrOutput) ToOpaqueDeviceConfigurationPatchPtrOutput() OpaqueDeviceConfigurationPatchPtrOutput

func (OpaqueDeviceConfigurationPatchPtrOutput) ToOpaqueDeviceConfigurationPatchPtrOutputWithContext

func (o OpaqueDeviceConfigurationPatchPtrOutput) ToOpaqueDeviceConfigurationPatchPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPatchPtrOutput

type OpaqueDeviceConfigurationPtrInput

type OpaqueDeviceConfigurationPtrInput interface {
	pulumi.Input

	ToOpaqueDeviceConfigurationPtrOutput() OpaqueDeviceConfigurationPtrOutput
	ToOpaqueDeviceConfigurationPtrOutputWithContext(context.Context) OpaqueDeviceConfigurationPtrOutput
}

OpaqueDeviceConfigurationPtrInput is an input type that accepts OpaqueDeviceConfigurationArgs, OpaqueDeviceConfigurationPtr and OpaqueDeviceConfigurationPtrOutput values. You can construct a concrete instance of `OpaqueDeviceConfigurationPtrInput` via:

        OpaqueDeviceConfigurationArgs{...}

or:

        nil

type OpaqueDeviceConfigurationPtrOutput

type OpaqueDeviceConfigurationPtrOutput struct{ *pulumi.OutputState }

func (OpaqueDeviceConfigurationPtrOutput) Driver

Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.

An admission policy provided by the driver developer could use this to decide whether it needs to validate them.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

func (OpaqueDeviceConfigurationPtrOutput) Elem

func (OpaqueDeviceConfigurationPtrOutput) ElementType

func (OpaqueDeviceConfigurationPtrOutput) Parameters

Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion between different versions.

The length of the raw data must be smaller or equal to 10 Ki.

func (OpaqueDeviceConfigurationPtrOutput) ToOpaqueDeviceConfigurationPtrOutput

func (o OpaqueDeviceConfigurationPtrOutput) ToOpaqueDeviceConfigurationPtrOutput() OpaqueDeviceConfigurationPtrOutput

func (OpaqueDeviceConfigurationPtrOutput) ToOpaqueDeviceConfigurationPtrOutputWithContext

func (o OpaqueDeviceConfigurationPtrOutput) ToOpaqueDeviceConfigurationPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPtrOutput

type ResourceClaim

type ResourceClaim struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaOutput `pulumi:"metadata"`
	// Spec describes what is being requested and how to configure it. The spec is immutable.
	Spec ResourceClaimSpecOutput `pulumi:"spec"`
	// Status describes whether the claim is ready to use and what has been allocated.
	Status ResourceClaimStatusPtrOutput `pulumi:"status"`
}

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.

func GetResourceClaim

func GetResourceClaim(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceClaimState, opts ...pulumi.ResourceOption) (*ResourceClaim, error)

GetResourceClaim gets an existing ResourceClaim resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceClaim

func NewResourceClaim(ctx *pulumi.Context,
	name string, args *ResourceClaimArgs, opts ...pulumi.ResourceOption) (*ResourceClaim, error)

NewResourceClaim registers a new resource with the given unique name, arguments, and options.

func (*ResourceClaim) ElementType

func (*ResourceClaim) ElementType() reflect.Type

func (*ResourceClaim) ToResourceClaimOutput

func (i *ResourceClaim) ToResourceClaimOutput() ResourceClaimOutput

func (*ResourceClaim) ToResourceClaimOutputWithContext

func (i *ResourceClaim) ToResourceClaimOutputWithContext(ctx context.Context) ResourceClaimOutput

type ResourceClaimArgs

type ResourceClaimArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata
	Metadata metav1.ObjectMetaPtrInput
	// Spec describes what is being requested and how to configure it. The spec is immutable.
	Spec ResourceClaimSpecInput
}

The set of arguments for constructing a ResourceClaim resource.

func (ResourceClaimArgs) ElementType

func (ResourceClaimArgs) ElementType() reflect.Type

type ResourceClaimArray

type ResourceClaimArray []ResourceClaimInput

func (ResourceClaimArray) ElementType

func (ResourceClaimArray) ElementType() reflect.Type

func (ResourceClaimArray) ToResourceClaimArrayOutput

func (i ResourceClaimArray) ToResourceClaimArrayOutput() ResourceClaimArrayOutput

func (ResourceClaimArray) ToResourceClaimArrayOutputWithContext

func (i ResourceClaimArray) ToResourceClaimArrayOutputWithContext(ctx context.Context) ResourceClaimArrayOutput

type ResourceClaimArrayInput

type ResourceClaimArrayInput interface {
	pulumi.Input

	ToResourceClaimArrayOutput() ResourceClaimArrayOutput
	ToResourceClaimArrayOutputWithContext(context.Context) ResourceClaimArrayOutput
}

ResourceClaimArrayInput is an input type that accepts ResourceClaimArray and ResourceClaimArrayOutput values. You can construct a concrete instance of `ResourceClaimArrayInput` via:

ResourceClaimArray{ ResourceClaimArgs{...} }

type ResourceClaimArrayOutput

type ResourceClaimArrayOutput struct{ *pulumi.OutputState }

func (ResourceClaimArrayOutput) ElementType

func (ResourceClaimArrayOutput) ElementType() reflect.Type

func (ResourceClaimArrayOutput) Index

func (ResourceClaimArrayOutput) ToResourceClaimArrayOutput

func (o ResourceClaimArrayOutput) ToResourceClaimArrayOutput() ResourceClaimArrayOutput

func (ResourceClaimArrayOutput) ToResourceClaimArrayOutputWithContext

func (o ResourceClaimArrayOutput) ToResourceClaimArrayOutputWithContext(ctx context.Context) ResourceClaimArrayOutput

type ResourceClaimConsumerReference

type ResourceClaimConsumerReference struct {
	// APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
	ApiGroup *string `pulumi:"apiGroup"`
	// Name is the name of resource being referenced.
	Name string `pulumi:"name"`
	// Resource is the type of resource being referenced, for example "pods".
	Resource string `pulumi:"resource"`
	// UID identifies exactly one incarnation of the resource.
	Uid string `pulumi:"uid"`
}

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.

type ResourceClaimConsumerReferenceArgs

type ResourceClaimConsumerReferenceArgs struct {
	// APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
	ApiGroup pulumi.StringPtrInput `pulumi:"apiGroup"`
	// Name is the name of resource being referenced.
	Name pulumi.StringInput `pulumi:"name"`
	// Resource is the type of resource being referenced, for example "pods".
	Resource pulumi.StringInput `pulumi:"resource"`
	// UID identifies exactly one incarnation of the resource.
	Uid pulumi.StringInput `pulumi:"uid"`
}

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.

func (ResourceClaimConsumerReferenceArgs) ElementType

func (ResourceClaimConsumerReferenceArgs) ToResourceClaimConsumerReferenceOutput

func (i ResourceClaimConsumerReferenceArgs) ToResourceClaimConsumerReferenceOutput() ResourceClaimConsumerReferenceOutput

func (ResourceClaimConsumerReferenceArgs) ToResourceClaimConsumerReferenceOutputWithContext

func (i ResourceClaimConsumerReferenceArgs) ToResourceClaimConsumerReferenceOutputWithContext(ctx context.Context) ResourceClaimConsumerReferenceOutput

type ResourceClaimConsumerReferenceArray

type ResourceClaimConsumerReferenceArray []ResourceClaimConsumerReferenceInput

func (ResourceClaimConsumerReferenceArray) ElementType

func (ResourceClaimConsumerReferenceArray) ToResourceClaimConsumerReferenceArrayOutput

func (i ResourceClaimConsumerReferenceArray) ToResourceClaimConsumerReferenceArrayOutput() ResourceClaimConsumerReferenceArrayOutput

func (ResourceClaimConsumerReferenceArray) ToResourceClaimConsumerReferenceArrayOutputWithContext

func (i ResourceClaimConsumerReferenceArray) ToResourceClaimConsumerReferenceArrayOutputWithContext(ctx context.Context) ResourceClaimConsumerReferenceArrayOutput

type ResourceClaimConsumerReferenceArrayInput

type ResourceClaimConsumerReferenceArrayInput interface {
	pulumi.Input

	ToResourceClaimConsumerReferenceArrayOutput() ResourceClaimConsumerReferenceArrayOutput
	ToResourceClaimConsumerReferenceArrayOutputWithContext(context.Context) ResourceClaimConsumerReferenceArrayOutput
}

ResourceClaimConsumerReferenceArrayInput is an input type that accepts ResourceClaimConsumerReferenceArray and ResourceClaimConsumerReferenceArrayOutput values. You can construct a concrete instance of `ResourceClaimConsumerReferenceArrayInput` via:

ResourceClaimConsumerReferenceArray{ ResourceClaimConsumerReferenceArgs{...} }

type ResourceClaimConsumerReferenceArrayOutput

type ResourceClaimConsumerReferenceArrayOutput struct{ *pulumi.OutputState }

func (ResourceClaimConsumerReferenceArrayOutput) ElementType

func (ResourceClaimConsumerReferenceArrayOutput) Index

func (ResourceClaimConsumerReferenceArrayOutput) ToResourceClaimConsumerReferenceArrayOutput

func (o ResourceClaimConsumerReferenceArrayOutput) ToResourceClaimConsumerReferenceArrayOutput() ResourceClaimConsumerReferenceArrayOutput

func (ResourceClaimConsumerReferenceArrayOutput) ToResourceClaimConsumerReferenceArrayOutputWithContext

func (o ResourceClaimConsumerReferenceArrayOutput) ToResourceClaimConsumerReferenceArrayOutputWithContext(ctx context.Context) ResourceClaimConsumerReferenceArrayOutput

type ResourceClaimConsumerReferenceInput

type ResourceClaimConsumerReferenceInput interface {
	pulumi.Input

	ToResourceClaimConsumerReferenceOutput() ResourceClaimConsumerReferenceOutput
	ToResourceClaimConsumerReferenceOutputWithContext(context.Context) ResourceClaimConsumerReferenceOutput
}

ResourceClaimConsumerReferenceInput is an input type that accepts ResourceClaimConsumerReferenceArgs and ResourceClaimConsumerReferenceOutput values. You can construct a concrete instance of `ResourceClaimConsumerReferenceInput` via:

ResourceClaimConsumerReferenceArgs{...}

type ResourceClaimConsumerReferenceOutput

type ResourceClaimConsumerReferenceOutput struct{ *pulumi.OutputState }

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.

func (ResourceClaimConsumerReferenceOutput) ApiGroup

APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.

func (ResourceClaimConsumerReferenceOutput) ElementType

func (ResourceClaimConsumerReferenceOutput) Name

Name is the name of resource being referenced.

func (ResourceClaimConsumerReferenceOutput) Resource

Resource is the type of resource being referenced, for example "pods".

func (ResourceClaimConsumerReferenceOutput) ToResourceClaimConsumerReferenceOutput

func (o ResourceClaimConsumerReferenceOutput) ToResourceClaimConsumerReferenceOutput() ResourceClaimConsumerReferenceOutput

func (ResourceClaimConsumerReferenceOutput) ToResourceClaimConsumerReferenceOutputWithContext

func (o ResourceClaimConsumerReferenceOutput) ToResourceClaimConsumerReferenceOutputWithContext(ctx context.Context) ResourceClaimConsumerReferenceOutput

func (ResourceClaimConsumerReferenceOutput) Uid

UID identifies exactly one incarnation of the resource.

type ResourceClaimConsumerReferencePatch

type ResourceClaimConsumerReferencePatch struct {
	// APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
	ApiGroup *string `pulumi:"apiGroup"`
	// Name is the name of resource being referenced.
	Name *string `pulumi:"name"`
	// Resource is the type of resource being referenced, for example "pods".
	Resource *string `pulumi:"resource"`
	// UID identifies exactly one incarnation of the resource.
	Uid *string `pulumi:"uid"`
}

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.

type ResourceClaimConsumerReferencePatchArgs

type ResourceClaimConsumerReferencePatchArgs struct {
	// APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
	ApiGroup pulumi.StringPtrInput `pulumi:"apiGroup"`
	// Name is the name of resource being referenced.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Resource is the type of resource being referenced, for example "pods".
	Resource pulumi.StringPtrInput `pulumi:"resource"`
	// UID identifies exactly one incarnation of the resource.
	Uid pulumi.StringPtrInput `pulumi:"uid"`
}

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.

func (ResourceClaimConsumerReferencePatchArgs) ElementType

func (ResourceClaimConsumerReferencePatchArgs) ToResourceClaimConsumerReferencePatchOutput

func (i ResourceClaimConsumerReferencePatchArgs) ToResourceClaimConsumerReferencePatchOutput() ResourceClaimConsumerReferencePatchOutput

func (ResourceClaimConsumerReferencePatchArgs) ToResourceClaimConsumerReferencePatchOutputWithContext

func (i ResourceClaimConsumerReferencePatchArgs) ToResourceClaimConsumerReferencePatchOutputWithContext(ctx context.Context) ResourceClaimConsumerReferencePatchOutput

type ResourceClaimConsumerReferencePatchArray

type ResourceClaimConsumerReferencePatchArray []ResourceClaimConsumerReferencePatchInput

func (ResourceClaimConsumerReferencePatchArray) ElementType

func (ResourceClaimConsumerReferencePatchArray) ToResourceClaimConsumerReferencePatchArrayOutput

func (i ResourceClaimConsumerReferencePatchArray) ToResourceClaimConsumerReferencePatchArrayOutput() ResourceClaimConsumerReferencePatchArrayOutput

func (ResourceClaimConsumerReferencePatchArray) ToResourceClaimConsumerReferencePatchArrayOutputWithContext

func (i ResourceClaimConsumerReferencePatchArray) ToResourceClaimConsumerReferencePatchArrayOutputWithContext(ctx context.Context) ResourceClaimConsumerReferencePatchArrayOutput

type ResourceClaimConsumerReferencePatchArrayInput

type ResourceClaimConsumerReferencePatchArrayInput interface {
	pulumi.Input

	ToResourceClaimConsumerReferencePatchArrayOutput() ResourceClaimConsumerReferencePatchArrayOutput
	ToResourceClaimConsumerReferencePatchArrayOutputWithContext(context.Context) ResourceClaimConsumerReferencePatchArrayOutput
}

ResourceClaimConsumerReferencePatchArrayInput is an input type that accepts ResourceClaimConsumerReferencePatchArray and ResourceClaimConsumerReferencePatchArrayOutput values. You can construct a concrete instance of `ResourceClaimConsumerReferencePatchArrayInput` via:

ResourceClaimConsumerReferencePatchArray{ ResourceClaimConsumerReferencePatchArgs{...} }

type ResourceClaimConsumerReferencePatchArrayOutput

type ResourceClaimConsumerReferencePatchArrayOutput struct{ *pulumi.OutputState }

func (ResourceClaimConsumerReferencePatchArrayOutput) ElementType

func (ResourceClaimConsumerReferencePatchArrayOutput) Index

func (ResourceClaimConsumerReferencePatchArrayOutput) ToResourceClaimConsumerReferencePatchArrayOutput

func (o ResourceClaimConsumerReferencePatchArrayOutput) ToResourceClaimConsumerReferencePatchArrayOutput() ResourceClaimConsumerReferencePatchArrayOutput

func (ResourceClaimConsumerReferencePatchArrayOutput) ToResourceClaimConsumerReferencePatchArrayOutputWithContext

func (o ResourceClaimConsumerReferencePatchArrayOutput) ToResourceClaimConsumerReferencePatchArrayOutputWithContext(ctx context.Context) ResourceClaimConsumerReferencePatchArrayOutput

type ResourceClaimConsumerReferencePatchInput

type ResourceClaimConsumerReferencePatchInput interface {
	pulumi.Input

	ToResourceClaimConsumerReferencePatchOutput() ResourceClaimConsumerReferencePatchOutput
	ToResourceClaimConsumerReferencePatchOutputWithContext(context.Context) ResourceClaimConsumerReferencePatchOutput
}

ResourceClaimConsumerReferencePatchInput is an input type that accepts ResourceClaimConsumerReferencePatchArgs and ResourceClaimConsumerReferencePatchOutput values. You can construct a concrete instance of `ResourceClaimConsumerReferencePatchInput` via:

ResourceClaimConsumerReferencePatchArgs{...}

type ResourceClaimConsumerReferencePatchOutput

type ResourceClaimConsumerReferencePatchOutput struct{ *pulumi.OutputState }

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.

func (ResourceClaimConsumerReferencePatchOutput) ApiGroup

APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.

func (ResourceClaimConsumerReferencePatchOutput) ElementType

func (ResourceClaimConsumerReferencePatchOutput) Name

Name is the name of resource being referenced.

func (ResourceClaimConsumerReferencePatchOutput) Resource

Resource is the type of resource being referenced, for example "pods".

func (ResourceClaimConsumerReferencePatchOutput) ToResourceClaimConsumerReferencePatchOutput

func (o ResourceClaimConsumerReferencePatchOutput) ToResourceClaimConsumerReferencePatchOutput() ResourceClaimConsumerReferencePatchOutput

func (ResourceClaimConsumerReferencePatchOutput) ToResourceClaimConsumerReferencePatchOutputWithContext

func (o ResourceClaimConsumerReferencePatchOutput) ToResourceClaimConsumerReferencePatchOutputWithContext(ctx context.Context) ResourceClaimConsumerReferencePatchOutput

func (ResourceClaimConsumerReferencePatchOutput) Uid

UID identifies exactly one incarnation of the resource.

type ResourceClaimInput

type ResourceClaimInput interface {
	pulumi.Input

	ToResourceClaimOutput() ResourceClaimOutput
	ToResourceClaimOutputWithContext(ctx context.Context) ResourceClaimOutput
}

type ResourceClaimList

type ResourceClaimList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// Items is the list of resource claims.
	Items ResourceClaimTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard list metadata
	Metadata metav1.ListMetaOutput `pulumi:"metadata"`
}

ResourceClaimList is a collection of claims.

func GetResourceClaimList

func GetResourceClaimList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceClaimListState, opts ...pulumi.ResourceOption) (*ResourceClaimList, error)

GetResourceClaimList gets an existing ResourceClaimList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceClaimList

func NewResourceClaimList(ctx *pulumi.Context,
	name string, args *ResourceClaimListArgs, opts ...pulumi.ResourceOption) (*ResourceClaimList, error)

NewResourceClaimList registers a new resource with the given unique name, arguments, and options.

func (*ResourceClaimList) ElementType

func (*ResourceClaimList) ElementType() reflect.Type

func (*ResourceClaimList) ToResourceClaimListOutput

func (i *ResourceClaimList) ToResourceClaimListOutput() ResourceClaimListOutput

func (*ResourceClaimList) ToResourceClaimListOutputWithContext

func (i *ResourceClaimList) ToResourceClaimListOutputWithContext(ctx context.Context) ResourceClaimListOutput

type ResourceClaimListArgs

type ResourceClaimListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Items is the list of resource claims.
	Items ResourceClaimTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a ResourceClaimList resource.

func (ResourceClaimListArgs) ElementType

func (ResourceClaimListArgs) ElementType() reflect.Type

type ResourceClaimListArray

type ResourceClaimListArray []ResourceClaimListInput

func (ResourceClaimListArray) ElementType

func (ResourceClaimListArray) ElementType() reflect.Type

func (ResourceClaimListArray) ToResourceClaimListArrayOutput

func (i ResourceClaimListArray) ToResourceClaimListArrayOutput() ResourceClaimListArrayOutput

func (ResourceClaimListArray) ToResourceClaimListArrayOutputWithContext

func (i ResourceClaimListArray) ToResourceClaimListArrayOutputWithContext(ctx context.Context) ResourceClaimListArrayOutput

type ResourceClaimListArrayInput

type ResourceClaimListArrayInput interface {
	pulumi.Input

	ToResourceClaimListArrayOutput() ResourceClaimListArrayOutput
	ToResourceClaimListArrayOutputWithContext(context.Context) ResourceClaimListArrayOutput
}

ResourceClaimListArrayInput is an input type that accepts ResourceClaimListArray and ResourceClaimListArrayOutput values. You can construct a concrete instance of `ResourceClaimListArrayInput` via:

ResourceClaimListArray{ ResourceClaimListArgs{...} }

type ResourceClaimListArrayOutput

type ResourceClaimListArrayOutput struct{ *pulumi.OutputState }

func (ResourceClaimListArrayOutput) ElementType

func (ResourceClaimListArrayOutput) Index

func (ResourceClaimListArrayOutput) ToResourceClaimListArrayOutput

func (o ResourceClaimListArrayOutput) ToResourceClaimListArrayOutput() ResourceClaimListArrayOutput

func (ResourceClaimListArrayOutput) ToResourceClaimListArrayOutputWithContext

func (o ResourceClaimListArrayOutput) ToResourceClaimListArrayOutputWithContext(ctx context.Context) ResourceClaimListArrayOutput

type ResourceClaimListInput

type ResourceClaimListInput interface {
	pulumi.Input

	ToResourceClaimListOutput() ResourceClaimListOutput
	ToResourceClaimListOutputWithContext(ctx context.Context) ResourceClaimListOutput
}

type ResourceClaimListMap

type ResourceClaimListMap map[string]ResourceClaimListInput

func (ResourceClaimListMap) ElementType

func (ResourceClaimListMap) ElementType() reflect.Type

func (ResourceClaimListMap) ToResourceClaimListMapOutput

func (i ResourceClaimListMap) ToResourceClaimListMapOutput() ResourceClaimListMapOutput

func (ResourceClaimListMap) ToResourceClaimListMapOutputWithContext

func (i ResourceClaimListMap) ToResourceClaimListMapOutputWithContext(ctx context.Context) ResourceClaimListMapOutput

type ResourceClaimListMapInput

type ResourceClaimListMapInput interface {
	pulumi.Input

	ToResourceClaimListMapOutput() ResourceClaimListMapOutput
	ToResourceClaimListMapOutputWithContext(context.Context) ResourceClaimListMapOutput
}

ResourceClaimListMapInput is an input type that accepts ResourceClaimListMap and ResourceClaimListMapOutput values. You can construct a concrete instance of `ResourceClaimListMapInput` via:

ResourceClaimListMap{ "key": ResourceClaimListArgs{...} }

type ResourceClaimListMapOutput

type ResourceClaimListMapOutput struct{ *pulumi.OutputState }

func (ResourceClaimListMapOutput) ElementType

func (ResourceClaimListMapOutput) ElementType() reflect.Type

func (ResourceClaimListMapOutput) MapIndex

func (ResourceClaimListMapOutput) ToResourceClaimListMapOutput

func (o ResourceClaimListMapOutput) ToResourceClaimListMapOutput() ResourceClaimListMapOutput

func (ResourceClaimListMapOutput) ToResourceClaimListMapOutputWithContext

func (o ResourceClaimListMapOutput) ToResourceClaimListMapOutputWithContext(ctx context.Context) ResourceClaimListMapOutput

type ResourceClaimListOutput

type ResourceClaimListOutput struct{ *pulumi.OutputState }

func (ResourceClaimListOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimListOutput) ElementType

func (ResourceClaimListOutput) ElementType() reflect.Type

func (ResourceClaimListOutput) Items

Items is the list of resource claims.

func (ResourceClaimListOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimListOutput) Metadata

Standard list metadata

func (ResourceClaimListOutput) ToResourceClaimListOutput

func (o ResourceClaimListOutput) ToResourceClaimListOutput() ResourceClaimListOutput

func (ResourceClaimListOutput) ToResourceClaimListOutputWithContext

func (o ResourceClaimListOutput) ToResourceClaimListOutputWithContext(ctx context.Context) ResourceClaimListOutput

type ResourceClaimListState

type ResourceClaimListState struct {
}

func (ResourceClaimListState) ElementType

func (ResourceClaimListState) ElementType() reflect.Type

type ResourceClaimListType

type ResourceClaimListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Items is the list of resource claims.
	Items []ResourceClaimType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard list metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

ResourceClaimList is a collection of claims.

type ResourceClaimListTypeArgs

type ResourceClaimListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Items is the list of resource claims.
	Items ResourceClaimTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard list metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

ResourceClaimList is a collection of claims.

func (ResourceClaimListTypeArgs) ElementType

func (ResourceClaimListTypeArgs) ElementType() reflect.Type

func (ResourceClaimListTypeArgs) ToResourceClaimListTypeOutput

func (i ResourceClaimListTypeArgs) ToResourceClaimListTypeOutput() ResourceClaimListTypeOutput

func (ResourceClaimListTypeArgs) ToResourceClaimListTypeOutputWithContext

func (i ResourceClaimListTypeArgs) ToResourceClaimListTypeOutputWithContext(ctx context.Context) ResourceClaimListTypeOutput

type ResourceClaimListTypeInput

type ResourceClaimListTypeInput interface {
	pulumi.Input

	ToResourceClaimListTypeOutput() ResourceClaimListTypeOutput
	ToResourceClaimListTypeOutputWithContext(context.Context) ResourceClaimListTypeOutput
}

ResourceClaimListTypeInput is an input type that accepts ResourceClaimListTypeArgs and ResourceClaimListTypeOutput values. You can construct a concrete instance of `ResourceClaimListTypeInput` via:

ResourceClaimListTypeArgs{...}

type ResourceClaimListTypeOutput

type ResourceClaimListTypeOutput struct{ *pulumi.OutputState }

ResourceClaimList is a collection of claims.

func (ResourceClaimListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimListTypeOutput) ElementType

func (ResourceClaimListTypeOutput) Items

Items is the list of resource claims.

func (ResourceClaimListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimListTypeOutput) Metadata

Standard list metadata

func (ResourceClaimListTypeOutput) ToResourceClaimListTypeOutput

func (o ResourceClaimListTypeOutput) ToResourceClaimListTypeOutput() ResourceClaimListTypeOutput

func (ResourceClaimListTypeOutput) ToResourceClaimListTypeOutputWithContext

func (o ResourceClaimListTypeOutput) ToResourceClaimListTypeOutputWithContext(ctx context.Context) ResourceClaimListTypeOutput

type ResourceClaimMap

type ResourceClaimMap map[string]ResourceClaimInput

func (ResourceClaimMap) ElementType

func (ResourceClaimMap) ElementType() reflect.Type

func (ResourceClaimMap) ToResourceClaimMapOutput

func (i ResourceClaimMap) ToResourceClaimMapOutput() ResourceClaimMapOutput

func (ResourceClaimMap) ToResourceClaimMapOutputWithContext

func (i ResourceClaimMap) ToResourceClaimMapOutputWithContext(ctx context.Context) ResourceClaimMapOutput

type ResourceClaimMapInput

type ResourceClaimMapInput interface {
	pulumi.Input

	ToResourceClaimMapOutput() ResourceClaimMapOutput
	ToResourceClaimMapOutputWithContext(context.Context) ResourceClaimMapOutput
}

ResourceClaimMapInput is an input type that accepts ResourceClaimMap and ResourceClaimMapOutput values. You can construct a concrete instance of `ResourceClaimMapInput` via:

ResourceClaimMap{ "key": ResourceClaimArgs{...} }

type ResourceClaimMapOutput

type ResourceClaimMapOutput struct{ *pulumi.OutputState }

func (ResourceClaimMapOutput) ElementType

func (ResourceClaimMapOutput) ElementType() reflect.Type

func (ResourceClaimMapOutput) MapIndex

func (ResourceClaimMapOutput) ToResourceClaimMapOutput

func (o ResourceClaimMapOutput) ToResourceClaimMapOutput() ResourceClaimMapOutput

func (ResourceClaimMapOutput) ToResourceClaimMapOutputWithContext

func (o ResourceClaimMapOutput) ToResourceClaimMapOutputWithContext(ctx context.Context) ResourceClaimMapOutput

type ResourceClaimOutput

type ResourceClaimOutput struct{ *pulumi.OutputState }

func (ResourceClaimOutput) ApiVersion

func (o ResourceClaimOutput) ApiVersion() pulumi.StringOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimOutput) ElementType

func (ResourceClaimOutput) ElementType() reflect.Type

func (ResourceClaimOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimOutput) Metadata

Standard object metadata

func (ResourceClaimOutput) Spec

Spec describes what is being requested and how to configure it. The spec is immutable.

func (ResourceClaimOutput) Status

Status describes whether the claim is ready to use and what has been allocated.

func (ResourceClaimOutput) ToResourceClaimOutput

func (o ResourceClaimOutput) ToResourceClaimOutput() ResourceClaimOutput

func (ResourceClaimOutput) ToResourceClaimOutputWithContext

func (o ResourceClaimOutput) ToResourceClaimOutputWithContext(ctx context.Context) ResourceClaimOutput

type ResourceClaimPatch

type ResourceClaimPatch struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// Spec describes what is being requested and how to configure it. The spec is immutable.
	Spec ResourceClaimSpecPatchPtrOutput `pulumi:"spec"`
	// Status describes whether the claim is ready to use and what has been allocated.
	Status ResourceClaimStatusPatchPtrOutput `pulumi:"status"`
}

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](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) 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.

func GetResourceClaimPatch

func GetResourceClaimPatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceClaimPatchState, opts ...pulumi.ResourceOption) (*ResourceClaimPatch, error)

GetResourceClaimPatch gets an existing ResourceClaimPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceClaimPatch

func NewResourceClaimPatch(ctx *pulumi.Context,
	name string, args *ResourceClaimPatchArgs, opts ...pulumi.ResourceOption) (*ResourceClaimPatch, error)

NewResourceClaimPatch registers a new resource with the given unique name, arguments, and options.

func (*ResourceClaimPatch) ElementType

func (*ResourceClaimPatch) ElementType() reflect.Type

func (*ResourceClaimPatch) ToResourceClaimPatchOutput

func (i *ResourceClaimPatch) ToResourceClaimPatchOutput() ResourceClaimPatchOutput

func (*ResourceClaimPatch) ToResourceClaimPatchOutputWithContext

func (i *ResourceClaimPatch) ToResourceClaimPatchOutputWithContext(ctx context.Context) ResourceClaimPatchOutput

type ResourceClaimPatchArgs

type ResourceClaimPatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrInput
	// Spec describes what is being requested and how to configure it. The spec is immutable.
	Spec ResourceClaimSpecPatchPtrInput
}

The set of arguments for constructing a ResourceClaimPatch resource.

func (ResourceClaimPatchArgs) ElementType

func (ResourceClaimPatchArgs) ElementType() reflect.Type

type ResourceClaimPatchArray

type ResourceClaimPatchArray []ResourceClaimPatchInput

func (ResourceClaimPatchArray) ElementType

func (ResourceClaimPatchArray) ElementType() reflect.Type

func (ResourceClaimPatchArray) ToResourceClaimPatchArrayOutput

func (i ResourceClaimPatchArray) ToResourceClaimPatchArrayOutput() ResourceClaimPatchArrayOutput

func (ResourceClaimPatchArray) ToResourceClaimPatchArrayOutputWithContext

func (i ResourceClaimPatchArray) ToResourceClaimPatchArrayOutputWithContext(ctx context.Context) ResourceClaimPatchArrayOutput

type ResourceClaimPatchArrayInput

type ResourceClaimPatchArrayInput interface {
	pulumi.Input

	ToResourceClaimPatchArrayOutput() ResourceClaimPatchArrayOutput
	ToResourceClaimPatchArrayOutputWithContext(context.Context) ResourceClaimPatchArrayOutput
}

ResourceClaimPatchArrayInput is an input type that accepts ResourceClaimPatchArray and ResourceClaimPatchArrayOutput values. You can construct a concrete instance of `ResourceClaimPatchArrayInput` via:

ResourceClaimPatchArray{ ResourceClaimPatchArgs{...} }

type ResourceClaimPatchArrayOutput

type ResourceClaimPatchArrayOutput struct{ *pulumi.OutputState }

func (ResourceClaimPatchArrayOutput) ElementType

func (ResourceClaimPatchArrayOutput) Index

func (ResourceClaimPatchArrayOutput) ToResourceClaimPatchArrayOutput

func (o ResourceClaimPatchArrayOutput) ToResourceClaimPatchArrayOutput() ResourceClaimPatchArrayOutput

func (ResourceClaimPatchArrayOutput) ToResourceClaimPatchArrayOutputWithContext

func (o ResourceClaimPatchArrayOutput) ToResourceClaimPatchArrayOutputWithContext(ctx context.Context) ResourceClaimPatchArrayOutput

type ResourceClaimPatchInput

type ResourceClaimPatchInput interface {
	pulumi.Input

	ToResourceClaimPatchOutput() ResourceClaimPatchOutput
	ToResourceClaimPatchOutputWithContext(ctx context.Context) ResourceClaimPatchOutput
}

type ResourceClaimPatchMap

type ResourceClaimPatchMap map[string]ResourceClaimPatchInput

func (ResourceClaimPatchMap) ElementType

func (ResourceClaimPatchMap) ElementType() reflect.Type

func (ResourceClaimPatchMap) ToResourceClaimPatchMapOutput

func (i ResourceClaimPatchMap) ToResourceClaimPatchMapOutput() ResourceClaimPatchMapOutput

func (ResourceClaimPatchMap) ToResourceClaimPatchMapOutputWithContext

func (i ResourceClaimPatchMap) ToResourceClaimPatchMapOutputWithContext(ctx context.Context) ResourceClaimPatchMapOutput

type ResourceClaimPatchMapInput

type ResourceClaimPatchMapInput interface {
	pulumi.Input

	ToResourceClaimPatchMapOutput() ResourceClaimPatchMapOutput
	ToResourceClaimPatchMapOutputWithContext(context.Context) ResourceClaimPatchMapOutput
}

ResourceClaimPatchMapInput is an input type that accepts ResourceClaimPatchMap and ResourceClaimPatchMapOutput values. You can construct a concrete instance of `ResourceClaimPatchMapInput` via:

ResourceClaimPatchMap{ "key": ResourceClaimPatchArgs{...} }

type ResourceClaimPatchMapOutput

type ResourceClaimPatchMapOutput struct{ *pulumi.OutputState }

func (ResourceClaimPatchMapOutput) ElementType

func (ResourceClaimPatchMapOutput) MapIndex

func (ResourceClaimPatchMapOutput) ToResourceClaimPatchMapOutput

func (o ResourceClaimPatchMapOutput) ToResourceClaimPatchMapOutput() ResourceClaimPatchMapOutput

func (ResourceClaimPatchMapOutput) ToResourceClaimPatchMapOutputWithContext

func (o ResourceClaimPatchMapOutput) ToResourceClaimPatchMapOutputWithContext(ctx context.Context) ResourceClaimPatchMapOutput

type ResourceClaimPatchOutput

type ResourceClaimPatchOutput struct{ *pulumi.OutputState }

func (ResourceClaimPatchOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimPatchOutput) ElementType

func (ResourceClaimPatchOutput) ElementType() reflect.Type

func (ResourceClaimPatchOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimPatchOutput) Metadata

Standard object metadata

func (ResourceClaimPatchOutput) Spec

Spec describes what is being requested and how to configure it. The spec is immutable.

func (ResourceClaimPatchOutput) Status

Status describes whether the claim is ready to use and what has been allocated.

func (ResourceClaimPatchOutput) ToResourceClaimPatchOutput

func (o ResourceClaimPatchOutput) ToResourceClaimPatchOutput() ResourceClaimPatchOutput

func (ResourceClaimPatchOutput) ToResourceClaimPatchOutputWithContext

func (o ResourceClaimPatchOutput) ToResourceClaimPatchOutputWithContext(ctx context.Context) ResourceClaimPatchOutput

type ResourceClaimPatchState

type ResourceClaimPatchState struct {
}

func (ResourceClaimPatchState) ElementType

func (ResourceClaimPatchState) ElementType() reflect.Type

type ResourceClaimPatchType

type ResourceClaimPatchType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Spec describes what is being requested and how to configure it. The spec is immutable.
	Spec *ResourceClaimSpecPatch `pulumi:"spec"`
	// Status describes whether the claim is ready to use and what has been allocated.
	Status *ResourceClaimStatusPatch `pulumi:"status"`
}

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.

type ResourceClaimPatchTypeArgs

type ResourceClaimPatchTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Spec describes what is being requested and how to configure it. The spec is immutable.
	Spec ResourceClaimSpecPatchPtrInput `pulumi:"spec"`
	// Status describes whether the claim is ready to use and what has been allocated.
	Status ResourceClaimStatusPatchPtrInput `pulumi:"status"`
}

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.

func (ResourceClaimPatchTypeArgs) ElementType

func (ResourceClaimPatchTypeArgs) ElementType() reflect.Type

func (ResourceClaimPatchTypeArgs) ToResourceClaimPatchTypeOutput

func (i ResourceClaimPatchTypeArgs) ToResourceClaimPatchTypeOutput() ResourceClaimPatchTypeOutput

func (ResourceClaimPatchTypeArgs) ToResourceClaimPatchTypeOutputWithContext

func (i ResourceClaimPatchTypeArgs) ToResourceClaimPatchTypeOutputWithContext(ctx context.Context) ResourceClaimPatchTypeOutput

type ResourceClaimPatchTypeInput

type ResourceClaimPatchTypeInput interface {
	pulumi.Input

	ToResourceClaimPatchTypeOutput() ResourceClaimPatchTypeOutput
	ToResourceClaimPatchTypeOutputWithContext(context.Context) ResourceClaimPatchTypeOutput
}

ResourceClaimPatchTypeInput is an input type that accepts ResourceClaimPatchTypeArgs and ResourceClaimPatchTypeOutput values. You can construct a concrete instance of `ResourceClaimPatchTypeInput` via:

ResourceClaimPatchTypeArgs{...}

type ResourceClaimPatchTypeOutput

type ResourceClaimPatchTypeOutput struct{ *pulumi.OutputState }

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.

func (ResourceClaimPatchTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimPatchTypeOutput) ElementType

func (ResourceClaimPatchTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimPatchTypeOutput) Metadata

Standard object metadata

func (ResourceClaimPatchTypeOutput) Spec

Spec describes what is being requested and how to configure it. The spec is immutable.

func (ResourceClaimPatchTypeOutput) Status

Status describes whether the claim is ready to use and what has been allocated.

func (ResourceClaimPatchTypeOutput) ToResourceClaimPatchTypeOutput

func (o ResourceClaimPatchTypeOutput) ToResourceClaimPatchTypeOutput() ResourceClaimPatchTypeOutput

func (ResourceClaimPatchTypeOutput) ToResourceClaimPatchTypeOutputWithContext

func (o ResourceClaimPatchTypeOutput) ToResourceClaimPatchTypeOutputWithContext(ctx context.Context) ResourceClaimPatchTypeOutput

type ResourceClaimSpec

type ResourceClaimSpec struct {
	// Devices defines how to request devices.
	Devices *DeviceClaim `pulumi:"devices"`
}

ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.

type ResourceClaimSpecArgs

type ResourceClaimSpecArgs struct {
	// Devices defines how to request devices.
	Devices DeviceClaimPtrInput `pulumi:"devices"`
}

ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.

func (ResourceClaimSpecArgs) ElementType

func (ResourceClaimSpecArgs) ElementType() reflect.Type

func (ResourceClaimSpecArgs) ToResourceClaimSpecOutput

func (i ResourceClaimSpecArgs) ToResourceClaimSpecOutput() ResourceClaimSpecOutput

func (ResourceClaimSpecArgs) ToResourceClaimSpecOutputWithContext

func (i ResourceClaimSpecArgs) ToResourceClaimSpecOutputWithContext(ctx context.Context) ResourceClaimSpecOutput

type ResourceClaimSpecInput

type ResourceClaimSpecInput interface {
	pulumi.Input

	ToResourceClaimSpecOutput() ResourceClaimSpecOutput
	ToResourceClaimSpecOutputWithContext(context.Context) ResourceClaimSpecOutput
}

ResourceClaimSpecInput is an input type that accepts ResourceClaimSpecArgs and ResourceClaimSpecOutput values. You can construct a concrete instance of `ResourceClaimSpecInput` via:

ResourceClaimSpecArgs{...}

type ResourceClaimSpecOutput

type ResourceClaimSpecOutput struct{ *pulumi.OutputState }

ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.

func (ResourceClaimSpecOutput) Devices

Devices defines how to request devices.

func (ResourceClaimSpecOutput) ElementType

func (ResourceClaimSpecOutput) ElementType() reflect.Type

func (ResourceClaimSpecOutput) ToResourceClaimSpecOutput

func (o ResourceClaimSpecOutput) ToResourceClaimSpecOutput() ResourceClaimSpecOutput

func (ResourceClaimSpecOutput) ToResourceClaimSpecOutputWithContext

func (o ResourceClaimSpecOutput) ToResourceClaimSpecOutputWithContext(ctx context.Context) ResourceClaimSpecOutput

type ResourceClaimSpecPatch

type ResourceClaimSpecPatch struct {
	// Devices defines how to request devices.
	Devices *DeviceClaimPatch `pulumi:"devices"`
}

ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.

type ResourceClaimSpecPatchArgs

type ResourceClaimSpecPatchArgs struct {
	// Devices defines how to request devices.
	Devices DeviceClaimPatchPtrInput `pulumi:"devices"`
}

ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.

func (ResourceClaimSpecPatchArgs) ElementType

func (ResourceClaimSpecPatchArgs) ElementType() reflect.Type

func (ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchOutput

func (i ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchOutput() ResourceClaimSpecPatchOutput

func (ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchOutputWithContext

func (i ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchOutputWithContext(ctx context.Context) ResourceClaimSpecPatchOutput

func (ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchPtrOutput

func (i ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchPtrOutput() ResourceClaimSpecPatchPtrOutput

func (ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchPtrOutputWithContext

func (i ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimSpecPatchPtrOutput

type ResourceClaimSpecPatchInput

type ResourceClaimSpecPatchInput interface {
	pulumi.Input

	ToResourceClaimSpecPatchOutput() ResourceClaimSpecPatchOutput
	ToResourceClaimSpecPatchOutputWithContext(context.Context) ResourceClaimSpecPatchOutput
}

ResourceClaimSpecPatchInput is an input type that accepts ResourceClaimSpecPatchArgs and ResourceClaimSpecPatchOutput values. You can construct a concrete instance of `ResourceClaimSpecPatchInput` via:

ResourceClaimSpecPatchArgs{...}

type ResourceClaimSpecPatchOutput

type ResourceClaimSpecPatchOutput struct{ *pulumi.OutputState }

ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.

func (ResourceClaimSpecPatchOutput) Devices

Devices defines how to request devices.

func (ResourceClaimSpecPatchOutput) ElementType

func (ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchOutput

func (o ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchOutput() ResourceClaimSpecPatchOutput

func (ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchOutputWithContext

func (o ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchOutputWithContext(ctx context.Context) ResourceClaimSpecPatchOutput

func (ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchPtrOutput

func (o ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchPtrOutput() ResourceClaimSpecPatchPtrOutput

func (ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchPtrOutputWithContext

func (o ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimSpecPatchPtrOutput

type ResourceClaimSpecPatchPtrInput

type ResourceClaimSpecPatchPtrInput interface {
	pulumi.Input

	ToResourceClaimSpecPatchPtrOutput() ResourceClaimSpecPatchPtrOutput
	ToResourceClaimSpecPatchPtrOutputWithContext(context.Context) ResourceClaimSpecPatchPtrOutput
}

ResourceClaimSpecPatchPtrInput is an input type that accepts ResourceClaimSpecPatchArgs, ResourceClaimSpecPatchPtr and ResourceClaimSpecPatchPtrOutput values. You can construct a concrete instance of `ResourceClaimSpecPatchPtrInput` via:

        ResourceClaimSpecPatchArgs{...}

or:

        nil

type ResourceClaimSpecPatchPtrOutput

type ResourceClaimSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (ResourceClaimSpecPatchPtrOutput) Devices

Devices defines how to request devices.

func (ResourceClaimSpecPatchPtrOutput) Elem

func (ResourceClaimSpecPatchPtrOutput) ElementType

func (ResourceClaimSpecPatchPtrOutput) ToResourceClaimSpecPatchPtrOutput

func (o ResourceClaimSpecPatchPtrOutput) ToResourceClaimSpecPatchPtrOutput() ResourceClaimSpecPatchPtrOutput

func (ResourceClaimSpecPatchPtrOutput) ToResourceClaimSpecPatchPtrOutputWithContext

func (o ResourceClaimSpecPatchPtrOutput) ToResourceClaimSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimSpecPatchPtrOutput

type ResourceClaimState

type ResourceClaimState struct {
}

func (ResourceClaimState) ElementType

func (ResourceClaimState) ElementType() reflect.Type

type ResourceClaimStatus

type ResourceClaimStatus struct {
	// Allocation is set once the claim has been allocated successfully.
	Allocation *AllocationResult `pulumi:"allocation"`
	// Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.
	Devices []AllocatedDeviceStatus `pulumi:"devices"`
	// ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.
	//
	// In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.
	//
	// Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.
	//
	// There can be at most 32 such reservations. This may get increased in the future, but not reduced.
	ReservedFor []ResourceClaimConsumerReference `pulumi:"reservedFor"`
}

ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.

type ResourceClaimStatusArgs

type ResourceClaimStatusArgs struct {
	// Allocation is set once the claim has been allocated successfully.
	Allocation AllocationResultPtrInput `pulumi:"allocation"`
	// Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.
	Devices AllocatedDeviceStatusArrayInput `pulumi:"devices"`
	// ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.
	//
	// In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.
	//
	// Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.
	//
	// There can be at most 32 such reservations. This may get increased in the future, but not reduced.
	ReservedFor ResourceClaimConsumerReferenceArrayInput `pulumi:"reservedFor"`
}

ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.

func (ResourceClaimStatusArgs) ElementType

func (ResourceClaimStatusArgs) ElementType() reflect.Type

func (ResourceClaimStatusArgs) ToResourceClaimStatusOutput

func (i ResourceClaimStatusArgs) ToResourceClaimStatusOutput() ResourceClaimStatusOutput

func (ResourceClaimStatusArgs) ToResourceClaimStatusOutputWithContext

func (i ResourceClaimStatusArgs) ToResourceClaimStatusOutputWithContext(ctx context.Context) ResourceClaimStatusOutput

func (ResourceClaimStatusArgs) ToResourceClaimStatusPtrOutput

func (i ResourceClaimStatusArgs) ToResourceClaimStatusPtrOutput() ResourceClaimStatusPtrOutput

func (ResourceClaimStatusArgs) ToResourceClaimStatusPtrOutputWithContext

func (i ResourceClaimStatusArgs) ToResourceClaimStatusPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPtrOutput

type ResourceClaimStatusInput

type ResourceClaimStatusInput interface {
	pulumi.Input

	ToResourceClaimStatusOutput() ResourceClaimStatusOutput
	ToResourceClaimStatusOutputWithContext(context.Context) ResourceClaimStatusOutput
}

ResourceClaimStatusInput is an input type that accepts ResourceClaimStatusArgs and ResourceClaimStatusOutput values. You can construct a concrete instance of `ResourceClaimStatusInput` via:

ResourceClaimStatusArgs{...}

type ResourceClaimStatusOutput

type ResourceClaimStatusOutput struct{ *pulumi.OutputState }

ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.

func (ResourceClaimStatusOutput) Allocation

Allocation is set once the claim has been allocated successfully.

func (ResourceClaimStatusOutput) Devices

Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.

func (ResourceClaimStatusOutput) ElementType

func (ResourceClaimStatusOutput) ElementType() reflect.Type

func (ResourceClaimStatusOutput) ReservedFor

ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.

In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.

Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.

There can be at most 32 such reservations. This may get increased in the future, but not reduced.

func (ResourceClaimStatusOutput) ToResourceClaimStatusOutput

func (o ResourceClaimStatusOutput) ToResourceClaimStatusOutput() ResourceClaimStatusOutput

func (ResourceClaimStatusOutput) ToResourceClaimStatusOutputWithContext

func (o ResourceClaimStatusOutput) ToResourceClaimStatusOutputWithContext(ctx context.Context) ResourceClaimStatusOutput

func (ResourceClaimStatusOutput) ToResourceClaimStatusPtrOutput

func (o ResourceClaimStatusOutput) ToResourceClaimStatusPtrOutput() ResourceClaimStatusPtrOutput

func (ResourceClaimStatusOutput) ToResourceClaimStatusPtrOutputWithContext

func (o ResourceClaimStatusOutput) ToResourceClaimStatusPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPtrOutput

type ResourceClaimStatusPatch

type ResourceClaimStatusPatch struct {
	// Allocation is set once the claim has been allocated successfully.
	Allocation *AllocationResultPatch `pulumi:"allocation"`
	// Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.
	Devices []AllocatedDeviceStatusPatch `pulumi:"devices"`
	// ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.
	//
	// In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.
	//
	// Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.
	//
	// There can be at most 32 such reservations. This may get increased in the future, but not reduced.
	ReservedFor []ResourceClaimConsumerReferencePatch `pulumi:"reservedFor"`
}

ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.

type ResourceClaimStatusPatchArgs

type ResourceClaimStatusPatchArgs struct {
	// Allocation is set once the claim has been allocated successfully.
	Allocation AllocationResultPatchPtrInput `pulumi:"allocation"`
	// Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.
	Devices AllocatedDeviceStatusPatchArrayInput `pulumi:"devices"`
	// ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.
	//
	// In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.
	//
	// Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.
	//
	// There can be at most 32 such reservations. This may get increased in the future, but not reduced.
	ReservedFor ResourceClaimConsumerReferencePatchArrayInput `pulumi:"reservedFor"`
}

ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.

func (ResourceClaimStatusPatchArgs) ElementType

func (ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchOutput

func (i ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchOutput() ResourceClaimStatusPatchOutput

func (ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchOutputWithContext

func (i ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchOutputWithContext(ctx context.Context) ResourceClaimStatusPatchOutput

func (ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchPtrOutput

func (i ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchPtrOutput() ResourceClaimStatusPatchPtrOutput

func (ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchPtrOutputWithContext

func (i ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPatchPtrOutput

type ResourceClaimStatusPatchInput

type ResourceClaimStatusPatchInput interface {
	pulumi.Input

	ToResourceClaimStatusPatchOutput() ResourceClaimStatusPatchOutput
	ToResourceClaimStatusPatchOutputWithContext(context.Context) ResourceClaimStatusPatchOutput
}

ResourceClaimStatusPatchInput is an input type that accepts ResourceClaimStatusPatchArgs and ResourceClaimStatusPatchOutput values. You can construct a concrete instance of `ResourceClaimStatusPatchInput` via:

ResourceClaimStatusPatchArgs{...}

type ResourceClaimStatusPatchOutput

type ResourceClaimStatusPatchOutput struct{ *pulumi.OutputState }

ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.

func (ResourceClaimStatusPatchOutput) Allocation

Allocation is set once the claim has been allocated successfully.

func (ResourceClaimStatusPatchOutput) Devices

Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.

func (ResourceClaimStatusPatchOutput) ElementType

func (ResourceClaimStatusPatchOutput) ReservedFor

ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.

In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.

Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.

There can be at most 32 such reservations. This may get increased in the future, but not reduced.

func (ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchOutput

func (o ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchOutput() ResourceClaimStatusPatchOutput

func (ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchOutputWithContext

func (o ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchOutputWithContext(ctx context.Context) ResourceClaimStatusPatchOutput

func (ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchPtrOutput

func (o ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchPtrOutput() ResourceClaimStatusPatchPtrOutput

func (ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchPtrOutputWithContext

func (o ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPatchPtrOutput

type ResourceClaimStatusPatchPtrInput

type ResourceClaimStatusPatchPtrInput interface {
	pulumi.Input

	ToResourceClaimStatusPatchPtrOutput() ResourceClaimStatusPatchPtrOutput
	ToResourceClaimStatusPatchPtrOutputWithContext(context.Context) ResourceClaimStatusPatchPtrOutput
}

ResourceClaimStatusPatchPtrInput is an input type that accepts ResourceClaimStatusPatchArgs, ResourceClaimStatusPatchPtr and ResourceClaimStatusPatchPtrOutput values. You can construct a concrete instance of `ResourceClaimStatusPatchPtrInput` via:

        ResourceClaimStatusPatchArgs{...}

or:

        nil

type ResourceClaimStatusPatchPtrOutput

type ResourceClaimStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (ResourceClaimStatusPatchPtrOutput) Allocation

Allocation is set once the claim has been allocated successfully.

func (ResourceClaimStatusPatchPtrOutput) Devices

Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.

func (ResourceClaimStatusPatchPtrOutput) Elem

func (ResourceClaimStatusPatchPtrOutput) ElementType

func (ResourceClaimStatusPatchPtrOutput) ReservedFor

ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.

In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.

Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.

There can be at most 32 such reservations. This may get increased in the future, but not reduced.

func (ResourceClaimStatusPatchPtrOutput) ToResourceClaimStatusPatchPtrOutput

func (o ResourceClaimStatusPatchPtrOutput) ToResourceClaimStatusPatchPtrOutput() ResourceClaimStatusPatchPtrOutput

func (ResourceClaimStatusPatchPtrOutput) ToResourceClaimStatusPatchPtrOutputWithContext

func (o ResourceClaimStatusPatchPtrOutput) ToResourceClaimStatusPatchPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPatchPtrOutput

type ResourceClaimStatusPtrInput

type ResourceClaimStatusPtrInput interface {
	pulumi.Input

	ToResourceClaimStatusPtrOutput() ResourceClaimStatusPtrOutput
	ToResourceClaimStatusPtrOutputWithContext(context.Context) ResourceClaimStatusPtrOutput
}

ResourceClaimStatusPtrInput is an input type that accepts ResourceClaimStatusArgs, ResourceClaimStatusPtr and ResourceClaimStatusPtrOutput values. You can construct a concrete instance of `ResourceClaimStatusPtrInput` via:

        ResourceClaimStatusArgs{...}

or:

        nil

type ResourceClaimStatusPtrOutput

type ResourceClaimStatusPtrOutput struct{ *pulumi.OutputState }

func (ResourceClaimStatusPtrOutput) Allocation

Allocation is set once the claim has been allocated successfully.

func (ResourceClaimStatusPtrOutput) Devices

Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.

func (ResourceClaimStatusPtrOutput) Elem

func (ResourceClaimStatusPtrOutput) ElementType

func (ResourceClaimStatusPtrOutput) ReservedFor

ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.

In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.

Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.

There can be at most 32 such reservations. This may get increased in the future, but not reduced.

func (ResourceClaimStatusPtrOutput) ToResourceClaimStatusPtrOutput

func (o ResourceClaimStatusPtrOutput) ToResourceClaimStatusPtrOutput() ResourceClaimStatusPtrOutput

func (ResourceClaimStatusPtrOutput) ToResourceClaimStatusPtrOutputWithContext

func (o ResourceClaimStatusPtrOutput) ToResourceClaimStatusPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPtrOutput

type ResourceClaimTemplate

type ResourceClaimTemplate struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaOutput `pulumi:"metadata"`
	// Describes the ResourceClaim that is to be generated.
	//
	// This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
	Spec ResourceClaimTemplateSpecOutput `pulumi:"spec"`
}

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

func GetResourceClaimTemplate

func GetResourceClaimTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceClaimTemplateState, opts ...pulumi.ResourceOption) (*ResourceClaimTemplate, error)

GetResourceClaimTemplate gets an existing ResourceClaimTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceClaimTemplate

func NewResourceClaimTemplate(ctx *pulumi.Context,
	name string, args *ResourceClaimTemplateArgs, opts ...pulumi.ResourceOption) (*ResourceClaimTemplate, error)

NewResourceClaimTemplate registers a new resource with the given unique name, arguments, and options.

func (*ResourceClaimTemplate) ElementType

func (*ResourceClaimTemplate) ElementType() reflect.Type

func (*ResourceClaimTemplate) ToResourceClaimTemplateOutput

func (i *ResourceClaimTemplate) ToResourceClaimTemplateOutput() ResourceClaimTemplateOutput

func (*ResourceClaimTemplate) ToResourceClaimTemplateOutputWithContext

func (i *ResourceClaimTemplate) ToResourceClaimTemplateOutputWithContext(ctx context.Context) ResourceClaimTemplateOutput

type ResourceClaimTemplateArgs

type ResourceClaimTemplateArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata
	Metadata metav1.ObjectMetaPtrInput
	// Describes the ResourceClaim that is to be generated.
	//
	// This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
	Spec ResourceClaimTemplateSpecInput
}

The set of arguments for constructing a ResourceClaimTemplate resource.

func (ResourceClaimTemplateArgs) ElementType

func (ResourceClaimTemplateArgs) ElementType() reflect.Type

type ResourceClaimTemplateArray

type ResourceClaimTemplateArray []ResourceClaimTemplateInput

func (ResourceClaimTemplateArray) ElementType

func (ResourceClaimTemplateArray) ElementType() reflect.Type

func (ResourceClaimTemplateArray) ToResourceClaimTemplateArrayOutput

func (i ResourceClaimTemplateArray) ToResourceClaimTemplateArrayOutput() ResourceClaimTemplateArrayOutput

func (ResourceClaimTemplateArray) ToResourceClaimTemplateArrayOutputWithContext

func (i ResourceClaimTemplateArray) ToResourceClaimTemplateArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateArrayOutput

type ResourceClaimTemplateArrayInput

type ResourceClaimTemplateArrayInput interface {
	pulumi.Input

	ToResourceClaimTemplateArrayOutput() ResourceClaimTemplateArrayOutput
	ToResourceClaimTemplateArrayOutputWithContext(context.Context) ResourceClaimTemplateArrayOutput
}

ResourceClaimTemplateArrayInput is an input type that accepts ResourceClaimTemplateArray and ResourceClaimTemplateArrayOutput values. You can construct a concrete instance of `ResourceClaimTemplateArrayInput` via:

ResourceClaimTemplateArray{ ResourceClaimTemplateArgs{...} }

type ResourceClaimTemplateArrayOutput

type ResourceClaimTemplateArrayOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplateArrayOutput) ElementType

func (ResourceClaimTemplateArrayOutput) Index

func (ResourceClaimTemplateArrayOutput) ToResourceClaimTemplateArrayOutput

func (o ResourceClaimTemplateArrayOutput) ToResourceClaimTemplateArrayOutput() ResourceClaimTemplateArrayOutput

func (ResourceClaimTemplateArrayOutput) ToResourceClaimTemplateArrayOutputWithContext

func (o ResourceClaimTemplateArrayOutput) ToResourceClaimTemplateArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateArrayOutput

type ResourceClaimTemplateInput

type ResourceClaimTemplateInput interface {
	pulumi.Input

	ToResourceClaimTemplateOutput() ResourceClaimTemplateOutput
	ToResourceClaimTemplateOutputWithContext(ctx context.Context) ResourceClaimTemplateOutput
}

type ResourceClaimTemplateList

type ResourceClaimTemplateList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// Items is the list of resource claim templates.
	Items ResourceClaimTemplateTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard list metadata
	Metadata metav1.ListMetaOutput `pulumi:"metadata"`
}

ResourceClaimTemplateList is a collection of claim templates.

func GetResourceClaimTemplateList

func GetResourceClaimTemplateList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceClaimTemplateListState, opts ...pulumi.ResourceOption) (*ResourceClaimTemplateList, error)

GetResourceClaimTemplateList gets an existing ResourceClaimTemplateList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceClaimTemplateList

func NewResourceClaimTemplateList(ctx *pulumi.Context,
	name string, args *ResourceClaimTemplateListArgs, opts ...pulumi.ResourceOption) (*ResourceClaimTemplateList, error)

NewResourceClaimTemplateList registers a new resource with the given unique name, arguments, and options.

func (*ResourceClaimTemplateList) ElementType

func (*ResourceClaimTemplateList) ElementType() reflect.Type

func (*ResourceClaimTemplateList) ToResourceClaimTemplateListOutput

func (i *ResourceClaimTemplateList) ToResourceClaimTemplateListOutput() ResourceClaimTemplateListOutput

func (*ResourceClaimTemplateList) ToResourceClaimTemplateListOutputWithContext

func (i *ResourceClaimTemplateList) ToResourceClaimTemplateListOutputWithContext(ctx context.Context) ResourceClaimTemplateListOutput

type ResourceClaimTemplateListArgs

type ResourceClaimTemplateListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Items is the list of resource claim templates.
	Items ResourceClaimTemplateTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a ResourceClaimTemplateList resource.

func (ResourceClaimTemplateListArgs) ElementType

type ResourceClaimTemplateListArray

type ResourceClaimTemplateListArray []ResourceClaimTemplateListInput

func (ResourceClaimTemplateListArray) ElementType

func (ResourceClaimTemplateListArray) ToResourceClaimTemplateListArrayOutput

func (i ResourceClaimTemplateListArray) ToResourceClaimTemplateListArrayOutput() ResourceClaimTemplateListArrayOutput

func (ResourceClaimTemplateListArray) ToResourceClaimTemplateListArrayOutputWithContext

func (i ResourceClaimTemplateListArray) ToResourceClaimTemplateListArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateListArrayOutput

type ResourceClaimTemplateListArrayInput

type ResourceClaimTemplateListArrayInput interface {
	pulumi.Input

	ToResourceClaimTemplateListArrayOutput() ResourceClaimTemplateListArrayOutput
	ToResourceClaimTemplateListArrayOutputWithContext(context.Context) ResourceClaimTemplateListArrayOutput
}

ResourceClaimTemplateListArrayInput is an input type that accepts ResourceClaimTemplateListArray and ResourceClaimTemplateListArrayOutput values. You can construct a concrete instance of `ResourceClaimTemplateListArrayInput` via:

ResourceClaimTemplateListArray{ ResourceClaimTemplateListArgs{...} }

type ResourceClaimTemplateListArrayOutput

type ResourceClaimTemplateListArrayOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplateListArrayOutput) ElementType

func (ResourceClaimTemplateListArrayOutput) Index

func (ResourceClaimTemplateListArrayOutput) ToResourceClaimTemplateListArrayOutput

func (o ResourceClaimTemplateListArrayOutput) ToResourceClaimTemplateListArrayOutput() ResourceClaimTemplateListArrayOutput

func (ResourceClaimTemplateListArrayOutput) ToResourceClaimTemplateListArrayOutputWithContext

func (o ResourceClaimTemplateListArrayOutput) ToResourceClaimTemplateListArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateListArrayOutput

type ResourceClaimTemplateListInput

type ResourceClaimTemplateListInput interface {
	pulumi.Input

	ToResourceClaimTemplateListOutput() ResourceClaimTemplateListOutput
	ToResourceClaimTemplateListOutputWithContext(ctx context.Context) ResourceClaimTemplateListOutput
}

type ResourceClaimTemplateListMap

type ResourceClaimTemplateListMap map[string]ResourceClaimTemplateListInput

func (ResourceClaimTemplateListMap) ElementType

func (ResourceClaimTemplateListMap) ToResourceClaimTemplateListMapOutput

func (i ResourceClaimTemplateListMap) ToResourceClaimTemplateListMapOutput() ResourceClaimTemplateListMapOutput

func (ResourceClaimTemplateListMap) ToResourceClaimTemplateListMapOutputWithContext

func (i ResourceClaimTemplateListMap) ToResourceClaimTemplateListMapOutputWithContext(ctx context.Context) ResourceClaimTemplateListMapOutput

type ResourceClaimTemplateListMapInput

type ResourceClaimTemplateListMapInput interface {
	pulumi.Input

	ToResourceClaimTemplateListMapOutput() ResourceClaimTemplateListMapOutput
	ToResourceClaimTemplateListMapOutputWithContext(context.Context) ResourceClaimTemplateListMapOutput
}

ResourceClaimTemplateListMapInput is an input type that accepts ResourceClaimTemplateListMap and ResourceClaimTemplateListMapOutput values. You can construct a concrete instance of `ResourceClaimTemplateListMapInput` via:

ResourceClaimTemplateListMap{ "key": ResourceClaimTemplateListArgs{...} }

type ResourceClaimTemplateListMapOutput

type ResourceClaimTemplateListMapOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplateListMapOutput) ElementType

func (ResourceClaimTemplateListMapOutput) MapIndex

func (ResourceClaimTemplateListMapOutput) ToResourceClaimTemplateListMapOutput

func (o ResourceClaimTemplateListMapOutput) ToResourceClaimTemplateListMapOutput() ResourceClaimTemplateListMapOutput

func (ResourceClaimTemplateListMapOutput) ToResourceClaimTemplateListMapOutputWithContext

func (o ResourceClaimTemplateListMapOutput) ToResourceClaimTemplateListMapOutputWithContext(ctx context.Context) ResourceClaimTemplateListMapOutput

type ResourceClaimTemplateListOutput

type ResourceClaimTemplateListOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplateListOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimTemplateListOutput) ElementType

func (ResourceClaimTemplateListOutput) Items

Items is the list of resource claim templates.

func (ResourceClaimTemplateListOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimTemplateListOutput) Metadata

Standard list metadata

func (ResourceClaimTemplateListOutput) ToResourceClaimTemplateListOutput

func (o ResourceClaimTemplateListOutput) ToResourceClaimTemplateListOutput() ResourceClaimTemplateListOutput

func (ResourceClaimTemplateListOutput) ToResourceClaimTemplateListOutputWithContext

func (o ResourceClaimTemplateListOutput) ToResourceClaimTemplateListOutputWithContext(ctx context.Context) ResourceClaimTemplateListOutput

type ResourceClaimTemplateListState

type ResourceClaimTemplateListState struct {
}

func (ResourceClaimTemplateListState) ElementType

type ResourceClaimTemplateListType

type ResourceClaimTemplateListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Items is the list of resource claim templates.
	Items []ResourceClaimTemplateType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard list metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

ResourceClaimTemplateList is a collection of claim templates.

type ResourceClaimTemplateListTypeArgs

type ResourceClaimTemplateListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Items is the list of resource claim templates.
	Items ResourceClaimTemplateTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard list metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

ResourceClaimTemplateList is a collection of claim templates.

func (ResourceClaimTemplateListTypeArgs) ElementType

func (ResourceClaimTemplateListTypeArgs) ToResourceClaimTemplateListTypeOutput

func (i ResourceClaimTemplateListTypeArgs) ToResourceClaimTemplateListTypeOutput() ResourceClaimTemplateListTypeOutput

func (ResourceClaimTemplateListTypeArgs) ToResourceClaimTemplateListTypeOutputWithContext

func (i ResourceClaimTemplateListTypeArgs) ToResourceClaimTemplateListTypeOutputWithContext(ctx context.Context) ResourceClaimTemplateListTypeOutput

type ResourceClaimTemplateListTypeInput

type ResourceClaimTemplateListTypeInput interface {
	pulumi.Input

	ToResourceClaimTemplateListTypeOutput() ResourceClaimTemplateListTypeOutput
	ToResourceClaimTemplateListTypeOutputWithContext(context.Context) ResourceClaimTemplateListTypeOutput
}

ResourceClaimTemplateListTypeInput is an input type that accepts ResourceClaimTemplateListTypeArgs and ResourceClaimTemplateListTypeOutput values. You can construct a concrete instance of `ResourceClaimTemplateListTypeInput` via:

ResourceClaimTemplateListTypeArgs{...}

type ResourceClaimTemplateListTypeOutput

type ResourceClaimTemplateListTypeOutput struct{ *pulumi.OutputState }

ResourceClaimTemplateList is a collection of claim templates.

func (ResourceClaimTemplateListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimTemplateListTypeOutput) ElementType

func (ResourceClaimTemplateListTypeOutput) Items

Items is the list of resource claim templates.

func (ResourceClaimTemplateListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimTemplateListTypeOutput) Metadata

Standard list metadata

func (ResourceClaimTemplateListTypeOutput) ToResourceClaimTemplateListTypeOutput

func (o ResourceClaimTemplateListTypeOutput) ToResourceClaimTemplateListTypeOutput() ResourceClaimTemplateListTypeOutput

func (ResourceClaimTemplateListTypeOutput) ToResourceClaimTemplateListTypeOutputWithContext

func (o ResourceClaimTemplateListTypeOutput) ToResourceClaimTemplateListTypeOutputWithContext(ctx context.Context) ResourceClaimTemplateListTypeOutput

type ResourceClaimTemplateMap

type ResourceClaimTemplateMap map[string]ResourceClaimTemplateInput

func (ResourceClaimTemplateMap) ElementType

func (ResourceClaimTemplateMap) ElementType() reflect.Type

func (ResourceClaimTemplateMap) ToResourceClaimTemplateMapOutput

func (i ResourceClaimTemplateMap) ToResourceClaimTemplateMapOutput() ResourceClaimTemplateMapOutput

func (ResourceClaimTemplateMap) ToResourceClaimTemplateMapOutputWithContext

func (i ResourceClaimTemplateMap) ToResourceClaimTemplateMapOutputWithContext(ctx context.Context) ResourceClaimTemplateMapOutput

type ResourceClaimTemplateMapInput

type ResourceClaimTemplateMapInput interface {
	pulumi.Input

	ToResourceClaimTemplateMapOutput() ResourceClaimTemplateMapOutput
	ToResourceClaimTemplateMapOutputWithContext(context.Context) ResourceClaimTemplateMapOutput
}

ResourceClaimTemplateMapInput is an input type that accepts ResourceClaimTemplateMap and ResourceClaimTemplateMapOutput values. You can construct a concrete instance of `ResourceClaimTemplateMapInput` via:

ResourceClaimTemplateMap{ "key": ResourceClaimTemplateArgs{...} }

type ResourceClaimTemplateMapOutput

type ResourceClaimTemplateMapOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplateMapOutput) ElementType

func (ResourceClaimTemplateMapOutput) MapIndex

func (ResourceClaimTemplateMapOutput) ToResourceClaimTemplateMapOutput

func (o ResourceClaimTemplateMapOutput) ToResourceClaimTemplateMapOutput() ResourceClaimTemplateMapOutput

func (ResourceClaimTemplateMapOutput) ToResourceClaimTemplateMapOutputWithContext

func (o ResourceClaimTemplateMapOutput) ToResourceClaimTemplateMapOutputWithContext(ctx context.Context) ResourceClaimTemplateMapOutput

type ResourceClaimTemplateOutput

type ResourceClaimTemplateOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplateOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimTemplateOutput) ElementType

func (ResourceClaimTemplateOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimTemplateOutput) Metadata

Standard object metadata

func (ResourceClaimTemplateOutput) Spec

Describes the ResourceClaim that is to be generated.

This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.

func (ResourceClaimTemplateOutput) ToResourceClaimTemplateOutput

func (o ResourceClaimTemplateOutput) ToResourceClaimTemplateOutput() ResourceClaimTemplateOutput

func (ResourceClaimTemplateOutput) ToResourceClaimTemplateOutputWithContext

func (o ResourceClaimTemplateOutput) ToResourceClaimTemplateOutputWithContext(ctx context.Context) ResourceClaimTemplateOutput

type ResourceClaimTemplatePatch

type ResourceClaimTemplatePatch struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// Describes the ResourceClaim that is to be generated.
	//
	// This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
	Spec ResourceClaimTemplateSpecPatchPtrOutput `pulumi:"spec"`
}

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](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) 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.

func GetResourceClaimTemplatePatch

func GetResourceClaimTemplatePatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceClaimTemplatePatchState, opts ...pulumi.ResourceOption) (*ResourceClaimTemplatePatch, error)

GetResourceClaimTemplatePatch gets an existing ResourceClaimTemplatePatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceClaimTemplatePatch

func NewResourceClaimTemplatePatch(ctx *pulumi.Context,
	name string, args *ResourceClaimTemplatePatchArgs, opts ...pulumi.ResourceOption) (*ResourceClaimTemplatePatch, error)

NewResourceClaimTemplatePatch registers a new resource with the given unique name, arguments, and options.

func (*ResourceClaimTemplatePatch) ElementType

func (*ResourceClaimTemplatePatch) ElementType() reflect.Type

func (*ResourceClaimTemplatePatch) ToResourceClaimTemplatePatchOutput

func (i *ResourceClaimTemplatePatch) ToResourceClaimTemplatePatchOutput() ResourceClaimTemplatePatchOutput

func (*ResourceClaimTemplatePatch) ToResourceClaimTemplatePatchOutputWithContext

func (i *ResourceClaimTemplatePatch) ToResourceClaimTemplatePatchOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchOutput

type ResourceClaimTemplatePatchArgs

type ResourceClaimTemplatePatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrInput
	// Describes the ResourceClaim that is to be generated.
	//
	// This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
	Spec ResourceClaimTemplateSpecPatchPtrInput
}

The set of arguments for constructing a ResourceClaimTemplatePatch resource.

func (ResourceClaimTemplatePatchArgs) ElementType

type ResourceClaimTemplatePatchArray

type ResourceClaimTemplatePatchArray []ResourceClaimTemplatePatchInput

func (ResourceClaimTemplatePatchArray) ElementType

func (ResourceClaimTemplatePatchArray) ToResourceClaimTemplatePatchArrayOutput

func (i ResourceClaimTemplatePatchArray) ToResourceClaimTemplatePatchArrayOutput() ResourceClaimTemplatePatchArrayOutput

func (ResourceClaimTemplatePatchArray) ToResourceClaimTemplatePatchArrayOutputWithContext

func (i ResourceClaimTemplatePatchArray) ToResourceClaimTemplatePatchArrayOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchArrayOutput

type ResourceClaimTemplatePatchArrayInput

type ResourceClaimTemplatePatchArrayInput interface {
	pulumi.Input

	ToResourceClaimTemplatePatchArrayOutput() ResourceClaimTemplatePatchArrayOutput
	ToResourceClaimTemplatePatchArrayOutputWithContext(context.Context) ResourceClaimTemplatePatchArrayOutput
}

ResourceClaimTemplatePatchArrayInput is an input type that accepts ResourceClaimTemplatePatchArray and ResourceClaimTemplatePatchArrayOutput values. You can construct a concrete instance of `ResourceClaimTemplatePatchArrayInput` via:

ResourceClaimTemplatePatchArray{ ResourceClaimTemplatePatchArgs{...} }

type ResourceClaimTemplatePatchArrayOutput

type ResourceClaimTemplatePatchArrayOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplatePatchArrayOutput) ElementType

func (ResourceClaimTemplatePatchArrayOutput) Index

func (ResourceClaimTemplatePatchArrayOutput) ToResourceClaimTemplatePatchArrayOutput

func (o ResourceClaimTemplatePatchArrayOutput) ToResourceClaimTemplatePatchArrayOutput() ResourceClaimTemplatePatchArrayOutput

func (ResourceClaimTemplatePatchArrayOutput) ToResourceClaimTemplatePatchArrayOutputWithContext

func (o ResourceClaimTemplatePatchArrayOutput) ToResourceClaimTemplatePatchArrayOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchArrayOutput

type ResourceClaimTemplatePatchInput

type ResourceClaimTemplatePatchInput interface {
	pulumi.Input

	ToResourceClaimTemplatePatchOutput() ResourceClaimTemplatePatchOutput
	ToResourceClaimTemplatePatchOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchOutput
}

type ResourceClaimTemplatePatchMap

type ResourceClaimTemplatePatchMap map[string]ResourceClaimTemplatePatchInput

func (ResourceClaimTemplatePatchMap) ElementType

func (ResourceClaimTemplatePatchMap) ToResourceClaimTemplatePatchMapOutput

func (i ResourceClaimTemplatePatchMap) ToResourceClaimTemplatePatchMapOutput() ResourceClaimTemplatePatchMapOutput

func (ResourceClaimTemplatePatchMap) ToResourceClaimTemplatePatchMapOutputWithContext

func (i ResourceClaimTemplatePatchMap) ToResourceClaimTemplatePatchMapOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchMapOutput

type ResourceClaimTemplatePatchMapInput

type ResourceClaimTemplatePatchMapInput interface {
	pulumi.Input

	ToResourceClaimTemplatePatchMapOutput() ResourceClaimTemplatePatchMapOutput
	ToResourceClaimTemplatePatchMapOutputWithContext(context.Context) ResourceClaimTemplatePatchMapOutput
}

ResourceClaimTemplatePatchMapInput is an input type that accepts ResourceClaimTemplatePatchMap and ResourceClaimTemplatePatchMapOutput values. You can construct a concrete instance of `ResourceClaimTemplatePatchMapInput` via:

ResourceClaimTemplatePatchMap{ "key": ResourceClaimTemplatePatchArgs{...} }

type ResourceClaimTemplatePatchMapOutput

type ResourceClaimTemplatePatchMapOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplatePatchMapOutput) ElementType

func (ResourceClaimTemplatePatchMapOutput) MapIndex

func (ResourceClaimTemplatePatchMapOutput) ToResourceClaimTemplatePatchMapOutput

func (o ResourceClaimTemplatePatchMapOutput) ToResourceClaimTemplatePatchMapOutput() ResourceClaimTemplatePatchMapOutput

func (ResourceClaimTemplatePatchMapOutput) ToResourceClaimTemplatePatchMapOutputWithContext

func (o ResourceClaimTemplatePatchMapOutput) ToResourceClaimTemplatePatchMapOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchMapOutput

type ResourceClaimTemplatePatchOutput

type ResourceClaimTemplatePatchOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplatePatchOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimTemplatePatchOutput) ElementType

func (ResourceClaimTemplatePatchOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimTemplatePatchOutput) Metadata

Standard object metadata

func (ResourceClaimTemplatePatchOutput) Spec

Describes the ResourceClaim that is to be generated.

This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.

func (ResourceClaimTemplatePatchOutput) ToResourceClaimTemplatePatchOutput

func (o ResourceClaimTemplatePatchOutput) ToResourceClaimTemplatePatchOutput() ResourceClaimTemplatePatchOutput

func (ResourceClaimTemplatePatchOutput) ToResourceClaimTemplatePatchOutputWithContext

func (o ResourceClaimTemplatePatchOutput) ToResourceClaimTemplatePatchOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchOutput

type ResourceClaimTemplatePatchState

type ResourceClaimTemplatePatchState struct {
}

func (ResourceClaimTemplatePatchState) ElementType

type ResourceClaimTemplatePatchType

type ResourceClaimTemplatePatchType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Describes the ResourceClaim that is to be generated.
	//
	// This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
	Spec *ResourceClaimTemplateSpecPatch `pulumi:"spec"`
}

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

type ResourceClaimTemplatePatchTypeArgs

type ResourceClaimTemplatePatchTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Describes the ResourceClaim that is to be generated.
	//
	// This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
	Spec ResourceClaimTemplateSpecPatchPtrInput `pulumi:"spec"`
}

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

func (ResourceClaimTemplatePatchTypeArgs) ElementType

func (ResourceClaimTemplatePatchTypeArgs) ToResourceClaimTemplatePatchTypeOutput

func (i ResourceClaimTemplatePatchTypeArgs) ToResourceClaimTemplatePatchTypeOutput() ResourceClaimTemplatePatchTypeOutput

func (ResourceClaimTemplatePatchTypeArgs) ToResourceClaimTemplatePatchTypeOutputWithContext

func (i ResourceClaimTemplatePatchTypeArgs) ToResourceClaimTemplatePatchTypeOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchTypeOutput

type ResourceClaimTemplatePatchTypeInput

type ResourceClaimTemplatePatchTypeInput interface {
	pulumi.Input

	ToResourceClaimTemplatePatchTypeOutput() ResourceClaimTemplatePatchTypeOutput
	ToResourceClaimTemplatePatchTypeOutputWithContext(context.Context) ResourceClaimTemplatePatchTypeOutput
}

ResourceClaimTemplatePatchTypeInput is an input type that accepts ResourceClaimTemplatePatchTypeArgs and ResourceClaimTemplatePatchTypeOutput values. You can construct a concrete instance of `ResourceClaimTemplatePatchTypeInput` via:

ResourceClaimTemplatePatchTypeArgs{...}

type ResourceClaimTemplatePatchTypeOutput

type ResourceClaimTemplatePatchTypeOutput struct{ *pulumi.OutputState }

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

func (ResourceClaimTemplatePatchTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimTemplatePatchTypeOutput) ElementType

func (ResourceClaimTemplatePatchTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimTemplatePatchTypeOutput) Metadata

Standard object metadata

func (ResourceClaimTemplatePatchTypeOutput) Spec

Describes the ResourceClaim that is to be generated.

This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.

func (ResourceClaimTemplatePatchTypeOutput) ToResourceClaimTemplatePatchTypeOutput

func (o ResourceClaimTemplatePatchTypeOutput) ToResourceClaimTemplatePatchTypeOutput() ResourceClaimTemplatePatchTypeOutput

func (ResourceClaimTemplatePatchTypeOutput) ToResourceClaimTemplatePatchTypeOutputWithContext

func (o ResourceClaimTemplatePatchTypeOutput) ToResourceClaimTemplatePatchTypeOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchTypeOutput

type ResourceClaimTemplateSpec

type ResourceClaimTemplateSpec struct {
	// ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.
	Spec ResourceClaimSpec `pulumi:"spec"`
}

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

type ResourceClaimTemplateSpecArgs

type ResourceClaimTemplateSpecArgs struct {
	// ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.
	Spec ResourceClaimSpecInput `pulumi:"spec"`
}

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

func (ResourceClaimTemplateSpecArgs) ElementType

func (ResourceClaimTemplateSpecArgs) ToResourceClaimTemplateSpecOutput

func (i ResourceClaimTemplateSpecArgs) ToResourceClaimTemplateSpecOutput() ResourceClaimTemplateSpecOutput

func (ResourceClaimTemplateSpecArgs) ToResourceClaimTemplateSpecOutputWithContext

func (i ResourceClaimTemplateSpecArgs) ToResourceClaimTemplateSpecOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecOutput

type ResourceClaimTemplateSpecInput

type ResourceClaimTemplateSpecInput interface {
	pulumi.Input

	ToResourceClaimTemplateSpecOutput() ResourceClaimTemplateSpecOutput
	ToResourceClaimTemplateSpecOutputWithContext(context.Context) ResourceClaimTemplateSpecOutput
}

ResourceClaimTemplateSpecInput is an input type that accepts ResourceClaimTemplateSpecArgs and ResourceClaimTemplateSpecOutput values. You can construct a concrete instance of `ResourceClaimTemplateSpecInput` via:

ResourceClaimTemplateSpecArgs{...}

type ResourceClaimTemplateSpecOutput

type ResourceClaimTemplateSpecOutput struct{ *pulumi.OutputState }

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

func (ResourceClaimTemplateSpecOutput) ElementType

func (ResourceClaimTemplateSpecOutput) Metadata

ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.

func (ResourceClaimTemplateSpecOutput) Spec

Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.

func (ResourceClaimTemplateSpecOutput) ToResourceClaimTemplateSpecOutput

func (o ResourceClaimTemplateSpecOutput) ToResourceClaimTemplateSpecOutput() ResourceClaimTemplateSpecOutput

func (ResourceClaimTemplateSpecOutput) ToResourceClaimTemplateSpecOutputWithContext

func (o ResourceClaimTemplateSpecOutput) ToResourceClaimTemplateSpecOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecOutput

type ResourceClaimTemplateSpecPatch

type ResourceClaimTemplateSpecPatch struct {
	// ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.
	Spec *ResourceClaimSpecPatch `pulumi:"spec"`
}

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

type ResourceClaimTemplateSpecPatchArgs

type ResourceClaimTemplateSpecPatchArgs struct {
	// ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.
	Spec ResourceClaimSpecPatchPtrInput `pulumi:"spec"`
}

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

func (ResourceClaimTemplateSpecPatchArgs) ElementType

func (ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchOutput

func (i ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchOutput() ResourceClaimTemplateSpecPatchOutput

func (ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchOutputWithContext

func (i ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecPatchOutput

func (ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchPtrOutput

func (i ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchPtrOutput() ResourceClaimTemplateSpecPatchPtrOutput

func (ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchPtrOutputWithContext

func (i ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecPatchPtrOutput

type ResourceClaimTemplateSpecPatchInput

type ResourceClaimTemplateSpecPatchInput interface {
	pulumi.Input

	ToResourceClaimTemplateSpecPatchOutput() ResourceClaimTemplateSpecPatchOutput
	ToResourceClaimTemplateSpecPatchOutputWithContext(context.Context) ResourceClaimTemplateSpecPatchOutput
}

ResourceClaimTemplateSpecPatchInput is an input type that accepts ResourceClaimTemplateSpecPatchArgs and ResourceClaimTemplateSpecPatchOutput values. You can construct a concrete instance of `ResourceClaimTemplateSpecPatchInput` via:

ResourceClaimTemplateSpecPatchArgs{...}

type ResourceClaimTemplateSpecPatchOutput

type ResourceClaimTemplateSpecPatchOutput struct{ *pulumi.OutputState }

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

func (ResourceClaimTemplateSpecPatchOutput) ElementType

func (ResourceClaimTemplateSpecPatchOutput) Metadata

ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.

func (ResourceClaimTemplateSpecPatchOutput) Spec

Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.

func (ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchOutput

func (o ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchOutput() ResourceClaimTemplateSpecPatchOutput

func (ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchOutputWithContext

func (o ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecPatchOutput

func (ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchPtrOutput

func (o ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchPtrOutput() ResourceClaimTemplateSpecPatchPtrOutput

func (ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchPtrOutputWithContext

func (o ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecPatchPtrOutput

type ResourceClaimTemplateSpecPatchPtrInput

type ResourceClaimTemplateSpecPatchPtrInput interface {
	pulumi.Input

	ToResourceClaimTemplateSpecPatchPtrOutput() ResourceClaimTemplateSpecPatchPtrOutput
	ToResourceClaimTemplateSpecPatchPtrOutputWithContext(context.Context) ResourceClaimTemplateSpecPatchPtrOutput
}

ResourceClaimTemplateSpecPatchPtrInput is an input type that accepts ResourceClaimTemplateSpecPatchArgs, ResourceClaimTemplateSpecPatchPtr and ResourceClaimTemplateSpecPatchPtrOutput values. You can construct a concrete instance of `ResourceClaimTemplateSpecPatchPtrInput` via:

        ResourceClaimTemplateSpecPatchArgs{...}

or:

        nil

type ResourceClaimTemplateSpecPatchPtrOutput

type ResourceClaimTemplateSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplateSpecPatchPtrOutput) Elem

func (ResourceClaimTemplateSpecPatchPtrOutput) ElementType

func (ResourceClaimTemplateSpecPatchPtrOutput) Metadata

ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.

func (ResourceClaimTemplateSpecPatchPtrOutput) Spec

Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.

func (ResourceClaimTemplateSpecPatchPtrOutput) ToResourceClaimTemplateSpecPatchPtrOutput

func (o ResourceClaimTemplateSpecPatchPtrOutput) ToResourceClaimTemplateSpecPatchPtrOutput() ResourceClaimTemplateSpecPatchPtrOutput

func (ResourceClaimTemplateSpecPatchPtrOutput) ToResourceClaimTemplateSpecPatchPtrOutputWithContext

func (o ResourceClaimTemplateSpecPatchPtrOutput) ToResourceClaimTemplateSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecPatchPtrOutput

type ResourceClaimTemplateState

type ResourceClaimTemplateState struct {
}

func (ResourceClaimTemplateState) ElementType

func (ResourceClaimTemplateState) ElementType() reflect.Type

type ResourceClaimTemplateType

type ResourceClaimTemplateType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Describes the ResourceClaim that is to be generated.
	//
	// This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
	Spec ResourceClaimTemplateSpec `pulumi:"spec"`
}

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

type ResourceClaimTemplateTypeArgs

type ResourceClaimTemplateTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Describes the ResourceClaim that is to be generated.
	//
	// This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
	Spec ResourceClaimTemplateSpecInput `pulumi:"spec"`
}

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

func (ResourceClaimTemplateTypeArgs) ElementType

func (ResourceClaimTemplateTypeArgs) ToResourceClaimTemplateTypeOutput

func (i ResourceClaimTemplateTypeArgs) ToResourceClaimTemplateTypeOutput() ResourceClaimTemplateTypeOutput

func (ResourceClaimTemplateTypeArgs) ToResourceClaimTemplateTypeOutputWithContext

func (i ResourceClaimTemplateTypeArgs) ToResourceClaimTemplateTypeOutputWithContext(ctx context.Context) ResourceClaimTemplateTypeOutput

type ResourceClaimTemplateTypeArray

type ResourceClaimTemplateTypeArray []ResourceClaimTemplateTypeInput

func (ResourceClaimTemplateTypeArray) ElementType

func (ResourceClaimTemplateTypeArray) ToResourceClaimTemplateTypeArrayOutput

func (i ResourceClaimTemplateTypeArray) ToResourceClaimTemplateTypeArrayOutput() ResourceClaimTemplateTypeArrayOutput

func (ResourceClaimTemplateTypeArray) ToResourceClaimTemplateTypeArrayOutputWithContext

func (i ResourceClaimTemplateTypeArray) ToResourceClaimTemplateTypeArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateTypeArrayOutput

type ResourceClaimTemplateTypeArrayInput

type ResourceClaimTemplateTypeArrayInput interface {
	pulumi.Input

	ToResourceClaimTemplateTypeArrayOutput() ResourceClaimTemplateTypeArrayOutput
	ToResourceClaimTemplateTypeArrayOutputWithContext(context.Context) ResourceClaimTemplateTypeArrayOutput
}

ResourceClaimTemplateTypeArrayInput is an input type that accepts ResourceClaimTemplateTypeArray and ResourceClaimTemplateTypeArrayOutput values. You can construct a concrete instance of `ResourceClaimTemplateTypeArrayInput` via:

ResourceClaimTemplateTypeArray{ ResourceClaimTemplateTypeArgs{...} }

type ResourceClaimTemplateTypeArrayOutput

type ResourceClaimTemplateTypeArrayOutput struct{ *pulumi.OutputState }

func (ResourceClaimTemplateTypeArrayOutput) ElementType

func (ResourceClaimTemplateTypeArrayOutput) Index

func (ResourceClaimTemplateTypeArrayOutput) ToResourceClaimTemplateTypeArrayOutput

func (o ResourceClaimTemplateTypeArrayOutput) ToResourceClaimTemplateTypeArrayOutput() ResourceClaimTemplateTypeArrayOutput

func (ResourceClaimTemplateTypeArrayOutput) ToResourceClaimTemplateTypeArrayOutputWithContext

func (o ResourceClaimTemplateTypeArrayOutput) ToResourceClaimTemplateTypeArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateTypeArrayOutput

type ResourceClaimTemplateTypeInput

type ResourceClaimTemplateTypeInput interface {
	pulumi.Input

	ToResourceClaimTemplateTypeOutput() ResourceClaimTemplateTypeOutput
	ToResourceClaimTemplateTypeOutputWithContext(context.Context) ResourceClaimTemplateTypeOutput
}

ResourceClaimTemplateTypeInput is an input type that accepts ResourceClaimTemplateTypeArgs and ResourceClaimTemplateTypeOutput values. You can construct a concrete instance of `ResourceClaimTemplateTypeInput` via:

ResourceClaimTemplateTypeArgs{...}

type ResourceClaimTemplateTypeOutput

type ResourceClaimTemplateTypeOutput struct{ *pulumi.OutputState }

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

func (ResourceClaimTemplateTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimTemplateTypeOutput) ElementType

func (ResourceClaimTemplateTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimTemplateTypeOutput) Metadata

Standard object metadata

func (ResourceClaimTemplateTypeOutput) Spec

Describes the ResourceClaim that is to be generated.

This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.

func (ResourceClaimTemplateTypeOutput) ToResourceClaimTemplateTypeOutput

func (o ResourceClaimTemplateTypeOutput) ToResourceClaimTemplateTypeOutput() ResourceClaimTemplateTypeOutput

func (ResourceClaimTemplateTypeOutput) ToResourceClaimTemplateTypeOutputWithContext

func (o ResourceClaimTemplateTypeOutput) ToResourceClaimTemplateTypeOutputWithContext(ctx context.Context) ResourceClaimTemplateTypeOutput

type ResourceClaimType

type ResourceClaimType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Spec describes what is being requested and how to configure it. The spec is immutable.
	Spec ResourceClaimSpec `pulumi:"spec"`
	// Status describes whether the claim is ready to use and what has been allocated.
	Status *ResourceClaimStatus `pulumi:"status"`
}

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.

type ResourceClaimTypeArgs

type ResourceClaimTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Spec describes what is being requested and how to configure it. The spec is immutable.
	Spec ResourceClaimSpecInput `pulumi:"spec"`
	// Status describes whether the claim is ready to use and what has been allocated.
	Status ResourceClaimStatusPtrInput `pulumi:"status"`
}

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.

func (ResourceClaimTypeArgs) ElementType

func (ResourceClaimTypeArgs) ElementType() reflect.Type

func (ResourceClaimTypeArgs) ToResourceClaimTypeOutput

func (i ResourceClaimTypeArgs) ToResourceClaimTypeOutput() ResourceClaimTypeOutput

func (ResourceClaimTypeArgs) ToResourceClaimTypeOutputWithContext

func (i ResourceClaimTypeArgs) ToResourceClaimTypeOutputWithContext(ctx context.Context) ResourceClaimTypeOutput

type ResourceClaimTypeArray

type ResourceClaimTypeArray []ResourceClaimTypeInput

func (ResourceClaimTypeArray) ElementType

func (ResourceClaimTypeArray) ElementType() reflect.Type

func (ResourceClaimTypeArray) ToResourceClaimTypeArrayOutput

func (i ResourceClaimTypeArray) ToResourceClaimTypeArrayOutput() ResourceClaimTypeArrayOutput

func (ResourceClaimTypeArray) ToResourceClaimTypeArrayOutputWithContext

func (i ResourceClaimTypeArray) ToResourceClaimTypeArrayOutputWithContext(ctx context.Context) ResourceClaimTypeArrayOutput

type ResourceClaimTypeArrayInput

type ResourceClaimTypeArrayInput interface {
	pulumi.Input

	ToResourceClaimTypeArrayOutput() ResourceClaimTypeArrayOutput
	ToResourceClaimTypeArrayOutputWithContext(context.Context) ResourceClaimTypeArrayOutput
}

ResourceClaimTypeArrayInput is an input type that accepts ResourceClaimTypeArray and ResourceClaimTypeArrayOutput values. You can construct a concrete instance of `ResourceClaimTypeArrayInput` via:

ResourceClaimTypeArray{ ResourceClaimTypeArgs{...} }

type ResourceClaimTypeArrayOutput

type ResourceClaimTypeArrayOutput struct{ *pulumi.OutputState }

func (ResourceClaimTypeArrayOutput) ElementType

func (ResourceClaimTypeArrayOutput) Index

func (ResourceClaimTypeArrayOutput) ToResourceClaimTypeArrayOutput

func (o ResourceClaimTypeArrayOutput) ToResourceClaimTypeArrayOutput() ResourceClaimTypeArrayOutput

func (ResourceClaimTypeArrayOutput) ToResourceClaimTypeArrayOutputWithContext

func (o ResourceClaimTypeArrayOutput) ToResourceClaimTypeArrayOutputWithContext(ctx context.Context) ResourceClaimTypeArrayOutput

type ResourceClaimTypeInput

type ResourceClaimTypeInput interface {
	pulumi.Input

	ToResourceClaimTypeOutput() ResourceClaimTypeOutput
	ToResourceClaimTypeOutputWithContext(context.Context) ResourceClaimTypeOutput
}

ResourceClaimTypeInput is an input type that accepts ResourceClaimTypeArgs and ResourceClaimTypeOutput values. You can construct a concrete instance of `ResourceClaimTypeInput` via:

ResourceClaimTypeArgs{...}

type ResourceClaimTypeOutput

type ResourceClaimTypeOutput struct{ *pulumi.OutputState }

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.

func (ResourceClaimTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceClaimTypeOutput) ElementType

func (ResourceClaimTypeOutput) ElementType() reflect.Type

func (ResourceClaimTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceClaimTypeOutput) Metadata

Standard object metadata

func (ResourceClaimTypeOutput) Spec

Spec describes what is being requested and how to configure it. The spec is immutable.

func (ResourceClaimTypeOutput) Status

Status describes whether the claim is ready to use and what has been allocated.

func (ResourceClaimTypeOutput) ToResourceClaimTypeOutput

func (o ResourceClaimTypeOutput) ToResourceClaimTypeOutput() ResourceClaimTypeOutput

func (ResourceClaimTypeOutput) ToResourceClaimTypeOutputWithContext

func (o ResourceClaimTypeOutput) ToResourceClaimTypeOutputWithContext(ctx context.Context) ResourceClaimTypeOutput

type ResourcePool

type ResourcePool struct {
	// Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
	//
	// Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.
	Generation int `pulumi:"generation"`
	// Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
	//
	// It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.
	Name string `pulumi:"name"`
	// ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
	//
	// Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.
	ResourceSliceCount int `pulumi:"resourceSliceCount"`
}

ResourcePool describes the pool that ResourceSlices belong to.

type ResourcePoolArgs

type ResourcePoolArgs struct {
	// Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
	//
	// Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.
	Generation pulumi.IntInput `pulumi:"generation"`
	// Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
	//
	// It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.
	Name pulumi.StringInput `pulumi:"name"`
	// ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
	//
	// Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.
	ResourceSliceCount pulumi.IntInput `pulumi:"resourceSliceCount"`
}

ResourcePool describes the pool that ResourceSlices belong to.

func (ResourcePoolArgs) ElementType

func (ResourcePoolArgs) ElementType() reflect.Type

func (ResourcePoolArgs) ToResourcePoolOutput

func (i ResourcePoolArgs) ToResourcePoolOutput() ResourcePoolOutput

func (ResourcePoolArgs) ToResourcePoolOutputWithContext

func (i ResourcePoolArgs) ToResourcePoolOutputWithContext(ctx context.Context) ResourcePoolOutput

type ResourcePoolInput

type ResourcePoolInput interface {
	pulumi.Input

	ToResourcePoolOutput() ResourcePoolOutput
	ToResourcePoolOutputWithContext(context.Context) ResourcePoolOutput
}

ResourcePoolInput is an input type that accepts ResourcePoolArgs and ResourcePoolOutput values. You can construct a concrete instance of `ResourcePoolInput` via:

ResourcePoolArgs{...}

type ResourcePoolOutput

type ResourcePoolOutput struct{ *pulumi.OutputState }

ResourcePool describes the pool that ResourceSlices belong to.

func (ResourcePoolOutput) ElementType

func (ResourcePoolOutput) ElementType() reflect.Type

func (ResourcePoolOutput) Generation

func (o ResourcePoolOutput) Generation() pulumi.IntOutput

Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.

Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.

func (ResourcePoolOutput) Name

Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.

It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.

func (ResourcePoolOutput) ResourceSliceCount

func (o ResourcePoolOutput) ResourceSliceCount() pulumi.IntOutput

ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.

Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.

func (ResourcePoolOutput) ToResourcePoolOutput

func (o ResourcePoolOutput) ToResourcePoolOutput() ResourcePoolOutput

func (ResourcePoolOutput) ToResourcePoolOutputWithContext

func (o ResourcePoolOutput) ToResourcePoolOutputWithContext(ctx context.Context) ResourcePoolOutput

type ResourcePoolPatch

type ResourcePoolPatch struct {
	// Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
	//
	// Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.
	Generation *int `pulumi:"generation"`
	// Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
	//
	// It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.
	Name *string `pulumi:"name"`
	// ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
	//
	// Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.
	ResourceSliceCount *int `pulumi:"resourceSliceCount"`
}

ResourcePool describes the pool that ResourceSlices belong to.

type ResourcePoolPatchArgs

type ResourcePoolPatchArgs struct {
	// Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
	//
	// Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.
	Generation pulumi.IntPtrInput `pulumi:"generation"`
	// Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
	//
	// It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
	//
	// Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.
	ResourceSliceCount pulumi.IntPtrInput `pulumi:"resourceSliceCount"`
}

ResourcePool describes the pool that ResourceSlices belong to.

func (ResourcePoolPatchArgs) ElementType

func (ResourcePoolPatchArgs) ElementType() reflect.Type

func (ResourcePoolPatchArgs) ToResourcePoolPatchOutput

func (i ResourcePoolPatchArgs) ToResourcePoolPatchOutput() ResourcePoolPatchOutput

func (ResourcePoolPatchArgs) ToResourcePoolPatchOutputWithContext

func (i ResourcePoolPatchArgs) ToResourcePoolPatchOutputWithContext(ctx context.Context) ResourcePoolPatchOutput

func (ResourcePoolPatchArgs) ToResourcePoolPatchPtrOutput

func (i ResourcePoolPatchArgs) ToResourcePoolPatchPtrOutput() ResourcePoolPatchPtrOutput

func (ResourcePoolPatchArgs) ToResourcePoolPatchPtrOutputWithContext

func (i ResourcePoolPatchArgs) ToResourcePoolPatchPtrOutputWithContext(ctx context.Context) ResourcePoolPatchPtrOutput

type ResourcePoolPatchInput

type ResourcePoolPatchInput interface {
	pulumi.Input

	ToResourcePoolPatchOutput() ResourcePoolPatchOutput
	ToResourcePoolPatchOutputWithContext(context.Context) ResourcePoolPatchOutput
}

ResourcePoolPatchInput is an input type that accepts ResourcePoolPatchArgs and ResourcePoolPatchOutput values. You can construct a concrete instance of `ResourcePoolPatchInput` via:

ResourcePoolPatchArgs{...}

type ResourcePoolPatchOutput

type ResourcePoolPatchOutput struct{ *pulumi.OutputState }

ResourcePool describes the pool that ResourceSlices belong to.

func (ResourcePoolPatchOutput) ElementType

func (ResourcePoolPatchOutput) ElementType() reflect.Type

func (ResourcePoolPatchOutput) Generation

Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.

Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.

func (ResourcePoolPatchOutput) Name

Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.

It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.

func (ResourcePoolPatchOutput) ResourceSliceCount

func (o ResourcePoolPatchOutput) ResourceSliceCount() pulumi.IntPtrOutput

ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.

Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.

func (ResourcePoolPatchOutput) ToResourcePoolPatchOutput

func (o ResourcePoolPatchOutput) ToResourcePoolPatchOutput() ResourcePoolPatchOutput

func (ResourcePoolPatchOutput) ToResourcePoolPatchOutputWithContext

func (o ResourcePoolPatchOutput) ToResourcePoolPatchOutputWithContext(ctx context.Context) ResourcePoolPatchOutput

func (ResourcePoolPatchOutput) ToResourcePoolPatchPtrOutput

func (o ResourcePoolPatchOutput) ToResourcePoolPatchPtrOutput() ResourcePoolPatchPtrOutput

func (ResourcePoolPatchOutput) ToResourcePoolPatchPtrOutputWithContext

func (o ResourcePoolPatchOutput) ToResourcePoolPatchPtrOutputWithContext(ctx context.Context) ResourcePoolPatchPtrOutput

type ResourcePoolPatchPtrInput

type ResourcePoolPatchPtrInput interface {
	pulumi.Input

	ToResourcePoolPatchPtrOutput() ResourcePoolPatchPtrOutput
	ToResourcePoolPatchPtrOutputWithContext(context.Context) ResourcePoolPatchPtrOutput
}

ResourcePoolPatchPtrInput is an input type that accepts ResourcePoolPatchArgs, ResourcePoolPatchPtr and ResourcePoolPatchPtrOutput values. You can construct a concrete instance of `ResourcePoolPatchPtrInput` via:

        ResourcePoolPatchArgs{...}

or:

        nil

type ResourcePoolPatchPtrOutput

type ResourcePoolPatchPtrOutput struct{ *pulumi.OutputState }

func (ResourcePoolPatchPtrOutput) Elem

func (ResourcePoolPatchPtrOutput) ElementType

func (ResourcePoolPatchPtrOutput) ElementType() reflect.Type

func (ResourcePoolPatchPtrOutput) Generation

Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.

Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.

func (ResourcePoolPatchPtrOutput) Name

Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.

It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.

func (ResourcePoolPatchPtrOutput) ResourceSliceCount

func (o ResourcePoolPatchPtrOutput) ResourceSliceCount() pulumi.IntPtrOutput

ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.

Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.

func (ResourcePoolPatchPtrOutput) ToResourcePoolPatchPtrOutput

func (o ResourcePoolPatchPtrOutput) ToResourcePoolPatchPtrOutput() ResourcePoolPatchPtrOutput

func (ResourcePoolPatchPtrOutput) ToResourcePoolPatchPtrOutputWithContext

func (o ResourcePoolPatchPtrOutput) ToResourcePoolPatchPtrOutputWithContext(ctx context.Context) ResourcePoolPatchPtrOutput

type ResourceSlice

type ResourceSlice struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaOutput `pulumi:"metadata"`
	// Contains the information published by the driver.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec ResourceSliceSpecOutput `pulumi:"spec"`
}

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 <driver name>, <pool name>, <device name>.

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.

func GetResourceSlice

func GetResourceSlice(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceSliceState, opts ...pulumi.ResourceOption) (*ResourceSlice, error)

GetResourceSlice gets an existing ResourceSlice resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceSlice

func NewResourceSlice(ctx *pulumi.Context,
	name string, args *ResourceSliceArgs, opts ...pulumi.ResourceOption) (*ResourceSlice, error)

NewResourceSlice registers a new resource with the given unique name, arguments, and options.

func (*ResourceSlice) ElementType

func (*ResourceSlice) ElementType() reflect.Type

func (*ResourceSlice) ToResourceSliceOutput

func (i *ResourceSlice) ToResourceSliceOutput() ResourceSliceOutput

func (*ResourceSlice) ToResourceSliceOutputWithContext

func (i *ResourceSlice) ToResourceSliceOutputWithContext(ctx context.Context) ResourceSliceOutput

type ResourceSliceArgs

type ResourceSliceArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata
	Metadata metav1.ObjectMetaPtrInput
	// Contains the information published by the driver.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec ResourceSliceSpecInput
}

The set of arguments for constructing a ResourceSlice resource.

func (ResourceSliceArgs) ElementType

func (ResourceSliceArgs) ElementType() reflect.Type

type ResourceSliceArray

type ResourceSliceArray []ResourceSliceInput

func (ResourceSliceArray) ElementType

func (ResourceSliceArray) ElementType() reflect.Type

func (ResourceSliceArray) ToResourceSliceArrayOutput

func (i ResourceSliceArray) ToResourceSliceArrayOutput() ResourceSliceArrayOutput

func (ResourceSliceArray) ToResourceSliceArrayOutputWithContext

func (i ResourceSliceArray) ToResourceSliceArrayOutputWithContext(ctx context.Context) ResourceSliceArrayOutput

type ResourceSliceArrayInput

type ResourceSliceArrayInput interface {
	pulumi.Input

	ToResourceSliceArrayOutput() ResourceSliceArrayOutput
	ToResourceSliceArrayOutputWithContext(context.Context) ResourceSliceArrayOutput
}

ResourceSliceArrayInput is an input type that accepts ResourceSliceArray and ResourceSliceArrayOutput values. You can construct a concrete instance of `ResourceSliceArrayInput` via:

ResourceSliceArray{ ResourceSliceArgs{...} }

type ResourceSliceArrayOutput

type ResourceSliceArrayOutput struct{ *pulumi.OutputState }

func (ResourceSliceArrayOutput) ElementType

func (ResourceSliceArrayOutput) ElementType() reflect.Type

func (ResourceSliceArrayOutput) Index

func (ResourceSliceArrayOutput) ToResourceSliceArrayOutput

func (o ResourceSliceArrayOutput) ToResourceSliceArrayOutput() ResourceSliceArrayOutput

func (ResourceSliceArrayOutput) ToResourceSliceArrayOutputWithContext

func (o ResourceSliceArrayOutput) ToResourceSliceArrayOutputWithContext(ctx context.Context) ResourceSliceArrayOutput

type ResourceSliceInput

type ResourceSliceInput interface {
	pulumi.Input

	ToResourceSliceOutput() ResourceSliceOutput
	ToResourceSliceOutputWithContext(ctx context.Context) ResourceSliceOutput
}

type ResourceSliceList

type ResourceSliceList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// Items is the list of resource ResourceSlices.
	Items ResourceSliceTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard list metadata
	Metadata metav1.ListMetaOutput `pulumi:"metadata"`
}

ResourceSliceList is a collection of ResourceSlices.

func GetResourceSliceList

func GetResourceSliceList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceSliceListState, opts ...pulumi.ResourceOption) (*ResourceSliceList, error)

GetResourceSliceList gets an existing ResourceSliceList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceSliceList

func NewResourceSliceList(ctx *pulumi.Context,
	name string, args *ResourceSliceListArgs, opts ...pulumi.ResourceOption) (*ResourceSliceList, error)

NewResourceSliceList registers a new resource with the given unique name, arguments, and options.

func (*ResourceSliceList) ElementType

func (*ResourceSliceList) ElementType() reflect.Type

func (*ResourceSliceList) ToResourceSliceListOutput

func (i *ResourceSliceList) ToResourceSliceListOutput() ResourceSliceListOutput

func (*ResourceSliceList) ToResourceSliceListOutputWithContext

func (i *ResourceSliceList) ToResourceSliceListOutputWithContext(ctx context.Context) ResourceSliceListOutput

type ResourceSliceListArgs

type ResourceSliceListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Items is the list of resource ResourceSlices.
	Items ResourceSliceTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a ResourceSliceList resource.

func (ResourceSliceListArgs) ElementType

func (ResourceSliceListArgs) ElementType() reflect.Type

type ResourceSliceListArray

type ResourceSliceListArray []ResourceSliceListInput

func (ResourceSliceListArray) ElementType

func (ResourceSliceListArray) ElementType() reflect.Type

func (ResourceSliceListArray) ToResourceSliceListArrayOutput

func (i ResourceSliceListArray) ToResourceSliceListArrayOutput() ResourceSliceListArrayOutput

func (ResourceSliceListArray) ToResourceSliceListArrayOutputWithContext

func (i ResourceSliceListArray) ToResourceSliceListArrayOutputWithContext(ctx context.Context) ResourceSliceListArrayOutput

type ResourceSliceListArrayInput

type ResourceSliceListArrayInput interface {
	pulumi.Input

	ToResourceSliceListArrayOutput() ResourceSliceListArrayOutput
	ToResourceSliceListArrayOutputWithContext(context.Context) ResourceSliceListArrayOutput
}

ResourceSliceListArrayInput is an input type that accepts ResourceSliceListArray and ResourceSliceListArrayOutput values. You can construct a concrete instance of `ResourceSliceListArrayInput` via:

ResourceSliceListArray{ ResourceSliceListArgs{...} }

type ResourceSliceListArrayOutput

type ResourceSliceListArrayOutput struct{ *pulumi.OutputState }

func (ResourceSliceListArrayOutput) ElementType

func (ResourceSliceListArrayOutput) Index

func (ResourceSliceListArrayOutput) ToResourceSliceListArrayOutput

func (o ResourceSliceListArrayOutput) ToResourceSliceListArrayOutput() ResourceSliceListArrayOutput

func (ResourceSliceListArrayOutput) ToResourceSliceListArrayOutputWithContext

func (o ResourceSliceListArrayOutput) ToResourceSliceListArrayOutputWithContext(ctx context.Context) ResourceSliceListArrayOutput

type ResourceSliceListInput

type ResourceSliceListInput interface {
	pulumi.Input

	ToResourceSliceListOutput() ResourceSliceListOutput
	ToResourceSliceListOutputWithContext(ctx context.Context) ResourceSliceListOutput
}

type ResourceSliceListMap

type ResourceSliceListMap map[string]ResourceSliceListInput

func (ResourceSliceListMap) ElementType

func (ResourceSliceListMap) ElementType() reflect.Type

func (ResourceSliceListMap) ToResourceSliceListMapOutput

func (i ResourceSliceListMap) ToResourceSliceListMapOutput() ResourceSliceListMapOutput

func (ResourceSliceListMap) ToResourceSliceListMapOutputWithContext

func (i ResourceSliceListMap) ToResourceSliceListMapOutputWithContext(ctx context.Context) ResourceSliceListMapOutput

type ResourceSliceListMapInput

type ResourceSliceListMapInput interface {
	pulumi.Input

	ToResourceSliceListMapOutput() ResourceSliceListMapOutput
	ToResourceSliceListMapOutputWithContext(context.Context) ResourceSliceListMapOutput
}

ResourceSliceListMapInput is an input type that accepts ResourceSliceListMap and ResourceSliceListMapOutput values. You can construct a concrete instance of `ResourceSliceListMapInput` via:

ResourceSliceListMap{ "key": ResourceSliceListArgs{...} }

type ResourceSliceListMapOutput

type ResourceSliceListMapOutput struct{ *pulumi.OutputState }

func (ResourceSliceListMapOutput) ElementType

func (ResourceSliceListMapOutput) ElementType() reflect.Type

func (ResourceSliceListMapOutput) MapIndex

func (ResourceSliceListMapOutput) ToResourceSliceListMapOutput

func (o ResourceSliceListMapOutput) ToResourceSliceListMapOutput() ResourceSliceListMapOutput

func (ResourceSliceListMapOutput) ToResourceSliceListMapOutputWithContext

func (o ResourceSliceListMapOutput) ToResourceSliceListMapOutputWithContext(ctx context.Context) ResourceSliceListMapOutput

type ResourceSliceListOutput

type ResourceSliceListOutput struct{ *pulumi.OutputState }

func (ResourceSliceListOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceSliceListOutput) ElementType

func (ResourceSliceListOutput) ElementType() reflect.Type

func (ResourceSliceListOutput) Items

Items is the list of resource ResourceSlices.

func (ResourceSliceListOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceSliceListOutput) Metadata

Standard list metadata

func (ResourceSliceListOutput) ToResourceSliceListOutput

func (o ResourceSliceListOutput) ToResourceSliceListOutput() ResourceSliceListOutput

func (ResourceSliceListOutput) ToResourceSliceListOutputWithContext

func (o ResourceSliceListOutput) ToResourceSliceListOutputWithContext(ctx context.Context) ResourceSliceListOutput

type ResourceSliceListState

type ResourceSliceListState struct {
}

func (ResourceSliceListState) ElementType

func (ResourceSliceListState) ElementType() reflect.Type

type ResourceSliceListType

type ResourceSliceListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Items is the list of resource ResourceSlices.
	Items []ResourceSliceType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard list metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

ResourceSliceList is a collection of ResourceSlices.

type ResourceSliceListTypeArgs

type ResourceSliceListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Items is the list of resource ResourceSlices.
	Items ResourceSliceTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard list metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

ResourceSliceList is a collection of ResourceSlices.

func (ResourceSliceListTypeArgs) ElementType

func (ResourceSliceListTypeArgs) ElementType() reflect.Type

func (ResourceSliceListTypeArgs) ToResourceSliceListTypeOutput

func (i ResourceSliceListTypeArgs) ToResourceSliceListTypeOutput() ResourceSliceListTypeOutput

func (ResourceSliceListTypeArgs) ToResourceSliceListTypeOutputWithContext

func (i ResourceSliceListTypeArgs) ToResourceSliceListTypeOutputWithContext(ctx context.Context) ResourceSliceListTypeOutput

type ResourceSliceListTypeInput

type ResourceSliceListTypeInput interface {
	pulumi.Input

	ToResourceSliceListTypeOutput() ResourceSliceListTypeOutput
	ToResourceSliceListTypeOutputWithContext(context.Context) ResourceSliceListTypeOutput
}

ResourceSliceListTypeInput is an input type that accepts ResourceSliceListTypeArgs and ResourceSliceListTypeOutput values. You can construct a concrete instance of `ResourceSliceListTypeInput` via:

ResourceSliceListTypeArgs{...}

type ResourceSliceListTypeOutput

type ResourceSliceListTypeOutput struct{ *pulumi.OutputState }

ResourceSliceList is a collection of ResourceSlices.

func (ResourceSliceListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceSliceListTypeOutput) ElementType

func (ResourceSliceListTypeOutput) Items

Items is the list of resource ResourceSlices.

func (ResourceSliceListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceSliceListTypeOutput) Metadata

Standard list metadata

func (ResourceSliceListTypeOutput) ToResourceSliceListTypeOutput

func (o ResourceSliceListTypeOutput) ToResourceSliceListTypeOutput() ResourceSliceListTypeOutput

func (ResourceSliceListTypeOutput) ToResourceSliceListTypeOutputWithContext

func (o ResourceSliceListTypeOutput) ToResourceSliceListTypeOutputWithContext(ctx context.Context) ResourceSliceListTypeOutput

type ResourceSliceMap

type ResourceSliceMap map[string]ResourceSliceInput

func (ResourceSliceMap) ElementType

func (ResourceSliceMap) ElementType() reflect.Type

func (ResourceSliceMap) ToResourceSliceMapOutput

func (i ResourceSliceMap) ToResourceSliceMapOutput() ResourceSliceMapOutput

func (ResourceSliceMap) ToResourceSliceMapOutputWithContext

func (i ResourceSliceMap) ToResourceSliceMapOutputWithContext(ctx context.Context) ResourceSliceMapOutput

type ResourceSliceMapInput

type ResourceSliceMapInput interface {
	pulumi.Input

	ToResourceSliceMapOutput() ResourceSliceMapOutput
	ToResourceSliceMapOutputWithContext(context.Context) ResourceSliceMapOutput
}

ResourceSliceMapInput is an input type that accepts ResourceSliceMap and ResourceSliceMapOutput values. You can construct a concrete instance of `ResourceSliceMapInput` via:

ResourceSliceMap{ "key": ResourceSliceArgs{...} }

type ResourceSliceMapOutput

type ResourceSliceMapOutput struct{ *pulumi.OutputState }

func (ResourceSliceMapOutput) ElementType

func (ResourceSliceMapOutput) ElementType() reflect.Type

func (ResourceSliceMapOutput) MapIndex

func (ResourceSliceMapOutput) ToResourceSliceMapOutput

func (o ResourceSliceMapOutput) ToResourceSliceMapOutput() ResourceSliceMapOutput

func (ResourceSliceMapOutput) ToResourceSliceMapOutputWithContext

func (o ResourceSliceMapOutput) ToResourceSliceMapOutputWithContext(ctx context.Context) ResourceSliceMapOutput

type ResourceSliceOutput

type ResourceSliceOutput struct{ *pulumi.OutputState }

func (ResourceSliceOutput) ApiVersion

func (o ResourceSliceOutput) ApiVersion() pulumi.StringOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceSliceOutput) ElementType

func (ResourceSliceOutput) ElementType() reflect.Type

func (ResourceSliceOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceSliceOutput) Metadata

Standard object metadata

func (ResourceSliceOutput) Spec

Contains the information published by the driver.

Changing the spec automatically increments the metadata.generation number.

func (ResourceSliceOutput) ToResourceSliceOutput

func (o ResourceSliceOutput) ToResourceSliceOutput() ResourceSliceOutput

func (ResourceSliceOutput) ToResourceSliceOutputWithContext

func (o ResourceSliceOutput) ToResourceSliceOutputWithContext(ctx context.Context) ResourceSliceOutput

type ResourceSlicePatch

type ResourceSlicePatch struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// Contains the information published by the driver.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec ResourceSliceSpecPatchPtrOutput `pulumi:"spec"`
}

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](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) 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 <driver name>, <pool name>, <device name>.

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.

func GetResourceSlicePatch

func GetResourceSlicePatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceSlicePatchState, opts ...pulumi.ResourceOption) (*ResourceSlicePatch, error)

GetResourceSlicePatch gets an existing ResourceSlicePatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceSlicePatch

func NewResourceSlicePatch(ctx *pulumi.Context,
	name string, args *ResourceSlicePatchArgs, opts ...pulumi.ResourceOption) (*ResourceSlicePatch, error)

NewResourceSlicePatch registers a new resource with the given unique name, arguments, and options.

func (*ResourceSlicePatch) ElementType

func (*ResourceSlicePatch) ElementType() reflect.Type

func (*ResourceSlicePatch) ToResourceSlicePatchOutput

func (i *ResourceSlicePatch) ToResourceSlicePatchOutput() ResourceSlicePatchOutput

func (*ResourceSlicePatch) ToResourceSlicePatchOutputWithContext

func (i *ResourceSlicePatch) ToResourceSlicePatchOutputWithContext(ctx context.Context) ResourceSlicePatchOutput

type ResourceSlicePatchArgs

type ResourceSlicePatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrInput
	// Contains the information published by the driver.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec ResourceSliceSpecPatchPtrInput
}

The set of arguments for constructing a ResourceSlicePatch resource.

func (ResourceSlicePatchArgs) ElementType

func (ResourceSlicePatchArgs) ElementType() reflect.Type

type ResourceSlicePatchArray

type ResourceSlicePatchArray []ResourceSlicePatchInput

func (ResourceSlicePatchArray) ElementType

func (ResourceSlicePatchArray) ElementType() reflect.Type

func (ResourceSlicePatchArray) ToResourceSlicePatchArrayOutput

func (i ResourceSlicePatchArray) ToResourceSlicePatchArrayOutput() ResourceSlicePatchArrayOutput

func (ResourceSlicePatchArray) ToResourceSlicePatchArrayOutputWithContext

func (i ResourceSlicePatchArray) ToResourceSlicePatchArrayOutputWithContext(ctx context.Context) ResourceSlicePatchArrayOutput

type ResourceSlicePatchArrayInput

type ResourceSlicePatchArrayInput interface {
	pulumi.Input

	ToResourceSlicePatchArrayOutput() ResourceSlicePatchArrayOutput
	ToResourceSlicePatchArrayOutputWithContext(context.Context) ResourceSlicePatchArrayOutput
}

ResourceSlicePatchArrayInput is an input type that accepts ResourceSlicePatchArray and ResourceSlicePatchArrayOutput values. You can construct a concrete instance of `ResourceSlicePatchArrayInput` via:

ResourceSlicePatchArray{ ResourceSlicePatchArgs{...} }

type ResourceSlicePatchArrayOutput

type ResourceSlicePatchArrayOutput struct{ *pulumi.OutputState }

func (ResourceSlicePatchArrayOutput) ElementType

func (ResourceSlicePatchArrayOutput) Index

func (ResourceSlicePatchArrayOutput) ToResourceSlicePatchArrayOutput

func (o ResourceSlicePatchArrayOutput) ToResourceSlicePatchArrayOutput() ResourceSlicePatchArrayOutput

func (ResourceSlicePatchArrayOutput) ToResourceSlicePatchArrayOutputWithContext

func (o ResourceSlicePatchArrayOutput) ToResourceSlicePatchArrayOutputWithContext(ctx context.Context) ResourceSlicePatchArrayOutput

type ResourceSlicePatchInput

type ResourceSlicePatchInput interface {
	pulumi.Input

	ToResourceSlicePatchOutput() ResourceSlicePatchOutput
	ToResourceSlicePatchOutputWithContext(ctx context.Context) ResourceSlicePatchOutput
}

type ResourceSlicePatchMap

type ResourceSlicePatchMap map[string]ResourceSlicePatchInput

func (ResourceSlicePatchMap) ElementType

func (ResourceSlicePatchMap) ElementType() reflect.Type

func (ResourceSlicePatchMap) ToResourceSlicePatchMapOutput

func (i ResourceSlicePatchMap) ToResourceSlicePatchMapOutput() ResourceSlicePatchMapOutput

func (ResourceSlicePatchMap) ToResourceSlicePatchMapOutputWithContext

func (i ResourceSlicePatchMap) ToResourceSlicePatchMapOutputWithContext(ctx context.Context) ResourceSlicePatchMapOutput

type ResourceSlicePatchMapInput

type ResourceSlicePatchMapInput interface {
	pulumi.Input

	ToResourceSlicePatchMapOutput() ResourceSlicePatchMapOutput
	ToResourceSlicePatchMapOutputWithContext(context.Context) ResourceSlicePatchMapOutput
}

ResourceSlicePatchMapInput is an input type that accepts ResourceSlicePatchMap and ResourceSlicePatchMapOutput values. You can construct a concrete instance of `ResourceSlicePatchMapInput` via:

ResourceSlicePatchMap{ "key": ResourceSlicePatchArgs{...} }

type ResourceSlicePatchMapOutput

type ResourceSlicePatchMapOutput struct{ *pulumi.OutputState }

func (ResourceSlicePatchMapOutput) ElementType

func (ResourceSlicePatchMapOutput) MapIndex

func (ResourceSlicePatchMapOutput) ToResourceSlicePatchMapOutput

func (o ResourceSlicePatchMapOutput) ToResourceSlicePatchMapOutput() ResourceSlicePatchMapOutput

func (ResourceSlicePatchMapOutput) ToResourceSlicePatchMapOutputWithContext

func (o ResourceSlicePatchMapOutput) ToResourceSlicePatchMapOutputWithContext(ctx context.Context) ResourceSlicePatchMapOutput

type ResourceSlicePatchOutput

type ResourceSlicePatchOutput struct{ *pulumi.OutputState }

func (ResourceSlicePatchOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceSlicePatchOutput) ElementType

func (ResourceSlicePatchOutput) ElementType() reflect.Type

func (ResourceSlicePatchOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceSlicePatchOutput) Metadata

Standard object metadata

func (ResourceSlicePatchOutput) Spec

Contains the information published by the driver.

Changing the spec automatically increments the metadata.generation number.

func (ResourceSlicePatchOutput) ToResourceSlicePatchOutput

func (o ResourceSlicePatchOutput) ToResourceSlicePatchOutput() ResourceSlicePatchOutput

func (ResourceSlicePatchOutput) ToResourceSlicePatchOutputWithContext

func (o ResourceSlicePatchOutput) ToResourceSlicePatchOutputWithContext(ctx context.Context) ResourceSlicePatchOutput

type ResourceSlicePatchState

type ResourceSlicePatchState struct {
}

func (ResourceSlicePatchState) ElementType

func (ResourceSlicePatchState) ElementType() reflect.Type

type ResourceSlicePatchType

type ResourceSlicePatchType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Contains the information published by the driver.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec *ResourceSliceSpecPatch `pulumi:"spec"`
}

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 <driver name>, <pool name>, <device name>.

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.

type ResourceSlicePatchTypeArgs

type ResourceSlicePatchTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Contains the information published by the driver.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec ResourceSliceSpecPatchPtrInput `pulumi:"spec"`
}

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 <driver name>, <pool name>, <device name>.

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.

func (ResourceSlicePatchTypeArgs) ElementType

func (ResourceSlicePatchTypeArgs) ElementType() reflect.Type

func (ResourceSlicePatchTypeArgs) ToResourceSlicePatchTypeOutput

func (i ResourceSlicePatchTypeArgs) ToResourceSlicePatchTypeOutput() ResourceSlicePatchTypeOutput

func (ResourceSlicePatchTypeArgs) ToResourceSlicePatchTypeOutputWithContext

func (i ResourceSlicePatchTypeArgs) ToResourceSlicePatchTypeOutputWithContext(ctx context.Context) ResourceSlicePatchTypeOutput

type ResourceSlicePatchTypeInput

type ResourceSlicePatchTypeInput interface {
	pulumi.Input

	ToResourceSlicePatchTypeOutput() ResourceSlicePatchTypeOutput
	ToResourceSlicePatchTypeOutputWithContext(context.Context) ResourceSlicePatchTypeOutput
}

ResourceSlicePatchTypeInput is an input type that accepts ResourceSlicePatchTypeArgs and ResourceSlicePatchTypeOutput values. You can construct a concrete instance of `ResourceSlicePatchTypeInput` via:

ResourceSlicePatchTypeArgs{...}

type ResourceSlicePatchTypeOutput

type ResourceSlicePatchTypeOutput struct{ *pulumi.OutputState }

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 <driver name>, <pool name>, <device name>.

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.

func (ResourceSlicePatchTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceSlicePatchTypeOutput) ElementType

func (ResourceSlicePatchTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceSlicePatchTypeOutput) Metadata

Standard object metadata

func (ResourceSlicePatchTypeOutput) Spec

Contains the information published by the driver.

Changing the spec automatically increments the metadata.generation number.

func (ResourceSlicePatchTypeOutput) ToResourceSlicePatchTypeOutput

func (o ResourceSlicePatchTypeOutput) ToResourceSlicePatchTypeOutput() ResourceSlicePatchTypeOutput

func (ResourceSlicePatchTypeOutput) ToResourceSlicePatchTypeOutputWithContext

func (o ResourceSlicePatchTypeOutput) ToResourceSlicePatchTypeOutputWithContext(ctx context.Context) ResourceSlicePatchTypeOutput

type ResourceSliceSpec

type ResourceSliceSpec struct {
	// AllNodes indicates that all nodes have access to the resources in the pool.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set.
	AllNodes *bool `pulumi:"allNodes"`
	// Devices lists some or all of the devices in this pool.
	//
	// Must not have more than 128 entries.
	Devices []Device `pulumi:"devices"`
	// Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.
	Driver string `pulumi:"driver"`
	// NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
	//
	// This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.
	NodeName *string `pulumi:"nodeName"`
	// NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.
	//
	// Must use exactly one term.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set.
	NodeSelector *corev1.NodeSelector `pulumi:"nodeSelector"`
	// Pool describes the pool that this ResourceSlice belongs to.
	Pool ResourcePool `pulumi:"pool"`
}

ResourceSliceSpec contains the information published by the driver in one ResourceSlice.

type ResourceSliceSpecArgs

type ResourceSliceSpecArgs struct {
	// AllNodes indicates that all nodes have access to the resources in the pool.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set.
	AllNodes pulumi.BoolPtrInput `pulumi:"allNodes"`
	// Devices lists some or all of the devices in this pool.
	//
	// Must not have more than 128 entries.
	Devices DeviceArrayInput `pulumi:"devices"`
	// Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.
	Driver pulumi.StringInput `pulumi:"driver"`
	// NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
	//
	// This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.
	NodeName pulumi.StringPtrInput `pulumi:"nodeName"`
	// NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.
	//
	// Must use exactly one term.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set.
	NodeSelector corev1.NodeSelectorPtrInput `pulumi:"nodeSelector"`
	// Pool describes the pool that this ResourceSlice belongs to.
	Pool ResourcePoolInput `pulumi:"pool"`
}

ResourceSliceSpec contains the information published by the driver in one ResourceSlice.

func (ResourceSliceSpecArgs) ElementType

func (ResourceSliceSpecArgs) ElementType() reflect.Type

func (ResourceSliceSpecArgs) ToResourceSliceSpecOutput

func (i ResourceSliceSpecArgs) ToResourceSliceSpecOutput() ResourceSliceSpecOutput

func (ResourceSliceSpecArgs) ToResourceSliceSpecOutputWithContext

func (i ResourceSliceSpecArgs) ToResourceSliceSpecOutputWithContext(ctx context.Context) ResourceSliceSpecOutput

type ResourceSliceSpecInput

type ResourceSliceSpecInput interface {
	pulumi.Input

	ToResourceSliceSpecOutput() ResourceSliceSpecOutput
	ToResourceSliceSpecOutputWithContext(context.Context) ResourceSliceSpecOutput
}

ResourceSliceSpecInput is an input type that accepts ResourceSliceSpecArgs and ResourceSliceSpecOutput values. You can construct a concrete instance of `ResourceSliceSpecInput` via:

ResourceSliceSpecArgs{...}

type ResourceSliceSpecOutput

type ResourceSliceSpecOutput struct{ *pulumi.OutputState }

ResourceSliceSpec contains the information published by the driver in one ResourceSlice.

func (ResourceSliceSpecOutput) AllNodes

AllNodes indicates that all nodes have access to the resources in the pool.

Exactly one of NodeName, NodeSelector and AllNodes must be set.

func (ResourceSliceSpecOutput) Devices

Devices lists some or all of the devices in this pool.

Must not have more than 128 entries.

func (ResourceSliceSpecOutput) Driver

Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.

func (ResourceSliceSpecOutput) ElementType

func (ResourceSliceSpecOutput) ElementType() reflect.Type

func (ResourceSliceSpecOutput) NodeName

NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.

This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.

Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.

func (ResourceSliceSpecOutput) NodeSelector

NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.

Must use exactly one term.

Exactly one of NodeName, NodeSelector and AllNodes must be set.

func (ResourceSliceSpecOutput) Pool

Pool describes the pool that this ResourceSlice belongs to.

func (ResourceSliceSpecOutput) ToResourceSliceSpecOutput

func (o ResourceSliceSpecOutput) ToResourceSliceSpecOutput() ResourceSliceSpecOutput

func (ResourceSliceSpecOutput) ToResourceSliceSpecOutputWithContext

func (o ResourceSliceSpecOutput) ToResourceSliceSpecOutputWithContext(ctx context.Context) ResourceSliceSpecOutput

type ResourceSliceSpecPatch

type ResourceSliceSpecPatch struct {
	// AllNodes indicates that all nodes have access to the resources in the pool.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set.
	AllNodes *bool `pulumi:"allNodes"`
	// Devices lists some or all of the devices in this pool.
	//
	// Must not have more than 128 entries.
	Devices []DevicePatch `pulumi:"devices"`
	// Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.
	Driver *string `pulumi:"driver"`
	// NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
	//
	// This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.
	NodeName *string `pulumi:"nodeName"`
	// NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.
	//
	// Must use exactly one term.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set.
	NodeSelector *corev1.NodeSelectorPatch `pulumi:"nodeSelector"`
	// Pool describes the pool that this ResourceSlice belongs to.
	Pool *ResourcePoolPatch `pulumi:"pool"`
}

ResourceSliceSpec contains the information published by the driver in one ResourceSlice.

type ResourceSliceSpecPatchArgs

type ResourceSliceSpecPatchArgs struct {
	// AllNodes indicates that all nodes have access to the resources in the pool.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set.
	AllNodes pulumi.BoolPtrInput `pulumi:"allNodes"`
	// Devices lists some or all of the devices in this pool.
	//
	// Must not have more than 128 entries.
	Devices DevicePatchArrayInput `pulumi:"devices"`
	// Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
	//
	// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.
	Driver pulumi.StringPtrInput `pulumi:"driver"`
	// NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
	//
	// This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.
	NodeName pulumi.StringPtrInput `pulumi:"nodeName"`
	// NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.
	//
	// Must use exactly one term.
	//
	// Exactly one of NodeName, NodeSelector and AllNodes must be set.
	NodeSelector corev1.NodeSelectorPatchPtrInput `pulumi:"nodeSelector"`
	// Pool describes the pool that this ResourceSlice belongs to.
	Pool ResourcePoolPatchPtrInput `pulumi:"pool"`
}

ResourceSliceSpec contains the information published by the driver in one ResourceSlice.

func (ResourceSliceSpecPatchArgs) ElementType

func (ResourceSliceSpecPatchArgs) ElementType() reflect.Type

func (ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchOutput

func (i ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchOutput() ResourceSliceSpecPatchOutput

func (ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchOutputWithContext

func (i ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchOutputWithContext(ctx context.Context) ResourceSliceSpecPatchOutput

func (ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchPtrOutput

func (i ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchPtrOutput() ResourceSliceSpecPatchPtrOutput

func (ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchPtrOutputWithContext

func (i ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchPtrOutputWithContext(ctx context.Context) ResourceSliceSpecPatchPtrOutput

type ResourceSliceSpecPatchInput

type ResourceSliceSpecPatchInput interface {
	pulumi.Input

	ToResourceSliceSpecPatchOutput() ResourceSliceSpecPatchOutput
	ToResourceSliceSpecPatchOutputWithContext(context.Context) ResourceSliceSpecPatchOutput
}

ResourceSliceSpecPatchInput is an input type that accepts ResourceSliceSpecPatchArgs and ResourceSliceSpecPatchOutput values. You can construct a concrete instance of `ResourceSliceSpecPatchInput` via:

ResourceSliceSpecPatchArgs{...}

type ResourceSliceSpecPatchOutput

type ResourceSliceSpecPatchOutput struct{ *pulumi.OutputState }

ResourceSliceSpec contains the information published by the driver in one ResourceSlice.

func (ResourceSliceSpecPatchOutput) AllNodes

AllNodes indicates that all nodes have access to the resources in the pool.

Exactly one of NodeName, NodeSelector and AllNodes must be set.

func (ResourceSliceSpecPatchOutput) Devices

Devices lists some or all of the devices in this pool.

Must not have more than 128 entries.

func (ResourceSliceSpecPatchOutput) Driver

Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.

func (ResourceSliceSpecPatchOutput) ElementType

func (ResourceSliceSpecPatchOutput) NodeName

NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.

This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.

Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.

func (ResourceSliceSpecPatchOutput) NodeSelector

NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.

Must use exactly one term.

Exactly one of NodeName, NodeSelector and AllNodes must be set.

func (ResourceSliceSpecPatchOutput) Pool

Pool describes the pool that this ResourceSlice belongs to.

func (ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchOutput

func (o ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchOutput() ResourceSliceSpecPatchOutput

func (ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchOutputWithContext

func (o ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchOutputWithContext(ctx context.Context) ResourceSliceSpecPatchOutput

func (ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchPtrOutput

func (o ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchPtrOutput() ResourceSliceSpecPatchPtrOutput

func (ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchPtrOutputWithContext

func (o ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchPtrOutputWithContext(ctx context.Context) ResourceSliceSpecPatchPtrOutput

type ResourceSliceSpecPatchPtrInput

type ResourceSliceSpecPatchPtrInput interface {
	pulumi.Input

	ToResourceSliceSpecPatchPtrOutput() ResourceSliceSpecPatchPtrOutput
	ToResourceSliceSpecPatchPtrOutputWithContext(context.Context) ResourceSliceSpecPatchPtrOutput
}

ResourceSliceSpecPatchPtrInput is an input type that accepts ResourceSliceSpecPatchArgs, ResourceSliceSpecPatchPtr and ResourceSliceSpecPatchPtrOutput values. You can construct a concrete instance of `ResourceSliceSpecPatchPtrInput` via:

        ResourceSliceSpecPatchArgs{...}

or:

        nil

type ResourceSliceSpecPatchPtrOutput

type ResourceSliceSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (ResourceSliceSpecPatchPtrOutput) AllNodes

AllNodes indicates that all nodes have access to the resources in the pool.

Exactly one of NodeName, NodeSelector and AllNodes must be set.

func (ResourceSliceSpecPatchPtrOutput) Devices

Devices lists some or all of the devices in this pool.

Must not have more than 128 entries.

func (ResourceSliceSpecPatchPtrOutput) Driver

Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.

func (ResourceSliceSpecPatchPtrOutput) Elem

func (ResourceSliceSpecPatchPtrOutput) ElementType

func (ResourceSliceSpecPatchPtrOutput) NodeName

NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.

This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.

Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.

func (ResourceSliceSpecPatchPtrOutput) NodeSelector

NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.

Must use exactly one term.

Exactly one of NodeName, NodeSelector and AllNodes must be set.

func (ResourceSliceSpecPatchPtrOutput) Pool

Pool describes the pool that this ResourceSlice belongs to.

func (ResourceSliceSpecPatchPtrOutput) ToResourceSliceSpecPatchPtrOutput

func (o ResourceSliceSpecPatchPtrOutput) ToResourceSliceSpecPatchPtrOutput() ResourceSliceSpecPatchPtrOutput

func (ResourceSliceSpecPatchPtrOutput) ToResourceSliceSpecPatchPtrOutputWithContext

func (o ResourceSliceSpecPatchPtrOutput) ToResourceSliceSpecPatchPtrOutputWithContext(ctx context.Context) ResourceSliceSpecPatchPtrOutput

type ResourceSliceState

type ResourceSliceState struct {
}

func (ResourceSliceState) ElementType

func (ResourceSliceState) ElementType() reflect.Type

type ResourceSliceType

type ResourceSliceType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Contains the information published by the driver.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec ResourceSliceSpec `pulumi:"spec"`
}

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 <driver name>, <pool name>, <device name>.

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.

type ResourceSliceTypeArgs

type ResourceSliceTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Contains the information published by the driver.
	//
	// Changing the spec automatically increments the metadata.generation number.
	Spec ResourceSliceSpecInput `pulumi:"spec"`
}

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 <driver name>, <pool name>, <device name>.

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.

func (ResourceSliceTypeArgs) ElementType

func (ResourceSliceTypeArgs) ElementType() reflect.Type

func (ResourceSliceTypeArgs) ToResourceSliceTypeOutput

func (i ResourceSliceTypeArgs) ToResourceSliceTypeOutput() ResourceSliceTypeOutput

func (ResourceSliceTypeArgs) ToResourceSliceTypeOutputWithContext

func (i ResourceSliceTypeArgs) ToResourceSliceTypeOutputWithContext(ctx context.Context) ResourceSliceTypeOutput

type ResourceSliceTypeArray

type ResourceSliceTypeArray []ResourceSliceTypeInput

func (ResourceSliceTypeArray) ElementType

func (ResourceSliceTypeArray) ElementType() reflect.Type

func (ResourceSliceTypeArray) ToResourceSliceTypeArrayOutput

func (i ResourceSliceTypeArray) ToResourceSliceTypeArrayOutput() ResourceSliceTypeArrayOutput

func (ResourceSliceTypeArray) ToResourceSliceTypeArrayOutputWithContext

func (i ResourceSliceTypeArray) ToResourceSliceTypeArrayOutputWithContext(ctx context.Context) ResourceSliceTypeArrayOutput

type ResourceSliceTypeArrayInput

type ResourceSliceTypeArrayInput interface {
	pulumi.Input

	ToResourceSliceTypeArrayOutput() ResourceSliceTypeArrayOutput
	ToResourceSliceTypeArrayOutputWithContext(context.Context) ResourceSliceTypeArrayOutput
}

ResourceSliceTypeArrayInput is an input type that accepts ResourceSliceTypeArray and ResourceSliceTypeArrayOutput values. You can construct a concrete instance of `ResourceSliceTypeArrayInput` via:

ResourceSliceTypeArray{ ResourceSliceTypeArgs{...} }

type ResourceSliceTypeArrayOutput

type ResourceSliceTypeArrayOutput struct{ *pulumi.OutputState }

func (ResourceSliceTypeArrayOutput) ElementType

func (ResourceSliceTypeArrayOutput) Index

func (ResourceSliceTypeArrayOutput) ToResourceSliceTypeArrayOutput

func (o ResourceSliceTypeArrayOutput) ToResourceSliceTypeArrayOutput() ResourceSliceTypeArrayOutput

func (ResourceSliceTypeArrayOutput) ToResourceSliceTypeArrayOutputWithContext

func (o ResourceSliceTypeArrayOutput) ToResourceSliceTypeArrayOutputWithContext(ctx context.Context) ResourceSliceTypeArrayOutput

type ResourceSliceTypeInput

type ResourceSliceTypeInput interface {
	pulumi.Input

	ToResourceSliceTypeOutput() ResourceSliceTypeOutput
	ToResourceSliceTypeOutputWithContext(context.Context) ResourceSliceTypeOutput
}

ResourceSliceTypeInput is an input type that accepts ResourceSliceTypeArgs and ResourceSliceTypeOutput values. You can construct a concrete instance of `ResourceSliceTypeInput` via:

ResourceSliceTypeArgs{...}

type ResourceSliceTypeOutput

type ResourceSliceTypeOutput struct{ *pulumi.OutputState }

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 <driver name>, <pool name>, <device name>.

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.

func (ResourceSliceTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ResourceSliceTypeOutput) ElementType

func (ResourceSliceTypeOutput) ElementType() reflect.Type

func (ResourceSliceTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ResourceSliceTypeOutput) Metadata

Standard object metadata

func (ResourceSliceTypeOutput) Spec

Contains the information published by the driver.

Changing the spec automatically increments the metadata.generation number.

func (ResourceSliceTypeOutput) ToResourceSliceTypeOutput

func (o ResourceSliceTypeOutput) ToResourceSliceTypeOutput() ResourceSliceTypeOutput

func (ResourceSliceTypeOutput) ToResourceSliceTypeOutputWithContext

func (o ResourceSliceTypeOutput) ToResourceSliceTypeOutputWithContext(ctx context.Context) ResourceSliceTypeOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL