Documentation
¶
Index ¶
- type AllocatedDeviceStatus
- type AllocatedDeviceStatusArgs
- type AllocatedDeviceStatusArray
- func (AllocatedDeviceStatusArray) ElementType() reflect.Type
- func (i AllocatedDeviceStatusArray) ToAllocatedDeviceStatusArrayOutput() AllocatedDeviceStatusArrayOutput
- func (i AllocatedDeviceStatusArray) ToAllocatedDeviceStatusArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusArrayOutput
- type AllocatedDeviceStatusArrayInput
- type AllocatedDeviceStatusArrayOutput
- func (AllocatedDeviceStatusArrayOutput) ElementType() reflect.Type
- func (o AllocatedDeviceStatusArrayOutput) Index(i pulumi.IntInput) AllocatedDeviceStatusOutput
- func (o AllocatedDeviceStatusArrayOutput) ToAllocatedDeviceStatusArrayOutput() AllocatedDeviceStatusArrayOutput
- func (o AllocatedDeviceStatusArrayOutput) ToAllocatedDeviceStatusArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusArrayOutput
- type AllocatedDeviceStatusInput
- type AllocatedDeviceStatusOutput
- func (o AllocatedDeviceStatusOutput) Conditions() metav1.ConditionArrayOutput
- func (o AllocatedDeviceStatusOutput) Data() pulumi.AnyOutput
- func (o AllocatedDeviceStatusOutput) Device() pulumi.StringOutput
- func (o AllocatedDeviceStatusOutput) Driver() pulumi.StringOutput
- func (AllocatedDeviceStatusOutput) ElementType() reflect.Type
- func (o AllocatedDeviceStatusOutput) NetworkData() NetworkDeviceDataPtrOutput
- func (o AllocatedDeviceStatusOutput) Pool() pulumi.StringOutput
- func (o AllocatedDeviceStatusOutput) ToAllocatedDeviceStatusOutput() AllocatedDeviceStatusOutput
- func (o AllocatedDeviceStatusOutput) ToAllocatedDeviceStatusOutputWithContext(ctx context.Context) AllocatedDeviceStatusOutput
- type AllocatedDeviceStatusPatch
- type AllocatedDeviceStatusPatchArgs
- func (AllocatedDeviceStatusPatchArgs) ElementType() reflect.Type
- func (i AllocatedDeviceStatusPatchArgs) ToAllocatedDeviceStatusPatchOutput() AllocatedDeviceStatusPatchOutput
- func (i AllocatedDeviceStatusPatchArgs) ToAllocatedDeviceStatusPatchOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchOutput
- type AllocatedDeviceStatusPatchArray
- func (AllocatedDeviceStatusPatchArray) ElementType() reflect.Type
- func (i AllocatedDeviceStatusPatchArray) ToAllocatedDeviceStatusPatchArrayOutput() AllocatedDeviceStatusPatchArrayOutput
- func (i AllocatedDeviceStatusPatchArray) ToAllocatedDeviceStatusPatchArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchArrayOutput
- type AllocatedDeviceStatusPatchArrayInput
- type AllocatedDeviceStatusPatchArrayOutput
- func (AllocatedDeviceStatusPatchArrayOutput) ElementType() reflect.Type
- func (o AllocatedDeviceStatusPatchArrayOutput) Index(i pulumi.IntInput) AllocatedDeviceStatusPatchOutput
- func (o AllocatedDeviceStatusPatchArrayOutput) ToAllocatedDeviceStatusPatchArrayOutput() AllocatedDeviceStatusPatchArrayOutput
- func (o AllocatedDeviceStatusPatchArrayOutput) ToAllocatedDeviceStatusPatchArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchArrayOutput
- type AllocatedDeviceStatusPatchInput
- type AllocatedDeviceStatusPatchOutput
- func (o AllocatedDeviceStatusPatchOutput) Conditions() metav1.ConditionPatchArrayOutput
- func (o AllocatedDeviceStatusPatchOutput) Data() pulumi.AnyOutput
- func (o AllocatedDeviceStatusPatchOutput) Device() pulumi.StringPtrOutput
- func (o AllocatedDeviceStatusPatchOutput) Driver() pulumi.StringPtrOutput
- func (AllocatedDeviceStatusPatchOutput) ElementType() reflect.Type
- func (o AllocatedDeviceStatusPatchOutput) NetworkData() NetworkDeviceDataPatchPtrOutput
- func (o AllocatedDeviceStatusPatchOutput) Pool() pulumi.StringPtrOutput
- func (o AllocatedDeviceStatusPatchOutput) ToAllocatedDeviceStatusPatchOutput() AllocatedDeviceStatusPatchOutput
- func (o AllocatedDeviceStatusPatchOutput) ToAllocatedDeviceStatusPatchOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchOutput
- type AllocationResult
- type AllocationResultArgs
- func (AllocationResultArgs) ElementType() reflect.Type
- func (i AllocationResultArgs) ToAllocationResultOutput() AllocationResultOutput
- func (i AllocationResultArgs) ToAllocationResultOutputWithContext(ctx context.Context) AllocationResultOutput
- func (i AllocationResultArgs) ToAllocationResultPtrOutput() AllocationResultPtrOutput
- func (i AllocationResultArgs) ToAllocationResultPtrOutputWithContext(ctx context.Context) AllocationResultPtrOutput
- type AllocationResultInput
- type AllocationResultOutput
- func (o AllocationResultOutput) Controller() pulumi.StringPtrOutput
- func (o AllocationResultOutput) Devices() DeviceAllocationResultPtrOutput
- func (AllocationResultOutput) ElementType() reflect.Type
- func (o AllocationResultOutput) NodeSelector() corev1.NodeSelectorPtrOutput
- func (o AllocationResultOutput) ToAllocationResultOutput() AllocationResultOutput
- func (o AllocationResultOutput) ToAllocationResultOutputWithContext(ctx context.Context) AllocationResultOutput
- func (o AllocationResultOutput) ToAllocationResultPtrOutput() AllocationResultPtrOutput
- func (o AllocationResultOutput) ToAllocationResultPtrOutputWithContext(ctx context.Context) AllocationResultPtrOutput
- type AllocationResultPatch
- type AllocationResultPatchArgs
- func (AllocationResultPatchArgs) ElementType() reflect.Type
- func (i AllocationResultPatchArgs) ToAllocationResultPatchOutput() AllocationResultPatchOutput
- func (i AllocationResultPatchArgs) ToAllocationResultPatchOutputWithContext(ctx context.Context) AllocationResultPatchOutput
- func (i AllocationResultPatchArgs) ToAllocationResultPatchPtrOutput() AllocationResultPatchPtrOutput
- func (i AllocationResultPatchArgs) ToAllocationResultPatchPtrOutputWithContext(ctx context.Context) AllocationResultPatchPtrOutput
- type AllocationResultPatchInput
- type AllocationResultPatchOutput
- func (o AllocationResultPatchOutput) Controller() pulumi.StringPtrOutput
- func (o AllocationResultPatchOutput) Devices() DeviceAllocationResultPatchPtrOutput
- func (AllocationResultPatchOutput) ElementType() reflect.Type
- func (o AllocationResultPatchOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
- func (o AllocationResultPatchOutput) ToAllocationResultPatchOutput() AllocationResultPatchOutput
- func (o AllocationResultPatchOutput) ToAllocationResultPatchOutputWithContext(ctx context.Context) AllocationResultPatchOutput
- func (o AllocationResultPatchOutput) ToAllocationResultPatchPtrOutput() AllocationResultPatchPtrOutput
- func (o AllocationResultPatchOutput) ToAllocationResultPatchPtrOutputWithContext(ctx context.Context) AllocationResultPatchPtrOutput
- type AllocationResultPatchPtrInput
- type AllocationResultPatchPtrOutput
- func (o AllocationResultPatchPtrOutput) Controller() pulumi.StringPtrOutput
- func (o AllocationResultPatchPtrOutput) Devices() DeviceAllocationResultPatchPtrOutput
- func (o AllocationResultPatchPtrOutput) Elem() AllocationResultPatchOutput
- func (AllocationResultPatchPtrOutput) ElementType() reflect.Type
- func (o AllocationResultPatchPtrOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
- func (o AllocationResultPatchPtrOutput) ToAllocationResultPatchPtrOutput() AllocationResultPatchPtrOutput
- func (o AllocationResultPatchPtrOutput) ToAllocationResultPatchPtrOutputWithContext(ctx context.Context) AllocationResultPatchPtrOutput
- type AllocationResultPtrInput
- type AllocationResultPtrOutput
- func (o AllocationResultPtrOutput) Controller() pulumi.StringPtrOutput
- func (o AllocationResultPtrOutput) Devices() DeviceAllocationResultPtrOutput
- func (o AllocationResultPtrOutput) Elem() AllocationResultOutput
- func (AllocationResultPtrOutput) ElementType() reflect.Type
- func (o AllocationResultPtrOutput) NodeSelector() corev1.NodeSelectorPtrOutput
- func (o AllocationResultPtrOutput) ToAllocationResultPtrOutput() AllocationResultPtrOutput
- func (o AllocationResultPtrOutput) ToAllocationResultPtrOutputWithContext(ctx context.Context) AllocationResultPtrOutput
- type BasicDevice
- type BasicDeviceArgs
- func (BasicDeviceArgs) ElementType() reflect.Type
- func (i BasicDeviceArgs) ToBasicDeviceOutput() BasicDeviceOutput
- func (i BasicDeviceArgs) ToBasicDeviceOutputWithContext(ctx context.Context) BasicDeviceOutput
- func (i BasicDeviceArgs) ToBasicDevicePtrOutput() BasicDevicePtrOutput
- func (i BasicDeviceArgs) ToBasicDevicePtrOutputWithContext(ctx context.Context) BasicDevicePtrOutput
- type BasicDeviceInput
- type BasicDeviceOutput
- func (o BasicDeviceOutput) AllNodes() pulumi.BoolPtrOutput
- func (o BasicDeviceOutput) Attributes() DeviceAttributeMapOutput
- func (o BasicDeviceOutput) Capacity() pulumi.StringMapOutput
- func (o BasicDeviceOutput) ConsumesCounters() DeviceCounterConsumptionArrayOutput
- func (BasicDeviceOutput) ElementType() reflect.Type
- func (o BasicDeviceOutput) NodeName() pulumi.StringPtrOutput
- func (o BasicDeviceOutput) NodeSelector() corev1.NodeSelectorPtrOutput
- func (o BasicDeviceOutput) Taints() DeviceTaintArrayOutput
- func (o BasicDeviceOutput) ToBasicDeviceOutput() BasicDeviceOutput
- func (o BasicDeviceOutput) ToBasicDeviceOutputWithContext(ctx context.Context) BasicDeviceOutput
- func (o BasicDeviceOutput) ToBasicDevicePtrOutput() BasicDevicePtrOutput
- func (o BasicDeviceOutput) ToBasicDevicePtrOutputWithContext(ctx context.Context) BasicDevicePtrOutput
- type BasicDevicePatch
- type BasicDevicePatchArgs
- func (BasicDevicePatchArgs) ElementType() reflect.Type
- func (i BasicDevicePatchArgs) ToBasicDevicePatchOutput() BasicDevicePatchOutput
- func (i BasicDevicePatchArgs) ToBasicDevicePatchOutputWithContext(ctx context.Context) BasicDevicePatchOutput
- func (i BasicDevicePatchArgs) ToBasicDevicePatchPtrOutput() BasicDevicePatchPtrOutput
- func (i BasicDevicePatchArgs) ToBasicDevicePatchPtrOutputWithContext(ctx context.Context) BasicDevicePatchPtrOutput
- type BasicDevicePatchInput
- type BasicDevicePatchOutput
- func (o BasicDevicePatchOutput) AllNodes() pulumi.BoolPtrOutput
- func (o BasicDevicePatchOutput) Attributes() DeviceAttributeMapOutput
- func (o BasicDevicePatchOutput) Capacity() pulumi.StringMapOutput
- func (o BasicDevicePatchOutput) ConsumesCounters() DeviceCounterConsumptionPatchArrayOutput
- func (BasicDevicePatchOutput) ElementType() reflect.Type
- func (o BasicDevicePatchOutput) NodeName() pulumi.StringPtrOutput
- func (o BasicDevicePatchOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
- func (o BasicDevicePatchOutput) Taints() DeviceTaintPatchArrayOutput
- func (o BasicDevicePatchOutput) ToBasicDevicePatchOutput() BasicDevicePatchOutput
- func (o BasicDevicePatchOutput) ToBasicDevicePatchOutputWithContext(ctx context.Context) BasicDevicePatchOutput
- func (o BasicDevicePatchOutput) ToBasicDevicePatchPtrOutput() BasicDevicePatchPtrOutput
- func (o BasicDevicePatchOutput) ToBasicDevicePatchPtrOutputWithContext(ctx context.Context) BasicDevicePatchPtrOutput
- type BasicDevicePatchPtrInput
- type BasicDevicePatchPtrOutput
- func (o BasicDevicePatchPtrOutput) AllNodes() pulumi.BoolPtrOutput
- func (o BasicDevicePatchPtrOutput) Attributes() DeviceAttributeMapOutput
- func (o BasicDevicePatchPtrOutput) Capacity() pulumi.StringMapOutput
- func (o BasicDevicePatchPtrOutput) ConsumesCounters() DeviceCounterConsumptionPatchArrayOutput
- func (o BasicDevicePatchPtrOutput) Elem() BasicDevicePatchOutput
- func (BasicDevicePatchPtrOutput) ElementType() reflect.Type
- func (o BasicDevicePatchPtrOutput) NodeName() pulumi.StringPtrOutput
- func (o BasicDevicePatchPtrOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
- func (o BasicDevicePatchPtrOutput) Taints() DeviceTaintPatchArrayOutput
- func (o BasicDevicePatchPtrOutput) ToBasicDevicePatchPtrOutput() BasicDevicePatchPtrOutput
- func (o BasicDevicePatchPtrOutput) ToBasicDevicePatchPtrOutputWithContext(ctx context.Context) BasicDevicePatchPtrOutput
- type BasicDevicePtrInput
- type BasicDevicePtrOutput
- func (o BasicDevicePtrOutput) AllNodes() pulumi.BoolPtrOutput
- func (o BasicDevicePtrOutput) Attributes() DeviceAttributeMapOutput
- func (o BasicDevicePtrOutput) Capacity() pulumi.StringMapOutput
- func (o BasicDevicePtrOutput) ConsumesCounters() DeviceCounterConsumptionArrayOutput
- func (o BasicDevicePtrOutput) Elem() BasicDeviceOutput
- func (BasicDevicePtrOutput) ElementType() reflect.Type
- func (o BasicDevicePtrOutput) NodeName() pulumi.StringPtrOutput
- func (o BasicDevicePtrOutput) NodeSelector() corev1.NodeSelectorPtrOutput
- func (o BasicDevicePtrOutput) Taints() DeviceTaintArrayOutput
- func (o BasicDevicePtrOutput) ToBasicDevicePtrOutput() BasicDevicePtrOutput
- func (o BasicDevicePtrOutput) ToBasicDevicePtrOutputWithContext(ctx context.Context) BasicDevicePtrOutput
- type CELDeviceSelector
- type CELDeviceSelectorArgs
- func (CELDeviceSelectorArgs) ElementType() reflect.Type
- func (i CELDeviceSelectorArgs) ToCELDeviceSelectorOutput() CELDeviceSelectorOutput
- func (i CELDeviceSelectorArgs) ToCELDeviceSelectorOutputWithContext(ctx context.Context) CELDeviceSelectorOutput
- func (i CELDeviceSelectorArgs) ToCELDeviceSelectorPtrOutput() CELDeviceSelectorPtrOutput
- func (i CELDeviceSelectorArgs) ToCELDeviceSelectorPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPtrOutput
- type CELDeviceSelectorInput
- type CELDeviceSelectorOutput
- func (CELDeviceSelectorOutput) ElementType() reflect.Type
- func (o CELDeviceSelectorOutput) Expression() pulumi.StringOutput
- func (o CELDeviceSelectorOutput) ToCELDeviceSelectorOutput() CELDeviceSelectorOutput
- func (o CELDeviceSelectorOutput) ToCELDeviceSelectorOutputWithContext(ctx context.Context) CELDeviceSelectorOutput
- func (o CELDeviceSelectorOutput) ToCELDeviceSelectorPtrOutput() CELDeviceSelectorPtrOutput
- func (o CELDeviceSelectorOutput) ToCELDeviceSelectorPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPtrOutput
- type CELDeviceSelectorPatch
- type CELDeviceSelectorPatchArgs
- func (CELDeviceSelectorPatchArgs) ElementType() reflect.Type
- func (i CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchOutput() CELDeviceSelectorPatchOutput
- func (i CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchOutputWithContext(ctx context.Context) CELDeviceSelectorPatchOutput
- func (i CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchPtrOutput() CELDeviceSelectorPatchPtrOutput
- func (i CELDeviceSelectorPatchArgs) ToCELDeviceSelectorPatchPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPatchPtrOutput
- type CELDeviceSelectorPatchInput
- type CELDeviceSelectorPatchOutput
- func (CELDeviceSelectorPatchOutput) ElementType() reflect.Type
- func (o CELDeviceSelectorPatchOutput) Expression() pulumi.StringPtrOutput
- func (o CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchOutput() CELDeviceSelectorPatchOutput
- func (o CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchOutputWithContext(ctx context.Context) CELDeviceSelectorPatchOutput
- func (o CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchPtrOutput() CELDeviceSelectorPatchPtrOutput
- func (o CELDeviceSelectorPatchOutput) ToCELDeviceSelectorPatchPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPatchPtrOutput
- type CELDeviceSelectorPatchPtrInput
- type CELDeviceSelectorPatchPtrOutput
- func (o CELDeviceSelectorPatchPtrOutput) Elem() CELDeviceSelectorPatchOutput
- func (CELDeviceSelectorPatchPtrOutput) ElementType() reflect.Type
- func (o CELDeviceSelectorPatchPtrOutput) Expression() pulumi.StringPtrOutput
- func (o CELDeviceSelectorPatchPtrOutput) ToCELDeviceSelectorPatchPtrOutput() CELDeviceSelectorPatchPtrOutput
- func (o CELDeviceSelectorPatchPtrOutput) ToCELDeviceSelectorPatchPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPatchPtrOutput
- type CELDeviceSelectorPtrInput
- type CELDeviceSelectorPtrOutput
- func (o CELDeviceSelectorPtrOutput) Elem() CELDeviceSelectorOutput
- func (CELDeviceSelectorPtrOutput) ElementType() reflect.Type
- func (o CELDeviceSelectorPtrOutput) Expression() pulumi.StringPtrOutput
- func (o CELDeviceSelectorPtrOutput) ToCELDeviceSelectorPtrOutput() CELDeviceSelectorPtrOutput
- func (o CELDeviceSelectorPtrOutput) ToCELDeviceSelectorPtrOutputWithContext(ctx context.Context) CELDeviceSelectorPtrOutput
- type Counter
- type CounterArgs
- type CounterInput
- type CounterMap
- type CounterMapInput
- type CounterMapOutput
- type CounterOutput
- type CounterPatch
- type CounterPatchArgs
- type CounterPatchInput
- type CounterPatchOutput
- type CounterSet
- type CounterSetArgs
- type CounterSetArray
- type CounterSetArrayInput
- type CounterSetArrayOutput
- func (CounterSetArrayOutput) ElementType() reflect.Type
- func (o CounterSetArrayOutput) Index(i pulumi.IntInput) CounterSetOutput
- func (o CounterSetArrayOutput) ToCounterSetArrayOutput() CounterSetArrayOutput
- func (o CounterSetArrayOutput) ToCounterSetArrayOutputWithContext(ctx context.Context) CounterSetArrayOutput
- type CounterSetInput
- type CounterSetOutput
- func (o CounterSetOutput) Counters() CounterMapOutput
- func (CounterSetOutput) ElementType() reflect.Type
- func (o CounterSetOutput) Name() pulumi.StringOutput
- func (o CounterSetOutput) ToCounterSetOutput() CounterSetOutput
- func (o CounterSetOutput) ToCounterSetOutputWithContext(ctx context.Context) CounterSetOutput
- type CounterSetPatch
- type CounterSetPatchArgs
- type CounterSetPatchArray
- type CounterSetPatchArrayInput
- type CounterSetPatchArrayOutput
- func (CounterSetPatchArrayOutput) ElementType() reflect.Type
- func (o CounterSetPatchArrayOutput) Index(i pulumi.IntInput) CounterSetPatchOutput
- func (o CounterSetPatchArrayOutput) ToCounterSetPatchArrayOutput() CounterSetPatchArrayOutput
- func (o CounterSetPatchArrayOutput) ToCounterSetPatchArrayOutputWithContext(ctx context.Context) CounterSetPatchArrayOutput
- type CounterSetPatchInput
- type CounterSetPatchOutput
- func (o CounterSetPatchOutput) Counters() CounterMapOutput
- func (CounterSetPatchOutput) ElementType() reflect.Type
- func (o CounterSetPatchOutput) Name() pulumi.StringPtrOutput
- func (o CounterSetPatchOutput) ToCounterSetPatchOutput() CounterSetPatchOutput
- func (o CounterSetPatchOutput) ToCounterSetPatchOutputWithContext(ctx context.Context) CounterSetPatchOutput
- type Device
- type DeviceAllocationConfiguration
- type DeviceAllocationConfigurationArgs
- func (DeviceAllocationConfigurationArgs) ElementType() reflect.Type
- func (i DeviceAllocationConfigurationArgs) ToDeviceAllocationConfigurationOutput() DeviceAllocationConfigurationOutput
- func (i DeviceAllocationConfigurationArgs) ToDeviceAllocationConfigurationOutputWithContext(ctx context.Context) DeviceAllocationConfigurationOutput
- type DeviceAllocationConfigurationArray
- func (DeviceAllocationConfigurationArray) ElementType() reflect.Type
- func (i DeviceAllocationConfigurationArray) ToDeviceAllocationConfigurationArrayOutput() DeviceAllocationConfigurationArrayOutput
- func (i DeviceAllocationConfigurationArray) ToDeviceAllocationConfigurationArrayOutputWithContext(ctx context.Context) DeviceAllocationConfigurationArrayOutput
- type DeviceAllocationConfigurationArrayInput
- type DeviceAllocationConfigurationArrayOutput
- func (DeviceAllocationConfigurationArrayOutput) ElementType() reflect.Type
- func (o DeviceAllocationConfigurationArrayOutput) Index(i pulumi.IntInput) DeviceAllocationConfigurationOutput
- func (o DeviceAllocationConfigurationArrayOutput) ToDeviceAllocationConfigurationArrayOutput() DeviceAllocationConfigurationArrayOutput
- func (o DeviceAllocationConfigurationArrayOutput) ToDeviceAllocationConfigurationArrayOutputWithContext(ctx context.Context) DeviceAllocationConfigurationArrayOutput
- type DeviceAllocationConfigurationInput
- type DeviceAllocationConfigurationOutput
- func (DeviceAllocationConfigurationOutput) ElementType() reflect.Type
- func (o DeviceAllocationConfigurationOutput) Opaque() OpaqueDeviceConfigurationPtrOutput
- func (o DeviceAllocationConfigurationOutput) Requests() pulumi.StringArrayOutput
- func (o DeviceAllocationConfigurationOutput) Source() pulumi.StringOutput
- func (o DeviceAllocationConfigurationOutput) ToDeviceAllocationConfigurationOutput() DeviceAllocationConfigurationOutput
- func (o DeviceAllocationConfigurationOutput) ToDeviceAllocationConfigurationOutputWithContext(ctx context.Context) DeviceAllocationConfigurationOutput
- type DeviceAllocationConfigurationPatch
- type DeviceAllocationConfigurationPatchArgs
- func (DeviceAllocationConfigurationPatchArgs) ElementType() reflect.Type
- func (i DeviceAllocationConfigurationPatchArgs) ToDeviceAllocationConfigurationPatchOutput() DeviceAllocationConfigurationPatchOutput
- func (i DeviceAllocationConfigurationPatchArgs) ToDeviceAllocationConfigurationPatchOutputWithContext(ctx context.Context) DeviceAllocationConfigurationPatchOutput
- type DeviceAllocationConfigurationPatchArray
- func (DeviceAllocationConfigurationPatchArray) ElementType() reflect.Type
- func (i DeviceAllocationConfigurationPatchArray) ToDeviceAllocationConfigurationPatchArrayOutput() DeviceAllocationConfigurationPatchArrayOutput
- func (i DeviceAllocationConfigurationPatchArray) ToDeviceAllocationConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceAllocationConfigurationPatchArrayOutput
- type DeviceAllocationConfigurationPatchArrayInput
- type DeviceAllocationConfigurationPatchArrayOutput
- func (DeviceAllocationConfigurationPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceAllocationConfigurationPatchArrayOutput) Index(i pulumi.IntInput) DeviceAllocationConfigurationPatchOutput
- func (o DeviceAllocationConfigurationPatchArrayOutput) ToDeviceAllocationConfigurationPatchArrayOutput() DeviceAllocationConfigurationPatchArrayOutput
- func (o DeviceAllocationConfigurationPatchArrayOutput) ToDeviceAllocationConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceAllocationConfigurationPatchArrayOutput
- type DeviceAllocationConfigurationPatchInput
- type DeviceAllocationConfigurationPatchOutput
- func (DeviceAllocationConfigurationPatchOutput) ElementType() reflect.Type
- func (o DeviceAllocationConfigurationPatchOutput) Opaque() OpaqueDeviceConfigurationPatchPtrOutput
- func (o DeviceAllocationConfigurationPatchOutput) Requests() pulumi.StringArrayOutput
- func (o DeviceAllocationConfigurationPatchOutput) Source() pulumi.StringPtrOutput
- func (o DeviceAllocationConfigurationPatchOutput) ToDeviceAllocationConfigurationPatchOutput() DeviceAllocationConfigurationPatchOutput
- func (o DeviceAllocationConfigurationPatchOutput) ToDeviceAllocationConfigurationPatchOutputWithContext(ctx context.Context) DeviceAllocationConfigurationPatchOutput
- type DeviceAllocationResult
- type DeviceAllocationResultArgs
- func (DeviceAllocationResultArgs) ElementType() reflect.Type
- func (i DeviceAllocationResultArgs) ToDeviceAllocationResultOutput() DeviceAllocationResultOutput
- func (i DeviceAllocationResultArgs) ToDeviceAllocationResultOutputWithContext(ctx context.Context) DeviceAllocationResultOutput
- func (i DeviceAllocationResultArgs) ToDeviceAllocationResultPtrOutput() DeviceAllocationResultPtrOutput
- func (i DeviceAllocationResultArgs) ToDeviceAllocationResultPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPtrOutput
- type DeviceAllocationResultInput
- type DeviceAllocationResultOutput
- func (o DeviceAllocationResultOutput) Config() DeviceAllocationConfigurationArrayOutput
- func (DeviceAllocationResultOutput) ElementType() reflect.Type
- func (o DeviceAllocationResultOutput) Results() DeviceRequestAllocationResultArrayOutput
- func (o DeviceAllocationResultOutput) ToDeviceAllocationResultOutput() DeviceAllocationResultOutput
- func (o DeviceAllocationResultOutput) ToDeviceAllocationResultOutputWithContext(ctx context.Context) DeviceAllocationResultOutput
- func (o DeviceAllocationResultOutput) ToDeviceAllocationResultPtrOutput() DeviceAllocationResultPtrOutput
- func (o DeviceAllocationResultOutput) ToDeviceAllocationResultPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPtrOutput
- type DeviceAllocationResultPatch
- type DeviceAllocationResultPatchArgs
- func (DeviceAllocationResultPatchArgs) ElementType() reflect.Type
- func (i DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchOutput() DeviceAllocationResultPatchOutput
- func (i DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchOutputWithContext(ctx context.Context) DeviceAllocationResultPatchOutput
- func (i DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchPtrOutput() DeviceAllocationResultPatchPtrOutput
- func (i DeviceAllocationResultPatchArgs) ToDeviceAllocationResultPatchPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPatchPtrOutput
- type DeviceAllocationResultPatchInput
- type DeviceAllocationResultPatchOutput
- func (o DeviceAllocationResultPatchOutput) Config() DeviceAllocationConfigurationPatchArrayOutput
- func (DeviceAllocationResultPatchOutput) ElementType() reflect.Type
- func (o DeviceAllocationResultPatchOutput) Results() DeviceRequestAllocationResultPatchArrayOutput
- func (o DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchOutput() DeviceAllocationResultPatchOutput
- func (o DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchOutputWithContext(ctx context.Context) DeviceAllocationResultPatchOutput
- func (o DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchPtrOutput() DeviceAllocationResultPatchPtrOutput
- func (o DeviceAllocationResultPatchOutput) ToDeviceAllocationResultPatchPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPatchPtrOutput
- type DeviceAllocationResultPatchPtrInput
- type DeviceAllocationResultPatchPtrOutput
- func (o DeviceAllocationResultPatchPtrOutput) Config() DeviceAllocationConfigurationPatchArrayOutput
- func (o DeviceAllocationResultPatchPtrOutput) Elem() DeviceAllocationResultPatchOutput
- func (DeviceAllocationResultPatchPtrOutput) ElementType() reflect.Type
- func (o DeviceAllocationResultPatchPtrOutput) Results() DeviceRequestAllocationResultPatchArrayOutput
- func (o DeviceAllocationResultPatchPtrOutput) ToDeviceAllocationResultPatchPtrOutput() DeviceAllocationResultPatchPtrOutput
- func (o DeviceAllocationResultPatchPtrOutput) ToDeviceAllocationResultPatchPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPatchPtrOutput
- type DeviceAllocationResultPtrInput
- type DeviceAllocationResultPtrOutput
- func (o DeviceAllocationResultPtrOutput) Config() DeviceAllocationConfigurationArrayOutput
- func (o DeviceAllocationResultPtrOutput) Elem() DeviceAllocationResultOutput
- func (DeviceAllocationResultPtrOutput) ElementType() reflect.Type
- func (o DeviceAllocationResultPtrOutput) Results() DeviceRequestAllocationResultArrayOutput
- func (o DeviceAllocationResultPtrOutput) ToDeviceAllocationResultPtrOutput() DeviceAllocationResultPtrOutput
- func (o DeviceAllocationResultPtrOutput) ToDeviceAllocationResultPtrOutputWithContext(ctx context.Context) DeviceAllocationResultPtrOutput
- type DeviceArgs
- type DeviceArray
- type DeviceArrayInput
- type DeviceArrayOutput
- type DeviceAttribute
- type DeviceAttributeArgs
- type DeviceAttributeInput
- type DeviceAttributeMap
- type DeviceAttributeMapInput
- type DeviceAttributeMapOutput
- func (DeviceAttributeMapOutput) ElementType() reflect.Type
- func (o DeviceAttributeMapOutput) MapIndex(k pulumi.StringInput) DeviceAttributeOutput
- func (o DeviceAttributeMapOutput) ToDeviceAttributeMapOutput() DeviceAttributeMapOutput
- func (o DeviceAttributeMapOutput) ToDeviceAttributeMapOutputWithContext(ctx context.Context) DeviceAttributeMapOutput
- type DeviceAttributeOutput
- func (o DeviceAttributeOutput) Bool() pulumi.BoolPtrOutput
- func (DeviceAttributeOutput) ElementType() reflect.Type
- func (o DeviceAttributeOutput) Int() pulumi.IntPtrOutput
- func (o DeviceAttributeOutput) String() pulumi.StringPtrOutput
- func (o DeviceAttributeOutput) ToDeviceAttributeOutput() DeviceAttributeOutput
- func (o DeviceAttributeOutput) ToDeviceAttributeOutputWithContext(ctx context.Context) DeviceAttributeOutput
- func (o DeviceAttributeOutput) Version() pulumi.StringPtrOutput
- type DeviceAttributePatch
- type DeviceAttributePatchArgs
- type DeviceAttributePatchInput
- type DeviceAttributePatchOutput
- func (o DeviceAttributePatchOutput) Bool() pulumi.BoolPtrOutput
- func (DeviceAttributePatchOutput) ElementType() reflect.Type
- func (o DeviceAttributePatchOutput) Int() pulumi.IntPtrOutput
- func (o DeviceAttributePatchOutput) String() pulumi.StringPtrOutput
- func (o DeviceAttributePatchOutput) ToDeviceAttributePatchOutput() DeviceAttributePatchOutput
- func (o DeviceAttributePatchOutput) ToDeviceAttributePatchOutputWithContext(ctx context.Context) DeviceAttributePatchOutput
- func (o DeviceAttributePatchOutput) Version() pulumi.StringPtrOutput
- type DeviceClaim
- type DeviceClaimArgs
- func (DeviceClaimArgs) ElementType() reflect.Type
- func (i DeviceClaimArgs) ToDeviceClaimOutput() DeviceClaimOutput
- func (i DeviceClaimArgs) ToDeviceClaimOutputWithContext(ctx context.Context) DeviceClaimOutput
- func (i DeviceClaimArgs) ToDeviceClaimPtrOutput() DeviceClaimPtrOutput
- func (i DeviceClaimArgs) ToDeviceClaimPtrOutputWithContext(ctx context.Context) DeviceClaimPtrOutput
- type DeviceClaimConfiguration
- type DeviceClaimConfigurationArgs
- func (DeviceClaimConfigurationArgs) ElementType() reflect.Type
- func (i DeviceClaimConfigurationArgs) ToDeviceClaimConfigurationOutput() DeviceClaimConfigurationOutput
- func (i DeviceClaimConfigurationArgs) ToDeviceClaimConfigurationOutputWithContext(ctx context.Context) DeviceClaimConfigurationOutput
- type DeviceClaimConfigurationArray
- func (DeviceClaimConfigurationArray) ElementType() reflect.Type
- func (i DeviceClaimConfigurationArray) ToDeviceClaimConfigurationArrayOutput() DeviceClaimConfigurationArrayOutput
- func (i DeviceClaimConfigurationArray) ToDeviceClaimConfigurationArrayOutputWithContext(ctx context.Context) DeviceClaimConfigurationArrayOutput
- type DeviceClaimConfigurationArrayInput
- type DeviceClaimConfigurationArrayOutput
- func (DeviceClaimConfigurationArrayOutput) ElementType() reflect.Type
- func (o DeviceClaimConfigurationArrayOutput) Index(i pulumi.IntInput) DeviceClaimConfigurationOutput
- func (o DeviceClaimConfigurationArrayOutput) ToDeviceClaimConfigurationArrayOutput() DeviceClaimConfigurationArrayOutput
- func (o DeviceClaimConfigurationArrayOutput) ToDeviceClaimConfigurationArrayOutputWithContext(ctx context.Context) DeviceClaimConfigurationArrayOutput
- type DeviceClaimConfigurationInput
- type DeviceClaimConfigurationOutput
- func (DeviceClaimConfigurationOutput) ElementType() reflect.Type
- func (o DeviceClaimConfigurationOutput) Opaque() OpaqueDeviceConfigurationPtrOutput
- func (o DeviceClaimConfigurationOutput) Requests() pulumi.StringArrayOutput
- func (o DeviceClaimConfigurationOutput) ToDeviceClaimConfigurationOutput() DeviceClaimConfigurationOutput
- func (o DeviceClaimConfigurationOutput) ToDeviceClaimConfigurationOutputWithContext(ctx context.Context) DeviceClaimConfigurationOutput
- type DeviceClaimConfigurationPatch
- type DeviceClaimConfigurationPatchArgs
- func (DeviceClaimConfigurationPatchArgs) ElementType() reflect.Type
- func (i DeviceClaimConfigurationPatchArgs) ToDeviceClaimConfigurationPatchOutput() DeviceClaimConfigurationPatchOutput
- func (i DeviceClaimConfigurationPatchArgs) ToDeviceClaimConfigurationPatchOutputWithContext(ctx context.Context) DeviceClaimConfigurationPatchOutput
- type DeviceClaimConfigurationPatchArray
- func (DeviceClaimConfigurationPatchArray) ElementType() reflect.Type
- func (i DeviceClaimConfigurationPatchArray) ToDeviceClaimConfigurationPatchArrayOutput() DeviceClaimConfigurationPatchArrayOutput
- func (i DeviceClaimConfigurationPatchArray) ToDeviceClaimConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceClaimConfigurationPatchArrayOutput
- type DeviceClaimConfigurationPatchArrayInput
- type DeviceClaimConfigurationPatchArrayOutput
- func (DeviceClaimConfigurationPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceClaimConfigurationPatchArrayOutput) Index(i pulumi.IntInput) DeviceClaimConfigurationPatchOutput
- func (o DeviceClaimConfigurationPatchArrayOutput) ToDeviceClaimConfigurationPatchArrayOutput() DeviceClaimConfigurationPatchArrayOutput
- func (o DeviceClaimConfigurationPatchArrayOutput) ToDeviceClaimConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceClaimConfigurationPatchArrayOutput
- type DeviceClaimConfigurationPatchInput
- type DeviceClaimConfigurationPatchOutput
- func (DeviceClaimConfigurationPatchOutput) ElementType() reflect.Type
- func (o DeviceClaimConfigurationPatchOutput) Opaque() OpaqueDeviceConfigurationPatchPtrOutput
- func (o DeviceClaimConfigurationPatchOutput) Requests() pulumi.StringArrayOutput
- func (o DeviceClaimConfigurationPatchOutput) ToDeviceClaimConfigurationPatchOutput() DeviceClaimConfigurationPatchOutput
- func (o DeviceClaimConfigurationPatchOutput) ToDeviceClaimConfigurationPatchOutputWithContext(ctx context.Context) DeviceClaimConfigurationPatchOutput
- type DeviceClaimInput
- type DeviceClaimOutput
- func (o DeviceClaimOutput) Config() DeviceClaimConfigurationArrayOutput
- func (o DeviceClaimOutput) Constraints() DeviceConstraintArrayOutput
- func (DeviceClaimOutput) ElementType() reflect.Type
- func (o DeviceClaimOutput) Requests() DeviceRequestArrayOutput
- func (o DeviceClaimOutput) ToDeviceClaimOutput() DeviceClaimOutput
- func (o DeviceClaimOutput) ToDeviceClaimOutputWithContext(ctx context.Context) DeviceClaimOutput
- func (o DeviceClaimOutput) ToDeviceClaimPtrOutput() DeviceClaimPtrOutput
- func (o DeviceClaimOutput) ToDeviceClaimPtrOutputWithContext(ctx context.Context) DeviceClaimPtrOutput
- type DeviceClaimPatch
- type DeviceClaimPatchArgs
- func (DeviceClaimPatchArgs) ElementType() reflect.Type
- func (i DeviceClaimPatchArgs) ToDeviceClaimPatchOutput() DeviceClaimPatchOutput
- func (i DeviceClaimPatchArgs) ToDeviceClaimPatchOutputWithContext(ctx context.Context) DeviceClaimPatchOutput
- func (i DeviceClaimPatchArgs) ToDeviceClaimPatchPtrOutput() DeviceClaimPatchPtrOutput
- func (i DeviceClaimPatchArgs) ToDeviceClaimPatchPtrOutputWithContext(ctx context.Context) DeviceClaimPatchPtrOutput
- type DeviceClaimPatchInput
- type DeviceClaimPatchOutput
- func (o DeviceClaimPatchOutput) Config() DeviceClaimConfigurationPatchArrayOutput
- func (o DeviceClaimPatchOutput) Constraints() DeviceConstraintPatchArrayOutput
- func (DeviceClaimPatchOutput) ElementType() reflect.Type
- func (o DeviceClaimPatchOutput) Requests() DeviceRequestPatchArrayOutput
- func (o DeviceClaimPatchOutput) ToDeviceClaimPatchOutput() DeviceClaimPatchOutput
- func (o DeviceClaimPatchOutput) ToDeviceClaimPatchOutputWithContext(ctx context.Context) DeviceClaimPatchOutput
- func (o DeviceClaimPatchOutput) ToDeviceClaimPatchPtrOutput() DeviceClaimPatchPtrOutput
- func (o DeviceClaimPatchOutput) ToDeviceClaimPatchPtrOutputWithContext(ctx context.Context) DeviceClaimPatchPtrOutput
- type DeviceClaimPatchPtrInput
- type DeviceClaimPatchPtrOutput
- func (o DeviceClaimPatchPtrOutput) Config() DeviceClaimConfigurationPatchArrayOutput
- func (o DeviceClaimPatchPtrOutput) Constraints() DeviceConstraintPatchArrayOutput
- func (o DeviceClaimPatchPtrOutput) Elem() DeviceClaimPatchOutput
- func (DeviceClaimPatchPtrOutput) ElementType() reflect.Type
- func (o DeviceClaimPatchPtrOutput) Requests() DeviceRequestPatchArrayOutput
- func (o DeviceClaimPatchPtrOutput) ToDeviceClaimPatchPtrOutput() DeviceClaimPatchPtrOutput
- func (o DeviceClaimPatchPtrOutput) ToDeviceClaimPatchPtrOutputWithContext(ctx context.Context) DeviceClaimPatchPtrOutput
- type DeviceClaimPtrInput
- type DeviceClaimPtrOutput
- func (o DeviceClaimPtrOutput) Config() DeviceClaimConfigurationArrayOutput
- func (o DeviceClaimPtrOutput) Constraints() DeviceConstraintArrayOutput
- func (o DeviceClaimPtrOutput) Elem() DeviceClaimOutput
- func (DeviceClaimPtrOutput) ElementType() reflect.Type
- func (o DeviceClaimPtrOutput) Requests() DeviceRequestArrayOutput
- func (o DeviceClaimPtrOutput) ToDeviceClaimPtrOutput() DeviceClaimPtrOutput
- func (o DeviceClaimPtrOutput) ToDeviceClaimPtrOutputWithContext(ctx context.Context) DeviceClaimPtrOutput
- type DeviceClass
- type DeviceClassArgs
- type DeviceClassArray
- type DeviceClassArrayInput
- type DeviceClassArrayOutput
- func (DeviceClassArrayOutput) ElementType() reflect.Type
- func (o DeviceClassArrayOutput) Index(i pulumi.IntInput) DeviceClassOutput
- func (o DeviceClassArrayOutput) ToDeviceClassArrayOutput() DeviceClassArrayOutput
- func (o DeviceClassArrayOutput) ToDeviceClassArrayOutputWithContext(ctx context.Context) DeviceClassArrayOutput
- type DeviceClassConfiguration
- type DeviceClassConfigurationArgs
- func (DeviceClassConfigurationArgs) ElementType() reflect.Type
- func (i DeviceClassConfigurationArgs) ToDeviceClassConfigurationOutput() DeviceClassConfigurationOutput
- func (i DeviceClassConfigurationArgs) ToDeviceClassConfigurationOutputWithContext(ctx context.Context) DeviceClassConfigurationOutput
- type DeviceClassConfigurationArray
- func (DeviceClassConfigurationArray) ElementType() reflect.Type
- func (i DeviceClassConfigurationArray) ToDeviceClassConfigurationArrayOutput() DeviceClassConfigurationArrayOutput
- func (i DeviceClassConfigurationArray) ToDeviceClassConfigurationArrayOutputWithContext(ctx context.Context) DeviceClassConfigurationArrayOutput
- type DeviceClassConfigurationArrayInput
- type DeviceClassConfigurationArrayOutput
- func (DeviceClassConfigurationArrayOutput) ElementType() reflect.Type
- func (o DeviceClassConfigurationArrayOutput) Index(i pulumi.IntInput) DeviceClassConfigurationOutput
- func (o DeviceClassConfigurationArrayOutput) ToDeviceClassConfigurationArrayOutput() DeviceClassConfigurationArrayOutput
- func (o DeviceClassConfigurationArrayOutput) ToDeviceClassConfigurationArrayOutputWithContext(ctx context.Context) DeviceClassConfigurationArrayOutput
- type DeviceClassConfigurationInput
- type DeviceClassConfigurationOutput
- func (DeviceClassConfigurationOutput) ElementType() reflect.Type
- func (o DeviceClassConfigurationOutput) Opaque() OpaqueDeviceConfigurationPtrOutput
- func (o DeviceClassConfigurationOutput) ToDeviceClassConfigurationOutput() DeviceClassConfigurationOutput
- func (o DeviceClassConfigurationOutput) ToDeviceClassConfigurationOutputWithContext(ctx context.Context) DeviceClassConfigurationOutput
- type DeviceClassConfigurationPatch
- type DeviceClassConfigurationPatchArgs
- func (DeviceClassConfigurationPatchArgs) ElementType() reflect.Type
- func (i DeviceClassConfigurationPatchArgs) ToDeviceClassConfigurationPatchOutput() DeviceClassConfigurationPatchOutput
- func (i DeviceClassConfigurationPatchArgs) ToDeviceClassConfigurationPatchOutputWithContext(ctx context.Context) DeviceClassConfigurationPatchOutput
- type DeviceClassConfigurationPatchArray
- func (DeviceClassConfigurationPatchArray) ElementType() reflect.Type
- func (i DeviceClassConfigurationPatchArray) ToDeviceClassConfigurationPatchArrayOutput() DeviceClassConfigurationPatchArrayOutput
- func (i DeviceClassConfigurationPatchArray) ToDeviceClassConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceClassConfigurationPatchArrayOutput
- type DeviceClassConfigurationPatchArrayInput
- type DeviceClassConfigurationPatchArrayOutput
- func (DeviceClassConfigurationPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceClassConfigurationPatchArrayOutput) Index(i pulumi.IntInput) DeviceClassConfigurationPatchOutput
- func (o DeviceClassConfigurationPatchArrayOutput) ToDeviceClassConfigurationPatchArrayOutput() DeviceClassConfigurationPatchArrayOutput
- func (o DeviceClassConfigurationPatchArrayOutput) ToDeviceClassConfigurationPatchArrayOutputWithContext(ctx context.Context) DeviceClassConfigurationPatchArrayOutput
- type DeviceClassConfigurationPatchInput
- type DeviceClassConfigurationPatchOutput
- func (DeviceClassConfigurationPatchOutput) ElementType() reflect.Type
- func (o DeviceClassConfigurationPatchOutput) Opaque() OpaqueDeviceConfigurationPatchPtrOutput
- func (o DeviceClassConfigurationPatchOutput) ToDeviceClassConfigurationPatchOutput() DeviceClassConfigurationPatchOutput
- func (o DeviceClassConfigurationPatchOutput) ToDeviceClassConfigurationPatchOutputWithContext(ctx context.Context) DeviceClassConfigurationPatchOutput
- type DeviceClassInput
- type DeviceClassList
- type DeviceClassListArgs
- type DeviceClassListArray
- type DeviceClassListArrayInput
- type DeviceClassListArrayOutput
- func (DeviceClassListArrayOutput) ElementType() reflect.Type
- func (o DeviceClassListArrayOutput) Index(i pulumi.IntInput) DeviceClassListOutput
- func (o DeviceClassListArrayOutput) ToDeviceClassListArrayOutput() DeviceClassListArrayOutput
- func (o DeviceClassListArrayOutput) ToDeviceClassListArrayOutputWithContext(ctx context.Context) DeviceClassListArrayOutput
- type DeviceClassListInput
- type DeviceClassListMap
- type DeviceClassListMapInput
- type DeviceClassListMapOutput
- func (DeviceClassListMapOutput) ElementType() reflect.Type
- func (o DeviceClassListMapOutput) MapIndex(k pulumi.StringInput) DeviceClassListOutput
- func (o DeviceClassListMapOutput) ToDeviceClassListMapOutput() DeviceClassListMapOutput
- func (o DeviceClassListMapOutput) ToDeviceClassListMapOutputWithContext(ctx context.Context) DeviceClassListMapOutput
- type DeviceClassListOutput
- func (o DeviceClassListOutput) ApiVersion() pulumi.StringOutput
- func (DeviceClassListOutput) ElementType() reflect.Type
- func (o DeviceClassListOutput) Items() DeviceClassTypeArrayOutput
- func (o DeviceClassListOutput) Kind() pulumi.StringOutput
- func (o DeviceClassListOutput) Metadata() metav1.ListMetaOutput
- func (o DeviceClassListOutput) ToDeviceClassListOutput() DeviceClassListOutput
- func (o DeviceClassListOutput) ToDeviceClassListOutputWithContext(ctx context.Context) DeviceClassListOutput
- type DeviceClassListState
- type DeviceClassListType
- type DeviceClassListTypeArgs
- type DeviceClassListTypeInput
- type DeviceClassListTypeOutput
- func (o DeviceClassListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (DeviceClassListTypeOutput) ElementType() reflect.Type
- func (o DeviceClassListTypeOutput) Items() DeviceClassTypeArrayOutput
- func (o DeviceClassListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o DeviceClassListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o DeviceClassListTypeOutput) ToDeviceClassListTypeOutput() DeviceClassListTypeOutput
- func (o DeviceClassListTypeOutput) ToDeviceClassListTypeOutputWithContext(ctx context.Context) DeviceClassListTypeOutput
- type DeviceClassMap
- type DeviceClassMapInput
- type DeviceClassMapOutput
- func (DeviceClassMapOutput) ElementType() reflect.Type
- func (o DeviceClassMapOutput) MapIndex(k pulumi.StringInput) DeviceClassOutput
- func (o DeviceClassMapOutput) ToDeviceClassMapOutput() DeviceClassMapOutput
- func (o DeviceClassMapOutput) ToDeviceClassMapOutputWithContext(ctx context.Context) DeviceClassMapOutput
- type DeviceClassOutput
- func (o DeviceClassOutput) ApiVersion() pulumi.StringOutput
- func (DeviceClassOutput) ElementType() reflect.Type
- func (o DeviceClassOutput) Kind() pulumi.StringOutput
- func (o DeviceClassOutput) Metadata() metav1.ObjectMetaOutput
- func (o DeviceClassOutput) Spec() DeviceClassSpecOutput
- func (o DeviceClassOutput) ToDeviceClassOutput() DeviceClassOutput
- func (o DeviceClassOutput) ToDeviceClassOutputWithContext(ctx context.Context) DeviceClassOutput
- type DeviceClassPatch
- type DeviceClassPatchArgs
- type DeviceClassPatchArray
- type DeviceClassPatchArrayInput
- type DeviceClassPatchArrayOutput
- func (DeviceClassPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceClassPatchArrayOutput) Index(i pulumi.IntInput) DeviceClassPatchOutput
- func (o DeviceClassPatchArrayOutput) ToDeviceClassPatchArrayOutput() DeviceClassPatchArrayOutput
- func (o DeviceClassPatchArrayOutput) ToDeviceClassPatchArrayOutputWithContext(ctx context.Context) DeviceClassPatchArrayOutput
- type DeviceClassPatchInput
- type DeviceClassPatchMap
- type DeviceClassPatchMapInput
- type DeviceClassPatchMapOutput
- func (DeviceClassPatchMapOutput) ElementType() reflect.Type
- func (o DeviceClassPatchMapOutput) MapIndex(k pulumi.StringInput) DeviceClassPatchOutput
- func (o DeviceClassPatchMapOutput) ToDeviceClassPatchMapOutput() DeviceClassPatchMapOutput
- func (o DeviceClassPatchMapOutput) ToDeviceClassPatchMapOutputWithContext(ctx context.Context) DeviceClassPatchMapOutput
- type DeviceClassPatchOutput
- func (o DeviceClassPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (DeviceClassPatchOutput) ElementType() reflect.Type
- func (o DeviceClassPatchOutput) Kind() pulumi.StringPtrOutput
- func (o DeviceClassPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o DeviceClassPatchOutput) Spec() DeviceClassSpecPatchPtrOutput
- func (o DeviceClassPatchOutput) ToDeviceClassPatchOutput() DeviceClassPatchOutput
- func (o DeviceClassPatchOutput) ToDeviceClassPatchOutputWithContext(ctx context.Context) DeviceClassPatchOutput
- type DeviceClassPatchState
- type DeviceClassPatchType
- type DeviceClassPatchTypeArgs
- type DeviceClassPatchTypeInput
- type DeviceClassPatchTypeOutput
- func (o DeviceClassPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (DeviceClassPatchTypeOutput) ElementType() reflect.Type
- func (o DeviceClassPatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o DeviceClassPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o DeviceClassPatchTypeOutput) Spec() DeviceClassSpecPatchPtrOutput
- func (o DeviceClassPatchTypeOutput) ToDeviceClassPatchTypeOutput() DeviceClassPatchTypeOutput
- func (o DeviceClassPatchTypeOutput) ToDeviceClassPatchTypeOutputWithContext(ctx context.Context) DeviceClassPatchTypeOutput
- type DeviceClassSpec
- type DeviceClassSpecArgs
- type DeviceClassSpecInput
- type DeviceClassSpecOutput
- func (o DeviceClassSpecOutput) Config() DeviceClassConfigurationArrayOutput
- func (DeviceClassSpecOutput) ElementType() reflect.Type
- func (o DeviceClassSpecOutput) Selectors() DeviceSelectorArrayOutput
- func (o DeviceClassSpecOutput) SuitableNodes() corev1.NodeSelectorPtrOutput
- func (o DeviceClassSpecOutput) ToDeviceClassSpecOutput() DeviceClassSpecOutput
- func (o DeviceClassSpecOutput) ToDeviceClassSpecOutputWithContext(ctx context.Context) DeviceClassSpecOutput
- type DeviceClassSpecPatch
- type DeviceClassSpecPatchArgs
- func (DeviceClassSpecPatchArgs) ElementType() reflect.Type
- func (i DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchOutput() DeviceClassSpecPatchOutput
- func (i DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchOutputWithContext(ctx context.Context) DeviceClassSpecPatchOutput
- func (i DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchPtrOutput() DeviceClassSpecPatchPtrOutput
- func (i DeviceClassSpecPatchArgs) ToDeviceClassSpecPatchPtrOutputWithContext(ctx context.Context) DeviceClassSpecPatchPtrOutput
- type DeviceClassSpecPatchInput
- type DeviceClassSpecPatchOutput
- func (o DeviceClassSpecPatchOutput) Config() DeviceClassConfigurationPatchArrayOutput
- func (DeviceClassSpecPatchOutput) ElementType() reflect.Type
- func (o DeviceClassSpecPatchOutput) Selectors() DeviceSelectorPatchArrayOutput
- func (o DeviceClassSpecPatchOutput) SuitableNodes() corev1.NodeSelectorPatchPtrOutput
- func (o DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchOutput() DeviceClassSpecPatchOutput
- func (o DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchOutputWithContext(ctx context.Context) DeviceClassSpecPatchOutput
- func (o DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchPtrOutput() DeviceClassSpecPatchPtrOutput
- func (o DeviceClassSpecPatchOutput) ToDeviceClassSpecPatchPtrOutputWithContext(ctx context.Context) DeviceClassSpecPatchPtrOutput
- type DeviceClassSpecPatchPtrInput
- type DeviceClassSpecPatchPtrOutput
- func (o DeviceClassSpecPatchPtrOutput) Config() DeviceClassConfigurationPatchArrayOutput
- func (o DeviceClassSpecPatchPtrOutput) Elem() DeviceClassSpecPatchOutput
- func (DeviceClassSpecPatchPtrOutput) ElementType() reflect.Type
- func (o DeviceClassSpecPatchPtrOutput) Selectors() DeviceSelectorPatchArrayOutput
- func (o DeviceClassSpecPatchPtrOutput) SuitableNodes() corev1.NodeSelectorPatchPtrOutput
- func (o DeviceClassSpecPatchPtrOutput) ToDeviceClassSpecPatchPtrOutput() DeviceClassSpecPatchPtrOutput
- func (o DeviceClassSpecPatchPtrOutput) ToDeviceClassSpecPatchPtrOutputWithContext(ctx context.Context) DeviceClassSpecPatchPtrOutput
- type DeviceClassState
- type DeviceClassType
- type DeviceClassTypeArgs
- type DeviceClassTypeArray
- type DeviceClassTypeArrayInput
- type DeviceClassTypeArrayOutput
- func (DeviceClassTypeArrayOutput) ElementType() reflect.Type
- func (o DeviceClassTypeArrayOutput) Index(i pulumi.IntInput) DeviceClassTypeOutput
- func (o DeviceClassTypeArrayOutput) ToDeviceClassTypeArrayOutput() DeviceClassTypeArrayOutput
- func (o DeviceClassTypeArrayOutput) ToDeviceClassTypeArrayOutputWithContext(ctx context.Context) DeviceClassTypeArrayOutput
- type DeviceClassTypeInput
- type DeviceClassTypeOutput
- func (o DeviceClassTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (DeviceClassTypeOutput) ElementType() reflect.Type
- func (o DeviceClassTypeOutput) Kind() pulumi.StringPtrOutput
- func (o DeviceClassTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o DeviceClassTypeOutput) Spec() DeviceClassSpecOutput
- func (o DeviceClassTypeOutput) ToDeviceClassTypeOutput() DeviceClassTypeOutput
- func (o DeviceClassTypeOutput) ToDeviceClassTypeOutputWithContext(ctx context.Context) DeviceClassTypeOutput
- type DeviceConstraint
- type DeviceConstraintArgs
- type DeviceConstraintArray
- type DeviceConstraintArrayInput
- type DeviceConstraintArrayOutput
- func (DeviceConstraintArrayOutput) ElementType() reflect.Type
- func (o DeviceConstraintArrayOutput) Index(i pulumi.IntInput) DeviceConstraintOutput
- func (o DeviceConstraintArrayOutput) ToDeviceConstraintArrayOutput() DeviceConstraintArrayOutput
- func (o DeviceConstraintArrayOutput) ToDeviceConstraintArrayOutputWithContext(ctx context.Context) DeviceConstraintArrayOutput
- type DeviceConstraintInput
- type DeviceConstraintOutput
- func (DeviceConstraintOutput) ElementType() reflect.Type
- func (o DeviceConstraintOutput) MatchAttribute() pulumi.StringPtrOutput
- func (o DeviceConstraintOutput) Requests() pulumi.StringArrayOutput
- func (o DeviceConstraintOutput) ToDeviceConstraintOutput() DeviceConstraintOutput
- func (o DeviceConstraintOutput) ToDeviceConstraintOutputWithContext(ctx context.Context) DeviceConstraintOutput
- type DeviceConstraintPatch
- type DeviceConstraintPatchArgs
- type DeviceConstraintPatchArray
- func (DeviceConstraintPatchArray) ElementType() reflect.Type
- func (i DeviceConstraintPatchArray) ToDeviceConstraintPatchArrayOutput() DeviceConstraintPatchArrayOutput
- func (i DeviceConstraintPatchArray) ToDeviceConstraintPatchArrayOutputWithContext(ctx context.Context) DeviceConstraintPatchArrayOutput
- type DeviceConstraintPatchArrayInput
- type DeviceConstraintPatchArrayOutput
- func (DeviceConstraintPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceConstraintPatchArrayOutput) Index(i pulumi.IntInput) DeviceConstraintPatchOutput
- func (o DeviceConstraintPatchArrayOutput) ToDeviceConstraintPatchArrayOutput() DeviceConstraintPatchArrayOutput
- func (o DeviceConstraintPatchArrayOutput) ToDeviceConstraintPatchArrayOutputWithContext(ctx context.Context) DeviceConstraintPatchArrayOutput
- type DeviceConstraintPatchInput
- type DeviceConstraintPatchOutput
- func (DeviceConstraintPatchOutput) ElementType() reflect.Type
- func (o DeviceConstraintPatchOutput) MatchAttribute() pulumi.StringPtrOutput
- func (o DeviceConstraintPatchOutput) Requests() pulumi.StringArrayOutput
- func (o DeviceConstraintPatchOutput) ToDeviceConstraintPatchOutput() DeviceConstraintPatchOutput
- func (o DeviceConstraintPatchOutput) ToDeviceConstraintPatchOutputWithContext(ctx context.Context) DeviceConstraintPatchOutput
- type DeviceCounterConsumption
- type DeviceCounterConsumptionArgs
- func (DeviceCounterConsumptionArgs) ElementType() reflect.Type
- func (i DeviceCounterConsumptionArgs) ToDeviceCounterConsumptionOutput() DeviceCounterConsumptionOutput
- func (i DeviceCounterConsumptionArgs) ToDeviceCounterConsumptionOutputWithContext(ctx context.Context) DeviceCounterConsumptionOutput
- type DeviceCounterConsumptionArray
- func (DeviceCounterConsumptionArray) ElementType() reflect.Type
- func (i DeviceCounterConsumptionArray) ToDeviceCounterConsumptionArrayOutput() DeviceCounterConsumptionArrayOutput
- func (i DeviceCounterConsumptionArray) ToDeviceCounterConsumptionArrayOutputWithContext(ctx context.Context) DeviceCounterConsumptionArrayOutput
- type DeviceCounterConsumptionArrayInput
- type DeviceCounterConsumptionArrayOutput
- func (DeviceCounterConsumptionArrayOutput) ElementType() reflect.Type
- func (o DeviceCounterConsumptionArrayOutput) Index(i pulumi.IntInput) DeviceCounterConsumptionOutput
- func (o DeviceCounterConsumptionArrayOutput) ToDeviceCounterConsumptionArrayOutput() DeviceCounterConsumptionArrayOutput
- func (o DeviceCounterConsumptionArrayOutput) ToDeviceCounterConsumptionArrayOutputWithContext(ctx context.Context) DeviceCounterConsumptionArrayOutput
- type DeviceCounterConsumptionInput
- type DeviceCounterConsumptionOutput
- func (o DeviceCounterConsumptionOutput) CounterSet() pulumi.StringOutput
- func (o DeviceCounterConsumptionOutput) Counters() CounterMapOutput
- func (DeviceCounterConsumptionOutput) ElementType() reflect.Type
- func (o DeviceCounterConsumptionOutput) ToDeviceCounterConsumptionOutput() DeviceCounterConsumptionOutput
- func (o DeviceCounterConsumptionOutput) ToDeviceCounterConsumptionOutputWithContext(ctx context.Context) DeviceCounterConsumptionOutput
- type DeviceCounterConsumptionPatch
- type DeviceCounterConsumptionPatchArgs
- func (DeviceCounterConsumptionPatchArgs) ElementType() reflect.Type
- func (i DeviceCounterConsumptionPatchArgs) ToDeviceCounterConsumptionPatchOutput() DeviceCounterConsumptionPatchOutput
- func (i DeviceCounterConsumptionPatchArgs) ToDeviceCounterConsumptionPatchOutputWithContext(ctx context.Context) DeviceCounterConsumptionPatchOutput
- type DeviceCounterConsumptionPatchArray
- func (DeviceCounterConsumptionPatchArray) ElementType() reflect.Type
- func (i DeviceCounterConsumptionPatchArray) ToDeviceCounterConsumptionPatchArrayOutput() DeviceCounterConsumptionPatchArrayOutput
- func (i DeviceCounterConsumptionPatchArray) ToDeviceCounterConsumptionPatchArrayOutputWithContext(ctx context.Context) DeviceCounterConsumptionPatchArrayOutput
- type DeviceCounterConsumptionPatchArrayInput
- type DeviceCounterConsumptionPatchArrayOutput
- func (DeviceCounterConsumptionPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceCounterConsumptionPatchArrayOutput) Index(i pulumi.IntInput) DeviceCounterConsumptionPatchOutput
- func (o DeviceCounterConsumptionPatchArrayOutput) ToDeviceCounterConsumptionPatchArrayOutput() DeviceCounterConsumptionPatchArrayOutput
- func (o DeviceCounterConsumptionPatchArrayOutput) ToDeviceCounterConsumptionPatchArrayOutputWithContext(ctx context.Context) DeviceCounterConsumptionPatchArrayOutput
- type DeviceCounterConsumptionPatchInput
- type DeviceCounterConsumptionPatchOutput
- func (o DeviceCounterConsumptionPatchOutput) CounterSet() pulumi.StringPtrOutput
- func (o DeviceCounterConsumptionPatchOutput) Counters() CounterMapOutput
- func (DeviceCounterConsumptionPatchOutput) ElementType() reflect.Type
- func (o DeviceCounterConsumptionPatchOutput) ToDeviceCounterConsumptionPatchOutput() DeviceCounterConsumptionPatchOutput
- func (o DeviceCounterConsumptionPatchOutput) ToDeviceCounterConsumptionPatchOutputWithContext(ctx context.Context) DeviceCounterConsumptionPatchOutput
- type DeviceInput
- type DeviceOutput
- type DevicePatch
- type DevicePatchArgs
- type DevicePatchArray
- type DevicePatchArrayInput
- type DevicePatchArrayOutput
- func (DevicePatchArrayOutput) ElementType() reflect.Type
- func (o DevicePatchArrayOutput) Index(i pulumi.IntInput) DevicePatchOutput
- func (o DevicePatchArrayOutput) ToDevicePatchArrayOutput() DevicePatchArrayOutput
- func (o DevicePatchArrayOutput) ToDevicePatchArrayOutputWithContext(ctx context.Context) DevicePatchArrayOutput
- type DevicePatchInput
- type DevicePatchOutput
- func (o DevicePatchOutput) Basic() BasicDevicePatchPtrOutput
- func (DevicePatchOutput) ElementType() reflect.Type
- func (o DevicePatchOutput) Name() pulumi.StringPtrOutput
- func (o DevicePatchOutput) ToDevicePatchOutput() DevicePatchOutput
- func (o DevicePatchOutput) ToDevicePatchOutputWithContext(ctx context.Context) DevicePatchOutput
- type DeviceRequest
- type DeviceRequestAllocationResult
- type DeviceRequestAllocationResultArgs
- func (DeviceRequestAllocationResultArgs) ElementType() reflect.Type
- func (i DeviceRequestAllocationResultArgs) ToDeviceRequestAllocationResultOutput() DeviceRequestAllocationResultOutput
- func (i DeviceRequestAllocationResultArgs) ToDeviceRequestAllocationResultOutputWithContext(ctx context.Context) DeviceRequestAllocationResultOutput
- type DeviceRequestAllocationResultArray
- func (DeviceRequestAllocationResultArray) ElementType() reflect.Type
- func (i DeviceRequestAllocationResultArray) ToDeviceRequestAllocationResultArrayOutput() DeviceRequestAllocationResultArrayOutput
- func (i DeviceRequestAllocationResultArray) ToDeviceRequestAllocationResultArrayOutputWithContext(ctx context.Context) DeviceRequestAllocationResultArrayOutput
- type DeviceRequestAllocationResultArrayInput
- type DeviceRequestAllocationResultArrayOutput
- func (DeviceRequestAllocationResultArrayOutput) ElementType() reflect.Type
- func (o DeviceRequestAllocationResultArrayOutput) Index(i pulumi.IntInput) DeviceRequestAllocationResultOutput
- func (o DeviceRequestAllocationResultArrayOutput) ToDeviceRequestAllocationResultArrayOutput() DeviceRequestAllocationResultArrayOutput
- func (o DeviceRequestAllocationResultArrayOutput) ToDeviceRequestAllocationResultArrayOutputWithContext(ctx context.Context) DeviceRequestAllocationResultArrayOutput
- type DeviceRequestAllocationResultInput
- type DeviceRequestAllocationResultOutput
- func (o DeviceRequestAllocationResultOutput) AdminAccess() pulumi.BoolPtrOutput
- func (o DeviceRequestAllocationResultOutput) Device() pulumi.StringOutput
- func (o DeviceRequestAllocationResultOutput) Driver() pulumi.StringOutput
- func (DeviceRequestAllocationResultOutput) ElementType() reflect.Type
- func (o DeviceRequestAllocationResultOutput) Pool() pulumi.StringOutput
- func (o DeviceRequestAllocationResultOutput) Request() pulumi.StringOutput
- func (o DeviceRequestAllocationResultOutput) ToDeviceRequestAllocationResultOutput() DeviceRequestAllocationResultOutput
- func (o DeviceRequestAllocationResultOutput) ToDeviceRequestAllocationResultOutputWithContext(ctx context.Context) DeviceRequestAllocationResultOutput
- func (o DeviceRequestAllocationResultOutput) Tolerations() DeviceTolerationArrayOutput
- type DeviceRequestAllocationResultPatch
- type DeviceRequestAllocationResultPatchArgs
- func (DeviceRequestAllocationResultPatchArgs) ElementType() reflect.Type
- func (i DeviceRequestAllocationResultPatchArgs) ToDeviceRequestAllocationResultPatchOutput() DeviceRequestAllocationResultPatchOutput
- func (i DeviceRequestAllocationResultPatchArgs) ToDeviceRequestAllocationResultPatchOutputWithContext(ctx context.Context) DeviceRequestAllocationResultPatchOutput
- type DeviceRequestAllocationResultPatchArray
- func (DeviceRequestAllocationResultPatchArray) ElementType() reflect.Type
- func (i DeviceRequestAllocationResultPatchArray) ToDeviceRequestAllocationResultPatchArrayOutput() DeviceRequestAllocationResultPatchArrayOutput
- func (i DeviceRequestAllocationResultPatchArray) ToDeviceRequestAllocationResultPatchArrayOutputWithContext(ctx context.Context) DeviceRequestAllocationResultPatchArrayOutput
- type DeviceRequestAllocationResultPatchArrayInput
- type DeviceRequestAllocationResultPatchArrayOutput
- func (DeviceRequestAllocationResultPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceRequestAllocationResultPatchArrayOutput) Index(i pulumi.IntInput) DeviceRequestAllocationResultPatchOutput
- func (o DeviceRequestAllocationResultPatchArrayOutput) ToDeviceRequestAllocationResultPatchArrayOutput() DeviceRequestAllocationResultPatchArrayOutput
- func (o DeviceRequestAllocationResultPatchArrayOutput) ToDeviceRequestAllocationResultPatchArrayOutputWithContext(ctx context.Context) DeviceRequestAllocationResultPatchArrayOutput
- type DeviceRequestAllocationResultPatchInput
- type DeviceRequestAllocationResultPatchOutput
- func (o DeviceRequestAllocationResultPatchOutput) AdminAccess() pulumi.BoolPtrOutput
- func (o DeviceRequestAllocationResultPatchOutput) Device() pulumi.StringPtrOutput
- func (o DeviceRequestAllocationResultPatchOutput) Driver() pulumi.StringPtrOutput
- func (DeviceRequestAllocationResultPatchOutput) ElementType() reflect.Type
- func (o DeviceRequestAllocationResultPatchOutput) Pool() pulumi.StringPtrOutput
- func (o DeviceRequestAllocationResultPatchOutput) Request() pulumi.StringPtrOutput
- func (o DeviceRequestAllocationResultPatchOutput) ToDeviceRequestAllocationResultPatchOutput() DeviceRequestAllocationResultPatchOutput
- func (o DeviceRequestAllocationResultPatchOutput) ToDeviceRequestAllocationResultPatchOutputWithContext(ctx context.Context) DeviceRequestAllocationResultPatchOutput
- func (o DeviceRequestAllocationResultPatchOutput) Tolerations() DeviceTolerationPatchArrayOutput
- type DeviceRequestArgs
- type DeviceRequestArray
- type DeviceRequestArrayInput
- type DeviceRequestArrayOutput
- func (DeviceRequestArrayOutput) ElementType() reflect.Type
- func (o DeviceRequestArrayOutput) Index(i pulumi.IntInput) DeviceRequestOutput
- func (o DeviceRequestArrayOutput) ToDeviceRequestArrayOutput() DeviceRequestArrayOutput
- func (o DeviceRequestArrayOutput) ToDeviceRequestArrayOutputWithContext(ctx context.Context) DeviceRequestArrayOutput
- type DeviceRequestInput
- type DeviceRequestOutput
- func (o DeviceRequestOutput) AdminAccess() pulumi.BoolPtrOutput
- func (o DeviceRequestOutput) AllocationMode() pulumi.StringPtrOutput
- func (o DeviceRequestOutput) Count() pulumi.IntPtrOutput
- func (o DeviceRequestOutput) DeviceClassName() pulumi.StringPtrOutput
- func (DeviceRequestOutput) ElementType() reflect.Type
- func (o DeviceRequestOutput) FirstAvailable() DeviceSubRequestArrayOutput
- func (o DeviceRequestOutput) Name() pulumi.StringOutput
- func (o DeviceRequestOutput) Selectors() DeviceSelectorArrayOutput
- func (o DeviceRequestOutput) ToDeviceRequestOutput() DeviceRequestOutput
- func (o DeviceRequestOutput) ToDeviceRequestOutputWithContext(ctx context.Context) DeviceRequestOutput
- func (o DeviceRequestOutput) Tolerations() DeviceTolerationArrayOutput
- type DeviceRequestPatch
- type DeviceRequestPatchArgs
- type DeviceRequestPatchArray
- type DeviceRequestPatchArrayInput
- type DeviceRequestPatchArrayOutput
- func (DeviceRequestPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceRequestPatchArrayOutput) Index(i pulumi.IntInput) DeviceRequestPatchOutput
- func (o DeviceRequestPatchArrayOutput) ToDeviceRequestPatchArrayOutput() DeviceRequestPatchArrayOutput
- func (o DeviceRequestPatchArrayOutput) ToDeviceRequestPatchArrayOutputWithContext(ctx context.Context) DeviceRequestPatchArrayOutput
- type DeviceRequestPatchInput
- type DeviceRequestPatchOutput
- func (o DeviceRequestPatchOutput) AdminAccess() pulumi.BoolPtrOutput
- func (o DeviceRequestPatchOutput) AllocationMode() pulumi.StringPtrOutput
- func (o DeviceRequestPatchOutput) Count() pulumi.IntPtrOutput
- func (o DeviceRequestPatchOutput) DeviceClassName() pulumi.StringPtrOutput
- func (DeviceRequestPatchOutput) ElementType() reflect.Type
- func (o DeviceRequestPatchOutput) FirstAvailable() DeviceSubRequestPatchArrayOutput
- func (o DeviceRequestPatchOutput) Name() pulumi.StringPtrOutput
- func (o DeviceRequestPatchOutput) Selectors() DeviceSelectorPatchArrayOutput
- func (o DeviceRequestPatchOutput) ToDeviceRequestPatchOutput() DeviceRequestPatchOutput
- func (o DeviceRequestPatchOutput) ToDeviceRequestPatchOutputWithContext(ctx context.Context) DeviceRequestPatchOutput
- func (o DeviceRequestPatchOutput) Tolerations() DeviceTolerationPatchArrayOutput
- type DeviceSelector
- type DeviceSelectorArgs
- type DeviceSelectorArray
- type DeviceSelectorArrayInput
- type DeviceSelectorArrayOutput
- func (DeviceSelectorArrayOutput) ElementType() reflect.Type
- func (o DeviceSelectorArrayOutput) Index(i pulumi.IntInput) DeviceSelectorOutput
- func (o DeviceSelectorArrayOutput) ToDeviceSelectorArrayOutput() DeviceSelectorArrayOutput
- func (o DeviceSelectorArrayOutput) ToDeviceSelectorArrayOutputWithContext(ctx context.Context) DeviceSelectorArrayOutput
- type DeviceSelectorInput
- type DeviceSelectorOutput
- type DeviceSelectorPatch
- type DeviceSelectorPatchArgs
- type DeviceSelectorPatchArray
- type DeviceSelectorPatchArrayInput
- type DeviceSelectorPatchArrayOutput
- func (DeviceSelectorPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceSelectorPatchArrayOutput) Index(i pulumi.IntInput) DeviceSelectorPatchOutput
- func (o DeviceSelectorPatchArrayOutput) ToDeviceSelectorPatchArrayOutput() DeviceSelectorPatchArrayOutput
- func (o DeviceSelectorPatchArrayOutput) ToDeviceSelectorPatchArrayOutputWithContext(ctx context.Context) DeviceSelectorPatchArrayOutput
- type DeviceSelectorPatchInput
- type DeviceSelectorPatchOutput
- func (o DeviceSelectorPatchOutput) Cel() CELDeviceSelectorPatchPtrOutput
- func (DeviceSelectorPatchOutput) ElementType() reflect.Type
- func (o DeviceSelectorPatchOutput) ToDeviceSelectorPatchOutput() DeviceSelectorPatchOutput
- func (o DeviceSelectorPatchOutput) ToDeviceSelectorPatchOutputWithContext(ctx context.Context) DeviceSelectorPatchOutput
- type DeviceSubRequest
- type DeviceSubRequestArgs
- type DeviceSubRequestArray
- type DeviceSubRequestArrayInput
- type DeviceSubRequestArrayOutput
- func (DeviceSubRequestArrayOutput) ElementType() reflect.Type
- func (o DeviceSubRequestArrayOutput) Index(i pulumi.IntInput) DeviceSubRequestOutput
- func (o DeviceSubRequestArrayOutput) ToDeviceSubRequestArrayOutput() DeviceSubRequestArrayOutput
- func (o DeviceSubRequestArrayOutput) ToDeviceSubRequestArrayOutputWithContext(ctx context.Context) DeviceSubRequestArrayOutput
- type DeviceSubRequestInput
- type DeviceSubRequestOutput
- func (o DeviceSubRequestOutput) AllocationMode() pulumi.StringPtrOutput
- func (o DeviceSubRequestOutput) Count() pulumi.IntPtrOutput
- func (o DeviceSubRequestOutput) DeviceClassName() pulumi.StringOutput
- func (DeviceSubRequestOutput) ElementType() reflect.Type
- func (o DeviceSubRequestOutput) Name() pulumi.StringOutput
- func (o DeviceSubRequestOutput) Selectors() DeviceSelectorArrayOutput
- func (o DeviceSubRequestOutput) ToDeviceSubRequestOutput() DeviceSubRequestOutput
- func (o DeviceSubRequestOutput) ToDeviceSubRequestOutputWithContext(ctx context.Context) DeviceSubRequestOutput
- func (o DeviceSubRequestOutput) Tolerations() DeviceTolerationArrayOutput
- type DeviceSubRequestPatch
- type DeviceSubRequestPatchArgs
- type DeviceSubRequestPatchArray
- func (DeviceSubRequestPatchArray) ElementType() reflect.Type
- func (i DeviceSubRequestPatchArray) ToDeviceSubRequestPatchArrayOutput() DeviceSubRequestPatchArrayOutput
- func (i DeviceSubRequestPatchArray) ToDeviceSubRequestPatchArrayOutputWithContext(ctx context.Context) DeviceSubRequestPatchArrayOutput
- type DeviceSubRequestPatchArrayInput
- type DeviceSubRequestPatchArrayOutput
- func (DeviceSubRequestPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceSubRequestPatchArrayOutput) Index(i pulumi.IntInput) DeviceSubRequestPatchOutput
- func (o DeviceSubRequestPatchArrayOutput) ToDeviceSubRequestPatchArrayOutput() DeviceSubRequestPatchArrayOutput
- func (o DeviceSubRequestPatchArrayOutput) ToDeviceSubRequestPatchArrayOutputWithContext(ctx context.Context) DeviceSubRequestPatchArrayOutput
- type DeviceSubRequestPatchInput
- type DeviceSubRequestPatchOutput
- func (o DeviceSubRequestPatchOutput) AllocationMode() pulumi.StringPtrOutput
- func (o DeviceSubRequestPatchOutput) Count() pulumi.IntPtrOutput
- func (o DeviceSubRequestPatchOutput) DeviceClassName() pulumi.StringPtrOutput
- func (DeviceSubRequestPatchOutput) ElementType() reflect.Type
- func (o DeviceSubRequestPatchOutput) Name() pulumi.StringPtrOutput
- func (o DeviceSubRequestPatchOutput) Selectors() DeviceSelectorPatchArrayOutput
- func (o DeviceSubRequestPatchOutput) ToDeviceSubRequestPatchOutput() DeviceSubRequestPatchOutput
- func (o DeviceSubRequestPatchOutput) ToDeviceSubRequestPatchOutputWithContext(ctx context.Context) DeviceSubRequestPatchOutput
- func (o DeviceSubRequestPatchOutput) Tolerations() DeviceTolerationPatchArrayOutput
- type DeviceTaint
- type DeviceTaintArgs
- type DeviceTaintArray
- type DeviceTaintArrayInput
- type DeviceTaintArrayOutput
- func (DeviceTaintArrayOutput) ElementType() reflect.Type
- func (o DeviceTaintArrayOutput) Index(i pulumi.IntInput) DeviceTaintOutput
- func (o DeviceTaintArrayOutput) ToDeviceTaintArrayOutput() DeviceTaintArrayOutput
- func (o DeviceTaintArrayOutput) ToDeviceTaintArrayOutputWithContext(ctx context.Context) DeviceTaintArrayOutput
- type DeviceTaintInput
- type DeviceTaintOutput
- func (o DeviceTaintOutput) Effect() pulumi.StringOutput
- func (DeviceTaintOutput) ElementType() reflect.Type
- func (o DeviceTaintOutput) Key() pulumi.StringOutput
- func (o DeviceTaintOutput) TimeAdded() pulumi.StringPtrOutput
- func (o DeviceTaintOutput) ToDeviceTaintOutput() DeviceTaintOutput
- func (o DeviceTaintOutput) ToDeviceTaintOutputWithContext(ctx context.Context) DeviceTaintOutput
- func (o DeviceTaintOutput) Value() pulumi.StringPtrOutput
- type DeviceTaintPatch
- type DeviceTaintPatchArgs
- func (DeviceTaintPatchArgs) ElementType() reflect.Type
- func (i DeviceTaintPatchArgs) ToDeviceTaintPatchOutput() DeviceTaintPatchOutput
- func (i DeviceTaintPatchArgs) ToDeviceTaintPatchOutputWithContext(ctx context.Context) DeviceTaintPatchOutput
- func (i DeviceTaintPatchArgs) ToDeviceTaintPatchPtrOutput() DeviceTaintPatchPtrOutput
- func (i DeviceTaintPatchArgs) ToDeviceTaintPatchPtrOutputWithContext(ctx context.Context) DeviceTaintPatchPtrOutput
- type DeviceTaintPatchArray
- type DeviceTaintPatchArrayInput
- type DeviceTaintPatchArrayOutput
- func (DeviceTaintPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceTaintPatchArrayOutput) Index(i pulumi.IntInput) DeviceTaintPatchOutput
- func (o DeviceTaintPatchArrayOutput) ToDeviceTaintPatchArrayOutput() DeviceTaintPatchArrayOutput
- func (o DeviceTaintPatchArrayOutput) ToDeviceTaintPatchArrayOutputWithContext(ctx context.Context) DeviceTaintPatchArrayOutput
- type DeviceTaintPatchInput
- type DeviceTaintPatchOutput
- func (o DeviceTaintPatchOutput) Effect() pulumi.StringPtrOutput
- func (DeviceTaintPatchOutput) ElementType() reflect.Type
- func (o DeviceTaintPatchOutput) Key() pulumi.StringPtrOutput
- func (o DeviceTaintPatchOutput) TimeAdded() pulumi.StringPtrOutput
- func (o DeviceTaintPatchOutput) ToDeviceTaintPatchOutput() DeviceTaintPatchOutput
- func (o DeviceTaintPatchOutput) ToDeviceTaintPatchOutputWithContext(ctx context.Context) DeviceTaintPatchOutput
- func (o DeviceTaintPatchOutput) ToDeviceTaintPatchPtrOutput() DeviceTaintPatchPtrOutput
- func (o DeviceTaintPatchOutput) ToDeviceTaintPatchPtrOutputWithContext(ctx context.Context) DeviceTaintPatchPtrOutput
- func (o DeviceTaintPatchOutput) Value() pulumi.StringPtrOutput
- type DeviceTaintPatchPtrInput
- type DeviceTaintPatchPtrOutput
- func (o DeviceTaintPatchPtrOutput) Effect() pulumi.StringPtrOutput
- func (o DeviceTaintPatchPtrOutput) Elem() DeviceTaintPatchOutput
- func (DeviceTaintPatchPtrOutput) ElementType() reflect.Type
- func (o DeviceTaintPatchPtrOutput) Key() pulumi.StringPtrOutput
- func (o DeviceTaintPatchPtrOutput) TimeAdded() pulumi.StringPtrOutput
- func (o DeviceTaintPatchPtrOutput) ToDeviceTaintPatchPtrOutput() DeviceTaintPatchPtrOutput
- func (o DeviceTaintPatchPtrOutput) ToDeviceTaintPatchPtrOutputWithContext(ctx context.Context) DeviceTaintPatchPtrOutput
- func (o DeviceTaintPatchPtrOutput) Value() pulumi.StringPtrOutput
- type DeviceTaintRule
- type DeviceTaintRuleArgs
- type DeviceTaintRuleArray
- type DeviceTaintRuleArrayInput
- type DeviceTaintRuleArrayOutput
- func (DeviceTaintRuleArrayOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleArrayOutput) Index(i pulumi.IntInput) DeviceTaintRuleOutput
- func (o DeviceTaintRuleArrayOutput) ToDeviceTaintRuleArrayOutput() DeviceTaintRuleArrayOutput
- func (o DeviceTaintRuleArrayOutput) ToDeviceTaintRuleArrayOutputWithContext(ctx context.Context) DeviceTaintRuleArrayOutput
- type DeviceTaintRuleInput
- type DeviceTaintRuleList
- type DeviceTaintRuleListArgs
- type DeviceTaintRuleListArray
- type DeviceTaintRuleListArrayInput
- type DeviceTaintRuleListArrayOutput
- func (DeviceTaintRuleListArrayOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleListArrayOutput) Index(i pulumi.IntInput) DeviceTaintRuleListOutput
- func (o DeviceTaintRuleListArrayOutput) ToDeviceTaintRuleListArrayOutput() DeviceTaintRuleListArrayOutput
- func (o DeviceTaintRuleListArrayOutput) ToDeviceTaintRuleListArrayOutputWithContext(ctx context.Context) DeviceTaintRuleListArrayOutput
- type DeviceTaintRuleListInput
- type DeviceTaintRuleListMap
- type DeviceTaintRuleListMapInput
- type DeviceTaintRuleListMapOutput
- func (DeviceTaintRuleListMapOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleListMapOutput) MapIndex(k pulumi.StringInput) DeviceTaintRuleListOutput
- func (o DeviceTaintRuleListMapOutput) ToDeviceTaintRuleListMapOutput() DeviceTaintRuleListMapOutput
- func (o DeviceTaintRuleListMapOutput) ToDeviceTaintRuleListMapOutputWithContext(ctx context.Context) DeviceTaintRuleListMapOutput
- type DeviceTaintRuleListOutput
- func (o DeviceTaintRuleListOutput) ApiVersion() pulumi.StringOutput
- func (DeviceTaintRuleListOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleListOutput) Items() DeviceTaintRuleTypeArrayOutput
- func (o DeviceTaintRuleListOutput) Kind() pulumi.StringOutput
- func (o DeviceTaintRuleListOutput) Metadata() metav1.ListMetaOutput
- func (o DeviceTaintRuleListOutput) ToDeviceTaintRuleListOutput() DeviceTaintRuleListOutput
- func (o DeviceTaintRuleListOutput) ToDeviceTaintRuleListOutputWithContext(ctx context.Context) DeviceTaintRuleListOutput
- type DeviceTaintRuleListState
- type DeviceTaintRuleListType
- type DeviceTaintRuleListTypeArgs
- type DeviceTaintRuleListTypeInput
- type DeviceTaintRuleListTypeOutput
- func (o DeviceTaintRuleListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (DeviceTaintRuleListTypeOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleListTypeOutput) Items() DeviceTaintRuleTypeArrayOutput
- func (o DeviceTaintRuleListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o DeviceTaintRuleListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o DeviceTaintRuleListTypeOutput) ToDeviceTaintRuleListTypeOutput() DeviceTaintRuleListTypeOutput
- func (o DeviceTaintRuleListTypeOutput) ToDeviceTaintRuleListTypeOutputWithContext(ctx context.Context) DeviceTaintRuleListTypeOutput
- type DeviceTaintRuleMap
- type DeviceTaintRuleMapInput
- type DeviceTaintRuleMapOutput
- func (DeviceTaintRuleMapOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleMapOutput) MapIndex(k pulumi.StringInput) DeviceTaintRuleOutput
- func (o DeviceTaintRuleMapOutput) ToDeviceTaintRuleMapOutput() DeviceTaintRuleMapOutput
- func (o DeviceTaintRuleMapOutput) ToDeviceTaintRuleMapOutputWithContext(ctx context.Context) DeviceTaintRuleMapOutput
- type DeviceTaintRuleOutput
- func (o DeviceTaintRuleOutput) ApiVersion() pulumi.StringOutput
- func (DeviceTaintRuleOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleOutput) Kind() pulumi.StringOutput
- func (o DeviceTaintRuleOutput) Metadata() metav1.ObjectMetaOutput
- func (o DeviceTaintRuleOutput) Spec() DeviceTaintRuleSpecOutput
- func (o DeviceTaintRuleOutput) ToDeviceTaintRuleOutput() DeviceTaintRuleOutput
- func (o DeviceTaintRuleOutput) ToDeviceTaintRuleOutputWithContext(ctx context.Context) DeviceTaintRuleOutput
- type DeviceTaintRulePatch
- type DeviceTaintRulePatchArgs
- type DeviceTaintRulePatchArray
- type DeviceTaintRulePatchArrayInput
- type DeviceTaintRulePatchArrayOutput
- func (DeviceTaintRulePatchArrayOutput) ElementType() reflect.Type
- func (o DeviceTaintRulePatchArrayOutput) Index(i pulumi.IntInput) DeviceTaintRulePatchOutput
- func (o DeviceTaintRulePatchArrayOutput) ToDeviceTaintRulePatchArrayOutput() DeviceTaintRulePatchArrayOutput
- func (o DeviceTaintRulePatchArrayOutput) ToDeviceTaintRulePatchArrayOutputWithContext(ctx context.Context) DeviceTaintRulePatchArrayOutput
- type DeviceTaintRulePatchInput
- type DeviceTaintRulePatchMap
- type DeviceTaintRulePatchMapInput
- type DeviceTaintRulePatchMapOutput
- func (DeviceTaintRulePatchMapOutput) ElementType() reflect.Type
- func (o DeviceTaintRulePatchMapOutput) MapIndex(k pulumi.StringInput) DeviceTaintRulePatchOutput
- func (o DeviceTaintRulePatchMapOutput) ToDeviceTaintRulePatchMapOutput() DeviceTaintRulePatchMapOutput
- func (o DeviceTaintRulePatchMapOutput) ToDeviceTaintRulePatchMapOutputWithContext(ctx context.Context) DeviceTaintRulePatchMapOutput
- type DeviceTaintRulePatchOutput
- func (o DeviceTaintRulePatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (DeviceTaintRulePatchOutput) ElementType() reflect.Type
- func (o DeviceTaintRulePatchOutput) Kind() pulumi.StringPtrOutput
- func (o DeviceTaintRulePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o DeviceTaintRulePatchOutput) Spec() DeviceTaintRuleSpecPatchPtrOutput
- func (o DeviceTaintRulePatchOutput) ToDeviceTaintRulePatchOutput() DeviceTaintRulePatchOutput
- func (o DeviceTaintRulePatchOutput) ToDeviceTaintRulePatchOutputWithContext(ctx context.Context) DeviceTaintRulePatchOutput
- type DeviceTaintRulePatchState
- type DeviceTaintRulePatchType
- type DeviceTaintRulePatchTypeArgs
- func (DeviceTaintRulePatchTypeArgs) ElementType() reflect.Type
- func (i DeviceTaintRulePatchTypeArgs) ToDeviceTaintRulePatchTypeOutput() DeviceTaintRulePatchTypeOutput
- func (i DeviceTaintRulePatchTypeArgs) ToDeviceTaintRulePatchTypeOutputWithContext(ctx context.Context) DeviceTaintRulePatchTypeOutput
- type DeviceTaintRulePatchTypeInput
- type DeviceTaintRulePatchTypeOutput
- func (o DeviceTaintRulePatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (DeviceTaintRulePatchTypeOutput) ElementType() reflect.Type
- func (o DeviceTaintRulePatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o DeviceTaintRulePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o DeviceTaintRulePatchTypeOutput) Spec() DeviceTaintRuleSpecPatchPtrOutput
- func (o DeviceTaintRulePatchTypeOutput) ToDeviceTaintRulePatchTypeOutput() DeviceTaintRulePatchTypeOutput
- func (o DeviceTaintRulePatchTypeOutput) ToDeviceTaintRulePatchTypeOutputWithContext(ctx context.Context) DeviceTaintRulePatchTypeOutput
- type DeviceTaintRuleSpec
- type DeviceTaintRuleSpecArgs
- type DeviceTaintRuleSpecInput
- type DeviceTaintRuleSpecOutput
- func (o DeviceTaintRuleSpecOutput) DeviceSelector() DeviceTaintSelectorPtrOutput
- func (DeviceTaintRuleSpecOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleSpecOutput) Taint() DeviceTaintOutput
- func (o DeviceTaintRuleSpecOutput) ToDeviceTaintRuleSpecOutput() DeviceTaintRuleSpecOutput
- func (o DeviceTaintRuleSpecOutput) ToDeviceTaintRuleSpecOutputWithContext(ctx context.Context) DeviceTaintRuleSpecOutput
- type DeviceTaintRuleSpecPatch
- type DeviceTaintRuleSpecPatchArgs
- func (DeviceTaintRuleSpecPatchArgs) ElementType() reflect.Type
- func (i DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchOutput() DeviceTaintRuleSpecPatchOutput
- func (i DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchOutputWithContext(ctx context.Context) DeviceTaintRuleSpecPatchOutput
- func (i DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchPtrOutput() DeviceTaintRuleSpecPatchPtrOutput
- func (i DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchPtrOutputWithContext(ctx context.Context) DeviceTaintRuleSpecPatchPtrOutput
- type DeviceTaintRuleSpecPatchInput
- type DeviceTaintRuleSpecPatchOutput
- func (o DeviceTaintRuleSpecPatchOutput) DeviceSelector() DeviceTaintSelectorPatchPtrOutput
- func (DeviceTaintRuleSpecPatchOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleSpecPatchOutput) Taint() DeviceTaintPatchPtrOutput
- func (o DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchOutput() DeviceTaintRuleSpecPatchOutput
- func (o DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchOutputWithContext(ctx context.Context) DeviceTaintRuleSpecPatchOutput
- func (o DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchPtrOutput() DeviceTaintRuleSpecPatchPtrOutput
- func (o DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchPtrOutputWithContext(ctx context.Context) DeviceTaintRuleSpecPatchPtrOutput
- type DeviceTaintRuleSpecPatchPtrInput
- type DeviceTaintRuleSpecPatchPtrOutput
- func (o DeviceTaintRuleSpecPatchPtrOutput) DeviceSelector() DeviceTaintSelectorPatchPtrOutput
- func (o DeviceTaintRuleSpecPatchPtrOutput) Elem() DeviceTaintRuleSpecPatchOutput
- func (DeviceTaintRuleSpecPatchPtrOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleSpecPatchPtrOutput) Taint() DeviceTaintPatchPtrOutput
- func (o DeviceTaintRuleSpecPatchPtrOutput) ToDeviceTaintRuleSpecPatchPtrOutput() DeviceTaintRuleSpecPatchPtrOutput
- func (o DeviceTaintRuleSpecPatchPtrOutput) ToDeviceTaintRuleSpecPatchPtrOutputWithContext(ctx context.Context) DeviceTaintRuleSpecPatchPtrOutput
- type DeviceTaintRuleState
- type DeviceTaintRuleType
- type DeviceTaintRuleTypeArgs
- type DeviceTaintRuleTypeArray
- type DeviceTaintRuleTypeArrayInput
- type DeviceTaintRuleTypeArrayOutput
- func (DeviceTaintRuleTypeArrayOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleTypeArrayOutput) Index(i pulumi.IntInput) DeviceTaintRuleTypeOutput
- func (o DeviceTaintRuleTypeArrayOutput) ToDeviceTaintRuleTypeArrayOutput() DeviceTaintRuleTypeArrayOutput
- func (o DeviceTaintRuleTypeArrayOutput) ToDeviceTaintRuleTypeArrayOutputWithContext(ctx context.Context) DeviceTaintRuleTypeArrayOutput
- type DeviceTaintRuleTypeInput
- type DeviceTaintRuleTypeOutput
- func (o DeviceTaintRuleTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (DeviceTaintRuleTypeOutput) ElementType() reflect.Type
- func (o DeviceTaintRuleTypeOutput) Kind() pulumi.StringPtrOutput
- func (o DeviceTaintRuleTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o DeviceTaintRuleTypeOutput) Spec() DeviceTaintRuleSpecOutput
- func (o DeviceTaintRuleTypeOutput) ToDeviceTaintRuleTypeOutput() DeviceTaintRuleTypeOutput
- func (o DeviceTaintRuleTypeOutput) ToDeviceTaintRuleTypeOutputWithContext(ctx context.Context) DeviceTaintRuleTypeOutput
- type DeviceTaintSelector
- type DeviceTaintSelectorArgs
- func (DeviceTaintSelectorArgs) ElementType() reflect.Type
- func (i DeviceTaintSelectorArgs) ToDeviceTaintSelectorOutput() DeviceTaintSelectorOutput
- func (i DeviceTaintSelectorArgs) ToDeviceTaintSelectorOutputWithContext(ctx context.Context) DeviceTaintSelectorOutput
- func (i DeviceTaintSelectorArgs) ToDeviceTaintSelectorPtrOutput() DeviceTaintSelectorPtrOutput
- func (i DeviceTaintSelectorArgs) ToDeviceTaintSelectorPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPtrOutput
- type DeviceTaintSelectorInput
- type DeviceTaintSelectorOutput
- func (o DeviceTaintSelectorOutput) Device() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorOutput) DeviceClassName() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorOutput) Driver() pulumi.StringPtrOutput
- func (DeviceTaintSelectorOutput) ElementType() reflect.Type
- func (o DeviceTaintSelectorOutput) Pool() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorOutput) Selectors() DeviceSelectorArrayOutput
- func (o DeviceTaintSelectorOutput) ToDeviceTaintSelectorOutput() DeviceTaintSelectorOutput
- func (o DeviceTaintSelectorOutput) ToDeviceTaintSelectorOutputWithContext(ctx context.Context) DeviceTaintSelectorOutput
- func (o DeviceTaintSelectorOutput) ToDeviceTaintSelectorPtrOutput() DeviceTaintSelectorPtrOutput
- func (o DeviceTaintSelectorOutput) ToDeviceTaintSelectorPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPtrOutput
- type DeviceTaintSelectorPatch
- type DeviceTaintSelectorPatchArgs
- func (DeviceTaintSelectorPatchArgs) ElementType() reflect.Type
- func (i DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchOutput() DeviceTaintSelectorPatchOutput
- func (i DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchOutputWithContext(ctx context.Context) DeviceTaintSelectorPatchOutput
- func (i DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchPtrOutput() DeviceTaintSelectorPatchPtrOutput
- func (i DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPatchPtrOutput
- type DeviceTaintSelectorPatchInput
- type DeviceTaintSelectorPatchOutput
- func (o DeviceTaintSelectorPatchOutput) Device() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPatchOutput) DeviceClassName() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPatchOutput) Driver() pulumi.StringPtrOutput
- func (DeviceTaintSelectorPatchOutput) ElementType() reflect.Type
- func (o DeviceTaintSelectorPatchOutput) Pool() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPatchOutput) Selectors() DeviceSelectorPatchArrayOutput
- func (o DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchOutput() DeviceTaintSelectorPatchOutput
- func (o DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchOutputWithContext(ctx context.Context) DeviceTaintSelectorPatchOutput
- func (o DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchPtrOutput() DeviceTaintSelectorPatchPtrOutput
- func (o DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPatchPtrOutput
- type DeviceTaintSelectorPatchPtrInput
- type DeviceTaintSelectorPatchPtrOutput
- func (o DeviceTaintSelectorPatchPtrOutput) Device() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPatchPtrOutput) DeviceClassName() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPatchPtrOutput) Driver() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPatchPtrOutput) Elem() DeviceTaintSelectorPatchOutput
- func (DeviceTaintSelectorPatchPtrOutput) ElementType() reflect.Type
- func (o DeviceTaintSelectorPatchPtrOutput) Pool() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPatchPtrOutput) Selectors() DeviceSelectorPatchArrayOutput
- func (o DeviceTaintSelectorPatchPtrOutput) ToDeviceTaintSelectorPatchPtrOutput() DeviceTaintSelectorPatchPtrOutput
- func (o DeviceTaintSelectorPatchPtrOutput) ToDeviceTaintSelectorPatchPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPatchPtrOutput
- type DeviceTaintSelectorPtrInput
- type DeviceTaintSelectorPtrOutput
- func (o DeviceTaintSelectorPtrOutput) Device() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPtrOutput) DeviceClassName() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPtrOutput) Driver() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPtrOutput) Elem() DeviceTaintSelectorOutput
- func (DeviceTaintSelectorPtrOutput) ElementType() reflect.Type
- func (o DeviceTaintSelectorPtrOutput) Pool() pulumi.StringPtrOutput
- func (o DeviceTaintSelectorPtrOutput) Selectors() DeviceSelectorArrayOutput
- func (o DeviceTaintSelectorPtrOutput) ToDeviceTaintSelectorPtrOutput() DeviceTaintSelectorPtrOutput
- func (o DeviceTaintSelectorPtrOutput) ToDeviceTaintSelectorPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPtrOutput
- type DeviceToleration
- type DeviceTolerationArgs
- type DeviceTolerationArray
- type DeviceTolerationArrayInput
- type DeviceTolerationArrayOutput
- func (DeviceTolerationArrayOutput) ElementType() reflect.Type
- func (o DeviceTolerationArrayOutput) Index(i pulumi.IntInput) DeviceTolerationOutput
- func (o DeviceTolerationArrayOutput) ToDeviceTolerationArrayOutput() DeviceTolerationArrayOutput
- func (o DeviceTolerationArrayOutput) ToDeviceTolerationArrayOutputWithContext(ctx context.Context) DeviceTolerationArrayOutput
- type DeviceTolerationInput
- type DeviceTolerationOutput
- func (o DeviceTolerationOutput) Effect() pulumi.StringPtrOutput
- func (DeviceTolerationOutput) ElementType() reflect.Type
- func (o DeviceTolerationOutput) Key() pulumi.StringPtrOutput
- func (o DeviceTolerationOutput) Operator() pulumi.StringPtrOutput
- func (o DeviceTolerationOutput) ToDeviceTolerationOutput() DeviceTolerationOutput
- func (o DeviceTolerationOutput) ToDeviceTolerationOutputWithContext(ctx context.Context) DeviceTolerationOutput
- func (o DeviceTolerationOutput) TolerationSeconds() pulumi.IntPtrOutput
- func (o DeviceTolerationOutput) Value() pulumi.StringPtrOutput
- type DeviceTolerationPatch
- type DeviceTolerationPatchArgs
- type DeviceTolerationPatchArray
- func (DeviceTolerationPatchArray) ElementType() reflect.Type
- func (i DeviceTolerationPatchArray) ToDeviceTolerationPatchArrayOutput() DeviceTolerationPatchArrayOutput
- func (i DeviceTolerationPatchArray) ToDeviceTolerationPatchArrayOutputWithContext(ctx context.Context) DeviceTolerationPatchArrayOutput
- type DeviceTolerationPatchArrayInput
- type DeviceTolerationPatchArrayOutput
- func (DeviceTolerationPatchArrayOutput) ElementType() reflect.Type
- func (o DeviceTolerationPatchArrayOutput) Index(i pulumi.IntInput) DeviceTolerationPatchOutput
- func (o DeviceTolerationPatchArrayOutput) ToDeviceTolerationPatchArrayOutput() DeviceTolerationPatchArrayOutput
- func (o DeviceTolerationPatchArrayOutput) ToDeviceTolerationPatchArrayOutputWithContext(ctx context.Context) DeviceTolerationPatchArrayOutput
- type DeviceTolerationPatchInput
- type DeviceTolerationPatchOutput
- func (o DeviceTolerationPatchOutput) Effect() pulumi.StringPtrOutput
- func (DeviceTolerationPatchOutput) ElementType() reflect.Type
- func (o DeviceTolerationPatchOutput) Key() pulumi.StringPtrOutput
- func (o DeviceTolerationPatchOutput) Operator() pulumi.StringPtrOutput
- func (o DeviceTolerationPatchOutput) ToDeviceTolerationPatchOutput() DeviceTolerationPatchOutput
- func (o DeviceTolerationPatchOutput) ToDeviceTolerationPatchOutputWithContext(ctx context.Context) DeviceTolerationPatchOutput
- func (o DeviceTolerationPatchOutput) TolerationSeconds() pulumi.IntPtrOutput
- func (o DeviceTolerationPatchOutput) Value() pulumi.StringPtrOutput
- type NetworkDeviceData
- type NetworkDeviceDataArgs
- func (NetworkDeviceDataArgs) ElementType() reflect.Type
- func (i NetworkDeviceDataArgs) ToNetworkDeviceDataOutput() NetworkDeviceDataOutput
- func (i NetworkDeviceDataArgs) ToNetworkDeviceDataOutputWithContext(ctx context.Context) NetworkDeviceDataOutput
- func (i NetworkDeviceDataArgs) ToNetworkDeviceDataPtrOutput() NetworkDeviceDataPtrOutput
- func (i NetworkDeviceDataArgs) ToNetworkDeviceDataPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPtrOutput
- type NetworkDeviceDataInput
- type NetworkDeviceDataOutput
- func (NetworkDeviceDataOutput) ElementType() reflect.Type
- func (o NetworkDeviceDataOutput) HardwareAddress() pulumi.StringPtrOutput
- func (o NetworkDeviceDataOutput) InterfaceName() pulumi.StringPtrOutput
- func (o NetworkDeviceDataOutput) Ips() pulumi.StringArrayOutput
- func (o NetworkDeviceDataOutput) ToNetworkDeviceDataOutput() NetworkDeviceDataOutput
- func (o NetworkDeviceDataOutput) ToNetworkDeviceDataOutputWithContext(ctx context.Context) NetworkDeviceDataOutput
- func (o NetworkDeviceDataOutput) ToNetworkDeviceDataPtrOutput() NetworkDeviceDataPtrOutput
- func (o NetworkDeviceDataOutput) ToNetworkDeviceDataPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPtrOutput
- type NetworkDeviceDataPatch
- type NetworkDeviceDataPatchArgs
- func (NetworkDeviceDataPatchArgs) ElementType() reflect.Type
- func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchOutput() NetworkDeviceDataPatchOutput
- func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchOutputWithContext(ctx context.Context) NetworkDeviceDataPatchOutput
- func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchPtrOutput() NetworkDeviceDataPatchPtrOutput
- func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPatchPtrOutput
- type NetworkDeviceDataPatchInput
- type NetworkDeviceDataPatchOutput
- func (NetworkDeviceDataPatchOutput) ElementType() reflect.Type
- func (o NetworkDeviceDataPatchOutput) HardwareAddress() pulumi.StringPtrOutput
- func (o NetworkDeviceDataPatchOutput) InterfaceName() pulumi.StringPtrOutput
- func (o NetworkDeviceDataPatchOutput) Ips() pulumi.StringArrayOutput
- func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchOutput() NetworkDeviceDataPatchOutput
- func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchOutputWithContext(ctx context.Context) NetworkDeviceDataPatchOutput
- func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchPtrOutput() NetworkDeviceDataPatchPtrOutput
- func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPatchPtrOutput
- type NetworkDeviceDataPatchPtrInput
- type NetworkDeviceDataPatchPtrOutput
- func (o NetworkDeviceDataPatchPtrOutput) Elem() NetworkDeviceDataPatchOutput
- func (NetworkDeviceDataPatchPtrOutput) ElementType() reflect.Type
- func (o NetworkDeviceDataPatchPtrOutput) HardwareAddress() pulumi.StringPtrOutput
- func (o NetworkDeviceDataPatchPtrOutput) InterfaceName() pulumi.StringPtrOutput
- func (o NetworkDeviceDataPatchPtrOutput) Ips() pulumi.StringArrayOutput
- func (o NetworkDeviceDataPatchPtrOutput) ToNetworkDeviceDataPatchPtrOutput() NetworkDeviceDataPatchPtrOutput
- func (o NetworkDeviceDataPatchPtrOutput) ToNetworkDeviceDataPatchPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPatchPtrOutput
- type NetworkDeviceDataPtrInput
- type NetworkDeviceDataPtrOutput
- func (o NetworkDeviceDataPtrOutput) Elem() NetworkDeviceDataOutput
- func (NetworkDeviceDataPtrOutput) ElementType() reflect.Type
- func (o NetworkDeviceDataPtrOutput) HardwareAddress() pulumi.StringPtrOutput
- func (o NetworkDeviceDataPtrOutput) InterfaceName() pulumi.StringPtrOutput
- func (o NetworkDeviceDataPtrOutput) Ips() pulumi.StringArrayOutput
- func (o NetworkDeviceDataPtrOutput) ToNetworkDeviceDataPtrOutput() NetworkDeviceDataPtrOutput
- func (o NetworkDeviceDataPtrOutput) ToNetworkDeviceDataPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPtrOutput
- type OpaqueDeviceConfiguration
- type OpaqueDeviceConfigurationArgs
- func (OpaqueDeviceConfigurationArgs) ElementType() reflect.Type
- func (i OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationOutput() OpaqueDeviceConfigurationOutput
- func (i OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationOutput
- func (i OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationPtrOutput() OpaqueDeviceConfigurationPtrOutput
- func (i OpaqueDeviceConfigurationArgs) ToOpaqueDeviceConfigurationPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPtrOutput
- type OpaqueDeviceConfigurationInput
- type OpaqueDeviceConfigurationOutput
- func (o OpaqueDeviceConfigurationOutput) Driver() pulumi.StringOutput
- func (OpaqueDeviceConfigurationOutput) ElementType() reflect.Type
- func (o OpaqueDeviceConfigurationOutput) Parameters() pulumi.AnyOutput
- func (o OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationOutput() OpaqueDeviceConfigurationOutput
- func (o OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationOutput
- func (o OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationPtrOutput() OpaqueDeviceConfigurationPtrOutput
- func (o OpaqueDeviceConfigurationOutput) ToOpaqueDeviceConfigurationPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPtrOutput
- type OpaqueDeviceConfigurationPatch
- type OpaqueDeviceConfigurationPatchArgs
- func (OpaqueDeviceConfigurationPatchArgs) ElementType() reflect.Type
- func (i OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchOutput() OpaqueDeviceConfigurationPatchOutput
- func (i OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPatchOutput
- func (i OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchPtrOutput() OpaqueDeviceConfigurationPatchPtrOutput
- func (i OpaqueDeviceConfigurationPatchArgs) ToOpaqueDeviceConfigurationPatchPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPatchPtrOutput
- type OpaqueDeviceConfigurationPatchInput
- type OpaqueDeviceConfigurationPatchOutput
- func (o OpaqueDeviceConfigurationPatchOutput) Driver() pulumi.StringPtrOutput
- func (OpaqueDeviceConfigurationPatchOutput) ElementType() reflect.Type
- func (o OpaqueDeviceConfigurationPatchOutput) Parameters() pulumi.AnyOutput
- func (o OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchOutput() OpaqueDeviceConfigurationPatchOutput
- func (o OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPatchOutput
- func (o OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchPtrOutput() OpaqueDeviceConfigurationPatchPtrOutput
- func (o OpaqueDeviceConfigurationPatchOutput) ToOpaqueDeviceConfigurationPatchPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPatchPtrOutput
- type OpaqueDeviceConfigurationPatchPtrInput
- type OpaqueDeviceConfigurationPatchPtrOutput
- func (o OpaqueDeviceConfigurationPatchPtrOutput) Driver() pulumi.StringPtrOutput
- func (o OpaqueDeviceConfigurationPatchPtrOutput) Elem() OpaqueDeviceConfigurationPatchOutput
- func (OpaqueDeviceConfigurationPatchPtrOutput) ElementType() reflect.Type
- func (o OpaqueDeviceConfigurationPatchPtrOutput) Parameters() pulumi.AnyOutput
- func (o OpaqueDeviceConfigurationPatchPtrOutput) ToOpaqueDeviceConfigurationPatchPtrOutput() OpaqueDeviceConfigurationPatchPtrOutput
- func (o OpaqueDeviceConfigurationPatchPtrOutput) ToOpaqueDeviceConfigurationPatchPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPatchPtrOutput
- type OpaqueDeviceConfigurationPtrInput
- type OpaqueDeviceConfigurationPtrOutput
- func (o OpaqueDeviceConfigurationPtrOutput) Driver() pulumi.StringPtrOutput
- func (o OpaqueDeviceConfigurationPtrOutput) Elem() OpaqueDeviceConfigurationOutput
- func (OpaqueDeviceConfigurationPtrOutput) ElementType() reflect.Type
- func (o OpaqueDeviceConfigurationPtrOutput) Parameters() pulumi.AnyOutput
- func (o OpaqueDeviceConfigurationPtrOutput) ToOpaqueDeviceConfigurationPtrOutput() OpaqueDeviceConfigurationPtrOutput
- func (o OpaqueDeviceConfigurationPtrOutput) ToOpaqueDeviceConfigurationPtrOutputWithContext(ctx context.Context) OpaqueDeviceConfigurationPtrOutput
- type PodSchedulingContext
- type PodSchedulingContextArgs
- type PodSchedulingContextArray
- type PodSchedulingContextArrayInput
- type PodSchedulingContextArrayOutput
- func (PodSchedulingContextArrayOutput) ElementType() reflect.Type
- func (o PodSchedulingContextArrayOutput) Index(i pulumi.IntInput) PodSchedulingContextOutput
- func (o PodSchedulingContextArrayOutput) ToPodSchedulingContextArrayOutput() PodSchedulingContextArrayOutput
- func (o PodSchedulingContextArrayOutput) ToPodSchedulingContextArrayOutputWithContext(ctx context.Context) PodSchedulingContextArrayOutput
- type PodSchedulingContextInput
- type PodSchedulingContextList
- type PodSchedulingContextListArgs
- type PodSchedulingContextListArray
- func (PodSchedulingContextListArray) ElementType() reflect.Type
- func (i PodSchedulingContextListArray) ToPodSchedulingContextListArrayOutput() PodSchedulingContextListArrayOutput
- func (i PodSchedulingContextListArray) ToPodSchedulingContextListArrayOutputWithContext(ctx context.Context) PodSchedulingContextListArrayOutput
- type PodSchedulingContextListArrayInput
- type PodSchedulingContextListArrayOutput
- func (PodSchedulingContextListArrayOutput) ElementType() reflect.Type
- func (o PodSchedulingContextListArrayOutput) Index(i pulumi.IntInput) PodSchedulingContextListOutput
- func (o PodSchedulingContextListArrayOutput) ToPodSchedulingContextListArrayOutput() PodSchedulingContextListArrayOutput
- func (o PodSchedulingContextListArrayOutput) ToPodSchedulingContextListArrayOutputWithContext(ctx context.Context) PodSchedulingContextListArrayOutput
- type PodSchedulingContextListInput
- type PodSchedulingContextListMap
- func (PodSchedulingContextListMap) ElementType() reflect.Type
- func (i PodSchedulingContextListMap) ToPodSchedulingContextListMapOutput() PodSchedulingContextListMapOutput
- func (i PodSchedulingContextListMap) ToPodSchedulingContextListMapOutputWithContext(ctx context.Context) PodSchedulingContextListMapOutput
- type PodSchedulingContextListMapInput
- type PodSchedulingContextListMapOutput
- func (PodSchedulingContextListMapOutput) ElementType() reflect.Type
- func (o PodSchedulingContextListMapOutput) MapIndex(k pulumi.StringInput) PodSchedulingContextListOutput
- func (o PodSchedulingContextListMapOutput) ToPodSchedulingContextListMapOutput() PodSchedulingContextListMapOutput
- func (o PodSchedulingContextListMapOutput) ToPodSchedulingContextListMapOutputWithContext(ctx context.Context) PodSchedulingContextListMapOutput
- type PodSchedulingContextListOutput
- func (o PodSchedulingContextListOutput) ApiVersion() pulumi.StringOutput
- func (PodSchedulingContextListOutput) ElementType() reflect.Type
- func (o PodSchedulingContextListOutput) Items() PodSchedulingContextTypeArrayOutput
- func (o PodSchedulingContextListOutput) Kind() pulumi.StringOutput
- func (o PodSchedulingContextListOutput) Metadata() metav1.ListMetaOutput
- func (o PodSchedulingContextListOutput) ToPodSchedulingContextListOutput() PodSchedulingContextListOutput
- func (o PodSchedulingContextListOutput) ToPodSchedulingContextListOutputWithContext(ctx context.Context) PodSchedulingContextListOutput
- type PodSchedulingContextListState
- type PodSchedulingContextListType
- type PodSchedulingContextListTypeArgs
- func (PodSchedulingContextListTypeArgs) ElementType() reflect.Type
- func (i PodSchedulingContextListTypeArgs) ToPodSchedulingContextListTypeOutput() PodSchedulingContextListTypeOutput
- func (i PodSchedulingContextListTypeArgs) ToPodSchedulingContextListTypeOutputWithContext(ctx context.Context) PodSchedulingContextListTypeOutput
- type PodSchedulingContextListTypeInput
- type PodSchedulingContextListTypeOutput
- func (o PodSchedulingContextListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodSchedulingContextListTypeOutput) ElementType() reflect.Type
- func (o PodSchedulingContextListTypeOutput) Items() PodSchedulingContextTypeArrayOutput
- func (o PodSchedulingContextListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PodSchedulingContextListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o PodSchedulingContextListTypeOutput) ToPodSchedulingContextListTypeOutput() PodSchedulingContextListTypeOutput
- func (o PodSchedulingContextListTypeOutput) ToPodSchedulingContextListTypeOutputWithContext(ctx context.Context) PodSchedulingContextListTypeOutput
- type PodSchedulingContextMap
- type PodSchedulingContextMapInput
- type PodSchedulingContextMapOutput
- func (PodSchedulingContextMapOutput) ElementType() reflect.Type
- func (o PodSchedulingContextMapOutput) MapIndex(k pulumi.StringInput) PodSchedulingContextOutput
- func (o PodSchedulingContextMapOutput) ToPodSchedulingContextMapOutput() PodSchedulingContextMapOutput
- func (o PodSchedulingContextMapOutput) ToPodSchedulingContextMapOutputWithContext(ctx context.Context) PodSchedulingContextMapOutput
- type PodSchedulingContextOutput
- func (o PodSchedulingContextOutput) ApiVersion() pulumi.StringOutput
- func (PodSchedulingContextOutput) ElementType() reflect.Type
- func (o PodSchedulingContextOutput) Kind() pulumi.StringOutput
- func (o PodSchedulingContextOutput) Metadata() metav1.ObjectMetaOutput
- func (o PodSchedulingContextOutput) Spec() PodSchedulingContextSpecOutput
- func (o PodSchedulingContextOutput) Status() PodSchedulingContextStatusPtrOutput
- func (o PodSchedulingContextOutput) ToPodSchedulingContextOutput() PodSchedulingContextOutput
- func (o PodSchedulingContextOutput) ToPodSchedulingContextOutputWithContext(ctx context.Context) PodSchedulingContextOutput
- type PodSchedulingContextPatch
- type PodSchedulingContextPatchArgs
- type PodSchedulingContextPatchArray
- func (PodSchedulingContextPatchArray) ElementType() reflect.Type
- func (i PodSchedulingContextPatchArray) ToPodSchedulingContextPatchArrayOutput() PodSchedulingContextPatchArrayOutput
- func (i PodSchedulingContextPatchArray) ToPodSchedulingContextPatchArrayOutputWithContext(ctx context.Context) PodSchedulingContextPatchArrayOutput
- type PodSchedulingContextPatchArrayInput
- type PodSchedulingContextPatchArrayOutput
- func (PodSchedulingContextPatchArrayOutput) ElementType() reflect.Type
- func (o PodSchedulingContextPatchArrayOutput) Index(i pulumi.IntInput) PodSchedulingContextPatchOutput
- func (o PodSchedulingContextPatchArrayOutput) ToPodSchedulingContextPatchArrayOutput() PodSchedulingContextPatchArrayOutput
- func (o PodSchedulingContextPatchArrayOutput) ToPodSchedulingContextPatchArrayOutputWithContext(ctx context.Context) PodSchedulingContextPatchArrayOutput
- type PodSchedulingContextPatchInput
- type PodSchedulingContextPatchMap
- func (PodSchedulingContextPatchMap) ElementType() reflect.Type
- func (i PodSchedulingContextPatchMap) ToPodSchedulingContextPatchMapOutput() PodSchedulingContextPatchMapOutput
- func (i PodSchedulingContextPatchMap) ToPodSchedulingContextPatchMapOutputWithContext(ctx context.Context) PodSchedulingContextPatchMapOutput
- type PodSchedulingContextPatchMapInput
- type PodSchedulingContextPatchMapOutput
- func (PodSchedulingContextPatchMapOutput) ElementType() reflect.Type
- func (o PodSchedulingContextPatchMapOutput) MapIndex(k pulumi.StringInput) PodSchedulingContextPatchOutput
- func (o PodSchedulingContextPatchMapOutput) ToPodSchedulingContextPatchMapOutput() PodSchedulingContextPatchMapOutput
- func (o PodSchedulingContextPatchMapOutput) ToPodSchedulingContextPatchMapOutputWithContext(ctx context.Context) PodSchedulingContextPatchMapOutput
- type PodSchedulingContextPatchOutput
- func (o PodSchedulingContextPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodSchedulingContextPatchOutput) ElementType() reflect.Type
- func (o PodSchedulingContextPatchOutput) Kind() pulumi.StringPtrOutput
- func (o PodSchedulingContextPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o PodSchedulingContextPatchOutput) Spec() PodSchedulingContextSpecPatchPtrOutput
- func (o PodSchedulingContextPatchOutput) Status() PodSchedulingContextStatusPatchPtrOutput
- func (o PodSchedulingContextPatchOutput) ToPodSchedulingContextPatchOutput() PodSchedulingContextPatchOutput
- func (o PodSchedulingContextPatchOutput) ToPodSchedulingContextPatchOutputWithContext(ctx context.Context) PodSchedulingContextPatchOutput
- type PodSchedulingContextPatchState
- type PodSchedulingContextPatchType
- type PodSchedulingContextPatchTypeArgs
- func (PodSchedulingContextPatchTypeArgs) ElementType() reflect.Type
- func (i PodSchedulingContextPatchTypeArgs) ToPodSchedulingContextPatchTypeOutput() PodSchedulingContextPatchTypeOutput
- func (i PodSchedulingContextPatchTypeArgs) ToPodSchedulingContextPatchTypeOutputWithContext(ctx context.Context) PodSchedulingContextPatchTypeOutput
- type PodSchedulingContextPatchTypeInput
- type PodSchedulingContextPatchTypeOutput
- func (o PodSchedulingContextPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodSchedulingContextPatchTypeOutput) ElementType() reflect.Type
- func (o PodSchedulingContextPatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PodSchedulingContextPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o PodSchedulingContextPatchTypeOutput) Spec() PodSchedulingContextSpecPatchPtrOutput
- func (o PodSchedulingContextPatchTypeOutput) Status() PodSchedulingContextStatusPatchPtrOutput
- func (o PodSchedulingContextPatchTypeOutput) ToPodSchedulingContextPatchTypeOutput() PodSchedulingContextPatchTypeOutput
- func (o PodSchedulingContextPatchTypeOutput) ToPodSchedulingContextPatchTypeOutputWithContext(ctx context.Context) PodSchedulingContextPatchTypeOutput
- type PodSchedulingContextSpec
- type PodSchedulingContextSpecArgs
- func (PodSchedulingContextSpecArgs) ElementType() reflect.Type
- func (i PodSchedulingContextSpecArgs) ToPodSchedulingContextSpecOutput() PodSchedulingContextSpecOutput
- func (i PodSchedulingContextSpecArgs) ToPodSchedulingContextSpecOutputWithContext(ctx context.Context) PodSchedulingContextSpecOutput
- type PodSchedulingContextSpecInput
- type PodSchedulingContextSpecOutput
- func (PodSchedulingContextSpecOutput) ElementType() reflect.Type
- func (o PodSchedulingContextSpecOutput) PotentialNodes() pulumi.StringArrayOutput
- func (o PodSchedulingContextSpecOutput) SelectedNode() pulumi.StringPtrOutput
- func (o PodSchedulingContextSpecOutput) ToPodSchedulingContextSpecOutput() PodSchedulingContextSpecOutput
- func (o PodSchedulingContextSpecOutput) ToPodSchedulingContextSpecOutputWithContext(ctx context.Context) PodSchedulingContextSpecOutput
- type PodSchedulingContextSpecPatch
- type PodSchedulingContextSpecPatchArgs
- func (PodSchedulingContextSpecPatchArgs) ElementType() reflect.Type
- func (i PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchOutput() PodSchedulingContextSpecPatchOutput
- func (i PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchOutputWithContext(ctx context.Context) PodSchedulingContextSpecPatchOutput
- func (i PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchPtrOutput() PodSchedulingContextSpecPatchPtrOutput
- func (i PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextSpecPatchPtrOutput
- type PodSchedulingContextSpecPatchInput
- type PodSchedulingContextSpecPatchOutput
- func (PodSchedulingContextSpecPatchOutput) ElementType() reflect.Type
- func (o PodSchedulingContextSpecPatchOutput) PotentialNodes() pulumi.StringArrayOutput
- func (o PodSchedulingContextSpecPatchOutput) SelectedNode() pulumi.StringPtrOutput
- func (o PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchOutput() PodSchedulingContextSpecPatchOutput
- func (o PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchOutputWithContext(ctx context.Context) PodSchedulingContextSpecPatchOutput
- func (o PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchPtrOutput() PodSchedulingContextSpecPatchPtrOutput
- func (o PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextSpecPatchPtrOutput
- type PodSchedulingContextSpecPatchPtrInput
- type PodSchedulingContextSpecPatchPtrOutput
- func (o PodSchedulingContextSpecPatchPtrOutput) Elem() PodSchedulingContextSpecPatchOutput
- func (PodSchedulingContextSpecPatchPtrOutput) ElementType() reflect.Type
- func (o PodSchedulingContextSpecPatchPtrOutput) PotentialNodes() pulumi.StringArrayOutput
- func (o PodSchedulingContextSpecPatchPtrOutput) SelectedNode() pulumi.StringPtrOutput
- func (o PodSchedulingContextSpecPatchPtrOutput) ToPodSchedulingContextSpecPatchPtrOutput() PodSchedulingContextSpecPatchPtrOutput
- func (o PodSchedulingContextSpecPatchPtrOutput) ToPodSchedulingContextSpecPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextSpecPatchPtrOutput
- type PodSchedulingContextState
- type PodSchedulingContextStatus
- type PodSchedulingContextStatusArgs
- func (PodSchedulingContextStatusArgs) ElementType() reflect.Type
- func (i PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusOutput() PodSchedulingContextStatusOutput
- func (i PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusOutputWithContext(ctx context.Context) PodSchedulingContextStatusOutput
- func (i PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusPtrOutput() PodSchedulingContextStatusPtrOutput
- func (i PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPtrOutput
- type PodSchedulingContextStatusInput
- type PodSchedulingContextStatusOutput
- func (PodSchedulingContextStatusOutput) ElementType() reflect.Type
- func (o PodSchedulingContextStatusOutput) ResourceClaims() ResourceClaimSchedulingStatusArrayOutput
- func (o PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusOutput() PodSchedulingContextStatusOutput
- func (o PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusOutputWithContext(ctx context.Context) PodSchedulingContextStatusOutput
- func (o PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusPtrOutput() PodSchedulingContextStatusPtrOutput
- func (o PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPtrOutput
- type PodSchedulingContextStatusPatch
- type PodSchedulingContextStatusPatchArgs
- func (PodSchedulingContextStatusPatchArgs) ElementType() reflect.Type
- func (i PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchOutput() PodSchedulingContextStatusPatchOutput
- func (i PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchOutputWithContext(ctx context.Context) PodSchedulingContextStatusPatchOutput
- func (i PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchPtrOutput() PodSchedulingContextStatusPatchPtrOutput
- func (i PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPatchPtrOutput
- type PodSchedulingContextStatusPatchInput
- type PodSchedulingContextStatusPatchOutput
- func (PodSchedulingContextStatusPatchOutput) ElementType() reflect.Type
- func (o PodSchedulingContextStatusPatchOutput) ResourceClaims() ResourceClaimSchedulingStatusPatchArrayOutput
- func (o PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchOutput() PodSchedulingContextStatusPatchOutput
- func (o PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchOutputWithContext(ctx context.Context) PodSchedulingContextStatusPatchOutput
- func (o PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchPtrOutput() PodSchedulingContextStatusPatchPtrOutput
- func (o PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPatchPtrOutput
- type PodSchedulingContextStatusPatchPtrInput
- type PodSchedulingContextStatusPatchPtrOutput
- func (o PodSchedulingContextStatusPatchPtrOutput) Elem() PodSchedulingContextStatusPatchOutput
- func (PodSchedulingContextStatusPatchPtrOutput) ElementType() reflect.Type
- func (o PodSchedulingContextStatusPatchPtrOutput) ResourceClaims() ResourceClaimSchedulingStatusPatchArrayOutput
- func (o PodSchedulingContextStatusPatchPtrOutput) ToPodSchedulingContextStatusPatchPtrOutput() PodSchedulingContextStatusPatchPtrOutput
- func (o PodSchedulingContextStatusPatchPtrOutput) ToPodSchedulingContextStatusPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPatchPtrOutput
- type PodSchedulingContextStatusPtrInput
- type PodSchedulingContextStatusPtrOutput
- func (o PodSchedulingContextStatusPtrOutput) Elem() PodSchedulingContextStatusOutput
- func (PodSchedulingContextStatusPtrOutput) ElementType() reflect.Type
- func (o PodSchedulingContextStatusPtrOutput) ResourceClaims() ResourceClaimSchedulingStatusArrayOutput
- func (o PodSchedulingContextStatusPtrOutput) ToPodSchedulingContextStatusPtrOutput() PodSchedulingContextStatusPtrOutput
- func (o PodSchedulingContextStatusPtrOutput) ToPodSchedulingContextStatusPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPtrOutput
- type PodSchedulingContextType
- type PodSchedulingContextTypeArgs
- func (PodSchedulingContextTypeArgs) ElementType() reflect.Type
- func (i PodSchedulingContextTypeArgs) ToPodSchedulingContextTypeOutput() PodSchedulingContextTypeOutput
- func (i PodSchedulingContextTypeArgs) ToPodSchedulingContextTypeOutputWithContext(ctx context.Context) PodSchedulingContextTypeOutput
- type PodSchedulingContextTypeArray
- func (PodSchedulingContextTypeArray) ElementType() reflect.Type
- func (i PodSchedulingContextTypeArray) ToPodSchedulingContextTypeArrayOutput() PodSchedulingContextTypeArrayOutput
- func (i PodSchedulingContextTypeArray) ToPodSchedulingContextTypeArrayOutputWithContext(ctx context.Context) PodSchedulingContextTypeArrayOutput
- type PodSchedulingContextTypeArrayInput
- type PodSchedulingContextTypeArrayOutput
- func (PodSchedulingContextTypeArrayOutput) ElementType() reflect.Type
- func (o PodSchedulingContextTypeArrayOutput) Index(i pulumi.IntInput) PodSchedulingContextTypeOutput
- func (o PodSchedulingContextTypeArrayOutput) ToPodSchedulingContextTypeArrayOutput() PodSchedulingContextTypeArrayOutput
- func (o PodSchedulingContextTypeArrayOutput) ToPodSchedulingContextTypeArrayOutputWithContext(ctx context.Context) PodSchedulingContextTypeArrayOutput
- type PodSchedulingContextTypeInput
- type PodSchedulingContextTypeOutput
- func (o PodSchedulingContextTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodSchedulingContextTypeOutput) ElementType() reflect.Type
- func (o PodSchedulingContextTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PodSchedulingContextTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o PodSchedulingContextTypeOutput) Spec() PodSchedulingContextSpecOutput
- func (o PodSchedulingContextTypeOutput) Status() PodSchedulingContextStatusPtrOutput
- func (o PodSchedulingContextTypeOutput) ToPodSchedulingContextTypeOutput() PodSchedulingContextTypeOutput
- func (o PodSchedulingContextTypeOutput) ToPodSchedulingContextTypeOutputWithContext(ctx context.Context) PodSchedulingContextTypeOutput
- type ResourceClaim
- type ResourceClaimArgs
- type ResourceClaimArray
- type ResourceClaimArrayInput
- type ResourceClaimArrayOutput
- func (ResourceClaimArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimArrayOutput) Index(i pulumi.IntInput) ResourceClaimOutput
- func (o ResourceClaimArrayOutput) ToResourceClaimArrayOutput() ResourceClaimArrayOutput
- func (o ResourceClaimArrayOutput) ToResourceClaimArrayOutputWithContext(ctx context.Context) ResourceClaimArrayOutput
- type ResourceClaimConsumerReference
- type ResourceClaimConsumerReferenceArgs
- func (ResourceClaimConsumerReferenceArgs) ElementType() reflect.Type
- func (i ResourceClaimConsumerReferenceArgs) ToResourceClaimConsumerReferenceOutput() ResourceClaimConsumerReferenceOutput
- func (i ResourceClaimConsumerReferenceArgs) ToResourceClaimConsumerReferenceOutputWithContext(ctx context.Context) ResourceClaimConsumerReferenceOutput
- type ResourceClaimConsumerReferenceArray
- func (ResourceClaimConsumerReferenceArray) ElementType() reflect.Type
- func (i ResourceClaimConsumerReferenceArray) ToResourceClaimConsumerReferenceArrayOutput() ResourceClaimConsumerReferenceArrayOutput
- func (i ResourceClaimConsumerReferenceArray) ToResourceClaimConsumerReferenceArrayOutputWithContext(ctx context.Context) ResourceClaimConsumerReferenceArrayOutput
- type ResourceClaimConsumerReferenceArrayInput
- type ResourceClaimConsumerReferenceArrayOutput
- func (ResourceClaimConsumerReferenceArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimConsumerReferenceArrayOutput) Index(i pulumi.IntInput) ResourceClaimConsumerReferenceOutput
- func (o ResourceClaimConsumerReferenceArrayOutput) ToResourceClaimConsumerReferenceArrayOutput() ResourceClaimConsumerReferenceArrayOutput
- func (o ResourceClaimConsumerReferenceArrayOutput) ToResourceClaimConsumerReferenceArrayOutputWithContext(ctx context.Context) ResourceClaimConsumerReferenceArrayOutput
- type ResourceClaimConsumerReferenceInput
- type ResourceClaimConsumerReferenceOutput
- func (o ResourceClaimConsumerReferenceOutput) ApiGroup() pulumi.StringPtrOutput
- func (ResourceClaimConsumerReferenceOutput) ElementType() reflect.Type
- func (o ResourceClaimConsumerReferenceOutput) Name() pulumi.StringOutput
- func (o ResourceClaimConsumerReferenceOutput) Resource() pulumi.StringOutput
- func (o ResourceClaimConsumerReferenceOutput) ToResourceClaimConsumerReferenceOutput() ResourceClaimConsumerReferenceOutput
- func (o ResourceClaimConsumerReferenceOutput) ToResourceClaimConsumerReferenceOutputWithContext(ctx context.Context) ResourceClaimConsumerReferenceOutput
- func (o ResourceClaimConsumerReferenceOutput) Uid() pulumi.StringOutput
- type ResourceClaimConsumerReferencePatch
- type ResourceClaimConsumerReferencePatchArgs
- func (ResourceClaimConsumerReferencePatchArgs) ElementType() reflect.Type
- func (i ResourceClaimConsumerReferencePatchArgs) ToResourceClaimConsumerReferencePatchOutput() ResourceClaimConsumerReferencePatchOutput
- func (i ResourceClaimConsumerReferencePatchArgs) ToResourceClaimConsumerReferencePatchOutputWithContext(ctx context.Context) ResourceClaimConsumerReferencePatchOutput
- type ResourceClaimConsumerReferencePatchArray
- func (ResourceClaimConsumerReferencePatchArray) ElementType() reflect.Type
- func (i ResourceClaimConsumerReferencePatchArray) ToResourceClaimConsumerReferencePatchArrayOutput() ResourceClaimConsumerReferencePatchArrayOutput
- func (i ResourceClaimConsumerReferencePatchArray) ToResourceClaimConsumerReferencePatchArrayOutputWithContext(ctx context.Context) ResourceClaimConsumerReferencePatchArrayOutput
- type ResourceClaimConsumerReferencePatchArrayInput
- type ResourceClaimConsumerReferencePatchArrayOutput
- func (ResourceClaimConsumerReferencePatchArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimConsumerReferencePatchArrayOutput) Index(i pulumi.IntInput) ResourceClaimConsumerReferencePatchOutput
- func (o ResourceClaimConsumerReferencePatchArrayOutput) ToResourceClaimConsumerReferencePatchArrayOutput() ResourceClaimConsumerReferencePatchArrayOutput
- func (o ResourceClaimConsumerReferencePatchArrayOutput) ToResourceClaimConsumerReferencePatchArrayOutputWithContext(ctx context.Context) ResourceClaimConsumerReferencePatchArrayOutput
- type ResourceClaimConsumerReferencePatchInput
- type ResourceClaimConsumerReferencePatchOutput
- func (o ResourceClaimConsumerReferencePatchOutput) ApiGroup() pulumi.StringPtrOutput
- func (ResourceClaimConsumerReferencePatchOutput) ElementType() reflect.Type
- func (o ResourceClaimConsumerReferencePatchOutput) Name() pulumi.StringPtrOutput
- func (o ResourceClaimConsumerReferencePatchOutput) Resource() pulumi.StringPtrOutput
- func (o ResourceClaimConsumerReferencePatchOutput) ToResourceClaimConsumerReferencePatchOutput() ResourceClaimConsumerReferencePatchOutput
- func (o ResourceClaimConsumerReferencePatchOutput) ToResourceClaimConsumerReferencePatchOutputWithContext(ctx context.Context) ResourceClaimConsumerReferencePatchOutput
- func (o ResourceClaimConsumerReferencePatchOutput) Uid() pulumi.StringPtrOutput
- type ResourceClaimInput
- type ResourceClaimList
- type ResourceClaimListArgs
- type ResourceClaimListArray
- type ResourceClaimListArrayInput
- type ResourceClaimListArrayOutput
- func (ResourceClaimListArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimListArrayOutput) Index(i pulumi.IntInput) ResourceClaimListOutput
- func (o ResourceClaimListArrayOutput) ToResourceClaimListArrayOutput() ResourceClaimListArrayOutput
- func (o ResourceClaimListArrayOutput) ToResourceClaimListArrayOutputWithContext(ctx context.Context) ResourceClaimListArrayOutput
- type ResourceClaimListInput
- type ResourceClaimListMap
- type ResourceClaimListMapInput
- type ResourceClaimListMapOutput
- func (ResourceClaimListMapOutput) ElementType() reflect.Type
- func (o ResourceClaimListMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimListOutput
- func (o ResourceClaimListMapOutput) ToResourceClaimListMapOutput() ResourceClaimListMapOutput
- func (o ResourceClaimListMapOutput) ToResourceClaimListMapOutputWithContext(ctx context.Context) ResourceClaimListMapOutput
- type ResourceClaimListOutput
- func (o ResourceClaimListOutput) ApiVersion() pulumi.StringOutput
- func (ResourceClaimListOutput) ElementType() reflect.Type
- func (o ResourceClaimListOutput) Items() ResourceClaimTypeArrayOutput
- func (o ResourceClaimListOutput) Kind() pulumi.StringOutput
- func (o ResourceClaimListOutput) Metadata() metav1.ListMetaOutput
- func (o ResourceClaimListOutput) ToResourceClaimListOutput() ResourceClaimListOutput
- func (o ResourceClaimListOutput) ToResourceClaimListOutputWithContext(ctx context.Context) ResourceClaimListOutput
- type ResourceClaimListState
- type ResourceClaimListType
- type ResourceClaimListTypeArgs
- type ResourceClaimListTypeInput
- type ResourceClaimListTypeOutput
- func (o ResourceClaimListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceClaimListTypeOutput) ElementType() reflect.Type
- func (o ResourceClaimListTypeOutput) Items() ResourceClaimTypeArrayOutput
- func (o ResourceClaimListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceClaimListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o ResourceClaimListTypeOutput) ToResourceClaimListTypeOutput() ResourceClaimListTypeOutput
- func (o ResourceClaimListTypeOutput) ToResourceClaimListTypeOutputWithContext(ctx context.Context) ResourceClaimListTypeOutput
- type ResourceClaimMap
- type ResourceClaimMapInput
- type ResourceClaimMapOutput
- func (ResourceClaimMapOutput) ElementType() reflect.Type
- func (o ResourceClaimMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimOutput
- func (o ResourceClaimMapOutput) ToResourceClaimMapOutput() ResourceClaimMapOutput
- func (o ResourceClaimMapOutput) ToResourceClaimMapOutputWithContext(ctx context.Context) ResourceClaimMapOutput
- type ResourceClaimOutput
- func (o ResourceClaimOutput) ApiVersion() pulumi.StringOutput
- func (ResourceClaimOutput) ElementType() reflect.Type
- func (o ResourceClaimOutput) Kind() pulumi.StringOutput
- func (o ResourceClaimOutput) Metadata() metav1.ObjectMetaOutput
- func (o ResourceClaimOutput) Spec() ResourceClaimSpecOutput
- func (o ResourceClaimOutput) Status() ResourceClaimStatusPtrOutput
- func (o ResourceClaimOutput) ToResourceClaimOutput() ResourceClaimOutput
- func (o ResourceClaimOutput) ToResourceClaimOutputWithContext(ctx context.Context) ResourceClaimOutput
- type ResourceClaimPatch
- type ResourceClaimPatchArgs
- type ResourceClaimPatchArray
- type ResourceClaimPatchArrayInput
- type ResourceClaimPatchArrayOutput
- func (ResourceClaimPatchArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimPatchArrayOutput) Index(i pulumi.IntInput) ResourceClaimPatchOutput
- func (o ResourceClaimPatchArrayOutput) ToResourceClaimPatchArrayOutput() ResourceClaimPatchArrayOutput
- func (o ResourceClaimPatchArrayOutput) ToResourceClaimPatchArrayOutputWithContext(ctx context.Context) ResourceClaimPatchArrayOutput
- type ResourceClaimPatchInput
- type ResourceClaimPatchMap
- type ResourceClaimPatchMapInput
- type ResourceClaimPatchMapOutput
- func (ResourceClaimPatchMapOutput) ElementType() reflect.Type
- func (o ResourceClaimPatchMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimPatchOutput
- func (o ResourceClaimPatchMapOutput) ToResourceClaimPatchMapOutput() ResourceClaimPatchMapOutput
- func (o ResourceClaimPatchMapOutput) ToResourceClaimPatchMapOutputWithContext(ctx context.Context) ResourceClaimPatchMapOutput
- type ResourceClaimPatchOutput
- func (o ResourceClaimPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceClaimPatchOutput) ElementType() reflect.Type
- func (o ResourceClaimPatchOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceClaimPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ResourceClaimPatchOutput) Spec() ResourceClaimSpecPatchPtrOutput
- func (o ResourceClaimPatchOutput) Status() ResourceClaimStatusPatchPtrOutput
- func (o ResourceClaimPatchOutput) ToResourceClaimPatchOutput() ResourceClaimPatchOutput
- func (o ResourceClaimPatchOutput) ToResourceClaimPatchOutputWithContext(ctx context.Context) ResourceClaimPatchOutput
- type ResourceClaimPatchState
- type ResourceClaimPatchType
- type ResourceClaimPatchTypeArgs
- type ResourceClaimPatchTypeInput
- type ResourceClaimPatchTypeOutput
- func (o ResourceClaimPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceClaimPatchTypeOutput) ElementType() reflect.Type
- func (o ResourceClaimPatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceClaimPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ResourceClaimPatchTypeOutput) Spec() ResourceClaimSpecPatchPtrOutput
- func (o ResourceClaimPatchTypeOutput) Status() ResourceClaimStatusPatchPtrOutput
- func (o ResourceClaimPatchTypeOutput) ToResourceClaimPatchTypeOutput() ResourceClaimPatchTypeOutput
- func (o ResourceClaimPatchTypeOutput) ToResourceClaimPatchTypeOutputWithContext(ctx context.Context) ResourceClaimPatchTypeOutput
- type ResourceClaimSchedulingStatus
- type ResourceClaimSchedulingStatusArgs
- func (ResourceClaimSchedulingStatusArgs) ElementType() reflect.Type
- func (i ResourceClaimSchedulingStatusArgs) ToResourceClaimSchedulingStatusOutput() ResourceClaimSchedulingStatusOutput
- func (i ResourceClaimSchedulingStatusArgs) ToResourceClaimSchedulingStatusOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusOutput
- type ResourceClaimSchedulingStatusArray
- func (ResourceClaimSchedulingStatusArray) ElementType() reflect.Type
- func (i ResourceClaimSchedulingStatusArray) ToResourceClaimSchedulingStatusArrayOutput() ResourceClaimSchedulingStatusArrayOutput
- func (i ResourceClaimSchedulingStatusArray) ToResourceClaimSchedulingStatusArrayOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusArrayOutput
- type ResourceClaimSchedulingStatusArrayInput
- type ResourceClaimSchedulingStatusArrayOutput
- func (ResourceClaimSchedulingStatusArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimSchedulingStatusArrayOutput) Index(i pulumi.IntInput) ResourceClaimSchedulingStatusOutput
- func (o ResourceClaimSchedulingStatusArrayOutput) ToResourceClaimSchedulingStatusArrayOutput() ResourceClaimSchedulingStatusArrayOutput
- func (o ResourceClaimSchedulingStatusArrayOutput) ToResourceClaimSchedulingStatusArrayOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusArrayOutput
- type ResourceClaimSchedulingStatusInput
- type ResourceClaimSchedulingStatusOutput
- func (ResourceClaimSchedulingStatusOutput) ElementType() reflect.Type
- func (o ResourceClaimSchedulingStatusOutput) Name() pulumi.StringOutput
- func (o ResourceClaimSchedulingStatusOutput) ToResourceClaimSchedulingStatusOutput() ResourceClaimSchedulingStatusOutput
- func (o ResourceClaimSchedulingStatusOutput) ToResourceClaimSchedulingStatusOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusOutput
- func (o ResourceClaimSchedulingStatusOutput) UnsuitableNodes() pulumi.StringArrayOutput
- type ResourceClaimSchedulingStatusPatch
- type ResourceClaimSchedulingStatusPatchArgs
- func (ResourceClaimSchedulingStatusPatchArgs) ElementType() reflect.Type
- func (i ResourceClaimSchedulingStatusPatchArgs) ToResourceClaimSchedulingStatusPatchOutput() ResourceClaimSchedulingStatusPatchOutput
- func (i ResourceClaimSchedulingStatusPatchArgs) ToResourceClaimSchedulingStatusPatchOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusPatchOutput
- type ResourceClaimSchedulingStatusPatchArray
- func (ResourceClaimSchedulingStatusPatchArray) ElementType() reflect.Type
- func (i ResourceClaimSchedulingStatusPatchArray) ToResourceClaimSchedulingStatusPatchArrayOutput() ResourceClaimSchedulingStatusPatchArrayOutput
- func (i ResourceClaimSchedulingStatusPatchArray) ToResourceClaimSchedulingStatusPatchArrayOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusPatchArrayOutput
- type ResourceClaimSchedulingStatusPatchArrayInput
- type ResourceClaimSchedulingStatusPatchArrayOutput
- func (ResourceClaimSchedulingStatusPatchArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimSchedulingStatusPatchArrayOutput) Index(i pulumi.IntInput) ResourceClaimSchedulingStatusPatchOutput
- func (o ResourceClaimSchedulingStatusPatchArrayOutput) ToResourceClaimSchedulingStatusPatchArrayOutput() ResourceClaimSchedulingStatusPatchArrayOutput
- func (o ResourceClaimSchedulingStatusPatchArrayOutput) ToResourceClaimSchedulingStatusPatchArrayOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusPatchArrayOutput
- type ResourceClaimSchedulingStatusPatchInput
- type ResourceClaimSchedulingStatusPatchOutput
- func (ResourceClaimSchedulingStatusPatchOutput) ElementType() reflect.Type
- func (o ResourceClaimSchedulingStatusPatchOutput) Name() pulumi.StringPtrOutput
- func (o ResourceClaimSchedulingStatusPatchOutput) ToResourceClaimSchedulingStatusPatchOutput() ResourceClaimSchedulingStatusPatchOutput
- func (o ResourceClaimSchedulingStatusPatchOutput) ToResourceClaimSchedulingStatusPatchOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusPatchOutput
- func (o ResourceClaimSchedulingStatusPatchOutput) UnsuitableNodes() pulumi.StringArrayOutput
- type ResourceClaimSpec
- type ResourceClaimSpecArgs
- type ResourceClaimSpecInput
- type ResourceClaimSpecOutput
- func (o ResourceClaimSpecOutput) Controller() pulumi.StringPtrOutput
- func (o ResourceClaimSpecOutput) Devices() DeviceClaimPtrOutput
- func (ResourceClaimSpecOutput) ElementType() reflect.Type
- func (o ResourceClaimSpecOutput) ToResourceClaimSpecOutput() ResourceClaimSpecOutput
- func (o ResourceClaimSpecOutput) ToResourceClaimSpecOutputWithContext(ctx context.Context) ResourceClaimSpecOutput
- type ResourceClaimSpecPatch
- type ResourceClaimSpecPatchArgs
- func (ResourceClaimSpecPatchArgs) ElementType() reflect.Type
- func (i ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchOutput() ResourceClaimSpecPatchOutput
- func (i ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchOutputWithContext(ctx context.Context) ResourceClaimSpecPatchOutput
- func (i ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchPtrOutput() ResourceClaimSpecPatchPtrOutput
- func (i ResourceClaimSpecPatchArgs) ToResourceClaimSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimSpecPatchPtrOutput
- type ResourceClaimSpecPatchInput
- type ResourceClaimSpecPatchOutput
- func (o ResourceClaimSpecPatchOutput) Controller() pulumi.StringPtrOutput
- func (o ResourceClaimSpecPatchOutput) Devices() DeviceClaimPatchPtrOutput
- func (ResourceClaimSpecPatchOutput) ElementType() reflect.Type
- func (o ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchOutput() ResourceClaimSpecPatchOutput
- func (o ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchOutputWithContext(ctx context.Context) ResourceClaimSpecPatchOutput
- func (o ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchPtrOutput() ResourceClaimSpecPatchPtrOutput
- func (o ResourceClaimSpecPatchOutput) ToResourceClaimSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimSpecPatchPtrOutput
- type ResourceClaimSpecPatchPtrInput
- type ResourceClaimSpecPatchPtrOutput
- func (o ResourceClaimSpecPatchPtrOutput) Controller() pulumi.StringPtrOutput
- func (o ResourceClaimSpecPatchPtrOutput) Devices() DeviceClaimPatchPtrOutput
- func (o ResourceClaimSpecPatchPtrOutput) Elem() ResourceClaimSpecPatchOutput
- func (ResourceClaimSpecPatchPtrOutput) ElementType() reflect.Type
- func (o ResourceClaimSpecPatchPtrOutput) ToResourceClaimSpecPatchPtrOutput() ResourceClaimSpecPatchPtrOutput
- func (o ResourceClaimSpecPatchPtrOutput) ToResourceClaimSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimSpecPatchPtrOutput
- type ResourceClaimState
- type ResourceClaimStatus
- type ResourceClaimStatusArgs
- func (ResourceClaimStatusArgs) ElementType() reflect.Type
- func (i ResourceClaimStatusArgs) ToResourceClaimStatusOutput() ResourceClaimStatusOutput
- func (i ResourceClaimStatusArgs) ToResourceClaimStatusOutputWithContext(ctx context.Context) ResourceClaimStatusOutput
- func (i ResourceClaimStatusArgs) ToResourceClaimStatusPtrOutput() ResourceClaimStatusPtrOutput
- func (i ResourceClaimStatusArgs) ToResourceClaimStatusPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPtrOutput
- type ResourceClaimStatusInput
- type ResourceClaimStatusOutput
- func (o ResourceClaimStatusOutput) Allocation() AllocationResultPtrOutput
- func (o ResourceClaimStatusOutput) DeallocationRequested() pulumi.BoolPtrOutput
- func (o ResourceClaimStatusOutput) Devices() AllocatedDeviceStatusArrayOutput
- func (ResourceClaimStatusOutput) ElementType() reflect.Type
- func (o ResourceClaimStatusOutput) ReservedFor() ResourceClaimConsumerReferenceArrayOutput
- func (o ResourceClaimStatusOutput) ToResourceClaimStatusOutput() ResourceClaimStatusOutput
- func (o ResourceClaimStatusOutput) ToResourceClaimStatusOutputWithContext(ctx context.Context) ResourceClaimStatusOutput
- func (o ResourceClaimStatusOutput) ToResourceClaimStatusPtrOutput() ResourceClaimStatusPtrOutput
- func (o ResourceClaimStatusOutput) ToResourceClaimStatusPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPtrOutput
- type ResourceClaimStatusPatch
- type ResourceClaimStatusPatchArgs
- func (ResourceClaimStatusPatchArgs) ElementType() reflect.Type
- func (i ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchOutput() ResourceClaimStatusPatchOutput
- func (i ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchOutputWithContext(ctx context.Context) ResourceClaimStatusPatchOutput
- func (i ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchPtrOutput() ResourceClaimStatusPatchPtrOutput
- func (i ResourceClaimStatusPatchArgs) ToResourceClaimStatusPatchPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPatchPtrOutput
- type ResourceClaimStatusPatchInput
- type ResourceClaimStatusPatchOutput
- func (o ResourceClaimStatusPatchOutput) Allocation() AllocationResultPatchPtrOutput
- func (o ResourceClaimStatusPatchOutput) DeallocationRequested() pulumi.BoolPtrOutput
- func (o ResourceClaimStatusPatchOutput) Devices() AllocatedDeviceStatusPatchArrayOutput
- func (ResourceClaimStatusPatchOutput) ElementType() reflect.Type
- func (o ResourceClaimStatusPatchOutput) ReservedFor() ResourceClaimConsumerReferencePatchArrayOutput
- func (o ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchOutput() ResourceClaimStatusPatchOutput
- func (o ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchOutputWithContext(ctx context.Context) ResourceClaimStatusPatchOutput
- func (o ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchPtrOutput() ResourceClaimStatusPatchPtrOutput
- func (o ResourceClaimStatusPatchOutput) ToResourceClaimStatusPatchPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPatchPtrOutput
- type ResourceClaimStatusPatchPtrInput
- type ResourceClaimStatusPatchPtrOutput
- func (o ResourceClaimStatusPatchPtrOutput) Allocation() AllocationResultPatchPtrOutput
- func (o ResourceClaimStatusPatchPtrOutput) DeallocationRequested() pulumi.BoolPtrOutput
- func (o ResourceClaimStatusPatchPtrOutput) Devices() AllocatedDeviceStatusPatchArrayOutput
- func (o ResourceClaimStatusPatchPtrOutput) Elem() ResourceClaimStatusPatchOutput
- func (ResourceClaimStatusPatchPtrOutput) ElementType() reflect.Type
- func (o ResourceClaimStatusPatchPtrOutput) ReservedFor() ResourceClaimConsumerReferencePatchArrayOutput
- func (o ResourceClaimStatusPatchPtrOutput) ToResourceClaimStatusPatchPtrOutput() ResourceClaimStatusPatchPtrOutput
- func (o ResourceClaimStatusPatchPtrOutput) ToResourceClaimStatusPatchPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPatchPtrOutput
- type ResourceClaimStatusPtrInput
- type ResourceClaimStatusPtrOutput
- func (o ResourceClaimStatusPtrOutput) Allocation() AllocationResultPtrOutput
- func (o ResourceClaimStatusPtrOutput) DeallocationRequested() pulumi.BoolPtrOutput
- func (o ResourceClaimStatusPtrOutput) Devices() AllocatedDeviceStatusArrayOutput
- func (o ResourceClaimStatusPtrOutput) Elem() ResourceClaimStatusOutput
- func (ResourceClaimStatusPtrOutput) ElementType() reflect.Type
- func (o ResourceClaimStatusPtrOutput) ReservedFor() ResourceClaimConsumerReferenceArrayOutput
- func (o ResourceClaimStatusPtrOutput) ToResourceClaimStatusPtrOutput() ResourceClaimStatusPtrOutput
- func (o ResourceClaimStatusPtrOutput) ToResourceClaimStatusPtrOutputWithContext(ctx context.Context) ResourceClaimStatusPtrOutput
- type ResourceClaimTemplate
- type ResourceClaimTemplateArgs
- type ResourceClaimTemplateArray
- func (ResourceClaimTemplateArray) ElementType() reflect.Type
- func (i ResourceClaimTemplateArray) ToResourceClaimTemplateArrayOutput() ResourceClaimTemplateArrayOutput
- func (i ResourceClaimTemplateArray) ToResourceClaimTemplateArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateArrayOutput
- type ResourceClaimTemplateArrayInput
- type ResourceClaimTemplateArrayOutput
- func (ResourceClaimTemplateArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateArrayOutput) Index(i pulumi.IntInput) ResourceClaimTemplateOutput
- func (o ResourceClaimTemplateArrayOutput) ToResourceClaimTemplateArrayOutput() ResourceClaimTemplateArrayOutput
- func (o ResourceClaimTemplateArrayOutput) ToResourceClaimTemplateArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateArrayOutput
- type ResourceClaimTemplateInput
- type ResourceClaimTemplateList
- type ResourceClaimTemplateListArgs
- type ResourceClaimTemplateListArray
- func (ResourceClaimTemplateListArray) ElementType() reflect.Type
- func (i ResourceClaimTemplateListArray) ToResourceClaimTemplateListArrayOutput() ResourceClaimTemplateListArrayOutput
- func (i ResourceClaimTemplateListArray) ToResourceClaimTemplateListArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateListArrayOutput
- type ResourceClaimTemplateListArrayInput
- type ResourceClaimTemplateListArrayOutput
- func (ResourceClaimTemplateListArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateListArrayOutput) Index(i pulumi.IntInput) ResourceClaimTemplateListOutput
- func (o ResourceClaimTemplateListArrayOutput) ToResourceClaimTemplateListArrayOutput() ResourceClaimTemplateListArrayOutput
- func (o ResourceClaimTemplateListArrayOutput) ToResourceClaimTemplateListArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateListArrayOutput
- type ResourceClaimTemplateListInput
- type ResourceClaimTemplateListMap
- func (ResourceClaimTemplateListMap) ElementType() reflect.Type
- func (i ResourceClaimTemplateListMap) ToResourceClaimTemplateListMapOutput() ResourceClaimTemplateListMapOutput
- func (i ResourceClaimTemplateListMap) ToResourceClaimTemplateListMapOutputWithContext(ctx context.Context) ResourceClaimTemplateListMapOutput
- type ResourceClaimTemplateListMapInput
- type ResourceClaimTemplateListMapOutput
- func (ResourceClaimTemplateListMapOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateListMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimTemplateListOutput
- func (o ResourceClaimTemplateListMapOutput) ToResourceClaimTemplateListMapOutput() ResourceClaimTemplateListMapOutput
- func (o ResourceClaimTemplateListMapOutput) ToResourceClaimTemplateListMapOutputWithContext(ctx context.Context) ResourceClaimTemplateListMapOutput
- type ResourceClaimTemplateListOutput
- func (o ResourceClaimTemplateListOutput) ApiVersion() pulumi.StringOutput
- func (ResourceClaimTemplateListOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateListOutput) Items() ResourceClaimTemplateTypeArrayOutput
- func (o ResourceClaimTemplateListOutput) Kind() pulumi.StringOutput
- func (o ResourceClaimTemplateListOutput) Metadata() metav1.ListMetaOutput
- func (o ResourceClaimTemplateListOutput) ToResourceClaimTemplateListOutput() ResourceClaimTemplateListOutput
- func (o ResourceClaimTemplateListOutput) ToResourceClaimTemplateListOutputWithContext(ctx context.Context) ResourceClaimTemplateListOutput
- type ResourceClaimTemplateListState
- type ResourceClaimTemplateListType
- type ResourceClaimTemplateListTypeArgs
- func (ResourceClaimTemplateListTypeArgs) ElementType() reflect.Type
- func (i ResourceClaimTemplateListTypeArgs) ToResourceClaimTemplateListTypeOutput() ResourceClaimTemplateListTypeOutput
- func (i ResourceClaimTemplateListTypeArgs) ToResourceClaimTemplateListTypeOutputWithContext(ctx context.Context) ResourceClaimTemplateListTypeOutput
- type ResourceClaimTemplateListTypeInput
- type ResourceClaimTemplateListTypeOutput
- func (o ResourceClaimTemplateListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceClaimTemplateListTypeOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateListTypeOutput) Items() ResourceClaimTemplateTypeArrayOutput
- func (o ResourceClaimTemplateListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceClaimTemplateListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o ResourceClaimTemplateListTypeOutput) ToResourceClaimTemplateListTypeOutput() ResourceClaimTemplateListTypeOutput
- func (o ResourceClaimTemplateListTypeOutput) ToResourceClaimTemplateListTypeOutputWithContext(ctx context.Context) ResourceClaimTemplateListTypeOutput
- type ResourceClaimTemplateMap
- type ResourceClaimTemplateMapInput
- type ResourceClaimTemplateMapOutput
- func (ResourceClaimTemplateMapOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimTemplateOutput
- func (o ResourceClaimTemplateMapOutput) ToResourceClaimTemplateMapOutput() ResourceClaimTemplateMapOutput
- func (o ResourceClaimTemplateMapOutput) ToResourceClaimTemplateMapOutputWithContext(ctx context.Context) ResourceClaimTemplateMapOutput
- type ResourceClaimTemplateOutput
- func (o ResourceClaimTemplateOutput) ApiVersion() pulumi.StringOutput
- func (ResourceClaimTemplateOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateOutput) Kind() pulumi.StringOutput
- func (o ResourceClaimTemplateOutput) Metadata() metav1.ObjectMetaOutput
- func (o ResourceClaimTemplateOutput) Spec() ResourceClaimTemplateSpecOutput
- func (o ResourceClaimTemplateOutput) ToResourceClaimTemplateOutput() ResourceClaimTemplateOutput
- func (o ResourceClaimTemplateOutput) ToResourceClaimTemplateOutputWithContext(ctx context.Context) ResourceClaimTemplateOutput
- type ResourceClaimTemplatePatch
- func (*ResourceClaimTemplatePatch) ElementType() reflect.Type
- func (i *ResourceClaimTemplatePatch) ToResourceClaimTemplatePatchOutput() ResourceClaimTemplatePatchOutput
- func (i *ResourceClaimTemplatePatch) ToResourceClaimTemplatePatchOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchOutput
- type ResourceClaimTemplatePatchArgs
- type ResourceClaimTemplatePatchArray
- func (ResourceClaimTemplatePatchArray) ElementType() reflect.Type
- func (i ResourceClaimTemplatePatchArray) ToResourceClaimTemplatePatchArrayOutput() ResourceClaimTemplatePatchArrayOutput
- func (i ResourceClaimTemplatePatchArray) ToResourceClaimTemplatePatchArrayOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchArrayOutput
- type ResourceClaimTemplatePatchArrayInput
- type ResourceClaimTemplatePatchArrayOutput
- func (ResourceClaimTemplatePatchArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplatePatchArrayOutput) Index(i pulumi.IntInput) ResourceClaimTemplatePatchOutput
- func (o ResourceClaimTemplatePatchArrayOutput) ToResourceClaimTemplatePatchArrayOutput() ResourceClaimTemplatePatchArrayOutput
- func (o ResourceClaimTemplatePatchArrayOutput) ToResourceClaimTemplatePatchArrayOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchArrayOutput
- type ResourceClaimTemplatePatchInput
- type ResourceClaimTemplatePatchMap
- func (ResourceClaimTemplatePatchMap) ElementType() reflect.Type
- func (i ResourceClaimTemplatePatchMap) ToResourceClaimTemplatePatchMapOutput() ResourceClaimTemplatePatchMapOutput
- func (i ResourceClaimTemplatePatchMap) ToResourceClaimTemplatePatchMapOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchMapOutput
- type ResourceClaimTemplatePatchMapInput
- type ResourceClaimTemplatePatchMapOutput
- func (ResourceClaimTemplatePatchMapOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplatePatchMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimTemplatePatchOutput
- func (o ResourceClaimTemplatePatchMapOutput) ToResourceClaimTemplatePatchMapOutput() ResourceClaimTemplatePatchMapOutput
- func (o ResourceClaimTemplatePatchMapOutput) ToResourceClaimTemplatePatchMapOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchMapOutput
- type ResourceClaimTemplatePatchOutput
- func (o ResourceClaimTemplatePatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceClaimTemplatePatchOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplatePatchOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceClaimTemplatePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ResourceClaimTemplatePatchOutput) Spec() ResourceClaimTemplateSpecPatchPtrOutput
- func (o ResourceClaimTemplatePatchOutput) ToResourceClaimTemplatePatchOutput() ResourceClaimTemplatePatchOutput
- func (o ResourceClaimTemplatePatchOutput) ToResourceClaimTemplatePatchOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchOutput
- type ResourceClaimTemplatePatchState
- type ResourceClaimTemplatePatchType
- type ResourceClaimTemplatePatchTypeArgs
- func (ResourceClaimTemplatePatchTypeArgs) ElementType() reflect.Type
- func (i ResourceClaimTemplatePatchTypeArgs) ToResourceClaimTemplatePatchTypeOutput() ResourceClaimTemplatePatchTypeOutput
- func (i ResourceClaimTemplatePatchTypeArgs) ToResourceClaimTemplatePatchTypeOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchTypeOutput
- type ResourceClaimTemplatePatchTypeInput
- type ResourceClaimTemplatePatchTypeOutput
- func (o ResourceClaimTemplatePatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceClaimTemplatePatchTypeOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplatePatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceClaimTemplatePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ResourceClaimTemplatePatchTypeOutput) Spec() ResourceClaimTemplateSpecPatchPtrOutput
- func (o ResourceClaimTemplatePatchTypeOutput) ToResourceClaimTemplatePatchTypeOutput() ResourceClaimTemplatePatchTypeOutput
- func (o ResourceClaimTemplatePatchTypeOutput) ToResourceClaimTemplatePatchTypeOutputWithContext(ctx context.Context) ResourceClaimTemplatePatchTypeOutput
- type ResourceClaimTemplateSpec
- type ResourceClaimTemplateSpecArgs
- func (ResourceClaimTemplateSpecArgs) ElementType() reflect.Type
- func (i ResourceClaimTemplateSpecArgs) ToResourceClaimTemplateSpecOutput() ResourceClaimTemplateSpecOutput
- func (i ResourceClaimTemplateSpecArgs) ToResourceClaimTemplateSpecOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecOutput
- type ResourceClaimTemplateSpecInput
- type ResourceClaimTemplateSpecOutput
- func (ResourceClaimTemplateSpecOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateSpecOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o ResourceClaimTemplateSpecOutput) Spec() ResourceClaimSpecOutput
- func (o ResourceClaimTemplateSpecOutput) ToResourceClaimTemplateSpecOutput() ResourceClaimTemplateSpecOutput
- func (o ResourceClaimTemplateSpecOutput) ToResourceClaimTemplateSpecOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecOutput
- type ResourceClaimTemplateSpecPatch
- type ResourceClaimTemplateSpecPatchArgs
- func (ResourceClaimTemplateSpecPatchArgs) ElementType() reflect.Type
- func (i ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchOutput() ResourceClaimTemplateSpecPatchOutput
- func (i ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecPatchOutput
- func (i ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchPtrOutput() ResourceClaimTemplateSpecPatchPtrOutput
- func (i ResourceClaimTemplateSpecPatchArgs) ToResourceClaimTemplateSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecPatchPtrOutput
- type ResourceClaimTemplateSpecPatchInput
- type ResourceClaimTemplateSpecPatchOutput
- func (ResourceClaimTemplateSpecPatchOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateSpecPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ResourceClaimTemplateSpecPatchOutput) Spec() ResourceClaimSpecPatchPtrOutput
- func (o ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchOutput() ResourceClaimTemplateSpecPatchOutput
- func (o ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecPatchOutput
- func (o ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchPtrOutput() ResourceClaimTemplateSpecPatchPtrOutput
- func (o ResourceClaimTemplateSpecPatchOutput) ToResourceClaimTemplateSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecPatchPtrOutput
- type ResourceClaimTemplateSpecPatchPtrInput
- type ResourceClaimTemplateSpecPatchPtrOutput
- func (o ResourceClaimTemplateSpecPatchPtrOutput) Elem() ResourceClaimTemplateSpecPatchOutput
- func (ResourceClaimTemplateSpecPatchPtrOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateSpecPatchPtrOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ResourceClaimTemplateSpecPatchPtrOutput) Spec() ResourceClaimSpecPatchPtrOutput
- func (o ResourceClaimTemplateSpecPatchPtrOutput) ToResourceClaimTemplateSpecPatchPtrOutput() ResourceClaimTemplateSpecPatchPtrOutput
- func (o ResourceClaimTemplateSpecPatchPtrOutput) ToResourceClaimTemplateSpecPatchPtrOutputWithContext(ctx context.Context) ResourceClaimTemplateSpecPatchPtrOutput
- type ResourceClaimTemplateState
- type ResourceClaimTemplateType
- type ResourceClaimTemplateTypeArgs
- func (ResourceClaimTemplateTypeArgs) ElementType() reflect.Type
- func (i ResourceClaimTemplateTypeArgs) ToResourceClaimTemplateTypeOutput() ResourceClaimTemplateTypeOutput
- func (i ResourceClaimTemplateTypeArgs) ToResourceClaimTemplateTypeOutputWithContext(ctx context.Context) ResourceClaimTemplateTypeOutput
- type ResourceClaimTemplateTypeArray
- func (ResourceClaimTemplateTypeArray) ElementType() reflect.Type
- func (i ResourceClaimTemplateTypeArray) ToResourceClaimTemplateTypeArrayOutput() ResourceClaimTemplateTypeArrayOutput
- func (i ResourceClaimTemplateTypeArray) ToResourceClaimTemplateTypeArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateTypeArrayOutput
- type ResourceClaimTemplateTypeArrayInput
- type ResourceClaimTemplateTypeArrayOutput
- func (ResourceClaimTemplateTypeArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateTypeArrayOutput) Index(i pulumi.IntInput) ResourceClaimTemplateTypeOutput
- func (o ResourceClaimTemplateTypeArrayOutput) ToResourceClaimTemplateTypeArrayOutput() ResourceClaimTemplateTypeArrayOutput
- func (o ResourceClaimTemplateTypeArrayOutput) ToResourceClaimTemplateTypeArrayOutputWithContext(ctx context.Context) ResourceClaimTemplateTypeArrayOutput
- type ResourceClaimTemplateTypeInput
- type ResourceClaimTemplateTypeOutput
- func (o ResourceClaimTemplateTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceClaimTemplateTypeOutput) ElementType() reflect.Type
- func (o ResourceClaimTemplateTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceClaimTemplateTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o ResourceClaimTemplateTypeOutput) Spec() ResourceClaimTemplateSpecOutput
- func (o ResourceClaimTemplateTypeOutput) ToResourceClaimTemplateTypeOutput() ResourceClaimTemplateTypeOutput
- func (o ResourceClaimTemplateTypeOutput) ToResourceClaimTemplateTypeOutputWithContext(ctx context.Context) ResourceClaimTemplateTypeOutput
- type ResourceClaimType
- type ResourceClaimTypeArgs
- type ResourceClaimTypeArray
- type ResourceClaimTypeArrayInput
- type ResourceClaimTypeArrayOutput
- func (ResourceClaimTypeArrayOutput) ElementType() reflect.Type
- func (o ResourceClaimTypeArrayOutput) Index(i pulumi.IntInput) ResourceClaimTypeOutput
- func (o ResourceClaimTypeArrayOutput) ToResourceClaimTypeArrayOutput() ResourceClaimTypeArrayOutput
- func (o ResourceClaimTypeArrayOutput) ToResourceClaimTypeArrayOutputWithContext(ctx context.Context) ResourceClaimTypeArrayOutput
- type ResourceClaimTypeInput
- type ResourceClaimTypeOutput
- func (o ResourceClaimTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceClaimTypeOutput) ElementType() reflect.Type
- func (o ResourceClaimTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceClaimTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o ResourceClaimTypeOutput) Spec() ResourceClaimSpecOutput
- func (o ResourceClaimTypeOutput) Status() ResourceClaimStatusPtrOutput
- func (o ResourceClaimTypeOutput) ToResourceClaimTypeOutput() ResourceClaimTypeOutput
- func (o ResourceClaimTypeOutput) ToResourceClaimTypeOutputWithContext(ctx context.Context) ResourceClaimTypeOutput
- type ResourcePool
- type ResourcePoolArgs
- type ResourcePoolInput
- type ResourcePoolOutput
- func (ResourcePoolOutput) ElementType() reflect.Type
- func (o ResourcePoolOutput) Generation() pulumi.IntOutput
- func (o ResourcePoolOutput) Name() pulumi.StringOutput
- func (o ResourcePoolOutput) ResourceSliceCount() pulumi.IntOutput
- func (o ResourcePoolOutput) ToResourcePoolOutput() ResourcePoolOutput
- func (o ResourcePoolOutput) ToResourcePoolOutputWithContext(ctx context.Context) ResourcePoolOutput
- type ResourcePoolPatch
- type ResourcePoolPatchArgs
- func (ResourcePoolPatchArgs) ElementType() reflect.Type
- func (i ResourcePoolPatchArgs) ToResourcePoolPatchOutput() ResourcePoolPatchOutput
- func (i ResourcePoolPatchArgs) ToResourcePoolPatchOutputWithContext(ctx context.Context) ResourcePoolPatchOutput
- func (i ResourcePoolPatchArgs) ToResourcePoolPatchPtrOutput() ResourcePoolPatchPtrOutput
- func (i ResourcePoolPatchArgs) ToResourcePoolPatchPtrOutputWithContext(ctx context.Context) ResourcePoolPatchPtrOutput
- type ResourcePoolPatchInput
- type ResourcePoolPatchOutput
- func (ResourcePoolPatchOutput) ElementType() reflect.Type
- func (o ResourcePoolPatchOutput) Generation() pulumi.IntPtrOutput
- func (o ResourcePoolPatchOutput) Name() pulumi.StringPtrOutput
- func (o ResourcePoolPatchOutput) ResourceSliceCount() pulumi.IntPtrOutput
- func (o ResourcePoolPatchOutput) ToResourcePoolPatchOutput() ResourcePoolPatchOutput
- func (o ResourcePoolPatchOutput) ToResourcePoolPatchOutputWithContext(ctx context.Context) ResourcePoolPatchOutput
- func (o ResourcePoolPatchOutput) ToResourcePoolPatchPtrOutput() ResourcePoolPatchPtrOutput
- func (o ResourcePoolPatchOutput) ToResourcePoolPatchPtrOutputWithContext(ctx context.Context) ResourcePoolPatchPtrOutput
- type ResourcePoolPatchPtrInput
- type ResourcePoolPatchPtrOutput
- func (o ResourcePoolPatchPtrOutput) Elem() ResourcePoolPatchOutput
- func (ResourcePoolPatchPtrOutput) ElementType() reflect.Type
- func (o ResourcePoolPatchPtrOutput) Generation() pulumi.IntPtrOutput
- func (o ResourcePoolPatchPtrOutput) Name() pulumi.StringPtrOutput
- func (o ResourcePoolPatchPtrOutput) ResourceSliceCount() pulumi.IntPtrOutput
- func (o ResourcePoolPatchPtrOutput) ToResourcePoolPatchPtrOutput() ResourcePoolPatchPtrOutput
- func (o ResourcePoolPatchPtrOutput) ToResourcePoolPatchPtrOutputWithContext(ctx context.Context) ResourcePoolPatchPtrOutput
- type ResourceSlice
- type ResourceSliceArgs
- type ResourceSliceArray
- type ResourceSliceArrayInput
- type ResourceSliceArrayOutput
- func (ResourceSliceArrayOutput) ElementType() reflect.Type
- func (o ResourceSliceArrayOutput) Index(i pulumi.IntInput) ResourceSliceOutput
- func (o ResourceSliceArrayOutput) ToResourceSliceArrayOutput() ResourceSliceArrayOutput
- func (o ResourceSliceArrayOutput) ToResourceSliceArrayOutputWithContext(ctx context.Context) ResourceSliceArrayOutput
- type ResourceSliceInput
- type ResourceSliceList
- type ResourceSliceListArgs
- type ResourceSliceListArray
- type ResourceSliceListArrayInput
- type ResourceSliceListArrayOutput
- func (ResourceSliceListArrayOutput) ElementType() reflect.Type
- func (o ResourceSliceListArrayOutput) Index(i pulumi.IntInput) ResourceSliceListOutput
- func (o ResourceSliceListArrayOutput) ToResourceSliceListArrayOutput() ResourceSliceListArrayOutput
- func (o ResourceSliceListArrayOutput) ToResourceSliceListArrayOutputWithContext(ctx context.Context) ResourceSliceListArrayOutput
- type ResourceSliceListInput
- type ResourceSliceListMap
- type ResourceSliceListMapInput
- type ResourceSliceListMapOutput
- func (ResourceSliceListMapOutput) ElementType() reflect.Type
- func (o ResourceSliceListMapOutput) MapIndex(k pulumi.StringInput) ResourceSliceListOutput
- func (o ResourceSliceListMapOutput) ToResourceSliceListMapOutput() ResourceSliceListMapOutput
- func (o ResourceSliceListMapOutput) ToResourceSliceListMapOutputWithContext(ctx context.Context) ResourceSliceListMapOutput
- type ResourceSliceListOutput
- func (o ResourceSliceListOutput) ApiVersion() pulumi.StringOutput
- func (ResourceSliceListOutput) ElementType() reflect.Type
- func (o ResourceSliceListOutput) Items() ResourceSliceTypeArrayOutput
- func (o ResourceSliceListOutput) Kind() pulumi.StringOutput
- func (o ResourceSliceListOutput) ListMeta() metav1.ListMetaOutput
- func (o ResourceSliceListOutput) Metadata() metav1.ListMetaOutput
- func (o ResourceSliceListOutput) ToResourceSliceListOutput() ResourceSliceListOutput
- func (o ResourceSliceListOutput) ToResourceSliceListOutputWithContext(ctx context.Context) ResourceSliceListOutput
- type ResourceSliceListState
- type ResourceSliceListType
- type ResourceSliceListTypeArgs
- type ResourceSliceListTypeInput
- type ResourceSliceListTypeOutput
- func (o ResourceSliceListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceSliceListTypeOutput) ElementType() reflect.Type
- func (o ResourceSliceListTypeOutput) Items() ResourceSliceTypeArrayOutput
- func (o ResourceSliceListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceSliceListTypeOutput) ListMeta() metav1.ListMetaPtrOutput
- func (o ResourceSliceListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o ResourceSliceListTypeOutput) ToResourceSliceListTypeOutput() ResourceSliceListTypeOutput
- func (o ResourceSliceListTypeOutput) ToResourceSliceListTypeOutputWithContext(ctx context.Context) ResourceSliceListTypeOutput
- type ResourceSliceMap
- type ResourceSliceMapInput
- type ResourceSliceMapOutput
- func (ResourceSliceMapOutput) ElementType() reflect.Type
- func (o ResourceSliceMapOutput) MapIndex(k pulumi.StringInput) ResourceSliceOutput
- func (o ResourceSliceMapOutput) ToResourceSliceMapOutput() ResourceSliceMapOutput
- func (o ResourceSliceMapOutput) ToResourceSliceMapOutputWithContext(ctx context.Context) ResourceSliceMapOutput
- type ResourceSliceOutput
- func (o ResourceSliceOutput) ApiVersion() pulumi.StringOutput
- func (ResourceSliceOutput) ElementType() reflect.Type
- func (o ResourceSliceOutput) Kind() pulumi.StringOutput
- func (o ResourceSliceOutput) Metadata() metav1.ObjectMetaOutput
- func (o ResourceSliceOutput) Spec() ResourceSliceSpecOutput
- func (o ResourceSliceOutput) ToResourceSliceOutput() ResourceSliceOutput
- func (o ResourceSliceOutput) ToResourceSliceOutputWithContext(ctx context.Context) ResourceSliceOutput
- type ResourceSlicePatch
- type ResourceSlicePatchArgs
- type ResourceSlicePatchArray
- type ResourceSlicePatchArrayInput
- type ResourceSlicePatchArrayOutput
- func (ResourceSlicePatchArrayOutput) ElementType() reflect.Type
- func (o ResourceSlicePatchArrayOutput) Index(i pulumi.IntInput) ResourceSlicePatchOutput
- func (o ResourceSlicePatchArrayOutput) ToResourceSlicePatchArrayOutput() ResourceSlicePatchArrayOutput
- func (o ResourceSlicePatchArrayOutput) ToResourceSlicePatchArrayOutputWithContext(ctx context.Context) ResourceSlicePatchArrayOutput
- type ResourceSlicePatchInput
- type ResourceSlicePatchMap
- type ResourceSlicePatchMapInput
- type ResourceSlicePatchMapOutput
- func (ResourceSlicePatchMapOutput) ElementType() reflect.Type
- func (o ResourceSlicePatchMapOutput) MapIndex(k pulumi.StringInput) ResourceSlicePatchOutput
- func (o ResourceSlicePatchMapOutput) ToResourceSlicePatchMapOutput() ResourceSlicePatchMapOutput
- func (o ResourceSlicePatchMapOutput) ToResourceSlicePatchMapOutputWithContext(ctx context.Context) ResourceSlicePatchMapOutput
- type ResourceSlicePatchOutput
- func (o ResourceSlicePatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceSlicePatchOutput) ElementType() reflect.Type
- func (o ResourceSlicePatchOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceSlicePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ResourceSlicePatchOutput) Spec() ResourceSliceSpecPatchPtrOutput
- func (o ResourceSlicePatchOutput) ToResourceSlicePatchOutput() ResourceSlicePatchOutput
- func (o ResourceSlicePatchOutput) ToResourceSlicePatchOutputWithContext(ctx context.Context) ResourceSlicePatchOutput
- type ResourceSlicePatchState
- type ResourceSlicePatchType
- type ResourceSlicePatchTypeArgs
- type ResourceSlicePatchTypeInput
- type ResourceSlicePatchTypeOutput
- func (o ResourceSlicePatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceSlicePatchTypeOutput) ElementType() reflect.Type
- func (o ResourceSlicePatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceSlicePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o ResourceSlicePatchTypeOutput) Spec() ResourceSliceSpecPatchPtrOutput
- func (o ResourceSlicePatchTypeOutput) ToResourceSlicePatchTypeOutput() ResourceSlicePatchTypeOutput
- func (o ResourceSlicePatchTypeOutput) ToResourceSlicePatchTypeOutputWithContext(ctx context.Context) ResourceSlicePatchTypeOutput
- type ResourceSliceSpec
- type ResourceSliceSpecArgs
- type ResourceSliceSpecInput
- type ResourceSliceSpecOutput
- func (o ResourceSliceSpecOutput) AllNodes() pulumi.BoolPtrOutput
- func (o ResourceSliceSpecOutput) Devices() DeviceArrayOutput
- func (o ResourceSliceSpecOutput) Driver() pulumi.StringOutput
- func (ResourceSliceSpecOutput) ElementType() reflect.Type
- func (o ResourceSliceSpecOutput) NodeName() pulumi.StringPtrOutput
- func (o ResourceSliceSpecOutput) NodeSelector() corev1.NodeSelectorPtrOutput
- func (o ResourceSliceSpecOutput) PerDeviceNodeSelection() pulumi.BoolPtrOutput
- func (o ResourceSliceSpecOutput) Pool() ResourcePoolOutput
- func (o ResourceSliceSpecOutput) SharedCounters() CounterSetArrayOutput
- func (o ResourceSliceSpecOutput) ToResourceSliceSpecOutput() ResourceSliceSpecOutput
- func (o ResourceSliceSpecOutput) ToResourceSliceSpecOutputWithContext(ctx context.Context) ResourceSliceSpecOutput
- type ResourceSliceSpecPatch
- type ResourceSliceSpecPatchArgs
- func (ResourceSliceSpecPatchArgs) ElementType() reflect.Type
- func (i ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchOutput() ResourceSliceSpecPatchOutput
- func (i ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchOutputWithContext(ctx context.Context) ResourceSliceSpecPatchOutput
- func (i ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchPtrOutput() ResourceSliceSpecPatchPtrOutput
- func (i ResourceSliceSpecPatchArgs) ToResourceSliceSpecPatchPtrOutputWithContext(ctx context.Context) ResourceSliceSpecPatchPtrOutput
- type ResourceSliceSpecPatchInput
- type ResourceSliceSpecPatchOutput
- func (o ResourceSliceSpecPatchOutput) AllNodes() pulumi.BoolPtrOutput
- func (o ResourceSliceSpecPatchOutput) Devices() DevicePatchArrayOutput
- func (o ResourceSliceSpecPatchOutput) Driver() pulumi.StringPtrOutput
- func (ResourceSliceSpecPatchOutput) ElementType() reflect.Type
- func (o ResourceSliceSpecPatchOutput) NodeName() pulumi.StringPtrOutput
- func (o ResourceSliceSpecPatchOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
- func (o ResourceSliceSpecPatchOutput) PerDeviceNodeSelection() pulumi.BoolPtrOutput
- func (o ResourceSliceSpecPatchOutput) Pool() ResourcePoolPatchPtrOutput
- func (o ResourceSliceSpecPatchOutput) SharedCounters() CounterSetPatchArrayOutput
- func (o ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchOutput() ResourceSliceSpecPatchOutput
- func (o ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchOutputWithContext(ctx context.Context) ResourceSliceSpecPatchOutput
- func (o ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchPtrOutput() ResourceSliceSpecPatchPtrOutput
- func (o ResourceSliceSpecPatchOutput) ToResourceSliceSpecPatchPtrOutputWithContext(ctx context.Context) ResourceSliceSpecPatchPtrOutput
- type ResourceSliceSpecPatchPtrInput
- type ResourceSliceSpecPatchPtrOutput
- func (o ResourceSliceSpecPatchPtrOutput) AllNodes() pulumi.BoolPtrOutput
- func (o ResourceSliceSpecPatchPtrOutput) Devices() DevicePatchArrayOutput
- func (o ResourceSliceSpecPatchPtrOutput) Driver() pulumi.StringPtrOutput
- func (o ResourceSliceSpecPatchPtrOutput) Elem() ResourceSliceSpecPatchOutput
- func (ResourceSliceSpecPatchPtrOutput) ElementType() reflect.Type
- func (o ResourceSliceSpecPatchPtrOutput) NodeName() pulumi.StringPtrOutput
- func (o ResourceSliceSpecPatchPtrOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
- func (o ResourceSliceSpecPatchPtrOutput) PerDeviceNodeSelection() pulumi.BoolPtrOutput
- func (o ResourceSliceSpecPatchPtrOutput) Pool() ResourcePoolPatchPtrOutput
- func (o ResourceSliceSpecPatchPtrOutput) SharedCounters() CounterSetPatchArrayOutput
- func (o ResourceSliceSpecPatchPtrOutput) ToResourceSliceSpecPatchPtrOutput() ResourceSliceSpecPatchPtrOutput
- func (o ResourceSliceSpecPatchPtrOutput) ToResourceSliceSpecPatchPtrOutputWithContext(ctx context.Context) ResourceSliceSpecPatchPtrOutput
- type ResourceSliceState
- type ResourceSliceType
- type ResourceSliceTypeArgs
- type ResourceSliceTypeArray
- type ResourceSliceTypeArrayInput
- type ResourceSliceTypeArrayOutput
- func (ResourceSliceTypeArrayOutput) ElementType() reflect.Type
- func (o ResourceSliceTypeArrayOutput) Index(i pulumi.IntInput) ResourceSliceTypeOutput
- func (o ResourceSliceTypeArrayOutput) ToResourceSliceTypeArrayOutput() ResourceSliceTypeArrayOutput
- func (o ResourceSliceTypeArrayOutput) ToResourceSliceTypeArrayOutputWithContext(ctx context.Context) ResourceSliceTypeArrayOutput
- type ResourceSliceTypeInput
- type ResourceSliceTypeOutput
- func (o ResourceSliceTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ResourceSliceTypeOutput) ElementType() reflect.Type
- func (o ResourceSliceTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceSliceTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o ResourceSliceTypeOutput) Spec() ResourceSliceSpecOutput
- func (o ResourceSliceTypeOutput) ToResourceSliceTypeOutput() ResourceSliceTypeOutput
- func (o ResourceSliceTypeOutput) ToResourceSliceTypeOutputWithContext(ctx context.Context) ResourceSliceTypeOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocatedDeviceStatus ¶ added in v4.19.0
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.
//
// Must not contain more than 8 entries.
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 ¶ added in v4.19.0
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.
//
// Must not contain more than 8 entries.
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 ¶ added in v4.19.0
func (AllocatedDeviceStatusArgs) ElementType() reflect.Type
func (AllocatedDeviceStatusArgs) ToAllocatedDeviceStatusOutput ¶ added in v4.19.0
func (i AllocatedDeviceStatusArgs) ToAllocatedDeviceStatusOutput() AllocatedDeviceStatusOutput
func (AllocatedDeviceStatusArgs) ToAllocatedDeviceStatusOutputWithContext ¶ added in v4.19.0
func (i AllocatedDeviceStatusArgs) ToAllocatedDeviceStatusOutputWithContext(ctx context.Context) AllocatedDeviceStatusOutput
type AllocatedDeviceStatusArray ¶ added in v4.19.0
type AllocatedDeviceStatusArray []AllocatedDeviceStatusInput
func (AllocatedDeviceStatusArray) ElementType ¶ added in v4.19.0
func (AllocatedDeviceStatusArray) ElementType() reflect.Type
func (AllocatedDeviceStatusArray) ToAllocatedDeviceStatusArrayOutput ¶ added in v4.19.0
func (i AllocatedDeviceStatusArray) ToAllocatedDeviceStatusArrayOutput() AllocatedDeviceStatusArrayOutput
func (AllocatedDeviceStatusArray) ToAllocatedDeviceStatusArrayOutputWithContext ¶ added in v4.19.0
func (i AllocatedDeviceStatusArray) ToAllocatedDeviceStatusArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusArrayOutput
type AllocatedDeviceStatusArrayInput ¶ added in v4.19.0
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 ¶ added in v4.19.0
type AllocatedDeviceStatusArrayOutput struct{ *pulumi.OutputState }
func (AllocatedDeviceStatusArrayOutput) ElementType ¶ added in v4.19.0
func (AllocatedDeviceStatusArrayOutput) ElementType() reflect.Type
func (AllocatedDeviceStatusArrayOutput) Index ¶ added in v4.19.0
func (o AllocatedDeviceStatusArrayOutput) Index(i pulumi.IntInput) AllocatedDeviceStatusOutput
func (AllocatedDeviceStatusArrayOutput) ToAllocatedDeviceStatusArrayOutput ¶ added in v4.19.0
func (o AllocatedDeviceStatusArrayOutput) ToAllocatedDeviceStatusArrayOutput() AllocatedDeviceStatusArrayOutput
func (AllocatedDeviceStatusArrayOutput) ToAllocatedDeviceStatusArrayOutputWithContext ¶ added in v4.19.0
func (o AllocatedDeviceStatusArrayOutput) ToAllocatedDeviceStatusArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusArrayOutput
type AllocatedDeviceStatusInput ¶ added in v4.19.0
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 ¶ added in v4.19.0
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 ¶ added in v4.19.0
func (o AllocatedDeviceStatusOutput) Conditions() metav1.ConditionArrayOutput
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.
Must not contain more than 8 entries.
func (AllocatedDeviceStatusOutput) Data ¶ added in v4.19.0
func (o AllocatedDeviceStatusOutput) Data() pulumi.AnyOutput
Data contains arbitrary driver-specific data.
The length of the raw data must be smaller or equal to 10 Ki.
func (AllocatedDeviceStatusOutput) Device ¶ added in v4.19.0
func (o AllocatedDeviceStatusOutput) Device() pulumi.StringOutput
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
func (AllocatedDeviceStatusOutput) Driver ¶ added in v4.19.0
func (o AllocatedDeviceStatusOutput) Driver() pulumi.StringOutput
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 ¶ added in v4.19.0
func (AllocatedDeviceStatusOutput) ElementType() reflect.Type
func (AllocatedDeviceStatusOutput) NetworkData ¶ added in v4.19.0
func (o AllocatedDeviceStatusOutput) NetworkData() NetworkDeviceDataPtrOutput
NetworkData contains network-related information specific to the device.
func (AllocatedDeviceStatusOutput) Pool ¶ added in v4.19.0
func (o AllocatedDeviceStatusOutput) Pool() pulumi.StringOutput
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 ¶ added in v4.19.0
func (o AllocatedDeviceStatusOutput) ToAllocatedDeviceStatusOutput() AllocatedDeviceStatusOutput
func (AllocatedDeviceStatusOutput) ToAllocatedDeviceStatusOutputWithContext ¶ added in v4.19.0
func (o AllocatedDeviceStatusOutput) ToAllocatedDeviceStatusOutputWithContext(ctx context.Context) AllocatedDeviceStatusOutput
type AllocatedDeviceStatusPatch ¶ added in v4.19.0
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.
//
// Must not contain more than 8 entries.
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 ¶ added in v4.19.0
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.
//
// Must not contain more than 8 entries.
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 ¶ added in v4.19.0
func (AllocatedDeviceStatusPatchArgs) ElementType() reflect.Type
func (AllocatedDeviceStatusPatchArgs) ToAllocatedDeviceStatusPatchOutput ¶ added in v4.19.0
func (i AllocatedDeviceStatusPatchArgs) ToAllocatedDeviceStatusPatchOutput() AllocatedDeviceStatusPatchOutput
func (AllocatedDeviceStatusPatchArgs) ToAllocatedDeviceStatusPatchOutputWithContext ¶ added in v4.19.0
func (i AllocatedDeviceStatusPatchArgs) ToAllocatedDeviceStatusPatchOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchOutput
type AllocatedDeviceStatusPatchArray ¶ added in v4.19.0
type AllocatedDeviceStatusPatchArray []AllocatedDeviceStatusPatchInput
func (AllocatedDeviceStatusPatchArray) ElementType ¶ added in v4.19.0
func (AllocatedDeviceStatusPatchArray) ElementType() reflect.Type
func (AllocatedDeviceStatusPatchArray) ToAllocatedDeviceStatusPatchArrayOutput ¶ added in v4.19.0
func (i AllocatedDeviceStatusPatchArray) ToAllocatedDeviceStatusPatchArrayOutput() AllocatedDeviceStatusPatchArrayOutput
func (AllocatedDeviceStatusPatchArray) ToAllocatedDeviceStatusPatchArrayOutputWithContext ¶ added in v4.19.0
func (i AllocatedDeviceStatusPatchArray) ToAllocatedDeviceStatusPatchArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchArrayOutput
type AllocatedDeviceStatusPatchArrayInput ¶ added in v4.19.0
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 ¶ added in v4.19.0
type AllocatedDeviceStatusPatchArrayOutput struct{ *pulumi.OutputState }
func (AllocatedDeviceStatusPatchArrayOutput) ElementType ¶ added in v4.19.0
func (AllocatedDeviceStatusPatchArrayOutput) ElementType() reflect.Type
func (AllocatedDeviceStatusPatchArrayOutput) Index ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchArrayOutput) Index(i pulumi.IntInput) AllocatedDeviceStatusPatchOutput
func (AllocatedDeviceStatusPatchArrayOutput) ToAllocatedDeviceStatusPatchArrayOutput ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchArrayOutput) ToAllocatedDeviceStatusPatchArrayOutput() AllocatedDeviceStatusPatchArrayOutput
func (AllocatedDeviceStatusPatchArrayOutput) ToAllocatedDeviceStatusPatchArrayOutputWithContext ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchArrayOutput) ToAllocatedDeviceStatusPatchArrayOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchArrayOutput
type AllocatedDeviceStatusPatchInput ¶ added in v4.19.0
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 ¶ added in v4.19.0
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 ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchOutput) Conditions() metav1.ConditionPatchArrayOutput
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.
Must not contain more than 8 entries.
func (AllocatedDeviceStatusPatchOutput) Data ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchOutput) Data() pulumi.AnyOutput
Data contains arbitrary driver-specific data.
The length of the raw data must be smaller or equal to 10 Ki.
func (AllocatedDeviceStatusPatchOutput) Device ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchOutput) Device() pulumi.StringPtrOutput
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
func (AllocatedDeviceStatusPatchOutput) Driver ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchOutput) Driver() pulumi.StringPtrOutput
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 ¶ added in v4.19.0
func (AllocatedDeviceStatusPatchOutput) ElementType() reflect.Type
func (AllocatedDeviceStatusPatchOutput) NetworkData ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchOutput) NetworkData() NetworkDeviceDataPatchPtrOutput
NetworkData contains network-related information specific to the device.
func (AllocatedDeviceStatusPatchOutput) Pool ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchOutput) Pool() pulumi.StringPtrOutput
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 ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchOutput) ToAllocatedDeviceStatusPatchOutput() AllocatedDeviceStatusPatchOutput
func (AllocatedDeviceStatusPatchOutput) ToAllocatedDeviceStatusPatchOutputWithContext ¶ added in v4.19.0
func (o AllocatedDeviceStatusPatchOutput) ToAllocatedDeviceStatusPatchOutputWithContext(ctx context.Context) AllocatedDeviceStatusPatchOutput
type AllocationResult ¶
type AllocationResult struct {
// Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
//
// A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
Controller *string `pulumi:"controller"`
// 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 {
// Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
//
// A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
Controller pulumi.StringPtrInput `pulumi:"controller"`
// 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) Controller ¶
func (o AllocationResultOutput) Controller() pulumi.StringPtrOutput
Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (AllocationResultOutput) Devices ¶
func (o AllocationResultOutput) Devices() DeviceAllocationResultPtrOutput
Devices is the result of allocating devices.
func (AllocationResultOutput) ElementType ¶
func (AllocationResultOutput) ElementType() reflect.Type
func (AllocationResultOutput) NodeSelector ¶
func (o AllocationResultOutput) NodeSelector() corev1.NodeSelectorPtrOutput
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 {
// Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
//
// A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
Controller *string `pulumi:"controller"`
// 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 {
// Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
//
// A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
Controller pulumi.StringPtrInput `pulumi:"controller"`
// 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) Controller ¶
func (o AllocationResultPatchOutput) Controller() pulumi.StringPtrOutput
Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (AllocationResultPatchOutput) Devices ¶
func (o AllocationResultPatchOutput) Devices() DeviceAllocationResultPatchPtrOutput
Devices is the result of allocating devices.
func (AllocationResultPatchOutput) ElementType ¶
func (AllocationResultPatchOutput) ElementType() reflect.Type
func (AllocationResultPatchOutput) NodeSelector ¶
func (o AllocationResultPatchOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
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
func AllocationResultPatchPtr ¶
func AllocationResultPatchPtr(v *AllocationResultPatchArgs) AllocationResultPatchPtrInput
type AllocationResultPatchPtrOutput ¶
type AllocationResultPatchPtrOutput struct{ *pulumi.OutputState }
func (AllocationResultPatchPtrOutput) Controller ¶
func (o AllocationResultPatchPtrOutput) Controller() pulumi.StringPtrOutput
Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (AllocationResultPatchPtrOutput) Devices ¶
func (o AllocationResultPatchPtrOutput) Devices() DeviceAllocationResultPatchPtrOutput
Devices is the result of allocating devices.
func (AllocationResultPatchPtrOutput) Elem ¶
func (o AllocationResultPatchPtrOutput) Elem() AllocationResultPatchOutput
func (AllocationResultPatchPtrOutput) ElementType ¶
func (AllocationResultPatchPtrOutput) ElementType() reflect.Type
func (AllocationResultPatchPtrOutput) NodeSelector ¶
func (o AllocationResultPatchPtrOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
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
func AllocationResultPtr ¶
func AllocationResultPtr(v *AllocationResultArgs) AllocationResultPtrInput
type AllocationResultPtrOutput ¶
type AllocationResultPtrOutput struct{ *pulumi.OutputState }
func (AllocationResultPtrOutput) Controller ¶
func (o AllocationResultPtrOutput) Controller() pulumi.StringPtrOutput
Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (AllocationResultPtrOutput) Devices ¶
func (o AllocationResultPtrOutput) Devices() DeviceAllocationResultPtrOutput
Devices is the result of allocating devices.
func (AllocationResultPtrOutput) Elem ¶
func (o AllocationResultPtrOutput) Elem() AllocationResultOutput
func (AllocationResultPtrOutput) ElementType ¶
func (AllocationResultPtrOutput) ElementType() reflect.Type
func (AllocationResultPtrOutput) NodeSelector ¶
func (o AllocationResultPtrOutput) NodeSelector() corev1.NodeSelectorPtrOutput
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 {
// AllNodes indicates that all nodes have access to the device.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
AllNodes *bool `pulumi:"allNodes"`
// 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]string `pulumi:"capacity"`
// ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.
//
// There can only be a single entry per counterSet.
//
// The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
ConsumesCounters []DeviceCounterConsumption `pulumi:"consumesCounters"`
// NodeName identifies the node where the device is available.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
NodeName *string `pulumi:"nodeName"`
// NodeSelector defines the nodes where the device is available.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
NodeSelector *corev1.NodeSelector `pulumi:"nodeSelector"`
// If specified, these are the driver-defined taints.
//
// The maximum number of taints is 4.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Taints []DeviceTaint `pulumi:"taints"`
}
BasicDevice defines one device instance.
type BasicDeviceArgs ¶
type BasicDeviceArgs struct {
// AllNodes indicates that all nodes have access to the device.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
AllNodes pulumi.BoolPtrInput `pulumi:"allNodes"`
// 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 pulumi.StringMapInput `pulumi:"capacity"`
// ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.
//
// There can only be a single entry per counterSet.
//
// The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
ConsumesCounters DeviceCounterConsumptionArrayInput `pulumi:"consumesCounters"`
// NodeName identifies the node where the device is available.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
NodeName pulumi.StringPtrInput `pulumi:"nodeName"`
// NodeSelector defines the nodes where the device is available.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
NodeSelector corev1.NodeSelectorPtrInput `pulumi:"nodeSelector"`
// If specified, these are the driver-defined taints.
//
// The maximum number of taints is 4.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Taints DeviceTaintArrayInput `pulumi:"taints"`
}
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) AllNodes ¶ added in v4.23.0
func (o BasicDeviceOutput) AllNodes() pulumi.BoolPtrOutput
AllNodes indicates that all nodes have access to the device.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDeviceOutput) Attributes ¶
func (o BasicDeviceOutput) Attributes() DeviceAttributeMapOutput
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 ¶
func (o BasicDeviceOutput) Capacity() pulumi.StringMapOutput
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) ConsumesCounters ¶ added in v4.23.0
func (o BasicDeviceOutput) ConsumesCounters() DeviceCounterConsumptionArrayOutput
ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.
There can only be a single entry per counterSet.
The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
func (BasicDeviceOutput) ElementType ¶
func (BasicDeviceOutput) ElementType() reflect.Type
func (BasicDeviceOutput) NodeName ¶ added in v4.23.0
func (o BasicDeviceOutput) NodeName() pulumi.StringPtrOutput
NodeName identifies the node where the device is available.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDeviceOutput) NodeSelector ¶ added in v4.23.0
func (o BasicDeviceOutput) NodeSelector() corev1.NodeSelectorPtrOutput
NodeSelector defines the nodes where the device is available.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDeviceOutput) Taints ¶ added in v4.23.0
func (o BasicDeviceOutput) Taints() DeviceTaintArrayOutput
If specified, these are the driver-defined taints.
The maximum number of taints is 4.
This is an alpha field and requires enabling the DRADeviceTaints feature gate.
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 {
// AllNodes indicates that all nodes have access to the device.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
AllNodes *bool `pulumi:"allNodes"`
// 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]string `pulumi:"capacity"`
// ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.
//
// There can only be a single entry per counterSet.
//
// The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
ConsumesCounters []DeviceCounterConsumptionPatch `pulumi:"consumesCounters"`
// NodeName identifies the node where the device is available.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
NodeName *string `pulumi:"nodeName"`
// NodeSelector defines the nodes where the device is available.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
NodeSelector *corev1.NodeSelectorPatch `pulumi:"nodeSelector"`
// If specified, these are the driver-defined taints.
//
// The maximum number of taints is 4.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Taints []DeviceTaintPatch `pulumi:"taints"`
}
BasicDevice defines one device instance.
type BasicDevicePatchArgs ¶
type BasicDevicePatchArgs struct {
// AllNodes indicates that all nodes have access to the device.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
AllNodes pulumi.BoolPtrInput `pulumi:"allNodes"`
// 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 pulumi.StringMapInput `pulumi:"capacity"`
// ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.
//
// There can only be a single entry per counterSet.
//
// The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
ConsumesCounters DeviceCounterConsumptionPatchArrayInput `pulumi:"consumesCounters"`
// NodeName identifies the node where the device is available.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
NodeName pulumi.StringPtrInput `pulumi:"nodeName"`
// NodeSelector defines the nodes where the device is available.
//
// Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
NodeSelector corev1.NodeSelectorPatchPtrInput `pulumi:"nodeSelector"`
// If specified, these are the driver-defined taints.
//
// The maximum number of taints is 4.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Taints DeviceTaintPatchArrayInput `pulumi:"taints"`
}
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) AllNodes ¶ added in v4.23.0
func (o BasicDevicePatchOutput) AllNodes() pulumi.BoolPtrOutput
AllNodes indicates that all nodes have access to the device.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDevicePatchOutput) Attributes ¶
func (o BasicDevicePatchOutput) Attributes() DeviceAttributeMapOutput
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 ¶
func (o BasicDevicePatchOutput) Capacity() pulumi.StringMapOutput
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) ConsumesCounters ¶ added in v4.23.0
func (o BasicDevicePatchOutput) ConsumesCounters() DeviceCounterConsumptionPatchArrayOutput
ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.
There can only be a single entry per counterSet.
The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
func (BasicDevicePatchOutput) ElementType ¶
func (BasicDevicePatchOutput) ElementType() reflect.Type
func (BasicDevicePatchOutput) NodeName ¶ added in v4.23.0
func (o BasicDevicePatchOutput) NodeName() pulumi.StringPtrOutput
NodeName identifies the node where the device is available.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDevicePatchOutput) NodeSelector ¶ added in v4.23.0
func (o BasicDevicePatchOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
NodeSelector defines the nodes where the device is available.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDevicePatchOutput) Taints ¶ added in v4.23.0
func (o BasicDevicePatchOutput) Taints() DeviceTaintPatchArrayOutput
If specified, these are the driver-defined taints.
The maximum number of taints is 4.
This is an alpha field and requires enabling the DRADeviceTaints feature gate.
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
func BasicDevicePatchPtr ¶
func BasicDevicePatchPtr(v *BasicDevicePatchArgs) BasicDevicePatchPtrInput
type BasicDevicePatchPtrOutput ¶
type BasicDevicePatchPtrOutput struct{ *pulumi.OutputState }
func (BasicDevicePatchPtrOutput) AllNodes ¶ added in v4.23.0
func (o BasicDevicePatchPtrOutput) AllNodes() pulumi.BoolPtrOutput
AllNodes indicates that all nodes have access to the device.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDevicePatchPtrOutput) Attributes ¶
func (o BasicDevicePatchPtrOutput) Attributes() DeviceAttributeMapOutput
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 ¶
func (o BasicDevicePatchPtrOutput) Capacity() pulumi.StringMapOutput
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) ConsumesCounters ¶ added in v4.23.0
func (o BasicDevicePatchPtrOutput) ConsumesCounters() DeviceCounterConsumptionPatchArrayOutput
ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.
There can only be a single entry per counterSet.
The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
func (BasicDevicePatchPtrOutput) Elem ¶
func (o BasicDevicePatchPtrOutput) Elem() BasicDevicePatchOutput
func (BasicDevicePatchPtrOutput) ElementType ¶
func (BasicDevicePatchPtrOutput) ElementType() reflect.Type
func (BasicDevicePatchPtrOutput) NodeName ¶ added in v4.23.0
func (o BasicDevicePatchPtrOutput) NodeName() pulumi.StringPtrOutput
NodeName identifies the node where the device is available.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDevicePatchPtrOutput) NodeSelector ¶ added in v4.23.0
func (o BasicDevicePatchPtrOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
NodeSelector defines the nodes where the device is available.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDevicePatchPtrOutput) Taints ¶ added in v4.23.0
func (o BasicDevicePatchPtrOutput) Taints() DeviceTaintPatchArrayOutput
If specified, these are the driver-defined taints.
The maximum number of taints is 4.
This is an alpha field and requires enabling the DRADeviceTaints feature gate.
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) AllNodes ¶ added in v4.23.0
func (o BasicDevicePtrOutput) AllNodes() pulumi.BoolPtrOutput
AllNodes indicates that all nodes have access to the device.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDevicePtrOutput) Attributes ¶
func (o BasicDevicePtrOutput) Attributes() DeviceAttributeMapOutput
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 ¶
func (o BasicDevicePtrOutput) Capacity() pulumi.StringMapOutput
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) ConsumesCounters ¶ added in v4.23.0
func (o BasicDevicePtrOutput) ConsumesCounters() DeviceCounterConsumptionArrayOutput
ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.
There can only be a single entry per counterSet.
The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
func (BasicDevicePtrOutput) Elem ¶
func (o BasicDevicePtrOutput) Elem() BasicDeviceOutput
func (BasicDevicePtrOutput) ElementType ¶
func (BasicDevicePtrOutput) ElementType() reflect.Type
func (BasicDevicePtrOutput) NodeName ¶ added in v4.23.0
func (o BasicDevicePtrOutput) NodeName() pulumi.StringPtrOutput
NodeName identifies the node where the device is available.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDevicePtrOutput) NodeSelector ¶ added in v4.23.0
func (o BasicDevicePtrOutput) NodeSelector() corev1.NodeSelectorPtrOutput
NodeSelector defines the nodes where the device is available.
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
func (BasicDevicePtrOutput) Taints ¶ added in v4.23.0
func (o BasicDevicePtrOutput) Taints() DeviceTaintArrayOutput
If specified, these are the driver-defined taints.
The maximum number of taints is 4.
This is an alpha field and requires enabling the DRADeviceTaints feature gate.
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 ¶
func (o CELDeviceSelectorOutput) Expression() pulumi.StringOutput
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) ElementType() reflect.Type
func (CELDeviceSelectorPatchOutput) Expression ¶
func (o CELDeviceSelectorPatchOutput) Expression() pulumi.StringPtrOutput
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
func CELDeviceSelectorPatchPtr ¶
func CELDeviceSelectorPatchPtr(v *CELDeviceSelectorPatchArgs) CELDeviceSelectorPatchPtrInput
type CELDeviceSelectorPatchPtrOutput ¶
type CELDeviceSelectorPatchPtrOutput struct{ *pulumi.OutputState }
func (CELDeviceSelectorPatchPtrOutput) Elem ¶
func (o CELDeviceSelectorPatchPtrOutput) Elem() CELDeviceSelectorPatchOutput
func (CELDeviceSelectorPatchPtrOutput) ElementType ¶
func (CELDeviceSelectorPatchPtrOutput) ElementType() reflect.Type
func (CELDeviceSelectorPatchPtrOutput) Expression ¶
func (o CELDeviceSelectorPatchPtrOutput) Expression() pulumi.StringPtrOutput
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
func CELDeviceSelectorPtr ¶
func CELDeviceSelectorPtr(v *CELDeviceSelectorArgs) CELDeviceSelectorPtrInput
type CELDeviceSelectorPtrOutput ¶
type CELDeviceSelectorPtrOutput struct{ *pulumi.OutputState }
func (CELDeviceSelectorPtrOutput) Elem ¶
func (o CELDeviceSelectorPtrOutput) Elem() CELDeviceSelectorOutput
func (CELDeviceSelectorPtrOutput) ElementType ¶
func (CELDeviceSelectorPtrOutput) ElementType() reflect.Type
func (CELDeviceSelectorPtrOutput) Expression ¶
func (o CELDeviceSelectorPtrOutput) Expression() pulumi.StringPtrOutput
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 Counter ¶ added in v4.23.0
type Counter struct {
// Value defines how much of a certain device counter is available.
Value string `pulumi:"value"`
}
Counter describes a quantity associated with a device.
type CounterArgs ¶ added in v4.23.0
type CounterArgs struct {
// Value defines how much of a certain device counter is available.
Value pulumi.StringInput `pulumi:"value"`
}
Counter describes a quantity associated with a device.
func (CounterArgs) ElementType ¶ added in v4.23.0
func (CounterArgs) ElementType() reflect.Type
func (CounterArgs) ToCounterOutput ¶ added in v4.23.0
func (i CounterArgs) ToCounterOutput() CounterOutput
func (CounterArgs) ToCounterOutputWithContext ¶ added in v4.23.0
func (i CounterArgs) ToCounterOutputWithContext(ctx context.Context) CounterOutput
type CounterInput ¶ added in v4.23.0
type CounterInput interface {
pulumi.Input
ToCounterOutput() CounterOutput
ToCounterOutputWithContext(context.Context) CounterOutput
}
CounterInput is an input type that accepts CounterArgs and CounterOutput values. You can construct a concrete instance of `CounterInput` via:
CounterArgs{...}
type CounterMap ¶ added in v4.23.0
type CounterMap map[string]CounterInput
func (CounterMap) ElementType ¶ added in v4.23.0
func (CounterMap) ElementType() reflect.Type
func (CounterMap) ToCounterMapOutput ¶ added in v4.23.0
func (i CounterMap) ToCounterMapOutput() CounterMapOutput
func (CounterMap) ToCounterMapOutputWithContext ¶ added in v4.23.0
func (i CounterMap) ToCounterMapOutputWithContext(ctx context.Context) CounterMapOutput
type CounterMapInput ¶ added in v4.23.0
type CounterMapInput interface {
pulumi.Input
ToCounterMapOutput() CounterMapOutput
ToCounterMapOutputWithContext(context.Context) CounterMapOutput
}
CounterMapInput is an input type that accepts CounterMap and CounterMapOutput values. You can construct a concrete instance of `CounterMapInput` via:
CounterMap{ "key": CounterArgs{...} }
type CounterMapOutput ¶ added in v4.23.0
type CounterMapOutput struct{ *pulumi.OutputState }
func (CounterMapOutput) ElementType ¶ added in v4.23.0
func (CounterMapOutput) ElementType() reflect.Type
func (CounterMapOutput) MapIndex ¶ added in v4.23.0
func (o CounterMapOutput) MapIndex(k pulumi.StringInput) CounterOutput
func (CounterMapOutput) ToCounterMapOutput ¶ added in v4.23.0
func (o CounterMapOutput) ToCounterMapOutput() CounterMapOutput
func (CounterMapOutput) ToCounterMapOutputWithContext ¶ added in v4.23.0
func (o CounterMapOutput) ToCounterMapOutputWithContext(ctx context.Context) CounterMapOutput
type CounterOutput ¶ added in v4.23.0
type CounterOutput struct{ *pulumi.OutputState }
Counter describes a quantity associated with a device.
func (CounterOutput) ElementType ¶ added in v4.23.0
func (CounterOutput) ElementType() reflect.Type
func (CounterOutput) ToCounterOutput ¶ added in v4.23.0
func (o CounterOutput) ToCounterOutput() CounterOutput
func (CounterOutput) ToCounterOutputWithContext ¶ added in v4.23.0
func (o CounterOutput) ToCounterOutputWithContext(ctx context.Context) CounterOutput
func (CounterOutput) Value ¶ added in v4.23.0
func (o CounterOutput) Value() pulumi.StringOutput
Value defines how much of a certain device counter is available.
type CounterPatch ¶ added in v4.23.0
type CounterPatch struct {
// Value defines how much of a certain device counter is available.
Value *string `pulumi:"value"`
}
Counter describes a quantity associated with a device.
type CounterPatchArgs ¶ added in v4.23.0
type CounterPatchArgs struct {
// Value defines how much of a certain device counter is available.
Value pulumi.StringPtrInput `pulumi:"value"`
}
Counter describes a quantity associated with a device.
func (CounterPatchArgs) ElementType ¶ added in v4.23.0
func (CounterPatchArgs) ElementType() reflect.Type
func (CounterPatchArgs) ToCounterPatchOutput ¶ added in v4.23.0
func (i CounterPatchArgs) ToCounterPatchOutput() CounterPatchOutput
func (CounterPatchArgs) ToCounterPatchOutputWithContext ¶ added in v4.23.0
func (i CounterPatchArgs) ToCounterPatchOutputWithContext(ctx context.Context) CounterPatchOutput
type CounterPatchInput ¶ added in v4.23.0
type CounterPatchInput interface {
pulumi.Input
ToCounterPatchOutput() CounterPatchOutput
ToCounterPatchOutputWithContext(context.Context) CounterPatchOutput
}
CounterPatchInput is an input type that accepts CounterPatchArgs and CounterPatchOutput values. You can construct a concrete instance of `CounterPatchInput` via:
CounterPatchArgs{...}
type CounterPatchOutput ¶ added in v4.23.0
type CounterPatchOutput struct{ *pulumi.OutputState }
Counter describes a quantity associated with a device.
func (CounterPatchOutput) ElementType ¶ added in v4.23.0
func (CounterPatchOutput) ElementType() reflect.Type
func (CounterPatchOutput) ToCounterPatchOutput ¶ added in v4.23.0
func (o CounterPatchOutput) ToCounterPatchOutput() CounterPatchOutput
func (CounterPatchOutput) ToCounterPatchOutputWithContext ¶ added in v4.23.0
func (o CounterPatchOutput) ToCounterPatchOutputWithContext(ctx context.Context) CounterPatchOutput
func (CounterPatchOutput) Value ¶ added in v4.23.0
func (o CounterPatchOutput) Value() pulumi.StringPtrOutput
Value defines how much of a certain device counter is available.
type CounterSet ¶ added in v4.23.0
type CounterSet struct {
// Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label.
//
// To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.
//
// The maximum number of counters is 32.
Counters map[string]Counter `pulumi:"counters"`
// CounterSet is the name of the set from which the counters defined will be consumed.
Name string `pulumi:"name"`
}
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.
type CounterSetArgs ¶ added in v4.23.0
type CounterSetArgs struct {
// Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label.
//
// To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.
//
// The maximum number of counters is 32.
Counters CounterMapInput `pulumi:"counters"`
// CounterSet is the name of the set from which the counters defined will be consumed.
Name pulumi.StringInput `pulumi:"name"`
}
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.
func (CounterSetArgs) ElementType ¶ added in v4.23.0
func (CounterSetArgs) ElementType() reflect.Type
func (CounterSetArgs) ToCounterSetOutput ¶ added in v4.23.0
func (i CounterSetArgs) ToCounterSetOutput() CounterSetOutput
func (CounterSetArgs) ToCounterSetOutputWithContext ¶ added in v4.23.0
func (i CounterSetArgs) ToCounterSetOutputWithContext(ctx context.Context) CounterSetOutput
type CounterSetArray ¶ added in v4.23.0
type CounterSetArray []CounterSetInput
func (CounterSetArray) ElementType ¶ added in v4.23.0
func (CounterSetArray) ElementType() reflect.Type
func (CounterSetArray) ToCounterSetArrayOutput ¶ added in v4.23.0
func (i CounterSetArray) ToCounterSetArrayOutput() CounterSetArrayOutput
func (CounterSetArray) ToCounterSetArrayOutputWithContext ¶ added in v4.23.0
func (i CounterSetArray) ToCounterSetArrayOutputWithContext(ctx context.Context) CounterSetArrayOutput
type CounterSetArrayInput ¶ added in v4.23.0
type CounterSetArrayInput interface {
pulumi.Input
ToCounterSetArrayOutput() CounterSetArrayOutput
ToCounterSetArrayOutputWithContext(context.Context) CounterSetArrayOutput
}
CounterSetArrayInput is an input type that accepts CounterSetArray and CounterSetArrayOutput values. You can construct a concrete instance of `CounterSetArrayInput` via:
CounterSetArray{ CounterSetArgs{...} }
type CounterSetArrayOutput ¶ added in v4.23.0
type CounterSetArrayOutput struct{ *pulumi.OutputState }
func (CounterSetArrayOutput) ElementType ¶ added in v4.23.0
func (CounterSetArrayOutput) ElementType() reflect.Type
func (CounterSetArrayOutput) Index ¶ added in v4.23.0
func (o CounterSetArrayOutput) Index(i pulumi.IntInput) CounterSetOutput
func (CounterSetArrayOutput) ToCounterSetArrayOutput ¶ added in v4.23.0
func (o CounterSetArrayOutput) ToCounterSetArrayOutput() CounterSetArrayOutput
func (CounterSetArrayOutput) ToCounterSetArrayOutputWithContext ¶ added in v4.23.0
func (o CounterSetArrayOutput) ToCounterSetArrayOutputWithContext(ctx context.Context) CounterSetArrayOutput
type CounterSetInput ¶ added in v4.23.0
type CounterSetInput interface {
pulumi.Input
ToCounterSetOutput() CounterSetOutput
ToCounterSetOutputWithContext(context.Context) CounterSetOutput
}
CounterSetInput is an input type that accepts CounterSetArgs and CounterSetOutput values. You can construct a concrete instance of `CounterSetInput` via:
CounterSetArgs{...}
type CounterSetOutput ¶ added in v4.23.0
type CounterSetOutput struct{ *pulumi.OutputState }
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.
func (CounterSetOutput) Counters ¶ added in v4.23.0
func (o CounterSetOutput) Counters() CounterMapOutput
Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label.
To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.
The maximum number of counters is 32.
func (CounterSetOutput) ElementType ¶ added in v4.23.0
func (CounterSetOutput) ElementType() reflect.Type
func (CounterSetOutput) Name ¶ added in v4.23.0
func (o CounterSetOutput) Name() pulumi.StringOutput
CounterSet is the name of the set from which the counters defined will be consumed.
func (CounterSetOutput) ToCounterSetOutput ¶ added in v4.23.0
func (o CounterSetOutput) ToCounterSetOutput() CounterSetOutput
func (CounterSetOutput) ToCounterSetOutputWithContext ¶ added in v4.23.0
func (o CounterSetOutput) ToCounterSetOutputWithContext(ctx context.Context) CounterSetOutput
type CounterSetPatch ¶ added in v4.23.0
type CounterSetPatch struct {
// Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label.
//
// To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.
//
// The maximum number of counters is 32.
Counters map[string]Counter `pulumi:"counters"`
// CounterSet is the name of the set from which the counters defined will be consumed.
Name *string `pulumi:"name"`
}
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.
type CounterSetPatchArgs ¶ added in v4.23.0
type CounterSetPatchArgs struct {
// Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label.
//
// To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.
//
// The maximum number of counters is 32.
Counters CounterMapInput `pulumi:"counters"`
// CounterSet is the name of the set from which the counters defined will be consumed.
Name pulumi.StringPtrInput `pulumi:"name"`
}
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.
func (CounterSetPatchArgs) ElementType ¶ added in v4.23.0
func (CounterSetPatchArgs) ElementType() reflect.Type
func (CounterSetPatchArgs) ToCounterSetPatchOutput ¶ added in v4.23.0
func (i CounterSetPatchArgs) ToCounterSetPatchOutput() CounterSetPatchOutput
func (CounterSetPatchArgs) ToCounterSetPatchOutputWithContext ¶ added in v4.23.0
func (i CounterSetPatchArgs) ToCounterSetPatchOutputWithContext(ctx context.Context) CounterSetPatchOutput
type CounterSetPatchArray ¶ added in v4.23.0
type CounterSetPatchArray []CounterSetPatchInput
func (CounterSetPatchArray) ElementType ¶ added in v4.23.0
func (CounterSetPatchArray) ElementType() reflect.Type
func (CounterSetPatchArray) ToCounterSetPatchArrayOutput ¶ added in v4.23.0
func (i CounterSetPatchArray) ToCounterSetPatchArrayOutput() CounterSetPatchArrayOutput
func (CounterSetPatchArray) ToCounterSetPatchArrayOutputWithContext ¶ added in v4.23.0
func (i CounterSetPatchArray) ToCounterSetPatchArrayOutputWithContext(ctx context.Context) CounterSetPatchArrayOutput
type CounterSetPatchArrayInput ¶ added in v4.23.0
type CounterSetPatchArrayInput interface {
pulumi.Input
ToCounterSetPatchArrayOutput() CounterSetPatchArrayOutput
ToCounterSetPatchArrayOutputWithContext(context.Context) CounterSetPatchArrayOutput
}
CounterSetPatchArrayInput is an input type that accepts CounterSetPatchArray and CounterSetPatchArrayOutput values. You can construct a concrete instance of `CounterSetPatchArrayInput` via:
CounterSetPatchArray{ CounterSetPatchArgs{...} }
type CounterSetPatchArrayOutput ¶ added in v4.23.0
type CounterSetPatchArrayOutput struct{ *pulumi.OutputState }
func (CounterSetPatchArrayOutput) ElementType ¶ added in v4.23.0
func (CounterSetPatchArrayOutput) ElementType() reflect.Type
func (CounterSetPatchArrayOutput) Index ¶ added in v4.23.0
func (o CounterSetPatchArrayOutput) Index(i pulumi.IntInput) CounterSetPatchOutput
func (CounterSetPatchArrayOutput) ToCounterSetPatchArrayOutput ¶ added in v4.23.0
func (o CounterSetPatchArrayOutput) ToCounterSetPatchArrayOutput() CounterSetPatchArrayOutput
func (CounterSetPatchArrayOutput) ToCounterSetPatchArrayOutputWithContext ¶ added in v4.23.0
func (o CounterSetPatchArrayOutput) ToCounterSetPatchArrayOutputWithContext(ctx context.Context) CounterSetPatchArrayOutput
type CounterSetPatchInput ¶ added in v4.23.0
type CounterSetPatchInput interface {
pulumi.Input
ToCounterSetPatchOutput() CounterSetPatchOutput
ToCounterSetPatchOutputWithContext(context.Context) CounterSetPatchOutput
}
CounterSetPatchInput is an input type that accepts CounterSetPatchArgs and CounterSetPatchOutput values. You can construct a concrete instance of `CounterSetPatchInput` via:
CounterSetPatchArgs{...}
type CounterSetPatchOutput ¶ added in v4.23.0
type CounterSetPatchOutput struct{ *pulumi.OutputState }
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.
func (CounterSetPatchOutput) Counters ¶ added in v4.23.0
func (o CounterSetPatchOutput) Counters() CounterMapOutput
Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label.
To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.
The maximum number of counters is 32.
func (CounterSetPatchOutput) ElementType ¶ added in v4.23.0
func (CounterSetPatchOutput) ElementType() reflect.Type
func (CounterSetPatchOutput) Name ¶ added in v4.23.0
func (o CounterSetPatchOutput) Name() pulumi.StringPtrOutput
CounterSet is the name of the set from which the counters defined will be consumed.
func (CounterSetPatchOutput) ToCounterSetPatchOutput ¶ added in v4.23.0
func (o CounterSetPatchOutput) ToCounterSetPatchOutput() CounterSetPatchOutput
func (CounterSetPatchOutput) ToCounterSetPatchOutputWithContext ¶ added in v4.23.0
func (o CounterSetPatchOutput) ToCounterSetPatchOutputWithContext(ctx context.Context) CounterSetPatchOutput
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceAllocationConfigurationOutput) Opaque ¶
func (o DeviceAllocationConfigurationOutput) Opaque() OpaqueDeviceConfigurationPtrOutput
Opaque provides driver-specific configuration parameters.
func (DeviceAllocationConfigurationOutput) Requests ¶
func (o DeviceAllocationConfigurationOutput) Requests() pulumi.StringArrayOutput
Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
func (DeviceAllocationConfigurationOutput) Source ¶
func (o DeviceAllocationConfigurationOutput) Source() pulumi.StringOutput
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceAllocationConfigurationPatchOutput) Opaque ¶
Opaque provides driver-specific configuration parameters.
func (DeviceAllocationConfigurationPatchOutput) Requests ¶
func (o DeviceAllocationConfigurationPatchOutput) Requests() pulumi.StringArrayOutput
Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
func (DeviceAllocationConfigurationPatchOutput) Source ¶
func (o DeviceAllocationConfigurationPatchOutput) Source() pulumi.StringPtrOutput
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 ¶
func (o DeviceAllocationResultOutput) Config() DeviceAllocationConfigurationArrayOutput
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) ElementType() reflect.Type
func (DeviceAllocationResultOutput) Results ¶
func (o DeviceAllocationResultOutput) Results() DeviceRequestAllocationResultArrayOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceAllocationResultPatchOutput) Results ¶
func (o DeviceAllocationResultPatchOutput) Results() DeviceRequestAllocationResultPatchArrayOutput
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
func DeviceAllocationResultPatchPtr ¶
func DeviceAllocationResultPatchPtr(v *DeviceAllocationResultPatchArgs) DeviceAllocationResultPatchPtrInput
type DeviceAllocationResultPatchPtrOutput ¶
type DeviceAllocationResultPatchPtrOutput struct{ *pulumi.OutputState }
func (DeviceAllocationResultPatchPtrOutput) Config ¶
func (o DeviceAllocationResultPatchPtrOutput) Config() DeviceAllocationConfigurationPatchArrayOutput
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) ElementType ¶
func (DeviceAllocationResultPatchPtrOutput) ElementType() reflect.Type
func (DeviceAllocationResultPatchPtrOutput) Results ¶
func (o DeviceAllocationResultPatchPtrOutput) Results() DeviceRequestAllocationResultPatchArrayOutput
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
func DeviceAllocationResultPtr ¶
func DeviceAllocationResultPtr(v *DeviceAllocationResultArgs) DeviceAllocationResultPtrInput
type DeviceAllocationResultPtrOutput ¶
type DeviceAllocationResultPtrOutput struct{ *pulumi.OutputState }
func (DeviceAllocationResultPtrOutput) Config ¶
func (o DeviceAllocationResultPtrOutput) Config() DeviceAllocationConfigurationArrayOutput
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 (o DeviceAllocationResultPtrOutput) Elem() DeviceAllocationResultOutput
func (DeviceAllocationResultPtrOutput) ElementType ¶
func (DeviceAllocationResultPtrOutput) ElementType() reflect.Type
func (DeviceAllocationResultPtrOutput) Results ¶
func (o DeviceAllocationResultPtrOutput) Results() DeviceRequestAllocationResultArrayOutput
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 (o DeviceArrayOutput) Index(i pulumi.IntInput) DeviceOutput
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 (o DeviceAttributeMapOutput) MapIndex(k pulumi.StringInput) DeviceAttributeOutput
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 ¶
func (o DeviceAttributeOutput) Bool() pulumi.BoolPtrOutput
BoolValue is a true/false value.
func (DeviceAttributeOutput) ElementType ¶
func (DeviceAttributeOutput) ElementType() reflect.Type
func (DeviceAttributeOutput) Int ¶
func (o DeviceAttributeOutput) Int() pulumi.IntPtrOutput
IntValue is a number.
func (DeviceAttributeOutput) String ¶
func (o DeviceAttributeOutput) String() pulumi.StringPtrOutput
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 ¶
func (o DeviceAttributeOutput) Version() pulumi.StringPtrOutput
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 ¶
func (o DeviceAttributePatchOutput) Bool() pulumi.BoolPtrOutput
BoolValue is a true/false value.
func (DeviceAttributePatchOutput) ElementType ¶
func (DeviceAttributePatchOutput) ElementType() reflect.Type
func (DeviceAttributePatchOutput) Int ¶
func (o DeviceAttributePatchOutput) Int() pulumi.IntPtrOutput
IntValue is a number.
func (DeviceAttributePatchOutput) String ¶
func (o DeviceAttributePatchOutput) String() pulumi.StringPtrOutput
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 ¶
func (o DeviceAttributePatchOutput) Version() pulumi.StringPtrOutput
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
Requests pulumi.StringArrayInput `pulumi:"requests"`
}
DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
func (DeviceClaimConfigurationArgs) ElementType ¶
func (DeviceClaimConfigurationArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceClaimConfigurationArrayOutput) Index ¶
func (o DeviceClaimConfigurationArrayOutput) Index(i pulumi.IntInput) DeviceClaimConfigurationOutput
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) ElementType() reflect.Type
func (DeviceClaimConfigurationOutput) Opaque ¶
func (o DeviceClaimConfigurationOutput) Opaque() OpaqueDeviceConfigurationPtrOutput
Opaque provides driver-specific configuration parameters.
func (DeviceClaimConfigurationOutput) Requests ¶
func (o DeviceClaimConfigurationOutput) Requests() pulumi.StringArrayOutput
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
Requests pulumi.StringArrayInput `pulumi:"requests"`
}
DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
func (DeviceClaimConfigurationPatchArgs) ElementType ¶
func (DeviceClaimConfigurationPatchArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceClaimConfigurationPatchOutput) Opaque ¶
func (o DeviceClaimConfigurationPatchOutput) Opaque() OpaqueDeviceConfigurationPatchPtrOutput
Opaque provides driver-specific configuration parameters.
func (DeviceClaimConfigurationPatchOutput) Requests ¶
func (o DeviceClaimConfigurationPatchOutput) Requests() pulumi.StringArrayOutput
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
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 ¶
func (o DeviceClaimOutput) Config() DeviceClaimConfigurationArrayOutput
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 ¶
func (o DeviceClaimOutput) Constraints() DeviceConstraintArrayOutput
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 ¶
func (o DeviceClaimOutput) Requests() DeviceRequestArrayOutput
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 ¶
func (o DeviceClaimPatchOutput) Config() DeviceClaimConfigurationPatchArrayOutput
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 ¶
func (o DeviceClaimPatchOutput) Constraints() DeviceConstraintPatchArrayOutput
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 ¶
func (o DeviceClaimPatchOutput) Requests() DeviceRequestPatchArrayOutput
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
func DeviceClaimPatchPtr ¶
func DeviceClaimPatchPtr(v *DeviceClaimPatchArgs) DeviceClaimPatchPtrInput
type DeviceClaimPatchPtrOutput ¶
type DeviceClaimPatchPtrOutput struct{ *pulumi.OutputState }
func (DeviceClaimPatchPtrOutput) Config ¶
func (o DeviceClaimPatchPtrOutput) Config() DeviceClaimConfigurationPatchArrayOutput
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 ¶
func (o DeviceClaimPatchPtrOutput) Constraints() DeviceConstraintPatchArrayOutput
These constraints must be satisfied by the set of devices that get allocated for the claim.
func (DeviceClaimPatchPtrOutput) Elem ¶
func (o DeviceClaimPatchPtrOutput) Elem() DeviceClaimPatchOutput
func (DeviceClaimPatchPtrOutput) ElementType ¶
func (DeviceClaimPatchPtrOutput) ElementType() reflect.Type
func (DeviceClaimPatchPtrOutput) Requests ¶
func (o DeviceClaimPatchPtrOutput) Requests() DeviceRequestPatchArrayOutput
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 ¶
func (o DeviceClaimPtrOutput) Config() DeviceClaimConfigurationArrayOutput
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 ¶
func (o DeviceClaimPtrOutput) Constraints() DeviceConstraintArrayOutput
These constraints must be satisfied by the set of devices that get allocated for the claim.
func (DeviceClaimPtrOutput) Elem ¶
func (o DeviceClaimPtrOutput) Elem() DeviceClaimOutput
func (DeviceClaimPtrOutput) ElementType ¶
func (DeviceClaimPtrOutput) ElementType() reflect.Type
func (DeviceClaimPtrOutput) Requests ¶
func (o DeviceClaimPtrOutput) Requests() DeviceRequestArrayOutput
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 (o DeviceClassArrayOutput) Index(i pulumi.IntInput) DeviceClassOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceClassConfigurationArrayOutput) Index ¶
func (o DeviceClassConfigurationArrayOutput) Index(i pulumi.IntInput) DeviceClassConfigurationOutput
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) ElementType() reflect.Type
func (DeviceClassConfigurationOutput) Opaque ¶
func (o DeviceClassConfigurationOutput) Opaque() OpaqueDeviceConfigurationPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceClassConfigurationPatchOutput) Opaque ¶
func (o DeviceClassConfigurationPatchOutput) Opaque() OpaqueDeviceConfigurationPatchPtrOutput
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 (o DeviceClassListArrayOutput) Index(i pulumi.IntInput) DeviceClassListOutput
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 (o DeviceClassListMapOutput) MapIndex(k pulumi.StringInput) DeviceClassListOutput
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 ¶
func (o DeviceClassListOutput) Items() DeviceClassTypeArrayOutput
Items is the list of resource classes.
func (DeviceClassListOutput) Kind ¶
func (o DeviceClassListOutput) Kind() pulumi.StringOutput
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 ¶
func (o DeviceClassListOutput) Metadata() metav1.ListMetaOutput
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 ¶
func (o DeviceClassListTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 ¶
func (o DeviceClassListTypeOutput) Items() DeviceClassTypeArrayOutput
Items is the list of resource classes.
func (DeviceClassListTypeOutput) Kind ¶
func (o DeviceClassListTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o DeviceClassListTypeOutput) Metadata() metav1.ListMetaPtrOutput
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 (o DeviceClassMapOutput) MapIndex(k pulumi.StringInput) DeviceClassOutput
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 ¶
func (o DeviceClassOutput) Kind() pulumi.StringOutput
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 ¶
func (o DeviceClassOutput) Metadata() metav1.ObjectMetaOutput
Standard object metadata
func (DeviceClassOutput) Spec ¶
func (o DeviceClassOutput) Spec() DeviceClassSpecOutput
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) ElementType() reflect.Type
func (DeviceClassPatchArrayOutput) Index ¶
func (o DeviceClassPatchArrayOutput) Index(i pulumi.IntInput) DeviceClassPatchOutput
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 (o DeviceClassPatchMapOutput) MapIndex(k pulumi.StringInput) DeviceClassPatchOutput
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 ¶
func (o DeviceClassPatchOutput) ApiVersion() pulumi.StringPtrOutput
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 ¶
func (o DeviceClassPatchOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o DeviceClassPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata
func (DeviceClassPatchOutput) Spec ¶
func (o DeviceClassPatchOutput) Spec() DeviceClassSpecPatchPtrOutput
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 ¶
func (o DeviceClassPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 ¶
func (o DeviceClassPatchTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o DeviceClassPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata
func (DeviceClassPatchTypeOutput) Spec ¶
func (o DeviceClassPatchTypeOutput) Spec() DeviceClassSpecPatchPtrOutput
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"`
// Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a claim that has not been allocated yet *and* that claim gets allocated through a control plane controller. It is ignored when the claim does not use a control plane controller for allocation.
//
// Setting this field is optional. If unset, all Nodes are candidates.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
SuitableNodes *corev1.NodeSelector `pulumi:"suitableNodes"`
}
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"`
// Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a claim that has not been allocated yet *and* that claim gets allocated through a control plane controller. It is ignored when the claim does not use a control plane controller for allocation.
//
// Setting this field is optional. If unset, all Nodes are candidates.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
SuitableNodes corev1.NodeSelectorPtrInput `pulumi:"suitableNodes"`
}
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 ¶
func (o DeviceClassSpecOutput) Config() DeviceClassConfigurationArrayOutput
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 ¶
func (o DeviceClassSpecOutput) Selectors() DeviceSelectorArrayOutput
Each selector must be satisfied by a device which is claimed via this class.
func (DeviceClassSpecOutput) SuitableNodes ¶
func (o DeviceClassSpecOutput) SuitableNodes() corev1.NodeSelectorPtrOutput
Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a claim that has not been allocated yet *and* that claim gets allocated through a control plane controller. It is ignored when the claim does not use a control plane controller for allocation.
Setting this field is optional. If unset, all Nodes are candidates.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
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"`
// Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a claim that has not been allocated yet *and* that claim gets allocated through a control plane controller. It is ignored when the claim does not use a control plane controller for allocation.
//
// Setting this field is optional. If unset, all Nodes are candidates.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
SuitableNodes *corev1.NodeSelectorPatch `pulumi:"suitableNodes"`
}
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"`
// Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a claim that has not been allocated yet *and* that claim gets allocated through a control plane controller. It is ignored when the claim does not use a control plane controller for allocation.
//
// Setting this field is optional. If unset, all Nodes are candidates.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
SuitableNodes corev1.NodeSelectorPatchPtrInput `pulumi:"suitableNodes"`
}
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 ¶
func (o DeviceClassSpecPatchOutput) Config() DeviceClassConfigurationPatchArrayOutput
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 ¶
func (o DeviceClassSpecPatchOutput) Selectors() DeviceSelectorPatchArrayOutput
Each selector must be satisfied by a device which is claimed via this class.
func (DeviceClassSpecPatchOutput) SuitableNodes ¶
func (o DeviceClassSpecPatchOutput) SuitableNodes() corev1.NodeSelectorPatchPtrOutput
Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a claim that has not been allocated yet *and* that claim gets allocated through a control plane controller. It is ignored when the claim does not use a control plane controller for allocation.
Setting this field is optional. If unset, all Nodes are candidates.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
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
func DeviceClassSpecPatchPtr ¶
func DeviceClassSpecPatchPtr(v *DeviceClassSpecPatchArgs) DeviceClassSpecPatchPtrInput
type DeviceClassSpecPatchPtrOutput ¶
type DeviceClassSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (DeviceClassSpecPatchPtrOutput) Config ¶
func (o DeviceClassSpecPatchPtrOutput) Config() DeviceClassConfigurationPatchArrayOutput
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 (o DeviceClassSpecPatchPtrOutput) Elem() DeviceClassSpecPatchOutput
func (DeviceClassSpecPatchPtrOutput) ElementType ¶
func (DeviceClassSpecPatchPtrOutput) ElementType() reflect.Type
func (DeviceClassSpecPatchPtrOutput) Selectors ¶
func (o DeviceClassSpecPatchPtrOutput) Selectors() DeviceSelectorPatchArrayOutput
Each selector must be satisfied by a device which is claimed via this class.
func (DeviceClassSpecPatchPtrOutput) SuitableNodes ¶
func (o DeviceClassSpecPatchPtrOutput) SuitableNodes() corev1.NodeSelectorPatchPtrOutput
Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a claim that has not been allocated yet *and* that claim gets allocated through a control plane controller. It is ignored when the claim does not use a control plane controller for allocation.
Setting this field is optional. If unset, all Nodes are candidates.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
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 (o DeviceClassTypeArrayOutput) Index(i pulumi.IntInput) DeviceClassTypeOutput
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 ¶
func (o DeviceClassTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 ¶
func (o DeviceClassTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o DeviceClassTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object metadata
func (DeviceClassTypeOutput) Spec ¶
func (o DeviceClassTypeOutput) Spec() DeviceClassSpecOutput
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests.
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests.
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) ElementType() reflect.Type
func (DeviceConstraintArrayOutput) Index ¶
func (o DeviceConstraintArrayOutput) Index(i pulumi.IntInput) DeviceConstraintOutput
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 ¶
func (o DeviceConstraintOutput) Requests() pulumi.StringArrayOutput
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.
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests.
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests.
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.
//
// References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests.
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) ElementType() reflect.Type
func (DeviceConstraintPatchArrayOutput) Index ¶
func (o DeviceConstraintPatchArrayOutput) Index(i pulumi.IntInput) DeviceConstraintPatchOutput
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) ElementType() reflect.Type
func (DeviceConstraintPatchOutput) MatchAttribute ¶
func (o DeviceConstraintPatchOutput) 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 (DeviceConstraintPatchOutput) Requests ¶
func (o DeviceConstraintPatchOutput) Requests() pulumi.StringArrayOutput
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.
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests.
func (DeviceConstraintPatchOutput) ToDeviceConstraintPatchOutput ¶
func (o DeviceConstraintPatchOutput) ToDeviceConstraintPatchOutput() DeviceConstraintPatchOutput
func (DeviceConstraintPatchOutput) ToDeviceConstraintPatchOutputWithContext ¶
func (o DeviceConstraintPatchOutput) ToDeviceConstraintPatchOutputWithContext(ctx context.Context) DeviceConstraintPatchOutput
type DeviceCounterConsumption ¶ added in v4.23.0
type DeviceCounterConsumption struct {
// CounterSet defines the set from which the counters defined will be consumed.
CounterSet string `pulumi:"counterSet"`
// Counters defines the Counter that will be consumed by the device.
//
// The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).
Counters map[string]Counter `pulumi:"counters"`
}
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
type DeviceCounterConsumptionArgs ¶ added in v4.23.0
type DeviceCounterConsumptionArgs struct {
// CounterSet defines the set from which the counters defined will be consumed.
CounterSet pulumi.StringInput `pulumi:"counterSet"`
// Counters defines the Counter that will be consumed by the device.
//
// The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).
Counters CounterMapInput `pulumi:"counters"`
}
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
func (DeviceCounterConsumptionArgs) ElementType ¶ added in v4.23.0
func (DeviceCounterConsumptionArgs) ElementType() reflect.Type
func (DeviceCounterConsumptionArgs) ToDeviceCounterConsumptionOutput ¶ added in v4.23.0
func (i DeviceCounterConsumptionArgs) ToDeviceCounterConsumptionOutput() DeviceCounterConsumptionOutput
func (DeviceCounterConsumptionArgs) ToDeviceCounterConsumptionOutputWithContext ¶ added in v4.23.0
func (i DeviceCounterConsumptionArgs) ToDeviceCounterConsumptionOutputWithContext(ctx context.Context) DeviceCounterConsumptionOutput
type DeviceCounterConsumptionArray ¶ added in v4.23.0
type DeviceCounterConsumptionArray []DeviceCounterConsumptionInput
func (DeviceCounterConsumptionArray) ElementType ¶ added in v4.23.0
func (DeviceCounterConsumptionArray) ElementType() reflect.Type
func (DeviceCounterConsumptionArray) ToDeviceCounterConsumptionArrayOutput ¶ added in v4.23.0
func (i DeviceCounterConsumptionArray) ToDeviceCounterConsumptionArrayOutput() DeviceCounterConsumptionArrayOutput
func (DeviceCounterConsumptionArray) ToDeviceCounterConsumptionArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceCounterConsumptionArray) ToDeviceCounterConsumptionArrayOutputWithContext(ctx context.Context) DeviceCounterConsumptionArrayOutput
type DeviceCounterConsumptionArrayInput ¶ added in v4.23.0
type DeviceCounterConsumptionArrayInput interface {
pulumi.Input
ToDeviceCounterConsumptionArrayOutput() DeviceCounterConsumptionArrayOutput
ToDeviceCounterConsumptionArrayOutputWithContext(context.Context) DeviceCounterConsumptionArrayOutput
}
DeviceCounterConsumptionArrayInput is an input type that accepts DeviceCounterConsumptionArray and DeviceCounterConsumptionArrayOutput values. You can construct a concrete instance of `DeviceCounterConsumptionArrayInput` via:
DeviceCounterConsumptionArray{ DeviceCounterConsumptionArgs{...} }
type DeviceCounterConsumptionArrayOutput ¶ added in v4.23.0
type DeviceCounterConsumptionArrayOutput struct{ *pulumi.OutputState }
func (DeviceCounterConsumptionArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceCounterConsumptionArrayOutput) ElementType() reflect.Type
func (DeviceCounterConsumptionArrayOutput) Index ¶ added in v4.23.0
func (o DeviceCounterConsumptionArrayOutput) Index(i pulumi.IntInput) DeviceCounterConsumptionOutput
func (DeviceCounterConsumptionArrayOutput) ToDeviceCounterConsumptionArrayOutput ¶ added in v4.23.0
func (o DeviceCounterConsumptionArrayOutput) ToDeviceCounterConsumptionArrayOutput() DeviceCounterConsumptionArrayOutput
func (DeviceCounterConsumptionArrayOutput) ToDeviceCounterConsumptionArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceCounterConsumptionArrayOutput) ToDeviceCounterConsumptionArrayOutputWithContext(ctx context.Context) DeviceCounterConsumptionArrayOutput
type DeviceCounterConsumptionInput ¶ added in v4.23.0
type DeviceCounterConsumptionInput interface {
pulumi.Input
ToDeviceCounterConsumptionOutput() DeviceCounterConsumptionOutput
ToDeviceCounterConsumptionOutputWithContext(context.Context) DeviceCounterConsumptionOutput
}
DeviceCounterConsumptionInput is an input type that accepts DeviceCounterConsumptionArgs and DeviceCounterConsumptionOutput values. You can construct a concrete instance of `DeviceCounterConsumptionInput` via:
DeviceCounterConsumptionArgs{...}
type DeviceCounterConsumptionOutput ¶ added in v4.23.0
type DeviceCounterConsumptionOutput struct{ *pulumi.OutputState }
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
func (DeviceCounterConsumptionOutput) CounterSet ¶ added in v4.23.0
func (o DeviceCounterConsumptionOutput) CounterSet() pulumi.StringOutput
CounterSet defines the set from which the counters defined will be consumed.
func (DeviceCounterConsumptionOutput) Counters ¶ added in v4.23.0
func (o DeviceCounterConsumptionOutput) Counters() CounterMapOutput
Counters defines the Counter that will be consumed by the device.
The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).
func (DeviceCounterConsumptionOutput) ElementType ¶ added in v4.23.0
func (DeviceCounterConsumptionOutput) ElementType() reflect.Type
func (DeviceCounterConsumptionOutput) ToDeviceCounterConsumptionOutput ¶ added in v4.23.0
func (o DeviceCounterConsumptionOutput) ToDeviceCounterConsumptionOutput() DeviceCounterConsumptionOutput
func (DeviceCounterConsumptionOutput) ToDeviceCounterConsumptionOutputWithContext ¶ added in v4.23.0
func (o DeviceCounterConsumptionOutput) ToDeviceCounterConsumptionOutputWithContext(ctx context.Context) DeviceCounterConsumptionOutput
type DeviceCounterConsumptionPatch ¶ added in v4.23.0
type DeviceCounterConsumptionPatch struct {
// CounterSet defines the set from which the counters defined will be consumed.
CounterSet *string `pulumi:"counterSet"`
// Counters defines the Counter that will be consumed by the device.
//
// The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).
Counters map[string]Counter `pulumi:"counters"`
}
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
type DeviceCounterConsumptionPatchArgs ¶ added in v4.23.0
type DeviceCounterConsumptionPatchArgs struct {
// CounterSet defines the set from which the counters defined will be consumed.
CounterSet pulumi.StringPtrInput `pulumi:"counterSet"`
// Counters defines the Counter that will be consumed by the device.
//
// The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).
Counters CounterMapInput `pulumi:"counters"`
}
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
func (DeviceCounterConsumptionPatchArgs) ElementType ¶ added in v4.23.0
func (DeviceCounterConsumptionPatchArgs) ElementType() reflect.Type
func (DeviceCounterConsumptionPatchArgs) ToDeviceCounterConsumptionPatchOutput ¶ added in v4.23.0
func (i DeviceCounterConsumptionPatchArgs) ToDeviceCounterConsumptionPatchOutput() DeviceCounterConsumptionPatchOutput
func (DeviceCounterConsumptionPatchArgs) ToDeviceCounterConsumptionPatchOutputWithContext ¶ added in v4.23.0
func (i DeviceCounterConsumptionPatchArgs) ToDeviceCounterConsumptionPatchOutputWithContext(ctx context.Context) DeviceCounterConsumptionPatchOutput
type DeviceCounterConsumptionPatchArray ¶ added in v4.23.0
type DeviceCounterConsumptionPatchArray []DeviceCounterConsumptionPatchInput
func (DeviceCounterConsumptionPatchArray) ElementType ¶ added in v4.23.0
func (DeviceCounterConsumptionPatchArray) ElementType() reflect.Type
func (DeviceCounterConsumptionPatchArray) ToDeviceCounterConsumptionPatchArrayOutput ¶ added in v4.23.0
func (i DeviceCounterConsumptionPatchArray) ToDeviceCounterConsumptionPatchArrayOutput() DeviceCounterConsumptionPatchArrayOutput
func (DeviceCounterConsumptionPatchArray) ToDeviceCounterConsumptionPatchArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceCounterConsumptionPatchArray) ToDeviceCounterConsumptionPatchArrayOutputWithContext(ctx context.Context) DeviceCounterConsumptionPatchArrayOutput
type DeviceCounterConsumptionPatchArrayInput ¶ added in v4.23.0
type DeviceCounterConsumptionPatchArrayInput interface {
pulumi.Input
ToDeviceCounterConsumptionPatchArrayOutput() DeviceCounterConsumptionPatchArrayOutput
ToDeviceCounterConsumptionPatchArrayOutputWithContext(context.Context) DeviceCounterConsumptionPatchArrayOutput
}
DeviceCounterConsumptionPatchArrayInput is an input type that accepts DeviceCounterConsumptionPatchArray and DeviceCounterConsumptionPatchArrayOutput values. You can construct a concrete instance of `DeviceCounterConsumptionPatchArrayInput` via:
DeviceCounterConsumptionPatchArray{ DeviceCounterConsumptionPatchArgs{...} }
type DeviceCounterConsumptionPatchArrayOutput ¶ added in v4.23.0
type DeviceCounterConsumptionPatchArrayOutput struct{ *pulumi.OutputState }
func (DeviceCounterConsumptionPatchArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceCounterConsumptionPatchArrayOutput) ElementType() reflect.Type
func (DeviceCounterConsumptionPatchArrayOutput) ToDeviceCounterConsumptionPatchArrayOutput ¶ added in v4.23.0
func (o DeviceCounterConsumptionPatchArrayOutput) ToDeviceCounterConsumptionPatchArrayOutput() DeviceCounterConsumptionPatchArrayOutput
func (DeviceCounterConsumptionPatchArrayOutput) ToDeviceCounterConsumptionPatchArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceCounterConsumptionPatchArrayOutput) ToDeviceCounterConsumptionPatchArrayOutputWithContext(ctx context.Context) DeviceCounterConsumptionPatchArrayOutput
type DeviceCounterConsumptionPatchInput ¶ added in v4.23.0
type DeviceCounterConsumptionPatchInput interface {
pulumi.Input
ToDeviceCounterConsumptionPatchOutput() DeviceCounterConsumptionPatchOutput
ToDeviceCounterConsumptionPatchOutputWithContext(context.Context) DeviceCounterConsumptionPatchOutput
}
DeviceCounterConsumptionPatchInput is an input type that accepts DeviceCounterConsumptionPatchArgs and DeviceCounterConsumptionPatchOutput values. You can construct a concrete instance of `DeviceCounterConsumptionPatchInput` via:
DeviceCounterConsumptionPatchArgs{...}
type DeviceCounterConsumptionPatchOutput ¶ added in v4.23.0
type DeviceCounterConsumptionPatchOutput struct{ *pulumi.OutputState }
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
func (DeviceCounterConsumptionPatchOutput) CounterSet ¶ added in v4.23.0
func (o DeviceCounterConsumptionPatchOutput) CounterSet() pulumi.StringPtrOutput
CounterSet defines the set from which the counters defined will be consumed.
func (DeviceCounterConsumptionPatchOutput) Counters ¶ added in v4.23.0
func (o DeviceCounterConsumptionPatchOutput) Counters() CounterMapOutput
Counters defines the Counter that will be consumed by the device.
The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).
func (DeviceCounterConsumptionPatchOutput) ElementType ¶ added in v4.23.0
func (DeviceCounterConsumptionPatchOutput) ElementType() reflect.Type
func (DeviceCounterConsumptionPatchOutput) ToDeviceCounterConsumptionPatchOutput ¶ added in v4.23.0
func (o DeviceCounterConsumptionPatchOutput) ToDeviceCounterConsumptionPatchOutput() DeviceCounterConsumptionPatchOutput
func (DeviceCounterConsumptionPatchOutput) ToDeviceCounterConsumptionPatchOutputWithContext ¶ added in v4.23.0
func (o DeviceCounterConsumptionPatchOutput) ToDeviceCounterConsumptionPatchOutputWithContext(ctx context.Context) DeviceCounterConsumptionPatchOutput
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 ¶
func (o DeviceOutput) Basic() BasicDevicePtrOutput
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 (o DevicePatchArrayOutput) Index(i pulumi.IntInput) DevicePatchOutput
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 ¶
func (o DevicePatchOutput) Basic() BasicDevicePatchPtrOutput
Basic defines one device instance.
func (DevicePatchOutput) ElementType ¶
func (DevicePatchOutput) ElementType() reflect.Type
func (DevicePatchOutput) Name ¶
func (o DevicePatchOutput) Name() pulumi.StringPtrOutput
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 field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// 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.
// At least one device must exist on the node for the allocation to succeed.
// Allocation will fail if some devices are already allocated,
// unless adminAccess is requested.
//
// If AllocationMode 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
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 if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. 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"`
// FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.
//
// This field may only be set in the entries of DeviceClaim.Requests.
//
// DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.
FirstAvailable []DeviceSubRequest `pulumi:"firstAvailable"`
// 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
Selectors []DeviceSelector `pulumi:"selectors"`
// If specified, the request's tolerations.
//
// Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
//
// In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
//
// The maximum number of tolerations is 16.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations []DeviceToleration `pulumi:"tolerations"`
}
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.
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. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
//
// Multiple devices may have been allocated per request.
Request string `pulumi:"request"`
// A copy of all tolerations specified in the request at the time when the device got allocated.
//
// The maximum number of tolerations is 16.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations []DeviceToleration `pulumi:"tolerations"`
}
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. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
//
// Multiple devices may have been allocated per request.
Request pulumi.StringInput `pulumi:"request"`
// A copy of all tolerations specified in the request at the time when the device got allocated.
//
// The maximum number of tolerations is 16.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations DeviceTolerationArrayInput `pulumi:"tolerations"`
}
DeviceRequestAllocationResult contains the allocation result for one request.
func (DeviceRequestAllocationResultArgs) ElementType ¶
func (DeviceRequestAllocationResultArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶ added in v4.19.0
func (o DeviceRequestAllocationResultOutput) AdminAccess() pulumi.BoolPtrOutput
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 ¶
func (o DeviceRequestAllocationResultOutput) Device() pulumi.StringOutput
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
func (DeviceRequestAllocationResultOutput) Driver ¶
func (o DeviceRequestAllocationResultOutput) Driver() pulumi.StringOutput
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) ElementType() reflect.Type
func (DeviceRequestAllocationResultOutput) Pool ¶
func (o DeviceRequestAllocationResultOutput) Pool() pulumi.StringOutput
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 ¶
func (o DeviceRequestAllocationResultOutput) Request() pulumi.StringOutput
Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
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
func (DeviceRequestAllocationResultOutput) Tolerations ¶ added in v4.23.0
func (o DeviceRequestAllocationResultOutput) Tolerations() DeviceTolerationArrayOutput
A copy of all tolerations specified in the request at the time when the device got allocated.
The maximum number of tolerations is 16.
This is an alpha field and requires enabling the DRADeviceTaints feature gate.
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. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
//
// Multiple devices may have been allocated per request.
Request *string `pulumi:"request"`
// A copy of all tolerations specified in the request at the time when the device got allocated.
//
// The maximum number of tolerations is 16.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations []DeviceTolerationPatch `pulumi:"tolerations"`
}
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. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
//
// Multiple devices may have been allocated per request.
Request pulumi.StringPtrInput `pulumi:"request"`
// A copy of all tolerations specified in the request at the time when the device got allocated.
//
// The maximum number of tolerations is 16.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations DeviceTolerationPatchArrayInput `pulumi:"tolerations"`
}
DeviceRequestAllocationResult contains the allocation result for one request.
func (DeviceRequestAllocationResultPatchArgs) ElementType ¶
func (DeviceRequestAllocationResultPatchArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶ added in v4.19.0
func (o DeviceRequestAllocationResultPatchOutput) AdminAccess() pulumi.BoolPtrOutput
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 ¶
func (o DeviceRequestAllocationResultPatchOutput) Device() pulumi.StringPtrOutput
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
func (DeviceRequestAllocationResultPatchOutput) Driver ¶
func (o DeviceRequestAllocationResultPatchOutput) Driver() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (DeviceRequestAllocationResultPatchOutput) Pool ¶
func (o DeviceRequestAllocationResultPatchOutput) Pool() pulumi.StringPtrOutput
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 ¶
func (o DeviceRequestAllocationResultPatchOutput) Request() pulumi.StringPtrOutput
Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
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
func (DeviceRequestAllocationResultPatchOutput) Tolerations ¶ added in v4.23.0
func (o DeviceRequestAllocationResultPatchOutput) Tolerations() DeviceTolerationPatchArrayOutput
A copy of all tolerations specified in the request at the time when the device got allocated.
The maximum number of tolerations is 16.
This is an alpha field and requires enabling the DRADeviceTaints feature gate.
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 field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// 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.
// At least one device must exist on the node for the allocation to succeed.
// Allocation will fail if some devices are already allocated,
// unless adminAccess is requested.
//
// If AllocationMode 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
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 if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. 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"`
// FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.
//
// This field may only be set in the entries of DeviceClaim.Requests.
//
// DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.
FirstAvailable DeviceSubRequestArrayInput `pulumi:"firstAvailable"`
// 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
Selectors DeviceSelectorArrayInput `pulumi:"selectors"`
// If specified, the request's tolerations.
//
// Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
//
// In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
//
// The maximum number of tolerations is 16.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations DeviceTolerationArrayInput `pulumi:"tolerations"`
}
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.
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 (o DeviceRequestArrayOutput) Index(i pulumi.IntInput) DeviceRequestOutput
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.
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 field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
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. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested.
If AllocationMode 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.
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
func (DeviceRequestOutput) Count ¶
func (o DeviceRequestOutput) Count() pulumi.IntPtrOutput
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.
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
func (DeviceRequestOutput) DeviceClassName ¶
func (o DeviceRequestOutput) 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 if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. 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) FirstAvailable ¶ added in v4.23.0
func (o DeviceRequestOutput) FirstAvailable() DeviceSubRequestArrayOutput
FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.
This field may only be set in the entries of DeviceClaim.Requests.
DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.
func (DeviceRequestOutput) Name ¶
func (o DeviceRequestOutput) Name() pulumi.StringOutput
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 ¶
func (o DeviceRequestOutput) Selectors() DeviceSelectorArrayOutput
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.
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
func (DeviceRequestOutput) ToDeviceRequestOutput ¶
func (o DeviceRequestOutput) ToDeviceRequestOutput() DeviceRequestOutput
func (DeviceRequestOutput) ToDeviceRequestOutputWithContext ¶
func (o DeviceRequestOutput) ToDeviceRequestOutputWithContext(ctx context.Context) DeviceRequestOutput
func (DeviceRequestOutput) Tolerations ¶ added in v4.23.0
func (o DeviceRequestOutput) Tolerations() DeviceTolerationArrayOutput
If specified, the request's tolerations.
Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
The maximum number of tolerations is 16.
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
This is an alpha field and requires enabling the DRADeviceTaints feature gate.
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 field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// 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.
// At least one device must exist on the node for the allocation to succeed.
// Allocation will fail if some devices are already allocated,
// unless adminAccess is requested.
//
// If AllocationMode 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
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 if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. 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"`
// FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.
//
// This field may only be set in the entries of DeviceClaim.Requests.
//
// DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.
FirstAvailable []DeviceSubRequestPatch `pulumi:"firstAvailable"`
// 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
Selectors []DeviceSelectorPatch `pulumi:"selectors"`
// If specified, the request's tolerations.
//
// Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
//
// In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
//
// The maximum number of tolerations is 16.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations []DeviceTolerationPatch `pulumi:"tolerations"`
}
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.
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 field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// 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.
// At least one device must exist on the node for the allocation to succeed.
// Allocation will fail if some devices are already allocated,
// unless adminAccess is requested.
//
// If AllocationMode 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
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 if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. 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"`
// FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.
//
// This field may only be set in the entries of DeviceClaim.Requests.
//
// DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.
FirstAvailable DeviceSubRequestPatchArrayInput `pulumi:"firstAvailable"`
// 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.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
Selectors DeviceSelectorPatchArrayInput `pulumi:"selectors"`
// If specified, the request's tolerations.
//
// Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
//
// In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
//
// The maximum number of tolerations is 16.
//
// This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations DeviceTolerationPatchArrayInput `pulumi:"tolerations"`
}
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.
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) ElementType() reflect.Type
func (DeviceRequestPatchArrayOutput) Index ¶
func (o DeviceRequestPatchArrayOutput) Index(i pulumi.IntInput) DeviceRequestPatchOutput
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.
func (DeviceRequestPatchOutput) AdminAccess ¶
func (o DeviceRequestPatchOutput) 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 field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
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. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested.
If AllocationMode 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.
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
func (DeviceRequestPatchOutput) Count ¶
func (o DeviceRequestPatchOutput) Count() pulumi.IntPtrOutput
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.
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
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 if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. 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) FirstAvailable ¶ added in v4.23.0
func (o DeviceRequestPatchOutput) FirstAvailable() DeviceSubRequestPatchArrayOutput
FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.
This field may only be set in the entries of DeviceClaim.Requests.
DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.
func (DeviceRequestPatchOutput) Name ¶
func (o DeviceRequestPatchOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o DeviceRequestPatchOutput) Selectors() DeviceSelectorPatchArrayOutput
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.
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
func (DeviceRequestPatchOutput) ToDeviceRequestPatchOutput ¶
func (o DeviceRequestPatchOutput) ToDeviceRequestPatchOutput() DeviceRequestPatchOutput
func (DeviceRequestPatchOutput) ToDeviceRequestPatchOutputWithContext ¶
func (o DeviceRequestPatchOutput) ToDeviceRequestPatchOutputWithContext(ctx context.Context) DeviceRequestPatchOutput
func (DeviceRequestPatchOutput) Tolerations ¶ added in v4.23.0
func (o DeviceRequestPatchOutput) Tolerations() DeviceTolerationPatchArrayOutput
If specified, the request's tolerations.
Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
The maximum number of tolerations is 16.
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
This is an alpha field and requires enabling the DRADeviceTaints feature gate.
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 (o DeviceSelectorArrayOutput) Index(i pulumi.IntInput) DeviceSelectorOutput
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 ¶
func (o DeviceSelectorOutput) Cel() CELDeviceSelectorPtrOutput
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) ElementType() reflect.Type
func (DeviceSelectorPatchArrayOutput) Index ¶
func (o DeviceSelectorPatchArrayOutput) Index(i pulumi.IntInput) DeviceSelectorPatchOutput
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 ¶
func (o DeviceSelectorPatchOutput) Cel() CELDeviceSelectorPatchPtrOutput
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 DeviceSubRequest ¶ added in v4.23.0
type DeviceSubRequest struct {
// 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 AllocationMode 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 subrequest.
//
// 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 subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
//
// 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"`
// If specified, the request's tolerations.
//
// Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
//
// In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
//
// The maximum number of tolerations is 16.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations []DeviceToleration `pulumi:"tolerations"`
}
DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.
type DeviceSubRequestArgs ¶ added in v4.23.0
type DeviceSubRequestArgs struct {
// 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 AllocationMode 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 subrequest.
//
// 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 subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
//
// 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"`
// If specified, the request's tolerations.
//
// Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
//
// In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
//
// The maximum number of tolerations is 16.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations DeviceTolerationArrayInput `pulumi:"tolerations"`
}
DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.
func (DeviceSubRequestArgs) ElementType ¶ added in v4.23.0
func (DeviceSubRequestArgs) ElementType() reflect.Type
func (DeviceSubRequestArgs) ToDeviceSubRequestOutput ¶ added in v4.23.0
func (i DeviceSubRequestArgs) ToDeviceSubRequestOutput() DeviceSubRequestOutput
func (DeviceSubRequestArgs) ToDeviceSubRequestOutputWithContext ¶ added in v4.23.0
func (i DeviceSubRequestArgs) ToDeviceSubRequestOutputWithContext(ctx context.Context) DeviceSubRequestOutput
type DeviceSubRequestArray ¶ added in v4.23.0
type DeviceSubRequestArray []DeviceSubRequestInput
func (DeviceSubRequestArray) ElementType ¶ added in v4.23.0
func (DeviceSubRequestArray) ElementType() reflect.Type
func (DeviceSubRequestArray) ToDeviceSubRequestArrayOutput ¶ added in v4.23.0
func (i DeviceSubRequestArray) ToDeviceSubRequestArrayOutput() DeviceSubRequestArrayOutput
func (DeviceSubRequestArray) ToDeviceSubRequestArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceSubRequestArray) ToDeviceSubRequestArrayOutputWithContext(ctx context.Context) DeviceSubRequestArrayOutput
type DeviceSubRequestArrayInput ¶ added in v4.23.0
type DeviceSubRequestArrayInput interface {
pulumi.Input
ToDeviceSubRequestArrayOutput() DeviceSubRequestArrayOutput
ToDeviceSubRequestArrayOutputWithContext(context.Context) DeviceSubRequestArrayOutput
}
DeviceSubRequestArrayInput is an input type that accepts DeviceSubRequestArray and DeviceSubRequestArrayOutput values. You can construct a concrete instance of `DeviceSubRequestArrayInput` via:
DeviceSubRequestArray{ DeviceSubRequestArgs{...} }
type DeviceSubRequestArrayOutput ¶ added in v4.23.0
type DeviceSubRequestArrayOutput struct{ *pulumi.OutputState }
func (DeviceSubRequestArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceSubRequestArrayOutput) ElementType() reflect.Type
func (DeviceSubRequestArrayOutput) Index ¶ added in v4.23.0
func (o DeviceSubRequestArrayOutput) Index(i pulumi.IntInput) DeviceSubRequestOutput
func (DeviceSubRequestArrayOutput) ToDeviceSubRequestArrayOutput ¶ added in v4.23.0
func (o DeviceSubRequestArrayOutput) ToDeviceSubRequestArrayOutput() DeviceSubRequestArrayOutput
func (DeviceSubRequestArrayOutput) ToDeviceSubRequestArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceSubRequestArrayOutput) ToDeviceSubRequestArrayOutputWithContext(ctx context.Context) DeviceSubRequestArrayOutput
type DeviceSubRequestInput ¶ added in v4.23.0
type DeviceSubRequestInput interface {
pulumi.Input
ToDeviceSubRequestOutput() DeviceSubRequestOutput
ToDeviceSubRequestOutputWithContext(context.Context) DeviceSubRequestOutput
}
DeviceSubRequestInput is an input type that accepts DeviceSubRequestArgs and DeviceSubRequestOutput values. You can construct a concrete instance of `DeviceSubRequestInput` via:
DeviceSubRequestArgs{...}
type DeviceSubRequestOutput ¶ added in v4.23.0
type DeviceSubRequestOutput struct{ *pulumi.OutputState }
DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.
func (DeviceSubRequestOutput) AllocationMode ¶ added in v4.23.0
func (o DeviceSubRequestOutput) 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 AllocationMode 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 (DeviceSubRequestOutput) Count ¶ added in v4.23.0
func (o DeviceSubRequestOutput) Count() pulumi.IntPtrOutput
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 (DeviceSubRequestOutput) DeviceClassName ¶ added in v4.23.0
func (o DeviceSubRequestOutput) DeviceClassName() pulumi.StringOutput
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
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 (DeviceSubRequestOutput) ElementType ¶ added in v4.23.0
func (DeviceSubRequestOutput) ElementType() reflect.Type
func (DeviceSubRequestOutput) Name ¶ added in v4.23.0
func (o DeviceSubRequestOutput) Name() pulumi.StringOutput
Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
Must be a DNS label.
func (DeviceSubRequestOutput) Selectors ¶ added in v4.23.0
func (o DeviceSubRequestOutput) Selectors() DeviceSelectorArrayOutput
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 (DeviceSubRequestOutput) ToDeviceSubRequestOutput ¶ added in v4.23.0
func (o DeviceSubRequestOutput) ToDeviceSubRequestOutput() DeviceSubRequestOutput
func (DeviceSubRequestOutput) ToDeviceSubRequestOutputWithContext ¶ added in v4.23.0
func (o DeviceSubRequestOutput) ToDeviceSubRequestOutputWithContext(ctx context.Context) DeviceSubRequestOutput
func (DeviceSubRequestOutput) Tolerations ¶ added in v4.23.0
func (o DeviceSubRequestOutput) Tolerations() DeviceTolerationArrayOutput
If specified, the request's tolerations.
Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
The maximum number of tolerations is 16.
This is an alpha field and requires enabling the DRADeviceTaints feature gate.
type DeviceSubRequestPatch ¶ added in v4.23.0
type DeviceSubRequestPatch struct {
// 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 AllocationMode 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 subrequest.
//
// 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 subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
//
// 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"`
// If specified, the request's tolerations.
//
// Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
//
// In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
//
// The maximum number of tolerations is 16.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations []DeviceTolerationPatch `pulumi:"tolerations"`
}
DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.
type DeviceSubRequestPatchArgs ¶ added in v4.23.0
type DeviceSubRequestPatchArgs struct {
// 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 AllocationMode 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 subrequest.
//
// 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 subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
//
// 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"`
// If specified, the request's tolerations.
//
// Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
//
// In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
//
// The maximum number of tolerations is 16.
//
// This is an alpha field and requires enabling the DRADeviceTaints feature gate.
Tolerations DeviceTolerationPatchArrayInput `pulumi:"tolerations"`
}
DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.
func (DeviceSubRequestPatchArgs) ElementType ¶ added in v4.23.0
func (DeviceSubRequestPatchArgs) ElementType() reflect.Type
func (DeviceSubRequestPatchArgs) ToDeviceSubRequestPatchOutput ¶ added in v4.23.0
func (i DeviceSubRequestPatchArgs) ToDeviceSubRequestPatchOutput() DeviceSubRequestPatchOutput
func (DeviceSubRequestPatchArgs) ToDeviceSubRequestPatchOutputWithContext ¶ added in v4.23.0
func (i DeviceSubRequestPatchArgs) ToDeviceSubRequestPatchOutputWithContext(ctx context.Context) DeviceSubRequestPatchOutput
type DeviceSubRequestPatchArray ¶ added in v4.23.0
type DeviceSubRequestPatchArray []DeviceSubRequestPatchInput
func (DeviceSubRequestPatchArray) ElementType ¶ added in v4.23.0
func (DeviceSubRequestPatchArray) ElementType() reflect.Type
func (DeviceSubRequestPatchArray) ToDeviceSubRequestPatchArrayOutput ¶ added in v4.23.0
func (i DeviceSubRequestPatchArray) ToDeviceSubRequestPatchArrayOutput() DeviceSubRequestPatchArrayOutput
func (DeviceSubRequestPatchArray) ToDeviceSubRequestPatchArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceSubRequestPatchArray) ToDeviceSubRequestPatchArrayOutputWithContext(ctx context.Context) DeviceSubRequestPatchArrayOutput
type DeviceSubRequestPatchArrayInput ¶ added in v4.23.0
type DeviceSubRequestPatchArrayInput interface {
pulumi.Input
ToDeviceSubRequestPatchArrayOutput() DeviceSubRequestPatchArrayOutput
ToDeviceSubRequestPatchArrayOutputWithContext(context.Context) DeviceSubRequestPatchArrayOutput
}
DeviceSubRequestPatchArrayInput is an input type that accepts DeviceSubRequestPatchArray and DeviceSubRequestPatchArrayOutput values. You can construct a concrete instance of `DeviceSubRequestPatchArrayInput` via:
DeviceSubRequestPatchArray{ DeviceSubRequestPatchArgs{...} }
type DeviceSubRequestPatchArrayOutput ¶ added in v4.23.0
type DeviceSubRequestPatchArrayOutput struct{ *pulumi.OutputState }
func (DeviceSubRequestPatchArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceSubRequestPatchArrayOutput) ElementType() reflect.Type
func (DeviceSubRequestPatchArrayOutput) Index ¶ added in v4.23.0
func (o DeviceSubRequestPatchArrayOutput) Index(i pulumi.IntInput) DeviceSubRequestPatchOutput
func (DeviceSubRequestPatchArrayOutput) ToDeviceSubRequestPatchArrayOutput ¶ added in v4.23.0
func (o DeviceSubRequestPatchArrayOutput) ToDeviceSubRequestPatchArrayOutput() DeviceSubRequestPatchArrayOutput
func (DeviceSubRequestPatchArrayOutput) ToDeviceSubRequestPatchArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceSubRequestPatchArrayOutput) ToDeviceSubRequestPatchArrayOutputWithContext(ctx context.Context) DeviceSubRequestPatchArrayOutput
type DeviceSubRequestPatchInput ¶ added in v4.23.0
type DeviceSubRequestPatchInput interface {
pulumi.Input
ToDeviceSubRequestPatchOutput() DeviceSubRequestPatchOutput
ToDeviceSubRequestPatchOutputWithContext(context.Context) DeviceSubRequestPatchOutput
}
DeviceSubRequestPatchInput is an input type that accepts DeviceSubRequestPatchArgs and DeviceSubRequestPatchOutput values. You can construct a concrete instance of `DeviceSubRequestPatchInput` via:
DeviceSubRequestPatchArgs{...}
type DeviceSubRequestPatchOutput ¶ added in v4.23.0
type DeviceSubRequestPatchOutput struct{ *pulumi.OutputState }
DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.
func (DeviceSubRequestPatchOutput) AllocationMode ¶ added in v4.23.0
func (o DeviceSubRequestPatchOutput) 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 AllocationMode 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 (DeviceSubRequestPatchOutput) Count ¶ added in v4.23.0
func (o DeviceSubRequestPatchOutput) Count() pulumi.IntPtrOutput
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 (DeviceSubRequestPatchOutput) DeviceClassName ¶ added in v4.23.0
func (o DeviceSubRequestPatchOutput) DeviceClassName() pulumi.StringPtrOutput
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
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 (DeviceSubRequestPatchOutput) ElementType ¶ added in v4.23.0
func (DeviceSubRequestPatchOutput) ElementType() reflect.Type
func (DeviceSubRequestPatchOutput) Name ¶ added in v4.23.0
func (o DeviceSubRequestPatchOutput) Name() pulumi.StringPtrOutput
Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
Must be a DNS label.
func (DeviceSubRequestPatchOutput) Selectors ¶ added in v4.23.0
func (o DeviceSubRequestPatchOutput) Selectors() DeviceSelectorPatchArrayOutput
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 (DeviceSubRequestPatchOutput) ToDeviceSubRequestPatchOutput ¶ added in v4.23.0
func (o DeviceSubRequestPatchOutput) ToDeviceSubRequestPatchOutput() DeviceSubRequestPatchOutput
func (DeviceSubRequestPatchOutput) ToDeviceSubRequestPatchOutputWithContext ¶ added in v4.23.0
func (o DeviceSubRequestPatchOutput) ToDeviceSubRequestPatchOutputWithContext(ctx context.Context) DeviceSubRequestPatchOutput
func (DeviceSubRequestPatchOutput) Tolerations ¶ added in v4.23.0
func (o DeviceSubRequestPatchOutput) Tolerations() DeviceTolerationPatchArrayOutput
If specified, the request's tolerations.
Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.
In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.
The maximum number of tolerations is 16.
This is an alpha field and requires enabling the DRADeviceTaints feature gate.
type DeviceTaint ¶ added in v4.23.0
type DeviceTaint struct {
// The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
Effect string `pulumi:"effect"`
// The taint key to be applied to a device. Must be a label name.
Key string `pulumi:"key"`
// TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
TimeAdded *string `pulumi:"timeAdded"`
// The taint value corresponding to the taint key. Must be a label value.
Value *string `pulumi:"value"`
}
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
type DeviceTaintArgs ¶ added in v4.23.0
type DeviceTaintArgs struct {
// The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
Effect pulumi.StringInput `pulumi:"effect"`
// The taint key to be applied to a device. Must be a label name.
Key pulumi.StringInput `pulumi:"key"`
// TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
TimeAdded pulumi.StringPtrInput `pulumi:"timeAdded"`
// The taint value corresponding to the taint key. Must be a label value.
Value pulumi.StringPtrInput `pulumi:"value"`
}
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
func (DeviceTaintArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintArgs) ElementType() reflect.Type
func (DeviceTaintArgs) ToDeviceTaintOutput ¶ added in v4.23.0
func (i DeviceTaintArgs) ToDeviceTaintOutput() DeviceTaintOutput
func (DeviceTaintArgs) ToDeviceTaintOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintArgs) ToDeviceTaintOutputWithContext(ctx context.Context) DeviceTaintOutput
type DeviceTaintArray ¶ added in v4.23.0
type DeviceTaintArray []DeviceTaintInput
func (DeviceTaintArray) ElementType ¶ added in v4.23.0
func (DeviceTaintArray) ElementType() reflect.Type
func (DeviceTaintArray) ToDeviceTaintArrayOutput ¶ added in v4.23.0
func (i DeviceTaintArray) ToDeviceTaintArrayOutput() DeviceTaintArrayOutput
func (DeviceTaintArray) ToDeviceTaintArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintArray) ToDeviceTaintArrayOutputWithContext(ctx context.Context) DeviceTaintArrayOutput
type DeviceTaintArrayInput ¶ added in v4.23.0
type DeviceTaintArrayInput interface {
pulumi.Input
ToDeviceTaintArrayOutput() DeviceTaintArrayOutput
ToDeviceTaintArrayOutputWithContext(context.Context) DeviceTaintArrayOutput
}
DeviceTaintArrayInput is an input type that accepts DeviceTaintArray and DeviceTaintArrayOutput values. You can construct a concrete instance of `DeviceTaintArrayInput` via:
DeviceTaintArray{ DeviceTaintArgs{...} }
type DeviceTaintArrayOutput ¶ added in v4.23.0
type DeviceTaintArrayOutput struct{ *pulumi.OutputState }
func (DeviceTaintArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintArrayOutput) ElementType() reflect.Type
func (DeviceTaintArrayOutput) Index ¶ added in v4.23.0
func (o DeviceTaintArrayOutput) Index(i pulumi.IntInput) DeviceTaintOutput
func (DeviceTaintArrayOutput) ToDeviceTaintArrayOutput ¶ added in v4.23.0
func (o DeviceTaintArrayOutput) ToDeviceTaintArrayOutput() DeviceTaintArrayOutput
func (DeviceTaintArrayOutput) ToDeviceTaintArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintArrayOutput) ToDeviceTaintArrayOutputWithContext(ctx context.Context) DeviceTaintArrayOutput
type DeviceTaintInput ¶ added in v4.23.0
type DeviceTaintInput interface {
pulumi.Input
ToDeviceTaintOutput() DeviceTaintOutput
ToDeviceTaintOutputWithContext(context.Context) DeviceTaintOutput
}
DeviceTaintInput is an input type that accepts DeviceTaintArgs and DeviceTaintOutput values. You can construct a concrete instance of `DeviceTaintInput` via:
DeviceTaintArgs{...}
type DeviceTaintOutput ¶ added in v4.23.0
type DeviceTaintOutput struct{ *pulumi.OutputState }
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
func (DeviceTaintOutput) Effect ¶ added in v4.23.0
func (o DeviceTaintOutput) Effect() pulumi.StringOutput
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
func (DeviceTaintOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintOutput) ElementType() reflect.Type
func (DeviceTaintOutput) Key ¶ added in v4.23.0
func (o DeviceTaintOutput) Key() pulumi.StringOutput
The taint key to be applied to a device. Must be a label name.
func (DeviceTaintOutput) TimeAdded ¶ added in v4.23.0
func (o DeviceTaintOutput) TimeAdded() pulumi.StringPtrOutput
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
func (DeviceTaintOutput) ToDeviceTaintOutput ¶ added in v4.23.0
func (o DeviceTaintOutput) ToDeviceTaintOutput() DeviceTaintOutput
func (DeviceTaintOutput) ToDeviceTaintOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintOutput) ToDeviceTaintOutputWithContext(ctx context.Context) DeviceTaintOutput
func (DeviceTaintOutput) Value ¶ added in v4.23.0
func (o DeviceTaintOutput) Value() pulumi.StringPtrOutput
The taint value corresponding to the taint key. Must be a label value.
type DeviceTaintPatch ¶ added in v4.23.0
type DeviceTaintPatch struct {
// The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
Effect *string `pulumi:"effect"`
// The taint key to be applied to a device. Must be a label name.
Key *string `pulumi:"key"`
// TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
TimeAdded *string `pulumi:"timeAdded"`
// The taint value corresponding to the taint key. Must be a label value.
Value *string `pulumi:"value"`
}
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
type DeviceTaintPatchArgs ¶ added in v4.23.0
type DeviceTaintPatchArgs struct {
// The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
Effect pulumi.StringPtrInput `pulumi:"effect"`
// The taint key to be applied to a device. Must be a label name.
Key pulumi.StringPtrInput `pulumi:"key"`
// TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
TimeAdded pulumi.StringPtrInput `pulumi:"timeAdded"`
// The taint value corresponding to the taint key. Must be a label value.
Value pulumi.StringPtrInput `pulumi:"value"`
}
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
func (DeviceTaintPatchArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintPatchArgs) ElementType() reflect.Type
func (DeviceTaintPatchArgs) ToDeviceTaintPatchOutput ¶ added in v4.23.0
func (i DeviceTaintPatchArgs) ToDeviceTaintPatchOutput() DeviceTaintPatchOutput
func (DeviceTaintPatchArgs) ToDeviceTaintPatchOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintPatchArgs) ToDeviceTaintPatchOutputWithContext(ctx context.Context) DeviceTaintPatchOutput
func (DeviceTaintPatchArgs) ToDeviceTaintPatchPtrOutput ¶ added in v4.23.0
func (i DeviceTaintPatchArgs) ToDeviceTaintPatchPtrOutput() DeviceTaintPatchPtrOutput
func (DeviceTaintPatchArgs) ToDeviceTaintPatchPtrOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintPatchArgs) ToDeviceTaintPatchPtrOutputWithContext(ctx context.Context) DeviceTaintPatchPtrOutput
type DeviceTaintPatchArray ¶ added in v4.23.0
type DeviceTaintPatchArray []DeviceTaintPatchInput
func (DeviceTaintPatchArray) ElementType ¶ added in v4.23.0
func (DeviceTaintPatchArray) ElementType() reflect.Type
func (DeviceTaintPatchArray) ToDeviceTaintPatchArrayOutput ¶ added in v4.23.0
func (i DeviceTaintPatchArray) ToDeviceTaintPatchArrayOutput() DeviceTaintPatchArrayOutput
func (DeviceTaintPatchArray) ToDeviceTaintPatchArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintPatchArray) ToDeviceTaintPatchArrayOutputWithContext(ctx context.Context) DeviceTaintPatchArrayOutput
type DeviceTaintPatchArrayInput ¶ added in v4.23.0
type DeviceTaintPatchArrayInput interface {
pulumi.Input
ToDeviceTaintPatchArrayOutput() DeviceTaintPatchArrayOutput
ToDeviceTaintPatchArrayOutputWithContext(context.Context) DeviceTaintPatchArrayOutput
}
DeviceTaintPatchArrayInput is an input type that accepts DeviceTaintPatchArray and DeviceTaintPatchArrayOutput values. You can construct a concrete instance of `DeviceTaintPatchArrayInput` via:
DeviceTaintPatchArray{ DeviceTaintPatchArgs{...} }
type DeviceTaintPatchArrayOutput ¶ added in v4.23.0
type DeviceTaintPatchArrayOutput struct{ *pulumi.OutputState }
func (DeviceTaintPatchArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintPatchArrayOutput) ElementType() reflect.Type
func (DeviceTaintPatchArrayOutput) Index ¶ added in v4.23.0
func (o DeviceTaintPatchArrayOutput) Index(i pulumi.IntInput) DeviceTaintPatchOutput
func (DeviceTaintPatchArrayOutput) ToDeviceTaintPatchArrayOutput ¶ added in v4.23.0
func (o DeviceTaintPatchArrayOutput) ToDeviceTaintPatchArrayOutput() DeviceTaintPatchArrayOutput
func (DeviceTaintPatchArrayOutput) ToDeviceTaintPatchArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintPatchArrayOutput) ToDeviceTaintPatchArrayOutputWithContext(ctx context.Context) DeviceTaintPatchArrayOutput
type DeviceTaintPatchInput ¶ added in v4.23.0
type DeviceTaintPatchInput interface {
pulumi.Input
ToDeviceTaintPatchOutput() DeviceTaintPatchOutput
ToDeviceTaintPatchOutputWithContext(context.Context) DeviceTaintPatchOutput
}
DeviceTaintPatchInput is an input type that accepts DeviceTaintPatchArgs and DeviceTaintPatchOutput values. You can construct a concrete instance of `DeviceTaintPatchInput` via:
DeviceTaintPatchArgs{...}
type DeviceTaintPatchOutput ¶ added in v4.23.0
type DeviceTaintPatchOutput struct{ *pulumi.OutputState }
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
func (DeviceTaintPatchOutput) Effect ¶ added in v4.23.0
func (o DeviceTaintPatchOutput) Effect() pulumi.StringPtrOutput
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
func (DeviceTaintPatchOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintPatchOutput) ElementType() reflect.Type
func (DeviceTaintPatchOutput) Key ¶ added in v4.23.0
func (o DeviceTaintPatchOutput) Key() pulumi.StringPtrOutput
The taint key to be applied to a device. Must be a label name.
func (DeviceTaintPatchOutput) TimeAdded ¶ added in v4.23.0
func (o DeviceTaintPatchOutput) TimeAdded() pulumi.StringPtrOutput
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
func (DeviceTaintPatchOutput) ToDeviceTaintPatchOutput ¶ added in v4.23.0
func (o DeviceTaintPatchOutput) ToDeviceTaintPatchOutput() DeviceTaintPatchOutput
func (DeviceTaintPatchOutput) ToDeviceTaintPatchOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintPatchOutput) ToDeviceTaintPatchOutputWithContext(ctx context.Context) DeviceTaintPatchOutput
func (DeviceTaintPatchOutput) ToDeviceTaintPatchPtrOutput ¶ added in v4.23.0
func (o DeviceTaintPatchOutput) ToDeviceTaintPatchPtrOutput() DeviceTaintPatchPtrOutput
func (DeviceTaintPatchOutput) ToDeviceTaintPatchPtrOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintPatchOutput) ToDeviceTaintPatchPtrOutputWithContext(ctx context.Context) DeviceTaintPatchPtrOutput
func (DeviceTaintPatchOutput) Value ¶ added in v4.23.0
func (o DeviceTaintPatchOutput) Value() pulumi.StringPtrOutput
The taint value corresponding to the taint key. Must be a label value.
type DeviceTaintPatchPtrInput ¶ added in v4.23.0
type DeviceTaintPatchPtrInput interface {
pulumi.Input
ToDeviceTaintPatchPtrOutput() DeviceTaintPatchPtrOutput
ToDeviceTaintPatchPtrOutputWithContext(context.Context) DeviceTaintPatchPtrOutput
}
DeviceTaintPatchPtrInput is an input type that accepts DeviceTaintPatchArgs, DeviceTaintPatchPtr and DeviceTaintPatchPtrOutput values. You can construct a concrete instance of `DeviceTaintPatchPtrInput` via:
DeviceTaintPatchArgs{...}
or:
nil
func DeviceTaintPatchPtr ¶ added in v4.23.0
func DeviceTaintPatchPtr(v *DeviceTaintPatchArgs) DeviceTaintPatchPtrInput
type DeviceTaintPatchPtrOutput ¶ added in v4.23.0
type DeviceTaintPatchPtrOutput struct{ *pulumi.OutputState }
func (DeviceTaintPatchPtrOutput) Effect ¶ added in v4.23.0
func (o DeviceTaintPatchPtrOutput) Effect() pulumi.StringPtrOutput
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
func (DeviceTaintPatchPtrOutput) Elem ¶ added in v4.23.0
func (o DeviceTaintPatchPtrOutput) Elem() DeviceTaintPatchOutput
func (DeviceTaintPatchPtrOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintPatchPtrOutput) ElementType() reflect.Type
func (DeviceTaintPatchPtrOutput) Key ¶ added in v4.23.0
func (o DeviceTaintPatchPtrOutput) Key() pulumi.StringPtrOutput
The taint key to be applied to a device. Must be a label name.
func (DeviceTaintPatchPtrOutput) TimeAdded ¶ added in v4.23.0
func (o DeviceTaintPatchPtrOutput) TimeAdded() pulumi.StringPtrOutput
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
func (DeviceTaintPatchPtrOutput) ToDeviceTaintPatchPtrOutput ¶ added in v4.23.0
func (o DeviceTaintPatchPtrOutput) ToDeviceTaintPatchPtrOutput() DeviceTaintPatchPtrOutput
func (DeviceTaintPatchPtrOutput) ToDeviceTaintPatchPtrOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintPatchPtrOutput) ToDeviceTaintPatchPtrOutputWithContext(ctx context.Context) DeviceTaintPatchPtrOutput
func (DeviceTaintPatchPtrOutput) Value ¶ added in v4.23.0
func (o DeviceTaintPatchPtrOutput) Value() pulumi.StringPtrOutput
The taint value corresponding to the taint key. Must be a label value.
type DeviceTaintRule ¶ added in v4.23.0
type DeviceTaintRule 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 specifies the selector and one taint.
//
// Changing the spec automatically increments the metadata.generation number.
Spec DeviceTaintRuleSpecOutput `pulumi:"spec"`
}
DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.
func GetDeviceTaintRule ¶ added in v4.23.0
func GetDeviceTaintRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceTaintRuleState, opts ...pulumi.ResourceOption) (*DeviceTaintRule, error)
GetDeviceTaintRule gets an existing DeviceTaintRule 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 NewDeviceTaintRule ¶ added in v4.23.0
func NewDeviceTaintRule(ctx *pulumi.Context, name string, args *DeviceTaintRuleArgs, opts ...pulumi.ResourceOption) (*DeviceTaintRule, error)
NewDeviceTaintRule registers a new resource with the given unique name, arguments, and options.
func (*DeviceTaintRule) ElementType ¶ added in v4.23.0
func (*DeviceTaintRule) ElementType() reflect.Type
func (*DeviceTaintRule) ToDeviceTaintRuleOutput ¶ added in v4.23.0
func (i *DeviceTaintRule) ToDeviceTaintRuleOutput() DeviceTaintRuleOutput
func (*DeviceTaintRule) ToDeviceTaintRuleOutputWithContext ¶ added in v4.23.0
func (i *DeviceTaintRule) ToDeviceTaintRuleOutputWithContext(ctx context.Context) DeviceTaintRuleOutput
type DeviceTaintRuleArgs ¶ added in v4.23.0
type DeviceTaintRuleArgs 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 specifies the selector and one taint.
//
// Changing the spec automatically increments the metadata.generation number.
Spec DeviceTaintRuleSpecInput
}
The set of arguments for constructing a DeviceTaintRule resource.
func (DeviceTaintRuleArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleArgs) ElementType() reflect.Type
type DeviceTaintRuleArray ¶ added in v4.23.0
type DeviceTaintRuleArray []DeviceTaintRuleInput
func (DeviceTaintRuleArray) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleArray) ElementType() reflect.Type
func (DeviceTaintRuleArray) ToDeviceTaintRuleArrayOutput ¶ added in v4.23.0
func (i DeviceTaintRuleArray) ToDeviceTaintRuleArrayOutput() DeviceTaintRuleArrayOutput
func (DeviceTaintRuleArray) ToDeviceTaintRuleArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRuleArray) ToDeviceTaintRuleArrayOutputWithContext(ctx context.Context) DeviceTaintRuleArrayOutput
type DeviceTaintRuleArrayInput ¶ added in v4.23.0
type DeviceTaintRuleArrayInput interface {
pulumi.Input
ToDeviceTaintRuleArrayOutput() DeviceTaintRuleArrayOutput
ToDeviceTaintRuleArrayOutputWithContext(context.Context) DeviceTaintRuleArrayOutput
}
DeviceTaintRuleArrayInput is an input type that accepts DeviceTaintRuleArray and DeviceTaintRuleArrayOutput values. You can construct a concrete instance of `DeviceTaintRuleArrayInput` via:
DeviceTaintRuleArray{ DeviceTaintRuleArgs{...} }
type DeviceTaintRuleArrayOutput ¶ added in v4.23.0
type DeviceTaintRuleArrayOutput struct{ *pulumi.OutputState }
func (DeviceTaintRuleArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleArrayOutput) ElementType() reflect.Type
func (DeviceTaintRuleArrayOutput) Index ¶ added in v4.23.0
func (o DeviceTaintRuleArrayOutput) Index(i pulumi.IntInput) DeviceTaintRuleOutput
func (DeviceTaintRuleArrayOutput) ToDeviceTaintRuleArrayOutput ¶ added in v4.23.0
func (o DeviceTaintRuleArrayOutput) ToDeviceTaintRuleArrayOutput() DeviceTaintRuleArrayOutput
func (DeviceTaintRuleArrayOutput) ToDeviceTaintRuleArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleArrayOutput) ToDeviceTaintRuleArrayOutputWithContext(ctx context.Context) DeviceTaintRuleArrayOutput
type DeviceTaintRuleInput ¶ added in v4.23.0
type DeviceTaintRuleInput interface {
pulumi.Input
ToDeviceTaintRuleOutput() DeviceTaintRuleOutput
ToDeviceTaintRuleOutputWithContext(ctx context.Context) DeviceTaintRuleOutput
}
type DeviceTaintRuleList ¶ added in v4.23.0
type DeviceTaintRuleList 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 DeviceTaintRules.
Items DeviceTaintRuleTypeArrayOutput `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"`
}
DeviceTaintRuleList is a collection of DeviceTaintRules.
func GetDeviceTaintRuleList ¶ added in v4.23.0
func GetDeviceTaintRuleList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceTaintRuleListState, opts ...pulumi.ResourceOption) (*DeviceTaintRuleList, error)
GetDeviceTaintRuleList gets an existing DeviceTaintRuleList 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 NewDeviceTaintRuleList ¶ added in v4.23.0
func NewDeviceTaintRuleList(ctx *pulumi.Context, name string, args *DeviceTaintRuleListArgs, opts ...pulumi.ResourceOption) (*DeviceTaintRuleList, error)
NewDeviceTaintRuleList registers a new resource with the given unique name, arguments, and options.
func (*DeviceTaintRuleList) ElementType ¶ added in v4.23.0
func (*DeviceTaintRuleList) ElementType() reflect.Type
func (*DeviceTaintRuleList) ToDeviceTaintRuleListOutput ¶ added in v4.23.0
func (i *DeviceTaintRuleList) ToDeviceTaintRuleListOutput() DeviceTaintRuleListOutput
func (*DeviceTaintRuleList) ToDeviceTaintRuleListOutputWithContext ¶ added in v4.23.0
func (i *DeviceTaintRuleList) ToDeviceTaintRuleListOutputWithContext(ctx context.Context) DeviceTaintRuleListOutput
type DeviceTaintRuleListArgs ¶ added in v4.23.0
type DeviceTaintRuleListArgs 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 DeviceTaintRules.
Items DeviceTaintRuleTypeArrayInput
// 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 DeviceTaintRuleList resource.
func (DeviceTaintRuleListArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleListArgs) ElementType() reflect.Type
type DeviceTaintRuleListArray ¶ added in v4.23.0
type DeviceTaintRuleListArray []DeviceTaintRuleListInput
func (DeviceTaintRuleListArray) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleListArray) ElementType() reflect.Type
func (DeviceTaintRuleListArray) ToDeviceTaintRuleListArrayOutput ¶ added in v4.23.0
func (i DeviceTaintRuleListArray) ToDeviceTaintRuleListArrayOutput() DeviceTaintRuleListArrayOutput
func (DeviceTaintRuleListArray) ToDeviceTaintRuleListArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRuleListArray) ToDeviceTaintRuleListArrayOutputWithContext(ctx context.Context) DeviceTaintRuleListArrayOutput
type DeviceTaintRuleListArrayInput ¶ added in v4.23.0
type DeviceTaintRuleListArrayInput interface {
pulumi.Input
ToDeviceTaintRuleListArrayOutput() DeviceTaintRuleListArrayOutput
ToDeviceTaintRuleListArrayOutputWithContext(context.Context) DeviceTaintRuleListArrayOutput
}
DeviceTaintRuleListArrayInput is an input type that accepts DeviceTaintRuleListArray and DeviceTaintRuleListArrayOutput values. You can construct a concrete instance of `DeviceTaintRuleListArrayInput` via:
DeviceTaintRuleListArray{ DeviceTaintRuleListArgs{...} }
type DeviceTaintRuleListArrayOutput ¶ added in v4.23.0
type DeviceTaintRuleListArrayOutput struct{ *pulumi.OutputState }
func (DeviceTaintRuleListArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleListArrayOutput) ElementType() reflect.Type
func (DeviceTaintRuleListArrayOutput) Index ¶ added in v4.23.0
func (o DeviceTaintRuleListArrayOutput) Index(i pulumi.IntInput) DeviceTaintRuleListOutput
func (DeviceTaintRuleListArrayOutput) ToDeviceTaintRuleListArrayOutput ¶ added in v4.23.0
func (o DeviceTaintRuleListArrayOutput) ToDeviceTaintRuleListArrayOutput() DeviceTaintRuleListArrayOutput
func (DeviceTaintRuleListArrayOutput) ToDeviceTaintRuleListArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleListArrayOutput) ToDeviceTaintRuleListArrayOutputWithContext(ctx context.Context) DeviceTaintRuleListArrayOutput
type DeviceTaintRuleListInput ¶ added in v4.23.0
type DeviceTaintRuleListInput interface {
pulumi.Input
ToDeviceTaintRuleListOutput() DeviceTaintRuleListOutput
ToDeviceTaintRuleListOutputWithContext(ctx context.Context) DeviceTaintRuleListOutput
}
type DeviceTaintRuleListMap ¶ added in v4.23.0
type DeviceTaintRuleListMap map[string]DeviceTaintRuleListInput
func (DeviceTaintRuleListMap) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleListMap) ElementType() reflect.Type
func (DeviceTaintRuleListMap) ToDeviceTaintRuleListMapOutput ¶ added in v4.23.0
func (i DeviceTaintRuleListMap) ToDeviceTaintRuleListMapOutput() DeviceTaintRuleListMapOutput
func (DeviceTaintRuleListMap) ToDeviceTaintRuleListMapOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRuleListMap) ToDeviceTaintRuleListMapOutputWithContext(ctx context.Context) DeviceTaintRuleListMapOutput
type DeviceTaintRuleListMapInput ¶ added in v4.23.0
type DeviceTaintRuleListMapInput interface {
pulumi.Input
ToDeviceTaintRuleListMapOutput() DeviceTaintRuleListMapOutput
ToDeviceTaintRuleListMapOutputWithContext(context.Context) DeviceTaintRuleListMapOutput
}
DeviceTaintRuleListMapInput is an input type that accepts DeviceTaintRuleListMap and DeviceTaintRuleListMapOutput values. You can construct a concrete instance of `DeviceTaintRuleListMapInput` via:
DeviceTaintRuleListMap{ "key": DeviceTaintRuleListArgs{...} }
type DeviceTaintRuleListMapOutput ¶ added in v4.23.0
type DeviceTaintRuleListMapOutput struct{ *pulumi.OutputState }
func (DeviceTaintRuleListMapOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleListMapOutput) ElementType() reflect.Type
func (DeviceTaintRuleListMapOutput) MapIndex ¶ added in v4.23.0
func (o DeviceTaintRuleListMapOutput) MapIndex(k pulumi.StringInput) DeviceTaintRuleListOutput
func (DeviceTaintRuleListMapOutput) ToDeviceTaintRuleListMapOutput ¶ added in v4.23.0
func (o DeviceTaintRuleListMapOutput) ToDeviceTaintRuleListMapOutput() DeviceTaintRuleListMapOutput
func (DeviceTaintRuleListMapOutput) ToDeviceTaintRuleListMapOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleListMapOutput) ToDeviceTaintRuleListMapOutputWithContext(ctx context.Context) DeviceTaintRuleListMapOutput
type DeviceTaintRuleListOutput ¶ added in v4.23.0
type DeviceTaintRuleListOutput struct{ *pulumi.OutputState }
func (DeviceTaintRuleListOutput) ApiVersion ¶ added in v4.23.0
func (o DeviceTaintRuleListOutput) 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 (DeviceTaintRuleListOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleListOutput) ElementType() reflect.Type
func (DeviceTaintRuleListOutput) Items ¶ added in v4.23.0
func (o DeviceTaintRuleListOutput) Items() DeviceTaintRuleTypeArrayOutput
Items is the list of DeviceTaintRules.
func (DeviceTaintRuleListOutput) Kind ¶ added in v4.23.0
func (o DeviceTaintRuleListOutput) Kind() pulumi.StringOutput
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 (DeviceTaintRuleListOutput) Metadata ¶ added in v4.23.0
func (o DeviceTaintRuleListOutput) Metadata() metav1.ListMetaOutput
Standard list metadata
func (DeviceTaintRuleListOutput) ToDeviceTaintRuleListOutput ¶ added in v4.23.0
func (o DeviceTaintRuleListOutput) ToDeviceTaintRuleListOutput() DeviceTaintRuleListOutput
func (DeviceTaintRuleListOutput) ToDeviceTaintRuleListOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleListOutput) ToDeviceTaintRuleListOutputWithContext(ctx context.Context) DeviceTaintRuleListOutput
type DeviceTaintRuleListState ¶ added in v4.23.0
type DeviceTaintRuleListState struct {
}
func (DeviceTaintRuleListState) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleListState) ElementType() reflect.Type
type DeviceTaintRuleListType ¶ added in v4.23.0
type DeviceTaintRuleListType 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 DeviceTaintRules.
Items []DeviceTaintRuleType `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"`
}
DeviceTaintRuleList is a collection of DeviceTaintRules.
type DeviceTaintRuleListTypeArgs ¶ added in v4.23.0
type DeviceTaintRuleListTypeArgs 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 DeviceTaintRules.
Items DeviceTaintRuleTypeArrayInput `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"`
}
DeviceTaintRuleList is a collection of DeviceTaintRules.
func (DeviceTaintRuleListTypeArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleListTypeArgs) ElementType() reflect.Type
func (DeviceTaintRuleListTypeArgs) ToDeviceTaintRuleListTypeOutput ¶ added in v4.23.0
func (i DeviceTaintRuleListTypeArgs) ToDeviceTaintRuleListTypeOutput() DeviceTaintRuleListTypeOutput
func (DeviceTaintRuleListTypeArgs) ToDeviceTaintRuleListTypeOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRuleListTypeArgs) ToDeviceTaintRuleListTypeOutputWithContext(ctx context.Context) DeviceTaintRuleListTypeOutput
type DeviceTaintRuleListTypeInput ¶ added in v4.23.0
type DeviceTaintRuleListTypeInput interface {
pulumi.Input
ToDeviceTaintRuleListTypeOutput() DeviceTaintRuleListTypeOutput
ToDeviceTaintRuleListTypeOutputWithContext(context.Context) DeviceTaintRuleListTypeOutput
}
DeviceTaintRuleListTypeInput is an input type that accepts DeviceTaintRuleListTypeArgs and DeviceTaintRuleListTypeOutput values. You can construct a concrete instance of `DeviceTaintRuleListTypeInput` via:
DeviceTaintRuleListTypeArgs{...}
type DeviceTaintRuleListTypeOutput ¶ added in v4.23.0
type DeviceTaintRuleListTypeOutput struct{ *pulumi.OutputState }
DeviceTaintRuleList is a collection of DeviceTaintRules.
func (DeviceTaintRuleListTypeOutput) ApiVersion ¶ added in v4.23.0
func (o DeviceTaintRuleListTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 (DeviceTaintRuleListTypeOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleListTypeOutput) ElementType() reflect.Type
func (DeviceTaintRuleListTypeOutput) Items ¶ added in v4.23.0
func (o DeviceTaintRuleListTypeOutput) Items() DeviceTaintRuleTypeArrayOutput
Items is the list of DeviceTaintRules.
func (DeviceTaintRuleListTypeOutput) Kind ¶ added in v4.23.0
func (o DeviceTaintRuleListTypeOutput) Kind() pulumi.StringPtrOutput
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 (DeviceTaintRuleListTypeOutput) Metadata ¶ added in v4.23.0
func (o DeviceTaintRuleListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard list metadata
func (DeviceTaintRuleListTypeOutput) ToDeviceTaintRuleListTypeOutput ¶ added in v4.23.0
func (o DeviceTaintRuleListTypeOutput) ToDeviceTaintRuleListTypeOutput() DeviceTaintRuleListTypeOutput
func (DeviceTaintRuleListTypeOutput) ToDeviceTaintRuleListTypeOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleListTypeOutput) ToDeviceTaintRuleListTypeOutputWithContext(ctx context.Context) DeviceTaintRuleListTypeOutput
type DeviceTaintRuleMap ¶ added in v4.23.0
type DeviceTaintRuleMap map[string]DeviceTaintRuleInput
func (DeviceTaintRuleMap) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleMap) ElementType() reflect.Type
func (DeviceTaintRuleMap) ToDeviceTaintRuleMapOutput ¶ added in v4.23.0
func (i DeviceTaintRuleMap) ToDeviceTaintRuleMapOutput() DeviceTaintRuleMapOutput
func (DeviceTaintRuleMap) ToDeviceTaintRuleMapOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRuleMap) ToDeviceTaintRuleMapOutputWithContext(ctx context.Context) DeviceTaintRuleMapOutput
type DeviceTaintRuleMapInput ¶ added in v4.23.0
type DeviceTaintRuleMapInput interface {
pulumi.Input
ToDeviceTaintRuleMapOutput() DeviceTaintRuleMapOutput
ToDeviceTaintRuleMapOutputWithContext(context.Context) DeviceTaintRuleMapOutput
}
DeviceTaintRuleMapInput is an input type that accepts DeviceTaintRuleMap and DeviceTaintRuleMapOutput values. You can construct a concrete instance of `DeviceTaintRuleMapInput` via:
DeviceTaintRuleMap{ "key": DeviceTaintRuleArgs{...} }
type DeviceTaintRuleMapOutput ¶ added in v4.23.0
type DeviceTaintRuleMapOutput struct{ *pulumi.OutputState }
func (DeviceTaintRuleMapOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleMapOutput) ElementType() reflect.Type
func (DeviceTaintRuleMapOutput) MapIndex ¶ added in v4.23.0
func (o DeviceTaintRuleMapOutput) MapIndex(k pulumi.StringInput) DeviceTaintRuleOutput
func (DeviceTaintRuleMapOutput) ToDeviceTaintRuleMapOutput ¶ added in v4.23.0
func (o DeviceTaintRuleMapOutput) ToDeviceTaintRuleMapOutput() DeviceTaintRuleMapOutput
func (DeviceTaintRuleMapOutput) ToDeviceTaintRuleMapOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleMapOutput) ToDeviceTaintRuleMapOutputWithContext(ctx context.Context) DeviceTaintRuleMapOutput
type DeviceTaintRuleOutput ¶ added in v4.23.0
type DeviceTaintRuleOutput struct{ *pulumi.OutputState }
func (DeviceTaintRuleOutput) ApiVersion ¶ added in v4.23.0
func (o DeviceTaintRuleOutput) 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 (DeviceTaintRuleOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleOutput) ElementType() reflect.Type
func (DeviceTaintRuleOutput) Kind ¶ added in v4.23.0
func (o DeviceTaintRuleOutput) Kind() pulumi.StringOutput
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 (DeviceTaintRuleOutput) Metadata ¶ added in v4.23.0
func (o DeviceTaintRuleOutput) Metadata() metav1.ObjectMetaOutput
Standard object metadata
func (DeviceTaintRuleOutput) Spec ¶ added in v4.23.0
func (o DeviceTaintRuleOutput) Spec() DeviceTaintRuleSpecOutput
Spec specifies the selector and one taint.
Changing the spec automatically increments the metadata.generation number.
func (DeviceTaintRuleOutput) ToDeviceTaintRuleOutput ¶ added in v4.23.0
func (o DeviceTaintRuleOutput) ToDeviceTaintRuleOutput() DeviceTaintRuleOutput
func (DeviceTaintRuleOutput) ToDeviceTaintRuleOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleOutput) ToDeviceTaintRuleOutputWithContext(ctx context.Context) DeviceTaintRuleOutput
type DeviceTaintRulePatch ¶ added in v4.23.0
type DeviceTaintRulePatch 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 specifies the selector and one taint.
//
// Changing the spec automatically increments the metadata.generation number.
Spec DeviceTaintRuleSpecPatchPtrOutput `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. DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.
func GetDeviceTaintRulePatch ¶ added in v4.23.0
func GetDeviceTaintRulePatch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceTaintRulePatchState, opts ...pulumi.ResourceOption) (*DeviceTaintRulePatch, error)
GetDeviceTaintRulePatch gets an existing DeviceTaintRulePatch 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 NewDeviceTaintRulePatch ¶ added in v4.23.0
func NewDeviceTaintRulePatch(ctx *pulumi.Context, name string, args *DeviceTaintRulePatchArgs, opts ...pulumi.ResourceOption) (*DeviceTaintRulePatch, error)
NewDeviceTaintRulePatch registers a new resource with the given unique name, arguments, and options.
func (*DeviceTaintRulePatch) ElementType ¶ added in v4.23.0
func (*DeviceTaintRulePatch) ElementType() reflect.Type
func (*DeviceTaintRulePatch) ToDeviceTaintRulePatchOutput ¶ added in v4.23.0
func (i *DeviceTaintRulePatch) ToDeviceTaintRulePatchOutput() DeviceTaintRulePatchOutput
func (*DeviceTaintRulePatch) ToDeviceTaintRulePatchOutputWithContext ¶ added in v4.23.0
func (i *DeviceTaintRulePatch) ToDeviceTaintRulePatchOutputWithContext(ctx context.Context) DeviceTaintRulePatchOutput
type DeviceTaintRulePatchArgs ¶ added in v4.23.0
type DeviceTaintRulePatchArgs 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 specifies the selector and one taint.
//
// Changing the spec automatically increments the metadata.generation number.
Spec DeviceTaintRuleSpecPatchPtrInput
}
The set of arguments for constructing a DeviceTaintRulePatch resource.
func (DeviceTaintRulePatchArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintRulePatchArgs) ElementType() reflect.Type
type DeviceTaintRulePatchArray ¶ added in v4.23.0
type DeviceTaintRulePatchArray []DeviceTaintRulePatchInput
func (DeviceTaintRulePatchArray) ElementType ¶ added in v4.23.0
func (DeviceTaintRulePatchArray) ElementType() reflect.Type
func (DeviceTaintRulePatchArray) ToDeviceTaintRulePatchArrayOutput ¶ added in v4.23.0
func (i DeviceTaintRulePatchArray) ToDeviceTaintRulePatchArrayOutput() DeviceTaintRulePatchArrayOutput
func (DeviceTaintRulePatchArray) ToDeviceTaintRulePatchArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRulePatchArray) ToDeviceTaintRulePatchArrayOutputWithContext(ctx context.Context) DeviceTaintRulePatchArrayOutput
type DeviceTaintRulePatchArrayInput ¶ added in v4.23.0
type DeviceTaintRulePatchArrayInput interface {
pulumi.Input
ToDeviceTaintRulePatchArrayOutput() DeviceTaintRulePatchArrayOutput
ToDeviceTaintRulePatchArrayOutputWithContext(context.Context) DeviceTaintRulePatchArrayOutput
}
DeviceTaintRulePatchArrayInput is an input type that accepts DeviceTaintRulePatchArray and DeviceTaintRulePatchArrayOutput values. You can construct a concrete instance of `DeviceTaintRulePatchArrayInput` via:
DeviceTaintRulePatchArray{ DeviceTaintRulePatchArgs{...} }
type DeviceTaintRulePatchArrayOutput ¶ added in v4.23.0
type DeviceTaintRulePatchArrayOutput struct{ *pulumi.OutputState }
func (DeviceTaintRulePatchArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRulePatchArrayOutput) ElementType() reflect.Type
func (DeviceTaintRulePatchArrayOutput) Index ¶ added in v4.23.0
func (o DeviceTaintRulePatchArrayOutput) Index(i pulumi.IntInput) DeviceTaintRulePatchOutput
func (DeviceTaintRulePatchArrayOutput) ToDeviceTaintRulePatchArrayOutput ¶ added in v4.23.0
func (o DeviceTaintRulePatchArrayOutput) ToDeviceTaintRulePatchArrayOutput() DeviceTaintRulePatchArrayOutput
func (DeviceTaintRulePatchArrayOutput) ToDeviceTaintRulePatchArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRulePatchArrayOutput) ToDeviceTaintRulePatchArrayOutputWithContext(ctx context.Context) DeviceTaintRulePatchArrayOutput
type DeviceTaintRulePatchInput ¶ added in v4.23.0
type DeviceTaintRulePatchInput interface {
pulumi.Input
ToDeviceTaintRulePatchOutput() DeviceTaintRulePatchOutput
ToDeviceTaintRulePatchOutputWithContext(ctx context.Context) DeviceTaintRulePatchOutput
}
type DeviceTaintRulePatchMap ¶ added in v4.23.0
type DeviceTaintRulePatchMap map[string]DeviceTaintRulePatchInput
func (DeviceTaintRulePatchMap) ElementType ¶ added in v4.23.0
func (DeviceTaintRulePatchMap) ElementType() reflect.Type
func (DeviceTaintRulePatchMap) ToDeviceTaintRulePatchMapOutput ¶ added in v4.23.0
func (i DeviceTaintRulePatchMap) ToDeviceTaintRulePatchMapOutput() DeviceTaintRulePatchMapOutput
func (DeviceTaintRulePatchMap) ToDeviceTaintRulePatchMapOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRulePatchMap) ToDeviceTaintRulePatchMapOutputWithContext(ctx context.Context) DeviceTaintRulePatchMapOutput
type DeviceTaintRulePatchMapInput ¶ added in v4.23.0
type DeviceTaintRulePatchMapInput interface {
pulumi.Input
ToDeviceTaintRulePatchMapOutput() DeviceTaintRulePatchMapOutput
ToDeviceTaintRulePatchMapOutputWithContext(context.Context) DeviceTaintRulePatchMapOutput
}
DeviceTaintRulePatchMapInput is an input type that accepts DeviceTaintRulePatchMap and DeviceTaintRulePatchMapOutput values. You can construct a concrete instance of `DeviceTaintRulePatchMapInput` via:
DeviceTaintRulePatchMap{ "key": DeviceTaintRulePatchArgs{...} }
type DeviceTaintRulePatchMapOutput ¶ added in v4.23.0
type DeviceTaintRulePatchMapOutput struct{ *pulumi.OutputState }
func (DeviceTaintRulePatchMapOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRulePatchMapOutput) ElementType() reflect.Type
func (DeviceTaintRulePatchMapOutput) MapIndex ¶ added in v4.23.0
func (o DeviceTaintRulePatchMapOutput) MapIndex(k pulumi.StringInput) DeviceTaintRulePatchOutput
func (DeviceTaintRulePatchMapOutput) ToDeviceTaintRulePatchMapOutput ¶ added in v4.23.0
func (o DeviceTaintRulePatchMapOutput) ToDeviceTaintRulePatchMapOutput() DeviceTaintRulePatchMapOutput
func (DeviceTaintRulePatchMapOutput) ToDeviceTaintRulePatchMapOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRulePatchMapOutput) ToDeviceTaintRulePatchMapOutputWithContext(ctx context.Context) DeviceTaintRulePatchMapOutput
type DeviceTaintRulePatchOutput ¶ added in v4.23.0
type DeviceTaintRulePatchOutput struct{ *pulumi.OutputState }
func (DeviceTaintRulePatchOutput) ApiVersion ¶ added in v4.23.0
func (o DeviceTaintRulePatchOutput) ApiVersion() pulumi.StringPtrOutput
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 (DeviceTaintRulePatchOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRulePatchOutput) ElementType() reflect.Type
func (DeviceTaintRulePatchOutput) Kind ¶ added in v4.23.0
func (o DeviceTaintRulePatchOutput) Kind() pulumi.StringPtrOutput
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 (DeviceTaintRulePatchOutput) Metadata ¶ added in v4.23.0
func (o DeviceTaintRulePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata
func (DeviceTaintRulePatchOutput) Spec ¶ added in v4.23.0
func (o DeviceTaintRulePatchOutput) Spec() DeviceTaintRuleSpecPatchPtrOutput
Spec specifies the selector and one taint.
Changing the spec automatically increments the metadata.generation number.
func (DeviceTaintRulePatchOutput) ToDeviceTaintRulePatchOutput ¶ added in v4.23.0
func (o DeviceTaintRulePatchOutput) ToDeviceTaintRulePatchOutput() DeviceTaintRulePatchOutput
func (DeviceTaintRulePatchOutput) ToDeviceTaintRulePatchOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRulePatchOutput) ToDeviceTaintRulePatchOutputWithContext(ctx context.Context) DeviceTaintRulePatchOutput
type DeviceTaintRulePatchState ¶ added in v4.23.0
type DeviceTaintRulePatchState struct {
}
func (DeviceTaintRulePatchState) ElementType ¶ added in v4.23.0
func (DeviceTaintRulePatchState) ElementType() reflect.Type
type DeviceTaintRulePatchType ¶ added in v4.23.0
type DeviceTaintRulePatchType 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 specifies the selector and one taint.
//
// Changing the spec automatically increments the metadata.generation number.
Spec *DeviceTaintRuleSpecPatch `pulumi:"spec"`
}
DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.
type DeviceTaintRulePatchTypeArgs ¶ added in v4.23.0
type DeviceTaintRulePatchTypeArgs 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 specifies the selector and one taint.
//
// Changing the spec automatically increments the metadata.generation number.
Spec DeviceTaintRuleSpecPatchPtrInput `pulumi:"spec"`
}
DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.
func (DeviceTaintRulePatchTypeArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintRulePatchTypeArgs) ElementType() reflect.Type
func (DeviceTaintRulePatchTypeArgs) ToDeviceTaintRulePatchTypeOutput ¶ added in v4.23.0
func (i DeviceTaintRulePatchTypeArgs) ToDeviceTaintRulePatchTypeOutput() DeviceTaintRulePatchTypeOutput
func (DeviceTaintRulePatchTypeArgs) ToDeviceTaintRulePatchTypeOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRulePatchTypeArgs) ToDeviceTaintRulePatchTypeOutputWithContext(ctx context.Context) DeviceTaintRulePatchTypeOutput
type DeviceTaintRulePatchTypeInput ¶ added in v4.23.0
type DeviceTaintRulePatchTypeInput interface {
pulumi.Input
ToDeviceTaintRulePatchTypeOutput() DeviceTaintRulePatchTypeOutput
ToDeviceTaintRulePatchTypeOutputWithContext(context.Context) DeviceTaintRulePatchTypeOutput
}
DeviceTaintRulePatchTypeInput is an input type that accepts DeviceTaintRulePatchTypeArgs and DeviceTaintRulePatchTypeOutput values. You can construct a concrete instance of `DeviceTaintRulePatchTypeInput` via:
DeviceTaintRulePatchTypeArgs{...}
type DeviceTaintRulePatchTypeOutput ¶ added in v4.23.0
type DeviceTaintRulePatchTypeOutput struct{ *pulumi.OutputState }
DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.
func (DeviceTaintRulePatchTypeOutput) ApiVersion ¶ added in v4.23.0
func (o DeviceTaintRulePatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 (DeviceTaintRulePatchTypeOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRulePatchTypeOutput) ElementType() reflect.Type
func (DeviceTaintRulePatchTypeOutput) Kind ¶ added in v4.23.0
func (o DeviceTaintRulePatchTypeOutput) Kind() pulumi.StringPtrOutput
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 (DeviceTaintRulePatchTypeOutput) Metadata ¶ added in v4.23.0
func (o DeviceTaintRulePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata
func (DeviceTaintRulePatchTypeOutput) Spec ¶ added in v4.23.0
func (o DeviceTaintRulePatchTypeOutput) Spec() DeviceTaintRuleSpecPatchPtrOutput
Spec specifies the selector and one taint.
Changing the spec automatically increments the metadata.generation number.
func (DeviceTaintRulePatchTypeOutput) ToDeviceTaintRulePatchTypeOutput ¶ added in v4.23.0
func (o DeviceTaintRulePatchTypeOutput) ToDeviceTaintRulePatchTypeOutput() DeviceTaintRulePatchTypeOutput
func (DeviceTaintRulePatchTypeOutput) ToDeviceTaintRulePatchTypeOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRulePatchTypeOutput) ToDeviceTaintRulePatchTypeOutputWithContext(ctx context.Context) DeviceTaintRulePatchTypeOutput
type DeviceTaintRuleSpec ¶ added in v4.23.0
type DeviceTaintRuleSpec struct {
// DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
DeviceSelector *DeviceTaintSelector `pulumi:"deviceSelector"`
// The taint that gets applied to matching devices.
Taint DeviceTaint `pulumi:"taint"`
}
DeviceTaintRuleSpec specifies the selector and one taint.
type DeviceTaintRuleSpecArgs ¶ added in v4.23.0
type DeviceTaintRuleSpecArgs struct {
// DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
DeviceSelector DeviceTaintSelectorPtrInput `pulumi:"deviceSelector"`
// The taint that gets applied to matching devices.
Taint DeviceTaintInput `pulumi:"taint"`
}
DeviceTaintRuleSpec specifies the selector and one taint.
func (DeviceTaintRuleSpecArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleSpecArgs) ElementType() reflect.Type
func (DeviceTaintRuleSpecArgs) ToDeviceTaintRuleSpecOutput ¶ added in v4.23.0
func (i DeviceTaintRuleSpecArgs) ToDeviceTaintRuleSpecOutput() DeviceTaintRuleSpecOutput
func (DeviceTaintRuleSpecArgs) ToDeviceTaintRuleSpecOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRuleSpecArgs) ToDeviceTaintRuleSpecOutputWithContext(ctx context.Context) DeviceTaintRuleSpecOutput
type DeviceTaintRuleSpecInput ¶ added in v4.23.0
type DeviceTaintRuleSpecInput interface {
pulumi.Input
ToDeviceTaintRuleSpecOutput() DeviceTaintRuleSpecOutput
ToDeviceTaintRuleSpecOutputWithContext(context.Context) DeviceTaintRuleSpecOutput
}
DeviceTaintRuleSpecInput is an input type that accepts DeviceTaintRuleSpecArgs and DeviceTaintRuleSpecOutput values. You can construct a concrete instance of `DeviceTaintRuleSpecInput` via:
DeviceTaintRuleSpecArgs{...}
type DeviceTaintRuleSpecOutput ¶ added in v4.23.0
type DeviceTaintRuleSpecOutput struct{ *pulumi.OutputState }
DeviceTaintRuleSpec specifies the selector and one taint.
func (DeviceTaintRuleSpecOutput) DeviceSelector ¶ added in v4.23.0
func (o DeviceTaintRuleSpecOutput) DeviceSelector() DeviceTaintSelectorPtrOutput
DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
func (DeviceTaintRuleSpecOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleSpecOutput) ElementType() reflect.Type
func (DeviceTaintRuleSpecOutput) Taint ¶ added in v4.23.0
func (o DeviceTaintRuleSpecOutput) Taint() DeviceTaintOutput
The taint that gets applied to matching devices.
func (DeviceTaintRuleSpecOutput) ToDeviceTaintRuleSpecOutput ¶ added in v4.23.0
func (o DeviceTaintRuleSpecOutput) ToDeviceTaintRuleSpecOutput() DeviceTaintRuleSpecOutput
func (DeviceTaintRuleSpecOutput) ToDeviceTaintRuleSpecOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleSpecOutput) ToDeviceTaintRuleSpecOutputWithContext(ctx context.Context) DeviceTaintRuleSpecOutput
type DeviceTaintRuleSpecPatch ¶ added in v4.23.0
type DeviceTaintRuleSpecPatch struct {
// DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
DeviceSelector *DeviceTaintSelectorPatch `pulumi:"deviceSelector"`
// The taint that gets applied to matching devices.
Taint *DeviceTaintPatch `pulumi:"taint"`
}
DeviceTaintRuleSpec specifies the selector and one taint.
type DeviceTaintRuleSpecPatchArgs ¶ added in v4.23.0
type DeviceTaintRuleSpecPatchArgs struct {
// DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
DeviceSelector DeviceTaintSelectorPatchPtrInput `pulumi:"deviceSelector"`
// The taint that gets applied to matching devices.
Taint DeviceTaintPatchPtrInput `pulumi:"taint"`
}
DeviceTaintRuleSpec specifies the selector and one taint.
func (DeviceTaintRuleSpecPatchArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleSpecPatchArgs) ElementType() reflect.Type
func (DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchOutput ¶ added in v4.23.0
func (i DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchOutput() DeviceTaintRuleSpecPatchOutput
func (DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchOutputWithContext(ctx context.Context) DeviceTaintRuleSpecPatchOutput
func (DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchPtrOutput ¶ added in v4.23.0
func (i DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchPtrOutput() DeviceTaintRuleSpecPatchPtrOutput
func (DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchPtrOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRuleSpecPatchArgs) ToDeviceTaintRuleSpecPatchPtrOutputWithContext(ctx context.Context) DeviceTaintRuleSpecPatchPtrOutput
type DeviceTaintRuleSpecPatchInput ¶ added in v4.23.0
type DeviceTaintRuleSpecPatchInput interface {
pulumi.Input
ToDeviceTaintRuleSpecPatchOutput() DeviceTaintRuleSpecPatchOutput
ToDeviceTaintRuleSpecPatchOutputWithContext(context.Context) DeviceTaintRuleSpecPatchOutput
}
DeviceTaintRuleSpecPatchInput is an input type that accepts DeviceTaintRuleSpecPatchArgs and DeviceTaintRuleSpecPatchOutput values. You can construct a concrete instance of `DeviceTaintRuleSpecPatchInput` via:
DeviceTaintRuleSpecPatchArgs{...}
type DeviceTaintRuleSpecPatchOutput ¶ added in v4.23.0
type DeviceTaintRuleSpecPatchOutput struct{ *pulumi.OutputState }
DeviceTaintRuleSpec specifies the selector and one taint.
func (DeviceTaintRuleSpecPatchOutput) DeviceSelector ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchOutput) DeviceSelector() DeviceTaintSelectorPatchPtrOutput
DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
func (DeviceTaintRuleSpecPatchOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleSpecPatchOutput) ElementType() reflect.Type
func (DeviceTaintRuleSpecPatchOutput) Taint ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchOutput) Taint() DeviceTaintPatchPtrOutput
The taint that gets applied to matching devices.
func (DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchOutput ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchOutput() DeviceTaintRuleSpecPatchOutput
func (DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchOutputWithContext(ctx context.Context) DeviceTaintRuleSpecPatchOutput
func (DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchPtrOutput ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchPtrOutput() DeviceTaintRuleSpecPatchPtrOutput
func (DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchPtrOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchOutput) ToDeviceTaintRuleSpecPatchPtrOutputWithContext(ctx context.Context) DeviceTaintRuleSpecPatchPtrOutput
type DeviceTaintRuleSpecPatchPtrInput ¶ added in v4.23.0
type DeviceTaintRuleSpecPatchPtrInput interface {
pulumi.Input
ToDeviceTaintRuleSpecPatchPtrOutput() DeviceTaintRuleSpecPatchPtrOutput
ToDeviceTaintRuleSpecPatchPtrOutputWithContext(context.Context) DeviceTaintRuleSpecPatchPtrOutput
}
DeviceTaintRuleSpecPatchPtrInput is an input type that accepts DeviceTaintRuleSpecPatchArgs, DeviceTaintRuleSpecPatchPtr and DeviceTaintRuleSpecPatchPtrOutput values. You can construct a concrete instance of `DeviceTaintRuleSpecPatchPtrInput` via:
DeviceTaintRuleSpecPatchArgs{...}
or:
nil
func DeviceTaintRuleSpecPatchPtr ¶ added in v4.23.0
func DeviceTaintRuleSpecPatchPtr(v *DeviceTaintRuleSpecPatchArgs) DeviceTaintRuleSpecPatchPtrInput
type DeviceTaintRuleSpecPatchPtrOutput ¶ added in v4.23.0
type DeviceTaintRuleSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (DeviceTaintRuleSpecPatchPtrOutput) DeviceSelector ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchPtrOutput) DeviceSelector() DeviceTaintSelectorPatchPtrOutput
DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
func (DeviceTaintRuleSpecPatchPtrOutput) Elem ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchPtrOutput) Elem() DeviceTaintRuleSpecPatchOutput
func (DeviceTaintRuleSpecPatchPtrOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleSpecPatchPtrOutput) ElementType() reflect.Type
func (DeviceTaintRuleSpecPatchPtrOutput) Taint ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchPtrOutput) Taint() DeviceTaintPatchPtrOutput
The taint that gets applied to matching devices.
func (DeviceTaintRuleSpecPatchPtrOutput) ToDeviceTaintRuleSpecPatchPtrOutput ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchPtrOutput) ToDeviceTaintRuleSpecPatchPtrOutput() DeviceTaintRuleSpecPatchPtrOutput
func (DeviceTaintRuleSpecPatchPtrOutput) ToDeviceTaintRuleSpecPatchPtrOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleSpecPatchPtrOutput) ToDeviceTaintRuleSpecPatchPtrOutputWithContext(ctx context.Context) DeviceTaintRuleSpecPatchPtrOutput
type DeviceTaintRuleState ¶ added in v4.23.0
type DeviceTaintRuleState struct {
}
func (DeviceTaintRuleState) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleState) ElementType() reflect.Type
type DeviceTaintRuleType ¶ added in v4.23.0
type DeviceTaintRuleType 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 specifies the selector and one taint.
//
// Changing the spec automatically increments the metadata.generation number.
Spec DeviceTaintRuleSpec `pulumi:"spec"`
}
DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.
type DeviceTaintRuleTypeArgs ¶ added in v4.23.0
type DeviceTaintRuleTypeArgs 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 specifies the selector and one taint.
//
// Changing the spec automatically increments the metadata.generation number.
Spec DeviceTaintRuleSpecInput `pulumi:"spec"`
}
DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.
func (DeviceTaintRuleTypeArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleTypeArgs) ElementType() reflect.Type
func (DeviceTaintRuleTypeArgs) ToDeviceTaintRuleTypeOutput ¶ added in v4.23.0
func (i DeviceTaintRuleTypeArgs) ToDeviceTaintRuleTypeOutput() DeviceTaintRuleTypeOutput
func (DeviceTaintRuleTypeArgs) ToDeviceTaintRuleTypeOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRuleTypeArgs) ToDeviceTaintRuleTypeOutputWithContext(ctx context.Context) DeviceTaintRuleTypeOutput
type DeviceTaintRuleTypeArray ¶ added in v4.23.0
type DeviceTaintRuleTypeArray []DeviceTaintRuleTypeInput
func (DeviceTaintRuleTypeArray) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleTypeArray) ElementType() reflect.Type
func (DeviceTaintRuleTypeArray) ToDeviceTaintRuleTypeArrayOutput ¶ added in v4.23.0
func (i DeviceTaintRuleTypeArray) ToDeviceTaintRuleTypeArrayOutput() DeviceTaintRuleTypeArrayOutput
func (DeviceTaintRuleTypeArray) ToDeviceTaintRuleTypeArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintRuleTypeArray) ToDeviceTaintRuleTypeArrayOutputWithContext(ctx context.Context) DeviceTaintRuleTypeArrayOutput
type DeviceTaintRuleTypeArrayInput ¶ added in v4.23.0
type DeviceTaintRuleTypeArrayInput interface {
pulumi.Input
ToDeviceTaintRuleTypeArrayOutput() DeviceTaintRuleTypeArrayOutput
ToDeviceTaintRuleTypeArrayOutputWithContext(context.Context) DeviceTaintRuleTypeArrayOutput
}
DeviceTaintRuleTypeArrayInput is an input type that accepts DeviceTaintRuleTypeArray and DeviceTaintRuleTypeArrayOutput values. You can construct a concrete instance of `DeviceTaintRuleTypeArrayInput` via:
DeviceTaintRuleTypeArray{ DeviceTaintRuleTypeArgs{...} }
type DeviceTaintRuleTypeArrayOutput ¶ added in v4.23.0
type DeviceTaintRuleTypeArrayOutput struct{ *pulumi.OutputState }
func (DeviceTaintRuleTypeArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleTypeArrayOutput) ElementType() reflect.Type
func (DeviceTaintRuleTypeArrayOutput) Index ¶ added in v4.23.0
func (o DeviceTaintRuleTypeArrayOutput) Index(i pulumi.IntInput) DeviceTaintRuleTypeOutput
func (DeviceTaintRuleTypeArrayOutput) ToDeviceTaintRuleTypeArrayOutput ¶ added in v4.23.0
func (o DeviceTaintRuleTypeArrayOutput) ToDeviceTaintRuleTypeArrayOutput() DeviceTaintRuleTypeArrayOutput
func (DeviceTaintRuleTypeArrayOutput) ToDeviceTaintRuleTypeArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleTypeArrayOutput) ToDeviceTaintRuleTypeArrayOutputWithContext(ctx context.Context) DeviceTaintRuleTypeArrayOutput
type DeviceTaintRuleTypeInput ¶ added in v4.23.0
type DeviceTaintRuleTypeInput interface {
pulumi.Input
ToDeviceTaintRuleTypeOutput() DeviceTaintRuleTypeOutput
ToDeviceTaintRuleTypeOutputWithContext(context.Context) DeviceTaintRuleTypeOutput
}
DeviceTaintRuleTypeInput is an input type that accepts DeviceTaintRuleTypeArgs and DeviceTaintRuleTypeOutput values. You can construct a concrete instance of `DeviceTaintRuleTypeInput` via:
DeviceTaintRuleTypeArgs{...}
type DeviceTaintRuleTypeOutput ¶ added in v4.23.0
type DeviceTaintRuleTypeOutput struct{ *pulumi.OutputState }
DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.
func (DeviceTaintRuleTypeOutput) ApiVersion ¶ added in v4.23.0
func (o DeviceTaintRuleTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 (DeviceTaintRuleTypeOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintRuleTypeOutput) ElementType() reflect.Type
func (DeviceTaintRuleTypeOutput) Kind ¶ added in v4.23.0
func (o DeviceTaintRuleTypeOutput) Kind() pulumi.StringPtrOutput
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 (DeviceTaintRuleTypeOutput) Metadata ¶ added in v4.23.0
func (o DeviceTaintRuleTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object metadata
func (DeviceTaintRuleTypeOutput) Spec ¶ added in v4.23.0
func (o DeviceTaintRuleTypeOutput) Spec() DeviceTaintRuleSpecOutput
Spec specifies the selector and one taint.
Changing the spec automatically increments the metadata.generation number.
func (DeviceTaintRuleTypeOutput) ToDeviceTaintRuleTypeOutput ¶ added in v4.23.0
func (o DeviceTaintRuleTypeOutput) ToDeviceTaintRuleTypeOutput() DeviceTaintRuleTypeOutput
func (DeviceTaintRuleTypeOutput) ToDeviceTaintRuleTypeOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintRuleTypeOutput) ToDeviceTaintRuleTypeOutputWithContext(ctx context.Context) DeviceTaintRuleTypeOutput
type DeviceTaintSelector ¶ added in v4.23.0
type DeviceTaintSelector struct {
// If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
//
// Setting also driver and pool may be required to avoid ambiguity, but is not required.
Device *string `pulumi:"device"`
// If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
DeviceClassName *string `pulumi:"deviceClassName"`
// If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
Driver *string `pulumi:"driver"`
// If pool is set, only devices in that pool are selected.
//
// Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.
Pool *string `pulumi:"pool"`
// Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.
Selectors []DeviceSelector `pulumi:"selectors"`
}
DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.
type DeviceTaintSelectorArgs ¶ added in v4.23.0
type DeviceTaintSelectorArgs struct {
// If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
//
// Setting also driver and pool may be required to avoid ambiguity, but is not required.
Device pulumi.StringPtrInput `pulumi:"device"`
// If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
DeviceClassName pulumi.StringPtrInput `pulumi:"deviceClassName"`
// If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
Driver pulumi.StringPtrInput `pulumi:"driver"`
// If pool is set, only devices in that pool are selected.
//
// Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.
Pool pulumi.StringPtrInput `pulumi:"pool"`
// Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.
Selectors DeviceSelectorArrayInput `pulumi:"selectors"`
}
DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.
func (DeviceTaintSelectorArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintSelectorArgs) ElementType() reflect.Type
func (DeviceTaintSelectorArgs) ToDeviceTaintSelectorOutput ¶ added in v4.23.0
func (i DeviceTaintSelectorArgs) ToDeviceTaintSelectorOutput() DeviceTaintSelectorOutput
func (DeviceTaintSelectorArgs) ToDeviceTaintSelectorOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintSelectorArgs) ToDeviceTaintSelectorOutputWithContext(ctx context.Context) DeviceTaintSelectorOutput
func (DeviceTaintSelectorArgs) ToDeviceTaintSelectorPtrOutput ¶ added in v4.23.0
func (i DeviceTaintSelectorArgs) ToDeviceTaintSelectorPtrOutput() DeviceTaintSelectorPtrOutput
func (DeviceTaintSelectorArgs) ToDeviceTaintSelectorPtrOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintSelectorArgs) ToDeviceTaintSelectorPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPtrOutput
type DeviceTaintSelectorInput ¶ added in v4.23.0
type DeviceTaintSelectorInput interface {
pulumi.Input
ToDeviceTaintSelectorOutput() DeviceTaintSelectorOutput
ToDeviceTaintSelectorOutputWithContext(context.Context) DeviceTaintSelectorOutput
}
DeviceTaintSelectorInput is an input type that accepts DeviceTaintSelectorArgs and DeviceTaintSelectorOutput values. You can construct a concrete instance of `DeviceTaintSelectorInput` via:
DeviceTaintSelectorArgs{...}
type DeviceTaintSelectorOutput ¶ added in v4.23.0
type DeviceTaintSelectorOutput struct{ *pulumi.OutputState }
DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.
func (DeviceTaintSelectorOutput) Device ¶ added in v4.23.0
func (o DeviceTaintSelectorOutput) Device() pulumi.StringPtrOutput
If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
Setting also driver and pool may be required to avoid ambiguity, but is not required.
func (DeviceTaintSelectorOutput) DeviceClassName ¶ added in v4.23.0
func (o DeviceTaintSelectorOutput) DeviceClassName() pulumi.StringPtrOutput
If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
func (DeviceTaintSelectorOutput) Driver ¶ added in v4.23.0
func (o DeviceTaintSelectorOutput) Driver() pulumi.StringPtrOutput
If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
func (DeviceTaintSelectorOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintSelectorOutput) ElementType() reflect.Type
func (DeviceTaintSelectorOutput) Pool ¶ added in v4.23.0
func (o DeviceTaintSelectorOutput) Pool() pulumi.StringPtrOutput
If pool is set, only devices in that pool are selected.
Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.
func (DeviceTaintSelectorOutput) Selectors ¶ added in v4.23.0
func (o DeviceTaintSelectorOutput) Selectors() DeviceSelectorArrayOutput
Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.
func (DeviceTaintSelectorOutput) ToDeviceTaintSelectorOutput ¶ added in v4.23.0
func (o DeviceTaintSelectorOutput) ToDeviceTaintSelectorOutput() DeviceTaintSelectorOutput
func (DeviceTaintSelectorOutput) ToDeviceTaintSelectorOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintSelectorOutput) ToDeviceTaintSelectorOutputWithContext(ctx context.Context) DeviceTaintSelectorOutput
func (DeviceTaintSelectorOutput) ToDeviceTaintSelectorPtrOutput ¶ added in v4.23.0
func (o DeviceTaintSelectorOutput) ToDeviceTaintSelectorPtrOutput() DeviceTaintSelectorPtrOutput
func (DeviceTaintSelectorOutput) ToDeviceTaintSelectorPtrOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintSelectorOutput) ToDeviceTaintSelectorPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPtrOutput
type DeviceTaintSelectorPatch ¶ added in v4.23.0
type DeviceTaintSelectorPatch struct {
// If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
//
// Setting also driver and pool may be required to avoid ambiguity, but is not required.
Device *string `pulumi:"device"`
// If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
DeviceClassName *string `pulumi:"deviceClassName"`
// If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
Driver *string `pulumi:"driver"`
// If pool is set, only devices in that pool are selected.
//
// Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.
Pool *string `pulumi:"pool"`
// Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.
Selectors []DeviceSelectorPatch `pulumi:"selectors"`
}
DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.
type DeviceTaintSelectorPatchArgs ¶ added in v4.23.0
type DeviceTaintSelectorPatchArgs struct {
// If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
//
// Setting also driver and pool may be required to avoid ambiguity, but is not required.
Device pulumi.StringPtrInput `pulumi:"device"`
// If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
DeviceClassName pulumi.StringPtrInput `pulumi:"deviceClassName"`
// If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
Driver pulumi.StringPtrInput `pulumi:"driver"`
// If pool is set, only devices in that pool are selected.
//
// Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.
Pool pulumi.StringPtrInput `pulumi:"pool"`
// Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.
Selectors DeviceSelectorPatchArrayInput `pulumi:"selectors"`
}
DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.
func (DeviceTaintSelectorPatchArgs) ElementType ¶ added in v4.23.0
func (DeviceTaintSelectorPatchArgs) ElementType() reflect.Type
func (DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchOutput ¶ added in v4.23.0
func (i DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchOutput() DeviceTaintSelectorPatchOutput
func (DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchOutputWithContext(ctx context.Context) DeviceTaintSelectorPatchOutput
func (DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchPtrOutput ¶ added in v4.23.0
func (i DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchPtrOutput() DeviceTaintSelectorPatchPtrOutput
func (DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchPtrOutputWithContext ¶ added in v4.23.0
func (i DeviceTaintSelectorPatchArgs) ToDeviceTaintSelectorPatchPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPatchPtrOutput
type DeviceTaintSelectorPatchInput ¶ added in v4.23.0
type DeviceTaintSelectorPatchInput interface {
pulumi.Input
ToDeviceTaintSelectorPatchOutput() DeviceTaintSelectorPatchOutput
ToDeviceTaintSelectorPatchOutputWithContext(context.Context) DeviceTaintSelectorPatchOutput
}
DeviceTaintSelectorPatchInput is an input type that accepts DeviceTaintSelectorPatchArgs and DeviceTaintSelectorPatchOutput values. You can construct a concrete instance of `DeviceTaintSelectorPatchInput` via:
DeviceTaintSelectorPatchArgs{...}
type DeviceTaintSelectorPatchOutput ¶ added in v4.23.0
type DeviceTaintSelectorPatchOutput struct{ *pulumi.OutputState }
DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.
func (DeviceTaintSelectorPatchOutput) Device ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchOutput) Device() pulumi.StringPtrOutput
If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
Setting also driver and pool may be required to avoid ambiguity, but is not required.
func (DeviceTaintSelectorPatchOutput) DeviceClassName ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchOutput) DeviceClassName() pulumi.StringPtrOutput
If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
func (DeviceTaintSelectorPatchOutput) Driver ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchOutput) Driver() pulumi.StringPtrOutput
If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
func (DeviceTaintSelectorPatchOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintSelectorPatchOutput) ElementType() reflect.Type
func (DeviceTaintSelectorPatchOutput) Pool ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchOutput) Pool() pulumi.StringPtrOutput
If pool is set, only devices in that pool are selected.
Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.
func (DeviceTaintSelectorPatchOutput) Selectors ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchOutput) Selectors() DeviceSelectorPatchArrayOutput
Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.
func (DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchOutput ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchOutput() DeviceTaintSelectorPatchOutput
func (DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchOutputWithContext(ctx context.Context) DeviceTaintSelectorPatchOutput
func (DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchPtrOutput ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchPtrOutput() DeviceTaintSelectorPatchPtrOutput
func (DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchPtrOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchOutput) ToDeviceTaintSelectorPatchPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPatchPtrOutput
type DeviceTaintSelectorPatchPtrInput ¶ added in v4.23.0
type DeviceTaintSelectorPatchPtrInput interface {
pulumi.Input
ToDeviceTaintSelectorPatchPtrOutput() DeviceTaintSelectorPatchPtrOutput
ToDeviceTaintSelectorPatchPtrOutputWithContext(context.Context) DeviceTaintSelectorPatchPtrOutput
}
DeviceTaintSelectorPatchPtrInput is an input type that accepts DeviceTaintSelectorPatchArgs, DeviceTaintSelectorPatchPtr and DeviceTaintSelectorPatchPtrOutput values. You can construct a concrete instance of `DeviceTaintSelectorPatchPtrInput` via:
DeviceTaintSelectorPatchArgs{...}
or:
nil
func DeviceTaintSelectorPatchPtr ¶ added in v4.23.0
func DeviceTaintSelectorPatchPtr(v *DeviceTaintSelectorPatchArgs) DeviceTaintSelectorPatchPtrInput
type DeviceTaintSelectorPatchPtrOutput ¶ added in v4.23.0
type DeviceTaintSelectorPatchPtrOutput struct{ *pulumi.OutputState }
func (DeviceTaintSelectorPatchPtrOutput) Device ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchPtrOutput) Device() pulumi.StringPtrOutput
If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
Setting also driver and pool may be required to avoid ambiguity, but is not required.
func (DeviceTaintSelectorPatchPtrOutput) DeviceClassName ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchPtrOutput) DeviceClassName() pulumi.StringPtrOutput
If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
func (DeviceTaintSelectorPatchPtrOutput) Driver ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchPtrOutput) Driver() pulumi.StringPtrOutput
If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
func (DeviceTaintSelectorPatchPtrOutput) Elem ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchPtrOutput) Elem() DeviceTaintSelectorPatchOutput
func (DeviceTaintSelectorPatchPtrOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintSelectorPatchPtrOutput) ElementType() reflect.Type
func (DeviceTaintSelectorPatchPtrOutput) Pool ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchPtrOutput) Pool() pulumi.StringPtrOutput
If pool is set, only devices in that pool are selected.
Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.
func (DeviceTaintSelectorPatchPtrOutput) Selectors ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchPtrOutput) Selectors() DeviceSelectorPatchArrayOutput
Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.
func (DeviceTaintSelectorPatchPtrOutput) ToDeviceTaintSelectorPatchPtrOutput ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchPtrOutput) ToDeviceTaintSelectorPatchPtrOutput() DeviceTaintSelectorPatchPtrOutput
func (DeviceTaintSelectorPatchPtrOutput) ToDeviceTaintSelectorPatchPtrOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintSelectorPatchPtrOutput) ToDeviceTaintSelectorPatchPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPatchPtrOutput
type DeviceTaintSelectorPtrInput ¶ added in v4.23.0
type DeviceTaintSelectorPtrInput interface {
pulumi.Input
ToDeviceTaintSelectorPtrOutput() DeviceTaintSelectorPtrOutput
ToDeviceTaintSelectorPtrOutputWithContext(context.Context) DeviceTaintSelectorPtrOutput
}
DeviceTaintSelectorPtrInput is an input type that accepts DeviceTaintSelectorArgs, DeviceTaintSelectorPtr and DeviceTaintSelectorPtrOutput values. You can construct a concrete instance of `DeviceTaintSelectorPtrInput` via:
DeviceTaintSelectorArgs{...}
or:
nil
func DeviceTaintSelectorPtr ¶ added in v4.23.0
func DeviceTaintSelectorPtr(v *DeviceTaintSelectorArgs) DeviceTaintSelectorPtrInput
type DeviceTaintSelectorPtrOutput ¶ added in v4.23.0
type DeviceTaintSelectorPtrOutput struct{ *pulumi.OutputState }
func (DeviceTaintSelectorPtrOutput) Device ¶ added in v4.23.0
func (o DeviceTaintSelectorPtrOutput) Device() pulumi.StringPtrOutput
If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
Setting also driver and pool may be required to avoid ambiguity, but is not required.
func (DeviceTaintSelectorPtrOutput) DeviceClassName ¶ added in v4.23.0
func (o DeviceTaintSelectorPtrOutput) DeviceClassName() pulumi.StringPtrOutput
If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
func (DeviceTaintSelectorPtrOutput) Driver ¶ added in v4.23.0
func (o DeviceTaintSelectorPtrOutput) Driver() pulumi.StringPtrOutput
If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
func (DeviceTaintSelectorPtrOutput) Elem ¶ added in v4.23.0
func (o DeviceTaintSelectorPtrOutput) Elem() DeviceTaintSelectorOutput
func (DeviceTaintSelectorPtrOutput) ElementType ¶ added in v4.23.0
func (DeviceTaintSelectorPtrOutput) ElementType() reflect.Type
func (DeviceTaintSelectorPtrOutput) Pool ¶ added in v4.23.0
func (o DeviceTaintSelectorPtrOutput) Pool() pulumi.StringPtrOutput
If pool is set, only devices in that pool are selected.
Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.
func (DeviceTaintSelectorPtrOutput) Selectors ¶ added in v4.23.0
func (o DeviceTaintSelectorPtrOutput) Selectors() DeviceSelectorArrayOutput
Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.
func (DeviceTaintSelectorPtrOutput) ToDeviceTaintSelectorPtrOutput ¶ added in v4.23.0
func (o DeviceTaintSelectorPtrOutput) ToDeviceTaintSelectorPtrOutput() DeviceTaintSelectorPtrOutput
func (DeviceTaintSelectorPtrOutput) ToDeviceTaintSelectorPtrOutputWithContext ¶ added in v4.23.0
func (o DeviceTaintSelectorPtrOutput) ToDeviceTaintSelectorPtrOutputWithContext(ctx context.Context) DeviceTaintSelectorPtrOutput
type DeviceToleration ¶ added in v4.23.0
type DeviceToleration struct {
// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
Effect *string `pulumi:"effect"`
// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
Key *string `pulumi:"key"`
// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
Operator *string `pulumi:"operator"`
// TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
TolerationSeconds *int `pulumi:"tolerationSeconds"`
// Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
Value *string `pulumi:"value"`
}
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
type DeviceTolerationArgs ¶ added in v4.23.0
type DeviceTolerationArgs struct {
// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
Effect pulumi.StringPtrInput `pulumi:"effect"`
// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
Key pulumi.StringPtrInput `pulumi:"key"`
// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
Operator pulumi.StringPtrInput `pulumi:"operator"`
// TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
TolerationSeconds pulumi.IntPtrInput `pulumi:"tolerationSeconds"`
// Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
Value pulumi.StringPtrInput `pulumi:"value"`
}
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
func (DeviceTolerationArgs) ElementType ¶ added in v4.23.0
func (DeviceTolerationArgs) ElementType() reflect.Type
func (DeviceTolerationArgs) ToDeviceTolerationOutput ¶ added in v4.23.0
func (i DeviceTolerationArgs) ToDeviceTolerationOutput() DeviceTolerationOutput
func (DeviceTolerationArgs) ToDeviceTolerationOutputWithContext ¶ added in v4.23.0
func (i DeviceTolerationArgs) ToDeviceTolerationOutputWithContext(ctx context.Context) DeviceTolerationOutput
type DeviceTolerationArray ¶ added in v4.23.0
type DeviceTolerationArray []DeviceTolerationInput
func (DeviceTolerationArray) ElementType ¶ added in v4.23.0
func (DeviceTolerationArray) ElementType() reflect.Type
func (DeviceTolerationArray) ToDeviceTolerationArrayOutput ¶ added in v4.23.0
func (i DeviceTolerationArray) ToDeviceTolerationArrayOutput() DeviceTolerationArrayOutput
func (DeviceTolerationArray) ToDeviceTolerationArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceTolerationArray) ToDeviceTolerationArrayOutputWithContext(ctx context.Context) DeviceTolerationArrayOutput
type DeviceTolerationArrayInput ¶ added in v4.23.0
type DeviceTolerationArrayInput interface {
pulumi.Input
ToDeviceTolerationArrayOutput() DeviceTolerationArrayOutput
ToDeviceTolerationArrayOutputWithContext(context.Context) DeviceTolerationArrayOutput
}
DeviceTolerationArrayInput is an input type that accepts DeviceTolerationArray and DeviceTolerationArrayOutput values. You can construct a concrete instance of `DeviceTolerationArrayInput` via:
DeviceTolerationArray{ DeviceTolerationArgs{...} }
type DeviceTolerationArrayOutput ¶ added in v4.23.0
type DeviceTolerationArrayOutput struct{ *pulumi.OutputState }
func (DeviceTolerationArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceTolerationArrayOutput) ElementType() reflect.Type
func (DeviceTolerationArrayOutput) Index ¶ added in v4.23.0
func (o DeviceTolerationArrayOutput) Index(i pulumi.IntInput) DeviceTolerationOutput
func (DeviceTolerationArrayOutput) ToDeviceTolerationArrayOutput ¶ added in v4.23.0
func (o DeviceTolerationArrayOutput) ToDeviceTolerationArrayOutput() DeviceTolerationArrayOutput
func (DeviceTolerationArrayOutput) ToDeviceTolerationArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceTolerationArrayOutput) ToDeviceTolerationArrayOutputWithContext(ctx context.Context) DeviceTolerationArrayOutput
type DeviceTolerationInput ¶ added in v4.23.0
type DeviceTolerationInput interface {
pulumi.Input
ToDeviceTolerationOutput() DeviceTolerationOutput
ToDeviceTolerationOutputWithContext(context.Context) DeviceTolerationOutput
}
DeviceTolerationInput is an input type that accepts DeviceTolerationArgs and DeviceTolerationOutput values. You can construct a concrete instance of `DeviceTolerationInput` via:
DeviceTolerationArgs{...}
type DeviceTolerationOutput ¶ added in v4.23.0
type DeviceTolerationOutput struct{ *pulumi.OutputState }
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
func (DeviceTolerationOutput) Effect ¶ added in v4.23.0
func (o DeviceTolerationOutput) Effect() pulumi.StringPtrOutput
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
func (DeviceTolerationOutput) ElementType ¶ added in v4.23.0
func (DeviceTolerationOutput) ElementType() reflect.Type
func (DeviceTolerationOutput) Key ¶ added in v4.23.0
func (o DeviceTolerationOutput) Key() pulumi.StringPtrOutput
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
func (DeviceTolerationOutput) Operator ¶ added in v4.23.0
func (o DeviceTolerationOutput) Operator() pulumi.StringPtrOutput
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
func (DeviceTolerationOutput) ToDeviceTolerationOutput ¶ added in v4.23.0
func (o DeviceTolerationOutput) ToDeviceTolerationOutput() DeviceTolerationOutput
func (DeviceTolerationOutput) ToDeviceTolerationOutputWithContext ¶ added in v4.23.0
func (o DeviceTolerationOutput) ToDeviceTolerationOutputWithContext(ctx context.Context) DeviceTolerationOutput
func (DeviceTolerationOutput) TolerationSeconds ¶ added in v4.23.0
func (o DeviceTolerationOutput) TolerationSeconds() pulumi.IntPtrOutput
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
func (DeviceTolerationOutput) Value ¶ added in v4.23.0
func (o DeviceTolerationOutput) Value() pulumi.StringPtrOutput
Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
type DeviceTolerationPatch ¶ added in v4.23.0
type DeviceTolerationPatch struct {
// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
Effect *string `pulumi:"effect"`
// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
Key *string `pulumi:"key"`
// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
Operator *string `pulumi:"operator"`
// TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
TolerationSeconds *int `pulumi:"tolerationSeconds"`
// Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
Value *string `pulumi:"value"`
}
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
type DeviceTolerationPatchArgs ¶ added in v4.23.0
type DeviceTolerationPatchArgs struct {
// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
Effect pulumi.StringPtrInput `pulumi:"effect"`
// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
Key pulumi.StringPtrInput `pulumi:"key"`
// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
Operator pulumi.StringPtrInput `pulumi:"operator"`
// TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
TolerationSeconds pulumi.IntPtrInput `pulumi:"tolerationSeconds"`
// Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
Value pulumi.StringPtrInput `pulumi:"value"`
}
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
func (DeviceTolerationPatchArgs) ElementType ¶ added in v4.23.0
func (DeviceTolerationPatchArgs) ElementType() reflect.Type
func (DeviceTolerationPatchArgs) ToDeviceTolerationPatchOutput ¶ added in v4.23.0
func (i DeviceTolerationPatchArgs) ToDeviceTolerationPatchOutput() DeviceTolerationPatchOutput
func (DeviceTolerationPatchArgs) ToDeviceTolerationPatchOutputWithContext ¶ added in v4.23.0
func (i DeviceTolerationPatchArgs) ToDeviceTolerationPatchOutputWithContext(ctx context.Context) DeviceTolerationPatchOutput
type DeviceTolerationPatchArray ¶ added in v4.23.0
type DeviceTolerationPatchArray []DeviceTolerationPatchInput
func (DeviceTolerationPatchArray) ElementType ¶ added in v4.23.0
func (DeviceTolerationPatchArray) ElementType() reflect.Type
func (DeviceTolerationPatchArray) ToDeviceTolerationPatchArrayOutput ¶ added in v4.23.0
func (i DeviceTolerationPatchArray) ToDeviceTolerationPatchArrayOutput() DeviceTolerationPatchArrayOutput
func (DeviceTolerationPatchArray) ToDeviceTolerationPatchArrayOutputWithContext ¶ added in v4.23.0
func (i DeviceTolerationPatchArray) ToDeviceTolerationPatchArrayOutputWithContext(ctx context.Context) DeviceTolerationPatchArrayOutput
type DeviceTolerationPatchArrayInput ¶ added in v4.23.0
type DeviceTolerationPatchArrayInput interface {
pulumi.Input
ToDeviceTolerationPatchArrayOutput() DeviceTolerationPatchArrayOutput
ToDeviceTolerationPatchArrayOutputWithContext(context.Context) DeviceTolerationPatchArrayOutput
}
DeviceTolerationPatchArrayInput is an input type that accepts DeviceTolerationPatchArray and DeviceTolerationPatchArrayOutput values. You can construct a concrete instance of `DeviceTolerationPatchArrayInput` via:
DeviceTolerationPatchArray{ DeviceTolerationPatchArgs{...} }
type DeviceTolerationPatchArrayOutput ¶ added in v4.23.0
type DeviceTolerationPatchArrayOutput struct{ *pulumi.OutputState }
func (DeviceTolerationPatchArrayOutput) ElementType ¶ added in v4.23.0
func (DeviceTolerationPatchArrayOutput) ElementType() reflect.Type
func (DeviceTolerationPatchArrayOutput) Index ¶ added in v4.23.0
func (o DeviceTolerationPatchArrayOutput) Index(i pulumi.IntInput) DeviceTolerationPatchOutput
func (DeviceTolerationPatchArrayOutput) ToDeviceTolerationPatchArrayOutput ¶ added in v4.23.0
func (o DeviceTolerationPatchArrayOutput) ToDeviceTolerationPatchArrayOutput() DeviceTolerationPatchArrayOutput
func (DeviceTolerationPatchArrayOutput) ToDeviceTolerationPatchArrayOutputWithContext ¶ added in v4.23.0
func (o DeviceTolerationPatchArrayOutput) ToDeviceTolerationPatchArrayOutputWithContext(ctx context.Context) DeviceTolerationPatchArrayOutput
type DeviceTolerationPatchInput ¶ added in v4.23.0
type DeviceTolerationPatchInput interface {
pulumi.Input
ToDeviceTolerationPatchOutput() DeviceTolerationPatchOutput
ToDeviceTolerationPatchOutputWithContext(context.Context) DeviceTolerationPatchOutput
}
DeviceTolerationPatchInput is an input type that accepts DeviceTolerationPatchArgs and DeviceTolerationPatchOutput values. You can construct a concrete instance of `DeviceTolerationPatchInput` via:
DeviceTolerationPatchArgs{...}
type DeviceTolerationPatchOutput ¶ added in v4.23.0
type DeviceTolerationPatchOutput struct{ *pulumi.OutputState }
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
func (DeviceTolerationPatchOutput) Effect ¶ added in v4.23.0
func (o DeviceTolerationPatchOutput) Effect() pulumi.StringPtrOutput
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
func (DeviceTolerationPatchOutput) ElementType ¶ added in v4.23.0
func (DeviceTolerationPatchOutput) ElementType() reflect.Type
func (DeviceTolerationPatchOutput) Key ¶ added in v4.23.0
func (o DeviceTolerationPatchOutput) Key() pulumi.StringPtrOutput
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
func (DeviceTolerationPatchOutput) Operator ¶ added in v4.23.0
func (o DeviceTolerationPatchOutput) Operator() pulumi.StringPtrOutput
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
func (DeviceTolerationPatchOutput) ToDeviceTolerationPatchOutput ¶ added in v4.23.0
func (o DeviceTolerationPatchOutput) ToDeviceTolerationPatchOutput() DeviceTolerationPatchOutput
func (DeviceTolerationPatchOutput) ToDeviceTolerationPatchOutputWithContext ¶ added in v4.23.0
func (o DeviceTolerationPatchOutput) ToDeviceTolerationPatchOutputWithContext(ctx context.Context) DeviceTolerationPatchOutput
func (DeviceTolerationPatchOutput) TolerationSeconds ¶ added in v4.23.0
func (o DeviceTolerationPatchOutput) TolerationSeconds() pulumi.IntPtrOutput
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
func (DeviceTolerationPatchOutput) Value ¶ added in v4.23.0
func (o DeviceTolerationPatchOutput) Value() pulumi.StringPtrOutput
Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
type NetworkDeviceData ¶ added in v4.19.0
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.
//
// Must not contain more than 16 entries.
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 ¶ added in v4.19.0
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.
//
// Must not contain more than 16 entries.
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 ¶ added in v4.19.0
func (NetworkDeviceDataArgs) ElementType() reflect.Type
func (NetworkDeviceDataArgs) ToNetworkDeviceDataOutput ¶ added in v4.19.0
func (i NetworkDeviceDataArgs) ToNetworkDeviceDataOutput() NetworkDeviceDataOutput
func (NetworkDeviceDataArgs) ToNetworkDeviceDataOutputWithContext ¶ added in v4.19.0
func (i NetworkDeviceDataArgs) ToNetworkDeviceDataOutputWithContext(ctx context.Context) NetworkDeviceDataOutput
func (NetworkDeviceDataArgs) ToNetworkDeviceDataPtrOutput ¶ added in v4.19.0
func (i NetworkDeviceDataArgs) ToNetworkDeviceDataPtrOutput() NetworkDeviceDataPtrOutput
func (NetworkDeviceDataArgs) ToNetworkDeviceDataPtrOutputWithContext ¶ added in v4.19.0
func (i NetworkDeviceDataArgs) ToNetworkDeviceDataPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPtrOutput
type NetworkDeviceDataInput ¶ added in v4.19.0
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 ¶ added in v4.19.0
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 ¶ added in v4.19.0
func (NetworkDeviceDataOutput) ElementType() reflect.Type
func (NetworkDeviceDataOutput) HardwareAddress ¶ added in v4.19.0
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 ¶ added in v4.19.0
func (o NetworkDeviceDataOutput) InterfaceName() pulumi.StringPtrOutput
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 ¶ added in v4.19.0
func (o NetworkDeviceDataOutput) Ips() pulumi.StringArrayOutput
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.
Must not contain more than 16 entries.
func (NetworkDeviceDataOutput) ToNetworkDeviceDataOutput ¶ added in v4.19.0
func (o NetworkDeviceDataOutput) ToNetworkDeviceDataOutput() NetworkDeviceDataOutput
func (NetworkDeviceDataOutput) ToNetworkDeviceDataOutputWithContext ¶ added in v4.19.0
func (o NetworkDeviceDataOutput) ToNetworkDeviceDataOutputWithContext(ctx context.Context) NetworkDeviceDataOutput
func (NetworkDeviceDataOutput) ToNetworkDeviceDataPtrOutput ¶ added in v4.19.0
func (o NetworkDeviceDataOutput) ToNetworkDeviceDataPtrOutput() NetworkDeviceDataPtrOutput
func (NetworkDeviceDataOutput) ToNetworkDeviceDataPtrOutputWithContext ¶ added in v4.19.0
func (o NetworkDeviceDataOutput) ToNetworkDeviceDataPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPtrOutput
type NetworkDeviceDataPatch ¶ added in v4.19.0
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.
//
// Must not contain more than 16 entries.
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 ¶ added in v4.19.0
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.
//
// Must not contain more than 16 entries.
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 ¶ added in v4.19.0
func (NetworkDeviceDataPatchArgs) ElementType() reflect.Type
func (NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchOutput ¶ added in v4.19.0
func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchOutput() NetworkDeviceDataPatchOutput
func (NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchOutputWithContext ¶ added in v4.19.0
func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchOutputWithContext(ctx context.Context) NetworkDeviceDataPatchOutput
func (NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchPtrOutput ¶ added in v4.19.0
func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchPtrOutput() NetworkDeviceDataPatchPtrOutput
func (NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchPtrOutputWithContext ¶ added in v4.19.0
func (i NetworkDeviceDataPatchArgs) ToNetworkDeviceDataPatchPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPatchPtrOutput
type NetworkDeviceDataPatchInput ¶ added in v4.19.0
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 ¶ added in v4.19.0
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 ¶ added in v4.19.0
func (NetworkDeviceDataPatchOutput) ElementType() reflect.Type
func (NetworkDeviceDataPatchOutput) HardwareAddress ¶ added in v4.19.0
func (o NetworkDeviceDataPatchOutput) 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 (NetworkDeviceDataPatchOutput) InterfaceName ¶ added in v4.19.0
func (o NetworkDeviceDataPatchOutput) InterfaceName() pulumi.StringPtrOutput
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 ¶ added in v4.19.0
func (o NetworkDeviceDataPatchOutput) Ips() pulumi.StringArrayOutput
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.
Must not contain more than 16 entries.
func (NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchOutput ¶ added in v4.19.0
func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchOutput() NetworkDeviceDataPatchOutput
func (NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchOutputWithContext ¶ added in v4.19.0
func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchOutputWithContext(ctx context.Context) NetworkDeviceDataPatchOutput
func (NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchPtrOutput ¶ added in v4.19.0
func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchPtrOutput() NetworkDeviceDataPatchPtrOutput
func (NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchPtrOutputWithContext ¶ added in v4.19.0
func (o NetworkDeviceDataPatchOutput) ToNetworkDeviceDataPatchPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPatchPtrOutput
type NetworkDeviceDataPatchPtrInput ¶ added in v4.19.0
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
func NetworkDeviceDataPatchPtr ¶ added in v4.19.0
func NetworkDeviceDataPatchPtr(v *NetworkDeviceDataPatchArgs) NetworkDeviceDataPatchPtrInput
type NetworkDeviceDataPatchPtrOutput ¶ added in v4.19.0
type NetworkDeviceDataPatchPtrOutput struct{ *pulumi.OutputState }
func (NetworkDeviceDataPatchPtrOutput) Elem ¶ added in v4.19.0
func (o NetworkDeviceDataPatchPtrOutput) Elem() NetworkDeviceDataPatchOutput
func (NetworkDeviceDataPatchPtrOutput) ElementType ¶ added in v4.19.0
func (NetworkDeviceDataPatchPtrOutput) ElementType() reflect.Type
func (NetworkDeviceDataPatchPtrOutput) HardwareAddress ¶ added in v4.19.0
func (o NetworkDeviceDataPatchPtrOutput) 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 (NetworkDeviceDataPatchPtrOutput) InterfaceName ¶ added in v4.19.0
func (o NetworkDeviceDataPatchPtrOutput) InterfaceName() pulumi.StringPtrOutput
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 ¶ added in v4.19.0
func (o NetworkDeviceDataPatchPtrOutput) Ips() pulumi.StringArrayOutput
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.
Must not contain more than 16 entries.
func (NetworkDeviceDataPatchPtrOutput) ToNetworkDeviceDataPatchPtrOutput ¶ added in v4.19.0
func (o NetworkDeviceDataPatchPtrOutput) ToNetworkDeviceDataPatchPtrOutput() NetworkDeviceDataPatchPtrOutput
func (NetworkDeviceDataPatchPtrOutput) ToNetworkDeviceDataPatchPtrOutputWithContext ¶ added in v4.19.0
func (o NetworkDeviceDataPatchPtrOutput) ToNetworkDeviceDataPatchPtrOutputWithContext(ctx context.Context) NetworkDeviceDataPatchPtrOutput
type NetworkDeviceDataPtrInput ¶ added in v4.19.0
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
func NetworkDeviceDataPtr ¶ added in v4.19.0
func NetworkDeviceDataPtr(v *NetworkDeviceDataArgs) NetworkDeviceDataPtrInput
type NetworkDeviceDataPtrOutput ¶ added in v4.19.0
type NetworkDeviceDataPtrOutput struct{ *pulumi.OutputState }
func (NetworkDeviceDataPtrOutput) Elem ¶ added in v4.19.0
func (o NetworkDeviceDataPtrOutput) Elem() NetworkDeviceDataOutput
func (NetworkDeviceDataPtrOutput) ElementType ¶ added in v4.19.0
func (NetworkDeviceDataPtrOutput) ElementType() reflect.Type
func (NetworkDeviceDataPtrOutput) HardwareAddress ¶ added in v4.19.0
func (o NetworkDeviceDataPtrOutput) 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 (NetworkDeviceDataPtrOutput) InterfaceName ¶ added in v4.19.0
func (o NetworkDeviceDataPtrOutput) InterfaceName() pulumi.StringPtrOutput
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 ¶ added in v4.19.0
func (o NetworkDeviceDataPtrOutput) Ips() pulumi.StringArrayOutput
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.
Must not contain more than 16 entries.
func (NetworkDeviceDataPtrOutput) ToNetworkDeviceDataPtrOutput ¶ added in v4.19.0
func (o NetworkDeviceDataPtrOutput) ToNetworkDeviceDataPtrOutput() NetworkDeviceDataPtrOutput
func (NetworkDeviceDataPtrOutput) ToNetworkDeviceDataPtrOutputWithContext ¶ added in v4.19.0
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) ElementType() reflect.Type
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 ¶
func (o OpaqueDeviceConfigurationOutput) Driver() pulumi.StringOutput
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) ElementType() reflect.Type
func (OpaqueDeviceConfigurationOutput) Parameters ¶
func (o OpaqueDeviceConfigurationOutput) Parameters() pulumi.AnyOutput
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) ElementType() reflect.Type
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 ¶
func (o OpaqueDeviceConfigurationPatchOutput) Driver() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (OpaqueDeviceConfigurationPatchOutput) Parameters ¶
func (o OpaqueDeviceConfigurationPatchOutput) Parameters() pulumi.AnyOutput
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
func OpaqueDeviceConfigurationPatchPtr ¶
func OpaqueDeviceConfigurationPatchPtr(v *OpaqueDeviceConfigurationPatchArgs) OpaqueDeviceConfigurationPatchPtrInput
type OpaqueDeviceConfigurationPatchPtrOutput ¶
type OpaqueDeviceConfigurationPatchPtrOutput struct{ *pulumi.OutputState }
func (OpaqueDeviceConfigurationPatchPtrOutput) Driver ¶
func (o OpaqueDeviceConfigurationPatchPtrOutput) Driver() pulumi.StringPtrOutput
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) ElementType ¶
func (OpaqueDeviceConfigurationPatchPtrOutput) ElementType() reflect.Type
func (OpaqueDeviceConfigurationPatchPtrOutput) Parameters ¶
func (o OpaqueDeviceConfigurationPatchPtrOutput) Parameters() pulumi.AnyOutput
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
func OpaqueDeviceConfigurationPtr ¶
func OpaqueDeviceConfigurationPtr(v *OpaqueDeviceConfigurationArgs) OpaqueDeviceConfigurationPtrInput
type OpaqueDeviceConfigurationPtrOutput ¶
type OpaqueDeviceConfigurationPtrOutput struct{ *pulumi.OutputState }
func (OpaqueDeviceConfigurationPtrOutput) Driver ¶
func (o OpaqueDeviceConfigurationPtrOutput) Driver() pulumi.StringPtrOutput
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 (o OpaqueDeviceConfigurationPtrOutput) Elem() OpaqueDeviceConfigurationOutput
func (OpaqueDeviceConfigurationPtrOutput) ElementType ¶
func (OpaqueDeviceConfigurationPtrOutput) ElementType() reflect.Type
func (OpaqueDeviceConfigurationPtrOutput) Parameters ¶
func (o OpaqueDeviceConfigurationPtrOutput) Parameters() pulumi.AnyOutput
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 PodSchedulingContext ¶
type PodSchedulingContext 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 where resources for the Pod are needed.
Spec PodSchedulingContextSpecOutput `pulumi:"spec"`
// Status describes where resources for the Pod can be allocated.
Status PodSchedulingContextStatusPtrOutput `pulumi:"status"`
}
PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
func GetPodSchedulingContext ¶
func GetPodSchedulingContext(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PodSchedulingContextState, opts ...pulumi.ResourceOption) (*PodSchedulingContext, error)
GetPodSchedulingContext gets an existing PodSchedulingContext 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 NewPodSchedulingContext ¶
func NewPodSchedulingContext(ctx *pulumi.Context, name string, args *PodSchedulingContextArgs, opts ...pulumi.ResourceOption) (*PodSchedulingContext, error)
NewPodSchedulingContext registers a new resource with the given unique name, arguments, and options.
func (*PodSchedulingContext) ElementType ¶
func (*PodSchedulingContext) ElementType() reflect.Type
func (*PodSchedulingContext) ToPodSchedulingContextOutput ¶
func (i *PodSchedulingContext) ToPodSchedulingContextOutput() PodSchedulingContextOutput
func (*PodSchedulingContext) ToPodSchedulingContextOutputWithContext ¶
func (i *PodSchedulingContext) ToPodSchedulingContextOutputWithContext(ctx context.Context) PodSchedulingContextOutput
type PodSchedulingContextArgs ¶
type PodSchedulingContextArgs 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 where resources for the Pod are needed.
Spec PodSchedulingContextSpecInput
}
The set of arguments for constructing a PodSchedulingContext resource.
func (PodSchedulingContextArgs) ElementType ¶
func (PodSchedulingContextArgs) ElementType() reflect.Type
type PodSchedulingContextArray ¶
type PodSchedulingContextArray []PodSchedulingContextInput
func (PodSchedulingContextArray) ElementType ¶
func (PodSchedulingContextArray) ElementType() reflect.Type
func (PodSchedulingContextArray) ToPodSchedulingContextArrayOutput ¶
func (i PodSchedulingContextArray) ToPodSchedulingContextArrayOutput() PodSchedulingContextArrayOutput
func (PodSchedulingContextArray) ToPodSchedulingContextArrayOutputWithContext ¶
func (i PodSchedulingContextArray) ToPodSchedulingContextArrayOutputWithContext(ctx context.Context) PodSchedulingContextArrayOutput
type PodSchedulingContextArrayInput ¶
type PodSchedulingContextArrayInput interface {
pulumi.Input
ToPodSchedulingContextArrayOutput() PodSchedulingContextArrayOutput
ToPodSchedulingContextArrayOutputWithContext(context.Context) PodSchedulingContextArrayOutput
}
PodSchedulingContextArrayInput is an input type that accepts PodSchedulingContextArray and PodSchedulingContextArrayOutput values. You can construct a concrete instance of `PodSchedulingContextArrayInput` via:
PodSchedulingContextArray{ PodSchedulingContextArgs{...} }
type PodSchedulingContextArrayOutput ¶
type PodSchedulingContextArrayOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextArrayOutput) ElementType ¶
func (PodSchedulingContextArrayOutput) ElementType() reflect.Type
func (PodSchedulingContextArrayOutput) Index ¶
func (o PodSchedulingContextArrayOutput) Index(i pulumi.IntInput) PodSchedulingContextOutput
func (PodSchedulingContextArrayOutput) ToPodSchedulingContextArrayOutput ¶
func (o PodSchedulingContextArrayOutput) ToPodSchedulingContextArrayOutput() PodSchedulingContextArrayOutput
func (PodSchedulingContextArrayOutput) ToPodSchedulingContextArrayOutputWithContext ¶
func (o PodSchedulingContextArrayOutput) ToPodSchedulingContextArrayOutputWithContext(ctx context.Context) PodSchedulingContextArrayOutput
type PodSchedulingContextInput ¶
type PodSchedulingContextInput interface {
pulumi.Input
ToPodSchedulingContextOutput() PodSchedulingContextOutput
ToPodSchedulingContextOutputWithContext(ctx context.Context) PodSchedulingContextOutput
}
type PodSchedulingContextList ¶
type PodSchedulingContextList 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 PodSchedulingContext objects.
Items PodSchedulingContextTypeArrayOutput `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"`
}
PodSchedulingContextList is a collection of Pod scheduling objects.
func GetPodSchedulingContextList ¶
func GetPodSchedulingContextList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PodSchedulingContextListState, opts ...pulumi.ResourceOption) (*PodSchedulingContextList, error)
GetPodSchedulingContextList gets an existing PodSchedulingContextList 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 NewPodSchedulingContextList ¶
func NewPodSchedulingContextList(ctx *pulumi.Context, name string, args *PodSchedulingContextListArgs, opts ...pulumi.ResourceOption) (*PodSchedulingContextList, error)
NewPodSchedulingContextList registers a new resource with the given unique name, arguments, and options.
func (*PodSchedulingContextList) ElementType ¶
func (*PodSchedulingContextList) ElementType() reflect.Type
func (*PodSchedulingContextList) ToPodSchedulingContextListOutput ¶
func (i *PodSchedulingContextList) ToPodSchedulingContextListOutput() PodSchedulingContextListOutput
func (*PodSchedulingContextList) ToPodSchedulingContextListOutputWithContext ¶
func (i *PodSchedulingContextList) ToPodSchedulingContextListOutputWithContext(ctx context.Context) PodSchedulingContextListOutput
type PodSchedulingContextListArgs ¶
type PodSchedulingContextListArgs 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 PodSchedulingContext objects.
Items PodSchedulingContextTypeArrayInput
// 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 PodSchedulingContextList resource.
func (PodSchedulingContextListArgs) ElementType ¶
func (PodSchedulingContextListArgs) ElementType() reflect.Type
type PodSchedulingContextListArray ¶
type PodSchedulingContextListArray []PodSchedulingContextListInput
func (PodSchedulingContextListArray) ElementType ¶
func (PodSchedulingContextListArray) ElementType() reflect.Type
func (PodSchedulingContextListArray) ToPodSchedulingContextListArrayOutput ¶
func (i PodSchedulingContextListArray) ToPodSchedulingContextListArrayOutput() PodSchedulingContextListArrayOutput
func (PodSchedulingContextListArray) ToPodSchedulingContextListArrayOutputWithContext ¶
func (i PodSchedulingContextListArray) ToPodSchedulingContextListArrayOutputWithContext(ctx context.Context) PodSchedulingContextListArrayOutput
type PodSchedulingContextListArrayInput ¶
type PodSchedulingContextListArrayInput interface {
pulumi.Input
ToPodSchedulingContextListArrayOutput() PodSchedulingContextListArrayOutput
ToPodSchedulingContextListArrayOutputWithContext(context.Context) PodSchedulingContextListArrayOutput
}
PodSchedulingContextListArrayInput is an input type that accepts PodSchedulingContextListArray and PodSchedulingContextListArrayOutput values. You can construct a concrete instance of `PodSchedulingContextListArrayInput` via:
PodSchedulingContextListArray{ PodSchedulingContextListArgs{...} }
type PodSchedulingContextListArrayOutput ¶
type PodSchedulingContextListArrayOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextListArrayOutput) ElementType ¶
func (PodSchedulingContextListArrayOutput) ElementType() reflect.Type
func (PodSchedulingContextListArrayOutput) Index ¶
func (o PodSchedulingContextListArrayOutput) Index(i pulumi.IntInput) PodSchedulingContextListOutput
func (PodSchedulingContextListArrayOutput) ToPodSchedulingContextListArrayOutput ¶
func (o PodSchedulingContextListArrayOutput) ToPodSchedulingContextListArrayOutput() PodSchedulingContextListArrayOutput
func (PodSchedulingContextListArrayOutput) ToPodSchedulingContextListArrayOutputWithContext ¶
func (o PodSchedulingContextListArrayOutput) ToPodSchedulingContextListArrayOutputWithContext(ctx context.Context) PodSchedulingContextListArrayOutput
type PodSchedulingContextListInput ¶
type PodSchedulingContextListInput interface {
pulumi.Input
ToPodSchedulingContextListOutput() PodSchedulingContextListOutput
ToPodSchedulingContextListOutputWithContext(ctx context.Context) PodSchedulingContextListOutput
}
type PodSchedulingContextListMap ¶
type PodSchedulingContextListMap map[string]PodSchedulingContextListInput
func (PodSchedulingContextListMap) ElementType ¶
func (PodSchedulingContextListMap) ElementType() reflect.Type
func (PodSchedulingContextListMap) ToPodSchedulingContextListMapOutput ¶
func (i PodSchedulingContextListMap) ToPodSchedulingContextListMapOutput() PodSchedulingContextListMapOutput
func (PodSchedulingContextListMap) ToPodSchedulingContextListMapOutputWithContext ¶
func (i PodSchedulingContextListMap) ToPodSchedulingContextListMapOutputWithContext(ctx context.Context) PodSchedulingContextListMapOutput
type PodSchedulingContextListMapInput ¶
type PodSchedulingContextListMapInput interface {
pulumi.Input
ToPodSchedulingContextListMapOutput() PodSchedulingContextListMapOutput
ToPodSchedulingContextListMapOutputWithContext(context.Context) PodSchedulingContextListMapOutput
}
PodSchedulingContextListMapInput is an input type that accepts PodSchedulingContextListMap and PodSchedulingContextListMapOutput values. You can construct a concrete instance of `PodSchedulingContextListMapInput` via:
PodSchedulingContextListMap{ "key": PodSchedulingContextListArgs{...} }
type PodSchedulingContextListMapOutput ¶
type PodSchedulingContextListMapOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextListMapOutput) ElementType ¶
func (PodSchedulingContextListMapOutput) ElementType() reflect.Type
func (PodSchedulingContextListMapOutput) MapIndex ¶
func (o PodSchedulingContextListMapOutput) MapIndex(k pulumi.StringInput) PodSchedulingContextListOutput
func (PodSchedulingContextListMapOutput) ToPodSchedulingContextListMapOutput ¶
func (o PodSchedulingContextListMapOutput) ToPodSchedulingContextListMapOutput() PodSchedulingContextListMapOutput
func (PodSchedulingContextListMapOutput) ToPodSchedulingContextListMapOutputWithContext ¶
func (o PodSchedulingContextListMapOutput) ToPodSchedulingContextListMapOutputWithContext(ctx context.Context) PodSchedulingContextListMapOutput
type PodSchedulingContextListOutput ¶
type PodSchedulingContextListOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextListOutput) ApiVersion ¶
func (o PodSchedulingContextListOutput) 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 (PodSchedulingContextListOutput) ElementType ¶
func (PodSchedulingContextListOutput) ElementType() reflect.Type
func (PodSchedulingContextListOutput) Items ¶
func (o PodSchedulingContextListOutput) Items() PodSchedulingContextTypeArrayOutput
Items is the list of PodSchedulingContext objects.
func (PodSchedulingContextListOutput) Kind ¶
func (o PodSchedulingContextListOutput) Kind() pulumi.StringOutput
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 (PodSchedulingContextListOutput) Metadata ¶
func (o PodSchedulingContextListOutput) Metadata() metav1.ListMetaOutput
Standard list metadata
func (PodSchedulingContextListOutput) ToPodSchedulingContextListOutput ¶
func (o PodSchedulingContextListOutput) ToPodSchedulingContextListOutput() PodSchedulingContextListOutput
func (PodSchedulingContextListOutput) ToPodSchedulingContextListOutputWithContext ¶
func (o PodSchedulingContextListOutput) ToPodSchedulingContextListOutputWithContext(ctx context.Context) PodSchedulingContextListOutput
type PodSchedulingContextListState ¶
type PodSchedulingContextListState struct {
}
func (PodSchedulingContextListState) ElementType ¶
func (PodSchedulingContextListState) ElementType() reflect.Type
type PodSchedulingContextListType ¶
type PodSchedulingContextListType 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 PodSchedulingContext objects.
Items []PodSchedulingContextType `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"`
}
PodSchedulingContextList is a collection of Pod scheduling objects.
type PodSchedulingContextListTypeArgs ¶
type PodSchedulingContextListTypeArgs 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 PodSchedulingContext objects.
Items PodSchedulingContextTypeArrayInput `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"`
}
PodSchedulingContextList is a collection of Pod scheduling objects.
func (PodSchedulingContextListTypeArgs) ElementType ¶
func (PodSchedulingContextListTypeArgs) ElementType() reflect.Type
func (PodSchedulingContextListTypeArgs) ToPodSchedulingContextListTypeOutput ¶
func (i PodSchedulingContextListTypeArgs) ToPodSchedulingContextListTypeOutput() PodSchedulingContextListTypeOutput
func (PodSchedulingContextListTypeArgs) ToPodSchedulingContextListTypeOutputWithContext ¶
func (i PodSchedulingContextListTypeArgs) ToPodSchedulingContextListTypeOutputWithContext(ctx context.Context) PodSchedulingContextListTypeOutput
type PodSchedulingContextListTypeInput ¶
type PodSchedulingContextListTypeInput interface {
pulumi.Input
ToPodSchedulingContextListTypeOutput() PodSchedulingContextListTypeOutput
ToPodSchedulingContextListTypeOutputWithContext(context.Context) PodSchedulingContextListTypeOutput
}
PodSchedulingContextListTypeInput is an input type that accepts PodSchedulingContextListTypeArgs and PodSchedulingContextListTypeOutput values. You can construct a concrete instance of `PodSchedulingContextListTypeInput` via:
PodSchedulingContextListTypeArgs{...}
type PodSchedulingContextListTypeOutput ¶
type PodSchedulingContextListTypeOutput struct{ *pulumi.OutputState }
PodSchedulingContextList is a collection of Pod scheduling objects.
func (PodSchedulingContextListTypeOutput) ApiVersion ¶
func (o PodSchedulingContextListTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 (PodSchedulingContextListTypeOutput) ElementType ¶
func (PodSchedulingContextListTypeOutput) ElementType() reflect.Type
func (PodSchedulingContextListTypeOutput) Items ¶
func (o PodSchedulingContextListTypeOutput) Items() PodSchedulingContextTypeArrayOutput
Items is the list of PodSchedulingContext objects.
func (PodSchedulingContextListTypeOutput) Kind ¶
func (o PodSchedulingContextListTypeOutput) Kind() pulumi.StringPtrOutput
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 (PodSchedulingContextListTypeOutput) Metadata ¶
func (o PodSchedulingContextListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard list metadata
func (PodSchedulingContextListTypeOutput) ToPodSchedulingContextListTypeOutput ¶
func (o PodSchedulingContextListTypeOutput) ToPodSchedulingContextListTypeOutput() PodSchedulingContextListTypeOutput
func (PodSchedulingContextListTypeOutput) ToPodSchedulingContextListTypeOutputWithContext ¶
func (o PodSchedulingContextListTypeOutput) ToPodSchedulingContextListTypeOutputWithContext(ctx context.Context) PodSchedulingContextListTypeOutput
type PodSchedulingContextMap ¶
type PodSchedulingContextMap map[string]PodSchedulingContextInput
func (PodSchedulingContextMap) ElementType ¶
func (PodSchedulingContextMap) ElementType() reflect.Type
func (PodSchedulingContextMap) ToPodSchedulingContextMapOutput ¶
func (i PodSchedulingContextMap) ToPodSchedulingContextMapOutput() PodSchedulingContextMapOutput
func (PodSchedulingContextMap) ToPodSchedulingContextMapOutputWithContext ¶
func (i PodSchedulingContextMap) ToPodSchedulingContextMapOutputWithContext(ctx context.Context) PodSchedulingContextMapOutput
type PodSchedulingContextMapInput ¶
type PodSchedulingContextMapInput interface {
pulumi.Input
ToPodSchedulingContextMapOutput() PodSchedulingContextMapOutput
ToPodSchedulingContextMapOutputWithContext(context.Context) PodSchedulingContextMapOutput
}
PodSchedulingContextMapInput is an input type that accepts PodSchedulingContextMap and PodSchedulingContextMapOutput values. You can construct a concrete instance of `PodSchedulingContextMapInput` via:
PodSchedulingContextMap{ "key": PodSchedulingContextArgs{...} }
type PodSchedulingContextMapOutput ¶
type PodSchedulingContextMapOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextMapOutput) ElementType ¶
func (PodSchedulingContextMapOutput) ElementType() reflect.Type
func (PodSchedulingContextMapOutput) MapIndex ¶
func (o PodSchedulingContextMapOutput) MapIndex(k pulumi.StringInput) PodSchedulingContextOutput
func (PodSchedulingContextMapOutput) ToPodSchedulingContextMapOutput ¶
func (o PodSchedulingContextMapOutput) ToPodSchedulingContextMapOutput() PodSchedulingContextMapOutput
func (PodSchedulingContextMapOutput) ToPodSchedulingContextMapOutputWithContext ¶
func (o PodSchedulingContextMapOutput) ToPodSchedulingContextMapOutputWithContext(ctx context.Context) PodSchedulingContextMapOutput
type PodSchedulingContextOutput ¶
type PodSchedulingContextOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextOutput) ApiVersion ¶
func (o PodSchedulingContextOutput) 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 (PodSchedulingContextOutput) ElementType ¶
func (PodSchedulingContextOutput) ElementType() reflect.Type
func (PodSchedulingContextOutput) Kind ¶
func (o PodSchedulingContextOutput) Kind() pulumi.StringOutput
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 (PodSchedulingContextOutput) Metadata ¶
func (o PodSchedulingContextOutput) Metadata() metav1.ObjectMetaOutput
Standard object metadata
func (PodSchedulingContextOutput) Spec ¶
func (o PodSchedulingContextOutput) Spec() PodSchedulingContextSpecOutput
Spec describes where resources for the Pod are needed.
func (PodSchedulingContextOutput) Status ¶
func (o PodSchedulingContextOutput) Status() PodSchedulingContextStatusPtrOutput
Status describes where resources for the Pod can be allocated.
func (PodSchedulingContextOutput) ToPodSchedulingContextOutput ¶
func (o PodSchedulingContextOutput) ToPodSchedulingContextOutput() PodSchedulingContextOutput
func (PodSchedulingContextOutput) ToPodSchedulingContextOutputWithContext ¶
func (o PodSchedulingContextOutput) ToPodSchedulingContextOutputWithContext(ctx context.Context) PodSchedulingContextOutput
type PodSchedulingContextPatch ¶
type PodSchedulingContextPatch 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 where resources for the Pod are needed.
Spec PodSchedulingContextSpecPatchPtrOutput `pulumi:"spec"`
// Status describes where resources for the Pod can be allocated.
Status PodSchedulingContextStatusPatchPtrOutput `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. PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
func GetPodSchedulingContextPatch ¶
func GetPodSchedulingContextPatch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PodSchedulingContextPatchState, opts ...pulumi.ResourceOption) (*PodSchedulingContextPatch, error)
GetPodSchedulingContextPatch gets an existing PodSchedulingContextPatch 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 NewPodSchedulingContextPatch ¶
func NewPodSchedulingContextPatch(ctx *pulumi.Context, name string, args *PodSchedulingContextPatchArgs, opts ...pulumi.ResourceOption) (*PodSchedulingContextPatch, error)
NewPodSchedulingContextPatch registers a new resource with the given unique name, arguments, and options.
func (*PodSchedulingContextPatch) ElementType ¶
func (*PodSchedulingContextPatch) ElementType() reflect.Type
func (*PodSchedulingContextPatch) ToPodSchedulingContextPatchOutput ¶
func (i *PodSchedulingContextPatch) ToPodSchedulingContextPatchOutput() PodSchedulingContextPatchOutput
func (*PodSchedulingContextPatch) ToPodSchedulingContextPatchOutputWithContext ¶
func (i *PodSchedulingContextPatch) ToPodSchedulingContextPatchOutputWithContext(ctx context.Context) PodSchedulingContextPatchOutput
type PodSchedulingContextPatchArgs ¶
type PodSchedulingContextPatchArgs 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 where resources for the Pod are needed.
Spec PodSchedulingContextSpecPatchPtrInput
}
The set of arguments for constructing a PodSchedulingContextPatch resource.
func (PodSchedulingContextPatchArgs) ElementType ¶
func (PodSchedulingContextPatchArgs) ElementType() reflect.Type
type PodSchedulingContextPatchArray ¶
type PodSchedulingContextPatchArray []PodSchedulingContextPatchInput
func (PodSchedulingContextPatchArray) ElementType ¶
func (PodSchedulingContextPatchArray) ElementType() reflect.Type
func (PodSchedulingContextPatchArray) ToPodSchedulingContextPatchArrayOutput ¶
func (i PodSchedulingContextPatchArray) ToPodSchedulingContextPatchArrayOutput() PodSchedulingContextPatchArrayOutput
func (PodSchedulingContextPatchArray) ToPodSchedulingContextPatchArrayOutputWithContext ¶
func (i PodSchedulingContextPatchArray) ToPodSchedulingContextPatchArrayOutputWithContext(ctx context.Context) PodSchedulingContextPatchArrayOutput
type PodSchedulingContextPatchArrayInput ¶
type PodSchedulingContextPatchArrayInput interface {
pulumi.Input
ToPodSchedulingContextPatchArrayOutput() PodSchedulingContextPatchArrayOutput
ToPodSchedulingContextPatchArrayOutputWithContext(context.Context) PodSchedulingContextPatchArrayOutput
}
PodSchedulingContextPatchArrayInput is an input type that accepts PodSchedulingContextPatchArray and PodSchedulingContextPatchArrayOutput values. You can construct a concrete instance of `PodSchedulingContextPatchArrayInput` via:
PodSchedulingContextPatchArray{ PodSchedulingContextPatchArgs{...} }
type PodSchedulingContextPatchArrayOutput ¶
type PodSchedulingContextPatchArrayOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextPatchArrayOutput) ElementType ¶
func (PodSchedulingContextPatchArrayOutput) ElementType() reflect.Type
func (PodSchedulingContextPatchArrayOutput) Index ¶
func (o PodSchedulingContextPatchArrayOutput) Index(i pulumi.IntInput) PodSchedulingContextPatchOutput
func (PodSchedulingContextPatchArrayOutput) ToPodSchedulingContextPatchArrayOutput ¶
func (o PodSchedulingContextPatchArrayOutput) ToPodSchedulingContextPatchArrayOutput() PodSchedulingContextPatchArrayOutput
func (PodSchedulingContextPatchArrayOutput) ToPodSchedulingContextPatchArrayOutputWithContext ¶
func (o PodSchedulingContextPatchArrayOutput) ToPodSchedulingContextPatchArrayOutputWithContext(ctx context.Context) PodSchedulingContextPatchArrayOutput
type PodSchedulingContextPatchInput ¶
type PodSchedulingContextPatchInput interface {
pulumi.Input
ToPodSchedulingContextPatchOutput() PodSchedulingContextPatchOutput
ToPodSchedulingContextPatchOutputWithContext(ctx context.Context) PodSchedulingContextPatchOutput
}
type PodSchedulingContextPatchMap ¶
type PodSchedulingContextPatchMap map[string]PodSchedulingContextPatchInput
func (PodSchedulingContextPatchMap) ElementType ¶
func (PodSchedulingContextPatchMap) ElementType() reflect.Type
func (PodSchedulingContextPatchMap) ToPodSchedulingContextPatchMapOutput ¶
func (i PodSchedulingContextPatchMap) ToPodSchedulingContextPatchMapOutput() PodSchedulingContextPatchMapOutput
func (PodSchedulingContextPatchMap) ToPodSchedulingContextPatchMapOutputWithContext ¶
func (i PodSchedulingContextPatchMap) ToPodSchedulingContextPatchMapOutputWithContext(ctx context.Context) PodSchedulingContextPatchMapOutput
type PodSchedulingContextPatchMapInput ¶
type PodSchedulingContextPatchMapInput interface {
pulumi.Input
ToPodSchedulingContextPatchMapOutput() PodSchedulingContextPatchMapOutput
ToPodSchedulingContextPatchMapOutputWithContext(context.Context) PodSchedulingContextPatchMapOutput
}
PodSchedulingContextPatchMapInput is an input type that accepts PodSchedulingContextPatchMap and PodSchedulingContextPatchMapOutput values. You can construct a concrete instance of `PodSchedulingContextPatchMapInput` via:
PodSchedulingContextPatchMap{ "key": PodSchedulingContextPatchArgs{...} }
type PodSchedulingContextPatchMapOutput ¶
type PodSchedulingContextPatchMapOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextPatchMapOutput) ElementType ¶
func (PodSchedulingContextPatchMapOutput) ElementType() reflect.Type
func (PodSchedulingContextPatchMapOutput) MapIndex ¶
func (o PodSchedulingContextPatchMapOutput) MapIndex(k pulumi.StringInput) PodSchedulingContextPatchOutput
func (PodSchedulingContextPatchMapOutput) ToPodSchedulingContextPatchMapOutput ¶
func (o PodSchedulingContextPatchMapOutput) ToPodSchedulingContextPatchMapOutput() PodSchedulingContextPatchMapOutput
func (PodSchedulingContextPatchMapOutput) ToPodSchedulingContextPatchMapOutputWithContext ¶
func (o PodSchedulingContextPatchMapOutput) ToPodSchedulingContextPatchMapOutputWithContext(ctx context.Context) PodSchedulingContextPatchMapOutput
type PodSchedulingContextPatchOutput ¶
type PodSchedulingContextPatchOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextPatchOutput) ApiVersion ¶
func (o PodSchedulingContextPatchOutput) ApiVersion() pulumi.StringPtrOutput
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 (PodSchedulingContextPatchOutput) ElementType ¶
func (PodSchedulingContextPatchOutput) ElementType() reflect.Type
func (PodSchedulingContextPatchOutput) Kind ¶
func (o PodSchedulingContextPatchOutput) Kind() pulumi.StringPtrOutput
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 (PodSchedulingContextPatchOutput) Metadata ¶
func (o PodSchedulingContextPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata
func (PodSchedulingContextPatchOutput) Spec ¶
Spec describes where resources for the Pod are needed.
func (PodSchedulingContextPatchOutput) Status ¶
func (o PodSchedulingContextPatchOutput) Status() PodSchedulingContextStatusPatchPtrOutput
Status describes where resources for the Pod can be allocated.
func (PodSchedulingContextPatchOutput) ToPodSchedulingContextPatchOutput ¶
func (o PodSchedulingContextPatchOutput) ToPodSchedulingContextPatchOutput() PodSchedulingContextPatchOutput
func (PodSchedulingContextPatchOutput) ToPodSchedulingContextPatchOutputWithContext ¶
func (o PodSchedulingContextPatchOutput) ToPodSchedulingContextPatchOutputWithContext(ctx context.Context) PodSchedulingContextPatchOutput
type PodSchedulingContextPatchState ¶
type PodSchedulingContextPatchState struct {
}
func (PodSchedulingContextPatchState) ElementType ¶
func (PodSchedulingContextPatchState) ElementType() reflect.Type
type PodSchedulingContextPatchType ¶
type PodSchedulingContextPatchType 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 where resources for the Pod are needed.
Spec *PodSchedulingContextSpecPatch `pulumi:"spec"`
// Status describes where resources for the Pod can be allocated.
Status *PodSchedulingContextStatusPatch `pulumi:"status"`
}
PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
type PodSchedulingContextPatchTypeArgs ¶
type PodSchedulingContextPatchTypeArgs 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 where resources for the Pod are needed.
Spec PodSchedulingContextSpecPatchPtrInput `pulumi:"spec"`
// Status describes where resources for the Pod can be allocated.
Status PodSchedulingContextStatusPatchPtrInput `pulumi:"status"`
}
PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
func (PodSchedulingContextPatchTypeArgs) ElementType ¶
func (PodSchedulingContextPatchTypeArgs) ElementType() reflect.Type
func (PodSchedulingContextPatchTypeArgs) ToPodSchedulingContextPatchTypeOutput ¶
func (i PodSchedulingContextPatchTypeArgs) ToPodSchedulingContextPatchTypeOutput() PodSchedulingContextPatchTypeOutput
func (PodSchedulingContextPatchTypeArgs) ToPodSchedulingContextPatchTypeOutputWithContext ¶
func (i PodSchedulingContextPatchTypeArgs) ToPodSchedulingContextPatchTypeOutputWithContext(ctx context.Context) PodSchedulingContextPatchTypeOutput
type PodSchedulingContextPatchTypeInput ¶
type PodSchedulingContextPatchTypeInput interface {
pulumi.Input
ToPodSchedulingContextPatchTypeOutput() PodSchedulingContextPatchTypeOutput
ToPodSchedulingContextPatchTypeOutputWithContext(context.Context) PodSchedulingContextPatchTypeOutput
}
PodSchedulingContextPatchTypeInput is an input type that accepts PodSchedulingContextPatchTypeArgs and PodSchedulingContextPatchTypeOutput values. You can construct a concrete instance of `PodSchedulingContextPatchTypeInput` via:
PodSchedulingContextPatchTypeArgs{...}
type PodSchedulingContextPatchTypeOutput ¶
type PodSchedulingContextPatchTypeOutput struct{ *pulumi.OutputState }
PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
func (PodSchedulingContextPatchTypeOutput) ApiVersion ¶
func (o PodSchedulingContextPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 (PodSchedulingContextPatchTypeOutput) ElementType ¶
func (PodSchedulingContextPatchTypeOutput) ElementType() reflect.Type
func (PodSchedulingContextPatchTypeOutput) Kind ¶
func (o PodSchedulingContextPatchTypeOutput) Kind() pulumi.StringPtrOutput
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 (PodSchedulingContextPatchTypeOutput) Metadata ¶
func (o PodSchedulingContextPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata
func (PodSchedulingContextPatchTypeOutput) Spec ¶
Spec describes where resources for the Pod are needed.
func (PodSchedulingContextPatchTypeOutput) Status ¶
func (o PodSchedulingContextPatchTypeOutput) Status() PodSchedulingContextStatusPatchPtrOutput
Status describes where resources for the Pod can be allocated.
func (PodSchedulingContextPatchTypeOutput) ToPodSchedulingContextPatchTypeOutput ¶
func (o PodSchedulingContextPatchTypeOutput) ToPodSchedulingContextPatchTypeOutput() PodSchedulingContextPatchTypeOutput
func (PodSchedulingContextPatchTypeOutput) ToPodSchedulingContextPatchTypeOutputWithContext ¶
func (o PodSchedulingContextPatchTypeOutput) ToPodSchedulingContextPatchTypeOutputWithContext(ctx context.Context) PodSchedulingContextPatchTypeOutput
type PodSchedulingContextSpec ¶
type PodSchedulingContextSpec struct {
// PotentialNodes lists nodes where the Pod might be able to run.
//
// The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
PotentialNodes []string `pulumi:"potentialNodes"`
// SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
SelectedNode *string `pulumi:"selectedNode"`
}
PodSchedulingContextSpec describes where resources for the Pod are needed.
type PodSchedulingContextSpecArgs ¶
type PodSchedulingContextSpecArgs struct {
// PotentialNodes lists nodes where the Pod might be able to run.
//
// The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
PotentialNodes pulumi.StringArrayInput `pulumi:"potentialNodes"`
// SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
SelectedNode pulumi.StringPtrInput `pulumi:"selectedNode"`
}
PodSchedulingContextSpec describes where resources for the Pod are needed.
func (PodSchedulingContextSpecArgs) ElementType ¶
func (PodSchedulingContextSpecArgs) ElementType() reflect.Type
func (PodSchedulingContextSpecArgs) ToPodSchedulingContextSpecOutput ¶
func (i PodSchedulingContextSpecArgs) ToPodSchedulingContextSpecOutput() PodSchedulingContextSpecOutput
func (PodSchedulingContextSpecArgs) ToPodSchedulingContextSpecOutputWithContext ¶
func (i PodSchedulingContextSpecArgs) ToPodSchedulingContextSpecOutputWithContext(ctx context.Context) PodSchedulingContextSpecOutput
type PodSchedulingContextSpecInput ¶
type PodSchedulingContextSpecInput interface {
pulumi.Input
ToPodSchedulingContextSpecOutput() PodSchedulingContextSpecOutput
ToPodSchedulingContextSpecOutputWithContext(context.Context) PodSchedulingContextSpecOutput
}
PodSchedulingContextSpecInput is an input type that accepts PodSchedulingContextSpecArgs and PodSchedulingContextSpecOutput values. You can construct a concrete instance of `PodSchedulingContextSpecInput` via:
PodSchedulingContextSpecArgs{...}
type PodSchedulingContextSpecOutput ¶
type PodSchedulingContextSpecOutput struct{ *pulumi.OutputState }
PodSchedulingContextSpec describes where resources for the Pod are needed.
func (PodSchedulingContextSpecOutput) ElementType ¶
func (PodSchedulingContextSpecOutput) ElementType() reflect.Type
func (PodSchedulingContextSpecOutput) PotentialNodes ¶
func (o PodSchedulingContextSpecOutput) PotentialNodes() pulumi.StringArrayOutput
PotentialNodes lists nodes where the Pod might be able to run.
The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
func (PodSchedulingContextSpecOutput) SelectedNode ¶
func (o PodSchedulingContextSpecOutput) SelectedNode() pulumi.StringPtrOutput
SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
func (PodSchedulingContextSpecOutput) ToPodSchedulingContextSpecOutput ¶
func (o PodSchedulingContextSpecOutput) ToPodSchedulingContextSpecOutput() PodSchedulingContextSpecOutput
func (PodSchedulingContextSpecOutput) ToPodSchedulingContextSpecOutputWithContext ¶
func (o PodSchedulingContextSpecOutput) ToPodSchedulingContextSpecOutputWithContext(ctx context.Context) PodSchedulingContextSpecOutput
type PodSchedulingContextSpecPatch ¶
type PodSchedulingContextSpecPatch struct {
// PotentialNodes lists nodes where the Pod might be able to run.
//
// The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
PotentialNodes []string `pulumi:"potentialNodes"`
// SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
SelectedNode *string `pulumi:"selectedNode"`
}
PodSchedulingContextSpec describes where resources for the Pod are needed.
type PodSchedulingContextSpecPatchArgs ¶
type PodSchedulingContextSpecPatchArgs struct {
// PotentialNodes lists nodes where the Pod might be able to run.
//
// The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
PotentialNodes pulumi.StringArrayInput `pulumi:"potentialNodes"`
// SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
SelectedNode pulumi.StringPtrInput `pulumi:"selectedNode"`
}
PodSchedulingContextSpec describes where resources for the Pod are needed.
func (PodSchedulingContextSpecPatchArgs) ElementType ¶
func (PodSchedulingContextSpecPatchArgs) ElementType() reflect.Type
func (PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchOutput ¶
func (i PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchOutput() PodSchedulingContextSpecPatchOutput
func (PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchOutputWithContext ¶
func (i PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchOutputWithContext(ctx context.Context) PodSchedulingContextSpecPatchOutput
func (PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchPtrOutput ¶
func (i PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchPtrOutput() PodSchedulingContextSpecPatchPtrOutput
func (PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchPtrOutputWithContext ¶
func (i PodSchedulingContextSpecPatchArgs) ToPodSchedulingContextSpecPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextSpecPatchPtrOutput
type PodSchedulingContextSpecPatchInput ¶
type PodSchedulingContextSpecPatchInput interface {
pulumi.Input
ToPodSchedulingContextSpecPatchOutput() PodSchedulingContextSpecPatchOutput
ToPodSchedulingContextSpecPatchOutputWithContext(context.Context) PodSchedulingContextSpecPatchOutput
}
PodSchedulingContextSpecPatchInput is an input type that accepts PodSchedulingContextSpecPatchArgs and PodSchedulingContextSpecPatchOutput values. You can construct a concrete instance of `PodSchedulingContextSpecPatchInput` via:
PodSchedulingContextSpecPatchArgs{...}
type PodSchedulingContextSpecPatchOutput ¶
type PodSchedulingContextSpecPatchOutput struct{ *pulumi.OutputState }
PodSchedulingContextSpec describes where resources for the Pod are needed.
func (PodSchedulingContextSpecPatchOutput) ElementType ¶
func (PodSchedulingContextSpecPatchOutput) ElementType() reflect.Type
func (PodSchedulingContextSpecPatchOutput) PotentialNodes ¶
func (o PodSchedulingContextSpecPatchOutput) PotentialNodes() pulumi.StringArrayOutput
PotentialNodes lists nodes where the Pod might be able to run.
The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
func (PodSchedulingContextSpecPatchOutput) SelectedNode ¶
func (o PodSchedulingContextSpecPatchOutput) SelectedNode() pulumi.StringPtrOutput
SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
func (PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchOutput ¶
func (o PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchOutput() PodSchedulingContextSpecPatchOutput
func (PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchOutputWithContext ¶
func (o PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchOutputWithContext(ctx context.Context) PodSchedulingContextSpecPatchOutput
func (PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchPtrOutput ¶
func (o PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchPtrOutput() PodSchedulingContextSpecPatchPtrOutput
func (PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchPtrOutputWithContext ¶
func (o PodSchedulingContextSpecPatchOutput) ToPodSchedulingContextSpecPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextSpecPatchPtrOutput
type PodSchedulingContextSpecPatchPtrInput ¶
type PodSchedulingContextSpecPatchPtrInput interface {
pulumi.Input
ToPodSchedulingContextSpecPatchPtrOutput() PodSchedulingContextSpecPatchPtrOutput
ToPodSchedulingContextSpecPatchPtrOutputWithContext(context.Context) PodSchedulingContextSpecPatchPtrOutput
}
PodSchedulingContextSpecPatchPtrInput is an input type that accepts PodSchedulingContextSpecPatchArgs, PodSchedulingContextSpecPatchPtr and PodSchedulingContextSpecPatchPtrOutput values. You can construct a concrete instance of `PodSchedulingContextSpecPatchPtrInput` via:
PodSchedulingContextSpecPatchArgs{...}
or:
nil
func PodSchedulingContextSpecPatchPtr ¶
func PodSchedulingContextSpecPatchPtr(v *PodSchedulingContextSpecPatchArgs) PodSchedulingContextSpecPatchPtrInput
type PodSchedulingContextSpecPatchPtrOutput ¶
type PodSchedulingContextSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextSpecPatchPtrOutput) ElementType ¶
func (PodSchedulingContextSpecPatchPtrOutput) ElementType() reflect.Type
func (PodSchedulingContextSpecPatchPtrOutput) PotentialNodes ¶
func (o PodSchedulingContextSpecPatchPtrOutput) PotentialNodes() pulumi.StringArrayOutput
PotentialNodes lists nodes where the Pod might be able to run.
The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
func (PodSchedulingContextSpecPatchPtrOutput) SelectedNode ¶
func (o PodSchedulingContextSpecPatchPtrOutput) SelectedNode() pulumi.StringPtrOutput
SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
func (PodSchedulingContextSpecPatchPtrOutput) ToPodSchedulingContextSpecPatchPtrOutput ¶
func (o PodSchedulingContextSpecPatchPtrOutput) ToPodSchedulingContextSpecPatchPtrOutput() PodSchedulingContextSpecPatchPtrOutput
func (PodSchedulingContextSpecPatchPtrOutput) ToPodSchedulingContextSpecPatchPtrOutputWithContext ¶
func (o PodSchedulingContextSpecPatchPtrOutput) ToPodSchedulingContextSpecPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextSpecPatchPtrOutput
type PodSchedulingContextState ¶
type PodSchedulingContextState struct {
}
func (PodSchedulingContextState) ElementType ¶
func (PodSchedulingContextState) ElementType() reflect.Type
type PodSchedulingContextStatus ¶
type PodSchedulingContextStatus struct {
// ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
ResourceClaims []ResourceClaimSchedulingStatus `pulumi:"resourceClaims"`
}
PodSchedulingContextStatus describes where resources for the Pod can be allocated.
type PodSchedulingContextStatusArgs ¶
type PodSchedulingContextStatusArgs struct {
// ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
ResourceClaims ResourceClaimSchedulingStatusArrayInput `pulumi:"resourceClaims"`
}
PodSchedulingContextStatus describes where resources for the Pod can be allocated.
func (PodSchedulingContextStatusArgs) ElementType ¶
func (PodSchedulingContextStatusArgs) ElementType() reflect.Type
func (PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusOutput ¶
func (i PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusOutput() PodSchedulingContextStatusOutput
func (PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusOutputWithContext ¶
func (i PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusOutputWithContext(ctx context.Context) PodSchedulingContextStatusOutput
func (PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusPtrOutput ¶
func (i PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusPtrOutput() PodSchedulingContextStatusPtrOutput
func (PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusPtrOutputWithContext ¶
func (i PodSchedulingContextStatusArgs) ToPodSchedulingContextStatusPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPtrOutput
type PodSchedulingContextStatusInput ¶
type PodSchedulingContextStatusInput interface {
pulumi.Input
ToPodSchedulingContextStatusOutput() PodSchedulingContextStatusOutput
ToPodSchedulingContextStatusOutputWithContext(context.Context) PodSchedulingContextStatusOutput
}
PodSchedulingContextStatusInput is an input type that accepts PodSchedulingContextStatusArgs and PodSchedulingContextStatusOutput values. You can construct a concrete instance of `PodSchedulingContextStatusInput` via:
PodSchedulingContextStatusArgs{...}
type PodSchedulingContextStatusOutput ¶
type PodSchedulingContextStatusOutput struct{ *pulumi.OutputState }
PodSchedulingContextStatus describes where resources for the Pod can be allocated.
func (PodSchedulingContextStatusOutput) ElementType ¶
func (PodSchedulingContextStatusOutput) ElementType() reflect.Type
func (PodSchedulingContextStatusOutput) ResourceClaims ¶
func (o PodSchedulingContextStatusOutput) ResourceClaims() ResourceClaimSchedulingStatusArrayOutput
ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
func (PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusOutput ¶
func (o PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusOutput() PodSchedulingContextStatusOutput
func (PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusOutputWithContext ¶
func (o PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusOutputWithContext(ctx context.Context) PodSchedulingContextStatusOutput
func (PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusPtrOutput ¶
func (o PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusPtrOutput() PodSchedulingContextStatusPtrOutput
func (PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusPtrOutputWithContext ¶
func (o PodSchedulingContextStatusOutput) ToPodSchedulingContextStatusPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPtrOutput
type PodSchedulingContextStatusPatch ¶
type PodSchedulingContextStatusPatch struct {
// ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
ResourceClaims []ResourceClaimSchedulingStatusPatch `pulumi:"resourceClaims"`
}
PodSchedulingContextStatus describes where resources for the Pod can be allocated.
type PodSchedulingContextStatusPatchArgs ¶
type PodSchedulingContextStatusPatchArgs struct {
// ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
ResourceClaims ResourceClaimSchedulingStatusPatchArrayInput `pulumi:"resourceClaims"`
}
PodSchedulingContextStatus describes where resources for the Pod can be allocated.
func (PodSchedulingContextStatusPatchArgs) ElementType ¶
func (PodSchedulingContextStatusPatchArgs) ElementType() reflect.Type
func (PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchOutput ¶
func (i PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchOutput() PodSchedulingContextStatusPatchOutput
func (PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchOutputWithContext ¶
func (i PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchOutputWithContext(ctx context.Context) PodSchedulingContextStatusPatchOutput
func (PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchPtrOutput ¶
func (i PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchPtrOutput() PodSchedulingContextStatusPatchPtrOutput
func (PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchPtrOutputWithContext ¶
func (i PodSchedulingContextStatusPatchArgs) ToPodSchedulingContextStatusPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPatchPtrOutput
type PodSchedulingContextStatusPatchInput ¶
type PodSchedulingContextStatusPatchInput interface {
pulumi.Input
ToPodSchedulingContextStatusPatchOutput() PodSchedulingContextStatusPatchOutput
ToPodSchedulingContextStatusPatchOutputWithContext(context.Context) PodSchedulingContextStatusPatchOutput
}
PodSchedulingContextStatusPatchInput is an input type that accepts PodSchedulingContextStatusPatchArgs and PodSchedulingContextStatusPatchOutput values. You can construct a concrete instance of `PodSchedulingContextStatusPatchInput` via:
PodSchedulingContextStatusPatchArgs{...}
type PodSchedulingContextStatusPatchOutput ¶
type PodSchedulingContextStatusPatchOutput struct{ *pulumi.OutputState }
PodSchedulingContextStatus describes where resources for the Pod can be allocated.
func (PodSchedulingContextStatusPatchOutput) ElementType ¶
func (PodSchedulingContextStatusPatchOutput) ElementType() reflect.Type
func (PodSchedulingContextStatusPatchOutput) ResourceClaims ¶
func (o PodSchedulingContextStatusPatchOutput) ResourceClaims() ResourceClaimSchedulingStatusPatchArrayOutput
ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
func (PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchOutput ¶
func (o PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchOutput() PodSchedulingContextStatusPatchOutput
func (PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchOutputWithContext ¶
func (o PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchOutputWithContext(ctx context.Context) PodSchedulingContextStatusPatchOutput
func (PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchPtrOutput ¶
func (o PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchPtrOutput() PodSchedulingContextStatusPatchPtrOutput
func (PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchPtrOutputWithContext ¶
func (o PodSchedulingContextStatusPatchOutput) ToPodSchedulingContextStatusPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPatchPtrOutput
type PodSchedulingContextStatusPatchPtrInput ¶
type PodSchedulingContextStatusPatchPtrInput interface {
pulumi.Input
ToPodSchedulingContextStatusPatchPtrOutput() PodSchedulingContextStatusPatchPtrOutput
ToPodSchedulingContextStatusPatchPtrOutputWithContext(context.Context) PodSchedulingContextStatusPatchPtrOutput
}
PodSchedulingContextStatusPatchPtrInput is an input type that accepts PodSchedulingContextStatusPatchArgs, PodSchedulingContextStatusPatchPtr and PodSchedulingContextStatusPatchPtrOutput values. You can construct a concrete instance of `PodSchedulingContextStatusPatchPtrInput` via:
PodSchedulingContextStatusPatchArgs{...}
or:
nil
func PodSchedulingContextStatusPatchPtr ¶
func PodSchedulingContextStatusPatchPtr(v *PodSchedulingContextStatusPatchArgs) PodSchedulingContextStatusPatchPtrInput
type PodSchedulingContextStatusPatchPtrOutput ¶
type PodSchedulingContextStatusPatchPtrOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextStatusPatchPtrOutput) ElementType ¶
func (PodSchedulingContextStatusPatchPtrOutput) ElementType() reflect.Type
func (PodSchedulingContextStatusPatchPtrOutput) ResourceClaims ¶
func (o PodSchedulingContextStatusPatchPtrOutput) ResourceClaims() ResourceClaimSchedulingStatusPatchArrayOutput
ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
func (PodSchedulingContextStatusPatchPtrOutput) ToPodSchedulingContextStatusPatchPtrOutput ¶
func (o PodSchedulingContextStatusPatchPtrOutput) ToPodSchedulingContextStatusPatchPtrOutput() PodSchedulingContextStatusPatchPtrOutput
func (PodSchedulingContextStatusPatchPtrOutput) ToPodSchedulingContextStatusPatchPtrOutputWithContext ¶
func (o PodSchedulingContextStatusPatchPtrOutput) ToPodSchedulingContextStatusPatchPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPatchPtrOutput
type PodSchedulingContextStatusPtrInput ¶
type PodSchedulingContextStatusPtrInput interface {
pulumi.Input
ToPodSchedulingContextStatusPtrOutput() PodSchedulingContextStatusPtrOutput
ToPodSchedulingContextStatusPtrOutputWithContext(context.Context) PodSchedulingContextStatusPtrOutput
}
PodSchedulingContextStatusPtrInput is an input type that accepts PodSchedulingContextStatusArgs, PodSchedulingContextStatusPtr and PodSchedulingContextStatusPtrOutput values. You can construct a concrete instance of `PodSchedulingContextStatusPtrInput` via:
PodSchedulingContextStatusArgs{...}
or:
nil
func PodSchedulingContextStatusPtr ¶
func PodSchedulingContextStatusPtr(v *PodSchedulingContextStatusArgs) PodSchedulingContextStatusPtrInput
type PodSchedulingContextStatusPtrOutput ¶
type PodSchedulingContextStatusPtrOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextStatusPtrOutput) Elem ¶
func (o PodSchedulingContextStatusPtrOutput) Elem() PodSchedulingContextStatusOutput
func (PodSchedulingContextStatusPtrOutput) ElementType ¶
func (PodSchedulingContextStatusPtrOutput) ElementType() reflect.Type
func (PodSchedulingContextStatusPtrOutput) ResourceClaims ¶
func (o PodSchedulingContextStatusPtrOutput) ResourceClaims() ResourceClaimSchedulingStatusArrayOutput
ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
func (PodSchedulingContextStatusPtrOutput) ToPodSchedulingContextStatusPtrOutput ¶
func (o PodSchedulingContextStatusPtrOutput) ToPodSchedulingContextStatusPtrOutput() PodSchedulingContextStatusPtrOutput
func (PodSchedulingContextStatusPtrOutput) ToPodSchedulingContextStatusPtrOutputWithContext ¶
func (o PodSchedulingContextStatusPtrOutput) ToPodSchedulingContextStatusPtrOutputWithContext(ctx context.Context) PodSchedulingContextStatusPtrOutput
type PodSchedulingContextType ¶
type PodSchedulingContextType 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 where resources for the Pod are needed.
Spec PodSchedulingContextSpec `pulumi:"spec"`
// Status describes where resources for the Pod can be allocated.
Status *PodSchedulingContextStatus `pulumi:"status"`
}
PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
type PodSchedulingContextTypeArgs ¶
type PodSchedulingContextTypeArgs 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 where resources for the Pod are needed.
Spec PodSchedulingContextSpecInput `pulumi:"spec"`
// Status describes where resources for the Pod can be allocated.
Status PodSchedulingContextStatusPtrInput `pulumi:"status"`
}
PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
func (PodSchedulingContextTypeArgs) ElementType ¶
func (PodSchedulingContextTypeArgs) ElementType() reflect.Type
func (PodSchedulingContextTypeArgs) ToPodSchedulingContextTypeOutput ¶
func (i PodSchedulingContextTypeArgs) ToPodSchedulingContextTypeOutput() PodSchedulingContextTypeOutput
func (PodSchedulingContextTypeArgs) ToPodSchedulingContextTypeOutputWithContext ¶
func (i PodSchedulingContextTypeArgs) ToPodSchedulingContextTypeOutputWithContext(ctx context.Context) PodSchedulingContextTypeOutput
type PodSchedulingContextTypeArray ¶
type PodSchedulingContextTypeArray []PodSchedulingContextTypeInput
func (PodSchedulingContextTypeArray) ElementType ¶
func (PodSchedulingContextTypeArray) ElementType() reflect.Type
func (PodSchedulingContextTypeArray) ToPodSchedulingContextTypeArrayOutput ¶
func (i PodSchedulingContextTypeArray) ToPodSchedulingContextTypeArrayOutput() PodSchedulingContextTypeArrayOutput
func (PodSchedulingContextTypeArray) ToPodSchedulingContextTypeArrayOutputWithContext ¶
func (i PodSchedulingContextTypeArray) ToPodSchedulingContextTypeArrayOutputWithContext(ctx context.Context) PodSchedulingContextTypeArrayOutput
type PodSchedulingContextTypeArrayInput ¶
type PodSchedulingContextTypeArrayInput interface {
pulumi.Input
ToPodSchedulingContextTypeArrayOutput() PodSchedulingContextTypeArrayOutput
ToPodSchedulingContextTypeArrayOutputWithContext(context.Context) PodSchedulingContextTypeArrayOutput
}
PodSchedulingContextTypeArrayInput is an input type that accepts PodSchedulingContextTypeArray and PodSchedulingContextTypeArrayOutput values. You can construct a concrete instance of `PodSchedulingContextTypeArrayInput` via:
PodSchedulingContextTypeArray{ PodSchedulingContextTypeArgs{...} }
type PodSchedulingContextTypeArrayOutput ¶
type PodSchedulingContextTypeArrayOutput struct{ *pulumi.OutputState }
func (PodSchedulingContextTypeArrayOutput) ElementType ¶
func (PodSchedulingContextTypeArrayOutput) ElementType() reflect.Type
func (PodSchedulingContextTypeArrayOutput) Index ¶
func (o PodSchedulingContextTypeArrayOutput) Index(i pulumi.IntInput) PodSchedulingContextTypeOutput
func (PodSchedulingContextTypeArrayOutput) ToPodSchedulingContextTypeArrayOutput ¶
func (o PodSchedulingContextTypeArrayOutput) ToPodSchedulingContextTypeArrayOutput() PodSchedulingContextTypeArrayOutput
func (PodSchedulingContextTypeArrayOutput) ToPodSchedulingContextTypeArrayOutputWithContext ¶
func (o PodSchedulingContextTypeArrayOutput) ToPodSchedulingContextTypeArrayOutputWithContext(ctx context.Context) PodSchedulingContextTypeArrayOutput
type PodSchedulingContextTypeInput ¶
type PodSchedulingContextTypeInput interface {
pulumi.Input
ToPodSchedulingContextTypeOutput() PodSchedulingContextTypeOutput
ToPodSchedulingContextTypeOutputWithContext(context.Context) PodSchedulingContextTypeOutput
}
PodSchedulingContextTypeInput is an input type that accepts PodSchedulingContextTypeArgs and PodSchedulingContextTypeOutput values. You can construct a concrete instance of `PodSchedulingContextTypeInput` via:
PodSchedulingContextTypeArgs{...}
type PodSchedulingContextTypeOutput ¶
type PodSchedulingContextTypeOutput struct{ *pulumi.OutputState }
PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
func (PodSchedulingContextTypeOutput) ApiVersion ¶
func (o PodSchedulingContextTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 (PodSchedulingContextTypeOutput) ElementType ¶
func (PodSchedulingContextTypeOutput) ElementType() reflect.Type
func (PodSchedulingContextTypeOutput) Kind ¶
func (o PodSchedulingContextTypeOutput) Kind() pulumi.StringPtrOutput
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 (PodSchedulingContextTypeOutput) Metadata ¶
func (o PodSchedulingContextTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object metadata
func (PodSchedulingContextTypeOutput) Spec ¶
func (o PodSchedulingContextTypeOutput) Spec() PodSchedulingContextSpecOutput
Spec describes where resources for the Pod are needed.
func (PodSchedulingContextTypeOutput) Status ¶
func (o PodSchedulingContextTypeOutput) Status() PodSchedulingContextStatusPtrOutput
Status describes where resources for the Pod can be allocated.
func (PodSchedulingContextTypeOutput) ToPodSchedulingContextTypeOutput ¶
func (o PodSchedulingContextTypeOutput) ToPodSchedulingContextTypeOutput() PodSchedulingContextTypeOutput
func (PodSchedulingContextTypeOutput) ToPodSchedulingContextTypeOutputWithContext ¶
func (o PodSchedulingContextTypeOutput) ToPodSchedulingContextTypeOutputWithContext(ctx context.Context) PodSchedulingContextTypeOutput
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 (o ResourceClaimArrayOutput) Index(i pulumi.IntInput) ResourceClaimOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o ResourceClaimConsumerReferenceOutput) ApiGroup() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimConsumerReferenceOutput) Name ¶
func (o ResourceClaimConsumerReferenceOutput) Name() pulumi.StringOutput
Name is the name of resource being referenced.
func (ResourceClaimConsumerReferenceOutput) Resource ¶
func (o ResourceClaimConsumerReferenceOutput) Resource() pulumi.StringOutput
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 ¶
func (o ResourceClaimConsumerReferenceOutput) Uid() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o ResourceClaimConsumerReferencePatchOutput) ApiGroup() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimConsumerReferencePatchOutput) Name ¶
func (o ResourceClaimConsumerReferencePatchOutput) Name() pulumi.StringPtrOutput
Name is the name of resource being referenced.
func (ResourceClaimConsumerReferencePatchOutput) Resource ¶
func (o ResourceClaimConsumerReferencePatchOutput) Resource() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimConsumerReferencePatchOutput) Uid() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimListArrayOutput) Index ¶
func (o ResourceClaimListArrayOutput) Index(i pulumi.IntInput) ResourceClaimListOutput
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 (o ResourceClaimListMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimListOutput
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 ¶
func (o ResourceClaimListOutput) 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 (ResourceClaimListOutput) ElementType ¶
func (ResourceClaimListOutput) ElementType() reflect.Type
func (ResourceClaimListOutput) Items ¶
func (o ResourceClaimListOutput) Items() ResourceClaimTypeArrayOutput
Items is the list of resource claims.
func (ResourceClaimListOutput) Kind ¶
func (o ResourceClaimListOutput) Kind() pulumi.StringOutput
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 ¶
func (o ResourceClaimListOutput) Metadata() metav1.ListMetaOutput
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 ¶
func (o ResourceClaimListTypeOutput) ApiVersion() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimListTypeOutput) Items ¶
func (o ResourceClaimListTypeOutput) Items() ResourceClaimTypeArrayOutput
Items is the list of resource claims.
func (ResourceClaimListTypeOutput) Kind ¶
func (o ResourceClaimListTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimListTypeOutput) Metadata() metav1.ListMetaPtrOutput
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 (o ResourceClaimMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimOutput
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 ¶
func (o ResourceClaimOutput) Kind() pulumi.StringOutput
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 ¶
func (o ResourceClaimOutput) Metadata() metav1.ObjectMetaOutput
Standard object metadata
func (ResourceClaimOutput) Spec ¶
func (o ResourceClaimOutput) Spec() ResourceClaimSpecOutput
Spec describes what is being requested and how to configure it. The spec is immutable.
func (ResourceClaimOutput) Status ¶
func (o ResourceClaimOutput) Status() ResourceClaimStatusPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimPatchArrayOutput) Index ¶
func (o ResourceClaimPatchArrayOutput) Index(i pulumi.IntInput) ResourceClaimPatchOutput
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) ElementType() reflect.Type
func (ResourceClaimPatchMapOutput) MapIndex ¶
func (o ResourceClaimPatchMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimPatchOutput
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 ¶
func (o ResourceClaimPatchOutput) ApiVersion() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimPatchOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata
func (ResourceClaimPatchOutput) Spec ¶
func (o ResourceClaimPatchOutput) Spec() ResourceClaimSpecPatchPtrOutput
Spec describes what is being requested and how to configure it. The spec is immutable.
func (ResourceClaimPatchOutput) Status ¶
func (o ResourceClaimPatchOutput) Status() ResourceClaimStatusPatchPtrOutput
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 ¶
func (o ResourceClaimPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimPatchTypeOutput) Kind ¶
func (o ResourceClaimPatchTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata
func (ResourceClaimPatchTypeOutput) Spec ¶
func (o ResourceClaimPatchTypeOutput) Spec() ResourceClaimSpecPatchPtrOutput
Spec describes what is being requested and how to configure it. The spec is immutable.
func (ResourceClaimPatchTypeOutput) Status ¶
func (o ResourceClaimPatchTypeOutput) Status() ResourceClaimStatusPatchPtrOutput
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 ResourceClaimSchedulingStatus ¶
type ResourceClaimSchedulingStatus struct {
// Name matches the pod.spec.resourceClaims[*].Name field.
Name string `pulumi:"name"`
// UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
//
// The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
UnsuitableNodes []string `pulumi:"unsuitableNodes"`
}
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
type ResourceClaimSchedulingStatusArgs ¶
type ResourceClaimSchedulingStatusArgs struct {
// Name matches the pod.spec.resourceClaims[*].Name field.
Name pulumi.StringInput `pulumi:"name"`
// UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
//
// The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
UnsuitableNodes pulumi.StringArrayInput `pulumi:"unsuitableNodes"`
}
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
func (ResourceClaimSchedulingStatusArgs) ElementType ¶
func (ResourceClaimSchedulingStatusArgs) ElementType() reflect.Type
func (ResourceClaimSchedulingStatusArgs) ToResourceClaimSchedulingStatusOutput ¶
func (i ResourceClaimSchedulingStatusArgs) ToResourceClaimSchedulingStatusOutput() ResourceClaimSchedulingStatusOutput
func (ResourceClaimSchedulingStatusArgs) ToResourceClaimSchedulingStatusOutputWithContext ¶
func (i ResourceClaimSchedulingStatusArgs) ToResourceClaimSchedulingStatusOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusOutput
type ResourceClaimSchedulingStatusArray ¶
type ResourceClaimSchedulingStatusArray []ResourceClaimSchedulingStatusInput
func (ResourceClaimSchedulingStatusArray) ElementType ¶
func (ResourceClaimSchedulingStatusArray) ElementType() reflect.Type
func (ResourceClaimSchedulingStatusArray) ToResourceClaimSchedulingStatusArrayOutput ¶
func (i ResourceClaimSchedulingStatusArray) ToResourceClaimSchedulingStatusArrayOutput() ResourceClaimSchedulingStatusArrayOutput
func (ResourceClaimSchedulingStatusArray) ToResourceClaimSchedulingStatusArrayOutputWithContext ¶
func (i ResourceClaimSchedulingStatusArray) ToResourceClaimSchedulingStatusArrayOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusArrayOutput
type ResourceClaimSchedulingStatusArrayInput ¶
type ResourceClaimSchedulingStatusArrayInput interface {
pulumi.Input
ToResourceClaimSchedulingStatusArrayOutput() ResourceClaimSchedulingStatusArrayOutput
ToResourceClaimSchedulingStatusArrayOutputWithContext(context.Context) ResourceClaimSchedulingStatusArrayOutput
}
ResourceClaimSchedulingStatusArrayInput is an input type that accepts ResourceClaimSchedulingStatusArray and ResourceClaimSchedulingStatusArrayOutput values. You can construct a concrete instance of `ResourceClaimSchedulingStatusArrayInput` via:
ResourceClaimSchedulingStatusArray{ ResourceClaimSchedulingStatusArgs{...} }
type ResourceClaimSchedulingStatusArrayOutput ¶
type ResourceClaimSchedulingStatusArrayOutput struct{ *pulumi.OutputState }
func (ResourceClaimSchedulingStatusArrayOutput) ElementType ¶
func (ResourceClaimSchedulingStatusArrayOutput) ElementType() reflect.Type
func (ResourceClaimSchedulingStatusArrayOutput) ToResourceClaimSchedulingStatusArrayOutput ¶
func (o ResourceClaimSchedulingStatusArrayOutput) ToResourceClaimSchedulingStatusArrayOutput() ResourceClaimSchedulingStatusArrayOutput
func (ResourceClaimSchedulingStatusArrayOutput) ToResourceClaimSchedulingStatusArrayOutputWithContext ¶
func (o ResourceClaimSchedulingStatusArrayOutput) ToResourceClaimSchedulingStatusArrayOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusArrayOutput
type ResourceClaimSchedulingStatusInput ¶
type ResourceClaimSchedulingStatusInput interface {
pulumi.Input
ToResourceClaimSchedulingStatusOutput() ResourceClaimSchedulingStatusOutput
ToResourceClaimSchedulingStatusOutputWithContext(context.Context) ResourceClaimSchedulingStatusOutput
}
ResourceClaimSchedulingStatusInput is an input type that accepts ResourceClaimSchedulingStatusArgs and ResourceClaimSchedulingStatusOutput values. You can construct a concrete instance of `ResourceClaimSchedulingStatusInput` via:
ResourceClaimSchedulingStatusArgs{...}
type ResourceClaimSchedulingStatusOutput ¶
type ResourceClaimSchedulingStatusOutput struct{ *pulumi.OutputState }
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
func (ResourceClaimSchedulingStatusOutput) ElementType ¶
func (ResourceClaimSchedulingStatusOutput) ElementType() reflect.Type
func (ResourceClaimSchedulingStatusOutput) Name ¶
func (o ResourceClaimSchedulingStatusOutput) Name() pulumi.StringOutput
Name matches the pod.spec.resourceClaims[*].Name field.
func (ResourceClaimSchedulingStatusOutput) ToResourceClaimSchedulingStatusOutput ¶
func (o ResourceClaimSchedulingStatusOutput) ToResourceClaimSchedulingStatusOutput() ResourceClaimSchedulingStatusOutput
func (ResourceClaimSchedulingStatusOutput) ToResourceClaimSchedulingStatusOutputWithContext ¶
func (o ResourceClaimSchedulingStatusOutput) ToResourceClaimSchedulingStatusOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusOutput
func (ResourceClaimSchedulingStatusOutput) UnsuitableNodes ¶
func (o ResourceClaimSchedulingStatusOutput) UnsuitableNodes() pulumi.StringArrayOutput
UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
type ResourceClaimSchedulingStatusPatch ¶
type ResourceClaimSchedulingStatusPatch struct {
// Name matches the pod.spec.resourceClaims[*].Name field.
Name *string `pulumi:"name"`
// UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
//
// The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
UnsuitableNodes []string `pulumi:"unsuitableNodes"`
}
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
type ResourceClaimSchedulingStatusPatchArgs ¶
type ResourceClaimSchedulingStatusPatchArgs struct {
// Name matches the pod.spec.resourceClaims[*].Name field.
Name pulumi.StringPtrInput `pulumi:"name"`
// UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
//
// The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
UnsuitableNodes pulumi.StringArrayInput `pulumi:"unsuitableNodes"`
}
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
func (ResourceClaimSchedulingStatusPatchArgs) ElementType ¶
func (ResourceClaimSchedulingStatusPatchArgs) ElementType() reflect.Type
func (ResourceClaimSchedulingStatusPatchArgs) ToResourceClaimSchedulingStatusPatchOutput ¶
func (i ResourceClaimSchedulingStatusPatchArgs) ToResourceClaimSchedulingStatusPatchOutput() ResourceClaimSchedulingStatusPatchOutput
func (ResourceClaimSchedulingStatusPatchArgs) ToResourceClaimSchedulingStatusPatchOutputWithContext ¶
func (i ResourceClaimSchedulingStatusPatchArgs) ToResourceClaimSchedulingStatusPatchOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusPatchOutput
type ResourceClaimSchedulingStatusPatchArray ¶
type ResourceClaimSchedulingStatusPatchArray []ResourceClaimSchedulingStatusPatchInput
func (ResourceClaimSchedulingStatusPatchArray) ElementType ¶
func (ResourceClaimSchedulingStatusPatchArray) ElementType() reflect.Type
func (ResourceClaimSchedulingStatusPatchArray) ToResourceClaimSchedulingStatusPatchArrayOutput ¶
func (i ResourceClaimSchedulingStatusPatchArray) ToResourceClaimSchedulingStatusPatchArrayOutput() ResourceClaimSchedulingStatusPatchArrayOutput
func (ResourceClaimSchedulingStatusPatchArray) ToResourceClaimSchedulingStatusPatchArrayOutputWithContext ¶
func (i ResourceClaimSchedulingStatusPatchArray) ToResourceClaimSchedulingStatusPatchArrayOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusPatchArrayOutput
type ResourceClaimSchedulingStatusPatchArrayInput ¶
type ResourceClaimSchedulingStatusPatchArrayInput interface {
pulumi.Input
ToResourceClaimSchedulingStatusPatchArrayOutput() ResourceClaimSchedulingStatusPatchArrayOutput
ToResourceClaimSchedulingStatusPatchArrayOutputWithContext(context.Context) ResourceClaimSchedulingStatusPatchArrayOutput
}
ResourceClaimSchedulingStatusPatchArrayInput is an input type that accepts ResourceClaimSchedulingStatusPatchArray and ResourceClaimSchedulingStatusPatchArrayOutput values. You can construct a concrete instance of `ResourceClaimSchedulingStatusPatchArrayInput` via:
ResourceClaimSchedulingStatusPatchArray{ ResourceClaimSchedulingStatusPatchArgs{...} }
type ResourceClaimSchedulingStatusPatchArrayOutput ¶
type ResourceClaimSchedulingStatusPatchArrayOutput struct{ *pulumi.OutputState }
func (ResourceClaimSchedulingStatusPatchArrayOutput) ElementType ¶
func (ResourceClaimSchedulingStatusPatchArrayOutput) ElementType() reflect.Type
func (ResourceClaimSchedulingStatusPatchArrayOutput) ToResourceClaimSchedulingStatusPatchArrayOutput ¶
func (o ResourceClaimSchedulingStatusPatchArrayOutput) ToResourceClaimSchedulingStatusPatchArrayOutput() ResourceClaimSchedulingStatusPatchArrayOutput
func (ResourceClaimSchedulingStatusPatchArrayOutput) ToResourceClaimSchedulingStatusPatchArrayOutputWithContext ¶
func (o ResourceClaimSchedulingStatusPatchArrayOutput) ToResourceClaimSchedulingStatusPatchArrayOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusPatchArrayOutput
type ResourceClaimSchedulingStatusPatchInput ¶
type ResourceClaimSchedulingStatusPatchInput interface {
pulumi.Input
ToResourceClaimSchedulingStatusPatchOutput() ResourceClaimSchedulingStatusPatchOutput
ToResourceClaimSchedulingStatusPatchOutputWithContext(context.Context) ResourceClaimSchedulingStatusPatchOutput
}
ResourceClaimSchedulingStatusPatchInput is an input type that accepts ResourceClaimSchedulingStatusPatchArgs and ResourceClaimSchedulingStatusPatchOutput values. You can construct a concrete instance of `ResourceClaimSchedulingStatusPatchInput` via:
ResourceClaimSchedulingStatusPatchArgs{...}
type ResourceClaimSchedulingStatusPatchOutput ¶
type ResourceClaimSchedulingStatusPatchOutput struct{ *pulumi.OutputState }
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
func (ResourceClaimSchedulingStatusPatchOutput) ElementType ¶
func (ResourceClaimSchedulingStatusPatchOutput) ElementType() reflect.Type
func (ResourceClaimSchedulingStatusPatchOutput) Name ¶
func (o ResourceClaimSchedulingStatusPatchOutput) Name() pulumi.StringPtrOutput
Name matches the pod.spec.resourceClaims[*].Name field.
func (ResourceClaimSchedulingStatusPatchOutput) ToResourceClaimSchedulingStatusPatchOutput ¶
func (o ResourceClaimSchedulingStatusPatchOutput) ToResourceClaimSchedulingStatusPatchOutput() ResourceClaimSchedulingStatusPatchOutput
func (ResourceClaimSchedulingStatusPatchOutput) ToResourceClaimSchedulingStatusPatchOutputWithContext ¶
func (o ResourceClaimSchedulingStatusPatchOutput) ToResourceClaimSchedulingStatusPatchOutputWithContext(ctx context.Context) ResourceClaimSchedulingStatusPatchOutput
func (ResourceClaimSchedulingStatusPatchOutput) UnsuitableNodes ¶
func (o ResourceClaimSchedulingStatusPatchOutput) UnsuitableNodes() pulumi.StringArrayOutput
UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
type ResourceClaimSpec ¶
type ResourceClaimSpec struct {
// Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
//
// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
Controller *string `pulumi:"controller"`
// 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 {
// Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
//
// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
Controller pulumi.StringPtrInput `pulumi:"controller"`
// 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) Controller ¶
func (o ResourceClaimSpecOutput) Controller() pulumi.StringPtrOutput
Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (ResourceClaimSpecOutput) Devices ¶
func (o ResourceClaimSpecOutput) Devices() DeviceClaimPtrOutput
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 {
// Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
//
// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
Controller *string `pulumi:"controller"`
// 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 {
// Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
//
// Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
Controller pulumi.StringPtrInput `pulumi:"controller"`
// 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) Controller ¶
func (o ResourceClaimSpecPatchOutput) Controller() pulumi.StringPtrOutput
Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (ResourceClaimSpecPatchOutput) Devices ¶
func (o ResourceClaimSpecPatchOutput) Devices() DeviceClaimPatchPtrOutput
Devices defines how to request devices.
func (ResourceClaimSpecPatchOutput) ElementType ¶
func (ResourceClaimSpecPatchOutput) ElementType() reflect.Type
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
func ResourceClaimSpecPatchPtr ¶
func ResourceClaimSpecPatchPtr(v *ResourceClaimSpecPatchArgs) ResourceClaimSpecPatchPtrInput
type ResourceClaimSpecPatchPtrOutput ¶
type ResourceClaimSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (ResourceClaimSpecPatchPtrOutput) Controller ¶
func (o ResourceClaimSpecPatchPtrOutput) Controller() pulumi.StringPtrOutput
Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (ResourceClaimSpecPatchPtrOutput) Devices ¶
func (o ResourceClaimSpecPatchPtrOutput) Devices() DeviceClaimPatchPtrOutput
Devices defines how to request devices.
func (ResourceClaimSpecPatchPtrOutput) Elem ¶
func (o ResourceClaimSpecPatchPtrOutput) Elem() ResourceClaimSpecPatchOutput
func (ResourceClaimSpecPatchPtrOutput) ElementType ¶
func (ResourceClaimSpecPatchPtrOutput) ElementType() reflect.Type
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"`
// Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
//
// This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
DeallocationRequested *bool `pulumi:"deallocationRequested"`
// 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 256 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"`
// Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
//
// This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
DeallocationRequested pulumi.BoolPtrInput `pulumi:"deallocationRequested"`
// 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 256 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 ¶
func (o ResourceClaimStatusOutput) Allocation() AllocationResultPtrOutput
Allocation is set once the claim has been allocated successfully.
func (ResourceClaimStatusOutput) DeallocationRequested ¶
func (o ResourceClaimStatusOutput) DeallocationRequested() pulumi.BoolPtrOutput
Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (ResourceClaimStatusOutput) Devices ¶ added in v4.19.0
func (o ResourceClaimStatusOutput) Devices() AllocatedDeviceStatusArrayOutput
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 ¶
func (o ResourceClaimStatusOutput) ReservedFor() ResourceClaimConsumerReferenceArrayOutput
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 256 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"`
// Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
//
// This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
DeallocationRequested *bool `pulumi:"deallocationRequested"`
// 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 256 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"`
// Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
//
// This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.
//
// This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
DeallocationRequested pulumi.BoolPtrInput `pulumi:"deallocationRequested"`
// 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 256 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) ElementType() reflect.Type
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 ¶
func (o ResourceClaimStatusPatchOutput) Allocation() AllocationResultPatchPtrOutput
Allocation is set once the claim has been allocated successfully.
func (ResourceClaimStatusPatchOutput) DeallocationRequested ¶
func (o ResourceClaimStatusPatchOutput) DeallocationRequested() pulumi.BoolPtrOutput
Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (ResourceClaimStatusPatchOutput) Devices ¶ added in v4.19.0
func (o ResourceClaimStatusPatchOutput) Devices() AllocatedDeviceStatusPatchArrayOutput
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) ElementType() reflect.Type
func (ResourceClaimStatusPatchOutput) ReservedFor ¶
func (o ResourceClaimStatusPatchOutput) ReservedFor() ResourceClaimConsumerReferencePatchArrayOutput
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 256 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
func ResourceClaimStatusPatchPtr ¶
func ResourceClaimStatusPatchPtr(v *ResourceClaimStatusPatchArgs) ResourceClaimStatusPatchPtrInput
type ResourceClaimStatusPatchPtrOutput ¶
type ResourceClaimStatusPatchPtrOutput struct{ *pulumi.OutputState }
func (ResourceClaimStatusPatchPtrOutput) Allocation ¶
func (o ResourceClaimStatusPatchPtrOutput) Allocation() AllocationResultPatchPtrOutput
Allocation is set once the claim has been allocated successfully.
func (ResourceClaimStatusPatchPtrOutput) DeallocationRequested ¶
func (o ResourceClaimStatusPatchPtrOutput) DeallocationRequested() pulumi.BoolPtrOutput
Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (ResourceClaimStatusPatchPtrOutput) Devices ¶ added in v4.19.0
func (o ResourceClaimStatusPatchPtrOutput) Devices() AllocatedDeviceStatusPatchArrayOutput
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 (o ResourceClaimStatusPatchPtrOutput) Elem() ResourceClaimStatusPatchOutput
func (ResourceClaimStatusPatchPtrOutput) ElementType ¶
func (ResourceClaimStatusPatchPtrOutput) ElementType() reflect.Type
func (ResourceClaimStatusPatchPtrOutput) ReservedFor ¶
func (o ResourceClaimStatusPatchPtrOutput) ReservedFor() ResourceClaimConsumerReferencePatchArrayOutput
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 256 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
func ResourceClaimStatusPtr ¶
func ResourceClaimStatusPtr(v *ResourceClaimStatusArgs) ResourceClaimStatusPtrInput
type ResourceClaimStatusPtrOutput ¶
type ResourceClaimStatusPtrOutput struct{ *pulumi.OutputState }
func (ResourceClaimStatusPtrOutput) Allocation ¶
func (o ResourceClaimStatusPtrOutput) Allocation() AllocationResultPtrOutput
Allocation is set once the claim has been allocated successfully.
func (ResourceClaimStatusPtrOutput) DeallocationRequested ¶
func (o ResourceClaimStatusPtrOutput) DeallocationRequested() pulumi.BoolPtrOutput
Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
func (ResourceClaimStatusPtrOutput) Devices ¶ added in v4.19.0
func (o ResourceClaimStatusPtrOutput) Devices() AllocatedDeviceStatusArrayOutput
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 (o ResourceClaimStatusPtrOutput) Elem() ResourceClaimStatusOutput
func (ResourceClaimStatusPtrOutput) ElementType ¶
func (ResourceClaimStatusPtrOutput) ElementType() reflect.Type
func (ResourceClaimStatusPtrOutput) ReservedFor ¶
func (o ResourceClaimStatusPtrOutput) ReservedFor() ResourceClaimConsumerReferenceArrayOutput
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 256 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) ElementType() reflect.Type
func (ResourceClaimTemplateArrayOutput) Index ¶
func (o ResourceClaimTemplateArrayOutput) Index(i pulumi.IntInput) ResourceClaimTemplateOutput
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 ¶
func (ResourceClaimTemplateListArgs) ElementType() reflect.Type
type ResourceClaimTemplateListArray ¶
type ResourceClaimTemplateListArray []ResourceClaimTemplateListInput
func (ResourceClaimTemplateListArray) ElementType ¶
func (ResourceClaimTemplateListArray) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ResourceClaimTemplateListArrayOutput) Index ¶
func (o ResourceClaimTemplateListArrayOutput) Index(i pulumi.IntInput) ResourceClaimTemplateListOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ResourceClaimTemplateListMapOutput) MapIndex ¶
func (o ResourceClaimTemplateListMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimTemplateListOutput
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 ¶
func (o ResourceClaimTemplateListOutput) 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 (ResourceClaimTemplateListOutput) ElementType ¶
func (ResourceClaimTemplateListOutput) ElementType() reflect.Type
func (ResourceClaimTemplateListOutput) Items ¶
func (o ResourceClaimTemplateListOutput) Items() ResourceClaimTemplateTypeArrayOutput
Items is the list of resource claim templates.
func (ResourceClaimTemplateListOutput) Kind ¶
func (o ResourceClaimTemplateListOutput) Kind() pulumi.StringOutput
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 ¶
func (o ResourceClaimTemplateListOutput) Metadata() metav1.ListMetaOutput
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 ¶
func (ResourceClaimTemplateListState) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o ResourceClaimTemplateListTypeOutput) ApiVersion() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimTemplateListTypeOutput) Items ¶
func (o ResourceClaimTemplateListTypeOutput) Items() ResourceClaimTemplateTypeArrayOutput
Items is the list of resource claim templates.
func (ResourceClaimTemplateListTypeOutput) Kind ¶
func (o ResourceClaimTemplateListTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimTemplateListTypeOutput) Metadata() metav1.ListMetaPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimTemplateMapOutput) MapIndex ¶
func (o ResourceClaimTemplateMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimTemplateOutput
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 ¶
func (o ResourceClaimTemplateOutput) 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 (ResourceClaimTemplateOutput) ElementType ¶
func (ResourceClaimTemplateOutput) ElementType() reflect.Type
func (ResourceClaimTemplateOutput) Kind ¶
func (o ResourceClaimTemplateOutput) Kind() pulumi.StringOutput
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 ¶
func (o ResourceClaimTemplateOutput) Metadata() metav1.ObjectMetaOutput
Standard object metadata
func (ResourceClaimTemplateOutput) Spec ¶
func (o ResourceClaimTemplateOutput) Spec() ResourceClaimTemplateSpecOutput
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 ¶
func (ResourceClaimTemplatePatchArgs) ElementType() reflect.Type
type ResourceClaimTemplatePatchArray ¶
type ResourceClaimTemplatePatchArray []ResourceClaimTemplatePatchInput
func (ResourceClaimTemplatePatchArray) ElementType ¶
func (ResourceClaimTemplatePatchArray) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ResourceClaimTemplatePatchArrayOutput) Index ¶
func (o ResourceClaimTemplatePatchArrayOutput) Index(i pulumi.IntInput) ResourceClaimTemplatePatchOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ResourceClaimTemplatePatchMapOutput) MapIndex ¶
func (o ResourceClaimTemplatePatchMapOutput) MapIndex(k pulumi.StringInput) ResourceClaimTemplatePatchOutput
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 ¶
func (o ResourceClaimTemplatePatchOutput) ApiVersion() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimTemplatePatchOutput) Kind ¶
func (o ResourceClaimTemplatePatchOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimTemplatePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
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 ¶
func (ResourceClaimTemplatePatchState) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o ResourceClaimTemplatePatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimTemplatePatchTypeOutput) Kind ¶
func (o ResourceClaimTemplatePatchTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimTemplatePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ResourceClaimTemplateSpecOutput) Metadata ¶
func (o ResourceClaimTemplateSpecOutput) Metadata() metav1.ObjectMetaPtrOutput
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 ¶
func (o ResourceClaimTemplateSpecOutput) Spec() ResourceClaimSpecOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ResourceClaimTemplateSpecPatchOutput) Metadata ¶
func (o ResourceClaimTemplateSpecPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
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 ¶
func (o ResourceClaimTemplateSpecPatchOutput) Spec() ResourceClaimSpecPatchPtrOutput
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
func ResourceClaimTemplateSpecPatchPtr ¶
func ResourceClaimTemplateSpecPatchPtr(v *ResourceClaimTemplateSpecPatchArgs) ResourceClaimTemplateSpecPatchPtrInput
type ResourceClaimTemplateSpecPatchPtrOutput ¶
type ResourceClaimTemplateSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (ResourceClaimTemplateSpecPatchPtrOutput) ElementType ¶
func (ResourceClaimTemplateSpecPatchPtrOutput) ElementType() reflect.Type
func (ResourceClaimTemplateSpecPatchPtrOutput) Metadata ¶
func (o ResourceClaimTemplateSpecPatchPtrOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ResourceClaimTemplateTypeArrayOutput) Index ¶
func (o ResourceClaimTemplateTypeArrayOutput) Index(i pulumi.IntInput) ResourceClaimTemplateTypeOutput
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 ¶
func (o ResourceClaimTemplateTypeOutput) ApiVersion() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceClaimTemplateTypeOutput) Kind ¶
func (o ResourceClaimTemplateTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimTemplateTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object metadata
func (ResourceClaimTemplateTypeOutput) Spec ¶
func (o ResourceClaimTemplateTypeOutput) Spec() ResourceClaimTemplateSpecOutput
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) ElementType() reflect.Type
func (ResourceClaimTypeArrayOutput) Index ¶
func (o ResourceClaimTypeArrayOutput) Index(i pulumi.IntInput) ResourceClaimTypeOutput
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 ¶
func (o ResourceClaimTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceClaimTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object metadata
func (ResourceClaimTypeOutput) Spec ¶
func (o ResourceClaimTypeOutput) Spec() ResourceClaimSpecOutput
Spec describes what is being requested and how to configure it. The spec is immutable.
func (ResourceClaimTypeOutput) Status ¶
func (o ResourceClaimTypeOutput) Status() ResourceClaimStatusPtrOutput
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 ¶
func (o ResourcePoolOutput) Name() pulumi.StringOutput
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 ¶
func (o ResourcePoolPatchOutput) Generation() pulumi.IntPtrOutput
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 ¶
func (o ResourcePoolPatchOutput) Name() pulumi.StringPtrOutput
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
func ResourcePoolPatchPtr ¶
func ResourcePoolPatchPtr(v *ResourcePoolPatchArgs) ResourcePoolPatchPtrInput
type ResourcePoolPatchPtrOutput ¶
type ResourcePoolPatchPtrOutput struct{ *pulumi.OutputState }
func (ResourcePoolPatchPtrOutput) Elem ¶
func (o ResourcePoolPatchPtrOutput) Elem() ResourcePoolPatchOutput
func (ResourcePoolPatchPtrOutput) ElementType ¶
func (ResourcePoolPatchPtrOutput) ElementType() reflect.Type
func (ResourcePoolPatchPtrOutput) Generation ¶
func (o ResourcePoolPatchPtrOutput) Generation() pulumi.IntPtrOutput
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 ¶
func (o ResourcePoolPatchPtrOutput) Name() pulumi.StringPtrOutput
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 (o ResourceSliceArrayOutput) Index(i pulumi.IntInput) ResourceSliceOutput
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
ListMeta metav1.ListMetaOutput `pulumi:"listMeta"`
// Standard list metadata
Metadata metav1.ListMetaOutput `pulumi:"metadata"`
}
ResourceSliceList is a collection of ResourceSlices.
func GetResourceSliceList ¶ added in v4.19.0
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 ¶ added in v4.19.0
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 ¶ added in v4.19.0
func (*ResourceSliceList) ElementType() reflect.Type
func (*ResourceSliceList) ToResourceSliceListOutput ¶ added in v4.19.0
func (i *ResourceSliceList) ToResourceSliceListOutput() ResourceSliceListOutput
func (*ResourceSliceList) ToResourceSliceListOutputWithContext ¶ added in v4.19.0
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
ListMeta metav1.ListMetaPtrInput
// 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 ¶ added in v4.19.0
type ResourceSliceListArray []ResourceSliceListInput
func (ResourceSliceListArray) ElementType ¶ added in v4.19.0
func (ResourceSliceListArray) ElementType() reflect.Type
func (ResourceSliceListArray) ToResourceSliceListArrayOutput ¶ added in v4.19.0
func (i ResourceSliceListArray) ToResourceSliceListArrayOutput() ResourceSliceListArrayOutput
func (ResourceSliceListArray) ToResourceSliceListArrayOutputWithContext ¶ added in v4.19.0
func (i ResourceSliceListArray) ToResourceSliceListArrayOutputWithContext(ctx context.Context) ResourceSliceListArrayOutput
type ResourceSliceListArrayInput ¶ added in v4.19.0
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 ¶ added in v4.19.0
type ResourceSliceListArrayOutput struct{ *pulumi.OutputState }
func (ResourceSliceListArrayOutput) ElementType ¶ added in v4.19.0
func (ResourceSliceListArrayOutput) ElementType() reflect.Type
func (ResourceSliceListArrayOutput) Index ¶ added in v4.19.0
func (o ResourceSliceListArrayOutput) Index(i pulumi.IntInput) ResourceSliceListOutput
func (ResourceSliceListArrayOutput) ToResourceSliceListArrayOutput ¶ added in v4.19.0
func (o ResourceSliceListArrayOutput) ToResourceSliceListArrayOutput() ResourceSliceListArrayOutput
func (ResourceSliceListArrayOutput) ToResourceSliceListArrayOutputWithContext ¶ added in v4.19.0
func (o ResourceSliceListArrayOutput) ToResourceSliceListArrayOutputWithContext(ctx context.Context) ResourceSliceListArrayOutput
type ResourceSliceListInput ¶
type ResourceSliceListInput interface {
pulumi.Input
ToResourceSliceListOutput() ResourceSliceListOutput
ToResourceSliceListOutputWithContext(ctx context.Context) ResourceSliceListOutput
}
type ResourceSliceListMap ¶ added in v4.19.0
type ResourceSliceListMap map[string]ResourceSliceListInput
func (ResourceSliceListMap) ElementType ¶ added in v4.19.0
func (ResourceSliceListMap) ElementType() reflect.Type
func (ResourceSliceListMap) ToResourceSliceListMapOutput ¶ added in v4.19.0
func (i ResourceSliceListMap) ToResourceSliceListMapOutput() ResourceSliceListMapOutput
func (ResourceSliceListMap) ToResourceSliceListMapOutputWithContext ¶ added in v4.19.0
func (i ResourceSliceListMap) ToResourceSliceListMapOutputWithContext(ctx context.Context) ResourceSliceListMapOutput
type ResourceSliceListMapInput ¶ added in v4.19.0
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 ¶ added in v4.19.0
type ResourceSliceListMapOutput struct{ *pulumi.OutputState }
func (ResourceSliceListMapOutput) ElementType ¶ added in v4.19.0
func (ResourceSliceListMapOutput) ElementType() reflect.Type
func (ResourceSliceListMapOutput) MapIndex ¶ added in v4.19.0
func (o ResourceSliceListMapOutput) MapIndex(k pulumi.StringInput) ResourceSliceListOutput
func (ResourceSliceListMapOutput) ToResourceSliceListMapOutput ¶ added in v4.19.0
func (o ResourceSliceListMapOutput) ToResourceSliceListMapOutput() ResourceSliceListMapOutput
func (ResourceSliceListMapOutput) ToResourceSliceListMapOutputWithContext ¶ added in v4.19.0
func (o ResourceSliceListMapOutput) ToResourceSliceListMapOutputWithContext(ctx context.Context) ResourceSliceListMapOutput
type ResourceSliceListOutput ¶
type ResourceSliceListOutput struct{ *pulumi.OutputState }
func (ResourceSliceListOutput) ApiVersion ¶
func (o ResourceSliceListOutput) 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 (ResourceSliceListOutput) ElementType ¶
func (ResourceSliceListOutput) ElementType() reflect.Type
func (ResourceSliceListOutput) Items ¶
func (o ResourceSliceListOutput) Items() ResourceSliceTypeArrayOutput
Items is the list of resource ResourceSlices.
func (ResourceSliceListOutput) Kind ¶
func (o ResourceSliceListOutput) Kind() pulumi.StringOutput
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) ListMeta ¶
func (o ResourceSliceListOutput) ListMeta() metav1.ListMetaOutput
Standard list metadata
func (ResourceSliceListOutput) Metadata ¶ added in v4.19.0
func (o ResourceSliceListOutput) Metadata() metav1.ListMetaOutput
Standard list metadata
func (ResourceSliceListOutput) ToResourceSliceListOutput ¶
func (o ResourceSliceListOutput) ToResourceSliceListOutput() ResourceSliceListOutput
func (ResourceSliceListOutput) ToResourceSliceListOutputWithContext ¶
func (o ResourceSliceListOutput) ToResourceSliceListOutputWithContext(ctx context.Context) ResourceSliceListOutput
type ResourceSliceListState ¶ added in v4.19.0
type ResourceSliceListState struct {
}
func (ResourceSliceListState) ElementType ¶ added in v4.19.0
func (ResourceSliceListState) ElementType() reflect.Type
type ResourceSliceListType ¶ added in v4.19.0
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
ListMeta *metav1.ListMeta `pulumi:"listMeta"`
// Standard list metadata
Metadata *metav1.ListMeta `pulumi:"metadata"`
}
ResourceSliceList is a collection of ResourceSlices.
type ResourceSliceListTypeArgs ¶ added in v4.19.0
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
ListMeta metav1.ListMetaPtrInput `pulumi:"listMeta"`
// Standard list metadata
Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}
ResourceSliceList is a collection of ResourceSlices.
func (ResourceSliceListTypeArgs) ElementType ¶ added in v4.19.0
func (ResourceSliceListTypeArgs) ElementType() reflect.Type
func (ResourceSliceListTypeArgs) ToResourceSliceListTypeOutput ¶ added in v4.19.0
func (i ResourceSliceListTypeArgs) ToResourceSliceListTypeOutput() ResourceSliceListTypeOutput
func (ResourceSliceListTypeArgs) ToResourceSliceListTypeOutputWithContext ¶ added in v4.19.0
func (i ResourceSliceListTypeArgs) ToResourceSliceListTypeOutputWithContext(ctx context.Context) ResourceSliceListTypeOutput
type ResourceSliceListTypeInput ¶ added in v4.19.0
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 ¶ added in v4.19.0
type ResourceSliceListTypeOutput struct{ *pulumi.OutputState }
ResourceSliceList is a collection of ResourceSlices.
func (ResourceSliceListTypeOutput) ApiVersion ¶ added in v4.19.0
func (o ResourceSliceListTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 ¶ added in v4.19.0
func (ResourceSliceListTypeOutput) ElementType() reflect.Type
func (ResourceSliceListTypeOutput) Items ¶ added in v4.19.0
func (o ResourceSliceListTypeOutput) Items() ResourceSliceTypeArrayOutput
Items is the list of resource ResourceSlices.
func (ResourceSliceListTypeOutput) Kind ¶ added in v4.19.0
func (o ResourceSliceListTypeOutput) Kind() pulumi.StringPtrOutput
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) ListMeta ¶ added in v4.19.0
func (o ResourceSliceListTypeOutput) ListMeta() metav1.ListMetaPtrOutput
Standard list metadata
func (ResourceSliceListTypeOutput) Metadata ¶ added in v4.19.0
func (o ResourceSliceListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard list metadata
func (ResourceSliceListTypeOutput) ToResourceSliceListTypeOutput ¶ added in v4.19.0
func (o ResourceSliceListTypeOutput) ToResourceSliceListTypeOutput() ResourceSliceListTypeOutput
func (ResourceSliceListTypeOutput) ToResourceSliceListTypeOutputWithContext ¶ added in v4.19.0
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 (o ResourceSliceMapOutput) MapIndex(k pulumi.StringInput) ResourceSliceOutput
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 ¶
func (o ResourceSliceOutput) Kind() pulumi.StringOutput
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 ¶
func (o ResourceSliceOutput) Metadata() metav1.ObjectMetaOutput
Standard object metadata
func (ResourceSliceOutput) Spec ¶
func (o ResourceSliceOutput) Spec() ResourceSliceSpecOutput
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) ElementType() reflect.Type
func (ResourceSlicePatchArrayOutput) Index ¶
func (o ResourceSlicePatchArrayOutput) Index(i pulumi.IntInput) ResourceSlicePatchOutput
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) ElementType() reflect.Type
func (ResourceSlicePatchMapOutput) MapIndex ¶
func (o ResourceSlicePatchMapOutput) MapIndex(k pulumi.StringInput) ResourceSlicePatchOutput
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 ¶
func (o ResourceSlicePatchOutput) ApiVersion() pulumi.StringPtrOutput
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 ¶
func (o ResourceSlicePatchOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceSlicePatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata
func (ResourceSlicePatchOutput) Spec ¶
func (o ResourceSlicePatchOutput) Spec() ResourceSliceSpecPatchPtrOutput
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 ¶
func (o ResourceSlicePatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceSlicePatchTypeOutput) Kind ¶
func (o ResourceSlicePatchTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceSlicePatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object metadata
func (ResourceSlicePatchTypeOutput) Spec ¶
func (o ResourceSlicePatchTypeOutput) Spec() ResourceSliceSpecPatchPtrOutput
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, AllNodes, and PerDeviceNodeSelection 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, AllNodes, and PerDeviceNodeSelection 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, AllNodes, and PerDeviceNodeSelection must be set.
NodeSelector *corev1.NodeSelector `pulumi:"nodeSelector"`
// PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
//
// Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
PerDeviceNodeSelection *bool `pulumi:"perDeviceNodeSelection"`
// Pool describes the pool that this ResourceSlice belongs to.
Pool ResourcePool `pulumi:"pool"`
//
// The names of the SharedCounters must be unique in the ResourceSlice.
//
// The maximum number of SharedCounters is 32.
SharedCounters []CounterSet `pulumi:"sharedCounters"`
}
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, AllNodes, and PerDeviceNodeSelection 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, AllNodes, and PerDeviceNodeSelection 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, AllNodes, and PerDeviceNodeSelection must be set.
NodeSelector corev1.NodeSelectorPtrInput `pulumi:"nodeSelector"`
// PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
//
// Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
PerDeviceNodeSelection pulumi.BoolPtrInput `pulumi:"perDeviceNodeSelection"`
// Pool describes the pool that this ResourceSlice belongs to.
Pool ResourcePoolInput `pulumi:"pool"`
//
// The names of the SharedCounters must be unique in the ResourceSlice.
//
// The maximum number of SharedCounters is 32.
SharedCounters CounterSetArrayInput `pulumi:"sharedCounters"`
}
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 ¶
func (o ResourceSliceSpecOutput) AllNodes() pulumi.BoolPtrOutput
AllNodes indicates that all nodes have access to the resources in the pool.
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
func (ResourceSliceSpecOutput) Devices ¶
func (o ResourceSliceSpecOutput) Devices() DeviceArrayOutput
Devices lists some or all of the devices in this pool.
Must not have more than 128 entries.
func (ResourceSliceSpecOutput) Driver ¶
func (o ResourceSliceSpecOutput) Driver() pulumi.StringOutput
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 ¶
func (o ResourceSliceSpecOutput) NodeName() pulumi.StringPtrOutput
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, AllNodes, and PerDeviceNodeSelection must be set. This field is immutable.
func (ResourceSliceSpecOutput) NodeSelector ¶
func (o ResourceSliceSpecOutput) NodeSelector() corev1.NodeSelectorPtrOutput
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, AllNodes, and PerDeviceNodeSelection must be set.
func (ResourceSliceSpecOutput) PerDeviceNodeSelection ¶ added in v4.23.0
func (o ResourceSliceSpecOutput) PerDeviceNodeSelection() pulumi.BoolPtrOutput
PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
func (ResourceSliceSpecOutput) Pool ¶
func (o ResourceSliceSpecOutput) Pool() ResourcePoolOutput
Pool describes the pool that this ResourceSlice belongs to.
func (ResourceSliceSpecOutput) SharedCounters ¶ added in v4.23.0
func (o ResourceSliceSpecOutput) SharedCounters() CounterSetArrayOutput
SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.
The names of the SharedCounters must be unique in the ResourceSlice.
The maximum number of SharedCounters is 32.
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, AllNodes, and PerDeviceNodeSelection 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, AllNodes, and PerDeviceNodeSelection 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, AllNodes, and PerDeviceNodeSelection must be set.
NodeSelector *corev1.NodeSelectorPatch `pulumi:"nodeSelector"`
// PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
//
// Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
PerDeviceNodeSelection *bool `pulumi:"perDeviceNodeSelection"`
// Pool describes the pool that this ResourceSlice belongs to.
Pool *ResourcePoolPatch `pulumi:"pool"`
//
// The names of the SharedCounters must be unique in the ResourceSlice.
//
// The maximum number of SharedCounters is 32.
SharedCounters []CounterSetPatch `pulumi:"sharedCounters"`
}
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, AllNodes, and PerDeviceNodeSelection 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, AllNodes, and PerDeviceNodeSelection 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, AllNodes, and PerDeviceNodeSelection must be set.
NodeSelector corev1.NodeSelectorPatchPtrInput `pulumi:"nodeSelector"`
// PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
//
// Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
PerDeviceNodeSelection pulumi.BoolPtrInput `pulumi:"perDeviceNodeSelection"`
// Pool describes the pool that this ResourceSlice belongs to.
Pool ResourcePoolPatchPtrInput `pulumi:"pool"`
//
// The names of the SharedCounters must be unique in the ResourceSlice.
//
// The maximum number of SharedCounters is 32.
SharedCounters CounterSetPatchArrayInput `pulumi:"sharedCounters"`
}
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 ¶
func (o ResourceSliceSpecPatchOutput) AllNodes() pulumi.BoolPtrOutput
AllNodes indicates that all nodes have access to the resources in the pool.
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
func (ResourceSliceSpecPatchOutput) Devices ¶
func (o ResourceSliceSpecPatchOutput) Devices() DevicePatchArrayOutput
Devices lists some or all of the devices in this pool.
Must not have more than 128 entries.
func (ResourceSliceSpecPatchOutput) Driver ¶
func (o ResourceSliceSpecPatchOutput) Driver() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceSliceSpecPatchOutput) NodeName ¶
func (o ResourceSliceSpecPatchOutput) NodeName() pulumi.StringPtrOutput
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, AllNodes, and PerDeviceNodeSelection must be set. This field is immutable.
func (ResourceSliceSpecPatchOutput) NodeSelector ¶
func (o ResourceSliceSpecPatchOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
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, AllNodes, and PerDeviceNodeSelection must be set.
func (ResourceSliceSpecPatchOutput) PerDeviceNodeSelection ¶ added in v4.23.0
func (o ResourceSliceSpecPatchOutput) PerDeviceNodeSelection() pulumi.BoolPtrOutput
PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
func (ResourceSliceSpecPatchOutput) Pool ¶
func (o ResourceSliceSpecPatchOutput) Pool() ResourcePoolPatchPtrOutput
Pool describes the pool that this ResourceSlice belongs to.
func (ResourceSliceSpecPatchOutput) SharedCounters ¶ added in v4.23.0
func (o ResourceSliceSpecPatchOutput) SharedCounters() CounterSetPatchArrayOutput
SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.
The names of the SharedCounters must be unique in the ResourceSlice.
The maximum number of SharedCounters is 32.
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
func ResourceSliceSpecPatchPtr ¶
func ResourceSliceSpecPatchPtr(v *ResourceSliceSpecPatchArgs) ResourceSliceSpecPatchPtrInput
type ResourceSliceSpecPatchPtrOutput ¶
type ResourceSliceSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (ResourceSliceSpecPatchPtrOutput) AllNodes ¶
func (o ResourceSliceSpecPatchPtrOutput) AllNodes() pulumi.BoolPtrOutput
AllNodes indicates that all nodes have access to the resources in the pool.
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
func (ResourceSliceSpecPatchPtrOutput) Devices ¶
func (o ResourceSliceSpecPatchPtrOutput) Devices() DevicePatchArrayOutput
Devices lists some or all of the devices in this pool.
Must not have more than 128 entries.
func (ResourceSliceSpecPatchPtrOutput) Driver ¶
func (o ResourceSliceSpecPatchPtrOutput) Driver() pulumi.StringPtrOutput
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 (o ResourceSliceSpecPatchPtrOutput) Elem() ResourceSliceSpecPatchOutput
func (ResourceSliceSpecPatchPtrOutput) ElementType ¶
func (ResourceSliceSpecPatchPtrOutput) ElementType() reflect.Type
func (ResourceSliceSpecPatchPtrOutput) NodeName ¶
func (o ResourceSliceSpecPatchPtrOutput) NodeName() pulumi.StringPtrOutput
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, AllNodes, and PerDeviceNodeSelection must be set. This field is immutable.
func (ResourceSliceSpecPatchPtrOutput) NodeSelector ¶
func (o ResourceSliceSpecPatchPtrOutput) NodeSelector() corev1.NodeSelectorPatchPtrOutput
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, AllNodes, and PerDeviceNodeSelection must be set.
func (ResourceSliceSpecPatchPtrOutput) PerDeviceNodeSelection ¶ added in v4.23.0
func (o ResourceSliceSpecPatchPtrOutput) PerDeviceNodeSelection() pulumi.BoolPtrOutput
PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
func (ResourceSliceSpecPatchPtrOutput) Pool ¶
func (o ResourceSliceSpecPatchPtrOutput) Pool() ResourcePoolPatchPtrOutput
Pool describes the pool that this ResourceSlice belongs to.
func (ResourceSliceSpecPatchPtrOutput) SharedCounters ¶ added in v4.23.0
func (o ResourceSliceSpecPatchPtrOutput) SharedCounters() CounterSetPatchArrayOutput
SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.
The names of the SharedCounters must be unique in the ResourceSlice.
The maximum number of SharedCounters is 32.
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) ElementType() reflect.Type
func (ResourceSliceTypeArrayOutput) Index ¶
func (o ResourceSliceTypeArrayOutput) Index(i pulumi.IntInput) ResourceSliceTypeOutput
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 ¶
func (o ResourceSliceTypeOutput) ApiVersion() pulumi.StringPtrOutput
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 ¶
func (o ResourceSliceTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ResourceSliceTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object metadata
func (ResourceSliceTypeOutput) Spec ¶
func (o ResourceSliceTypeOutput) Spec() ResourceSliceSpecOutput
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
Source Files
¶
- deviceClass.go
- deviceClassList.go
- deviceClassPatch.go
- deviceTaintRule.go
- deviceTaintRuleList.go
- deviceTaintRulePatch.go
- init.go
- podSchedulingContext.go
- podSchedulingContextList.go
- podSchedulingContextPatch.go
- pulumiTypes.go
- resourceClaim.go
- resourceClaimList.go
- resourceClaimPatch.go
- resourceClaimTemplate.go
- resourceClaimTemplateList.go
- resourceClaimTemplatePatch.go
- resourceSlice.go
- resourceSliceList.go
- resourceSlicePatch.go