v1beta1

package
Version: v3.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSIDriver

type CSIDriver 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.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Specification of the CSI Driver.
	Spec CSIDriverSpecOutput `pulumi:"spec"`
}

CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.

func GetCSIDriver

func GetCSIDriver(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CSIDriverState, opts ...pulumi.ResourceOption) (*CSIDriver, error)

GetCSIDriver gets an existing CSIDriver 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 NewCSIDriver

func NewCSIDriver(ctx *pulumi.Context,
	name string, args *CSIDriverArgs, opts ...pulumi.ResourceOption) (*CSIDriver, error)

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

func (*CSIDriver) ElementType

func (*CSIDriver) ElementType() reflect.Type

func (*CSIDriver) ToCSIDriverOutput

func (i *CSIDriver) ToCSIDriverOutput() CSIDriverOutput

func (*CSIDriver) ToCSIDriverOutputWithContext

func (i *CSIDriver) ToCSIDriverOutputWithContext(ctx context.Context) CSIDriverOutput

func (*CSIDriver) ToCSIDriverPtrOutput

func (i *CSIDriver) ToCSIDriverPtrOutput() CSIDriverPtrOutput

func (*CSIDriver) ToCSIDriverPtrOutputWithContext

func (i *CSIDriver) ToCSIDriverPtrOutputWithContext(ctx context.Context) CSIDriverPtrOutput

type CSIDriverArgs

type CSIDriverArgs 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.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Specification of the CSI Driver.
	Spec CSIDriverSpecInput
}

The set of arguments for constructing a CSIDriver resource.

func (CSIDriverArgs) ElementType

func (CSIDriverArgs) ElementType() reflect.Type

type CSIDriverArray

type CSIDriverArray []CSIDriverInput

func (CSIDriverArray) ElementType

func (CSIDriverArray) ElementType() reflect.Type

func (CSIDriverArray) ToCSIDriverArrayOutput

func (i CSIDriverArray) ToCSIDriverArrayOutput() CSIDriverArrayOutput

func (CSIDriverArray) ToCSIDriverArrayOutputWithContext

func (i CSIDriverArray) ToCSIDriverArrayOutputWithContext(ctx context.Context) CSIDriverArrayOutput

type CSIDriverArrayInput

type CSIDriverArrayInput interface {
	pulumi.Input

	ToCSIDriverArrayOutput() CSIDriverArrayOutput
	ToCSIDriverArrayOutputWithContext(context.Context) CSIDriverArrayOutput
}

CSIDriverArrayInput is an input type that accepts CSIDriverArray and CSIDriverArrayOutput values. You can construct a concrete instance of `CSIDriverArrayInput` via:

CSIDriverArray{ CSIDriverArgs{...} }

type CSIDriverArrayOutput

type CSIDriverArrayOutput struct{ *pulumi.OutputState }

func (CSIDriverArrayOutput) ElementType

func (CSIDriverArrayOutput) ElementType() reflect.Type

func (CSIDriverArrayOutput) Index

func (CSIDriverArrayOutput) ToCSIDriverArrayOutput

func (o CSIDriverArrayOutput) ToCSIDriverArrayOutput() CSIDriverArrayOutput

func (CSIDriverArrayOutput) ToCSIDriverArrayOutputWithContext

func (o CSIDriverArrayOutput) ToCSIDriverArrayOutputWithContext(ctx context.Context) CSIDriverArrayOutput

type CSIDriverInput

type CSIDriverInput interface {
	pulumi.Input

	ToCSIDriverOutput() CSIDriverOutput
	ToCSIDriverOutputWithContext(ctx context.Context) CSIDriverOutput
}

type CSIDriverList

type CSIDriverList 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"`
	// items is the list of CSIDriver
	Items CSIDriverTypeArrayOutput `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.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

CSIDriverList is a collection of CSIDriver objects.

func GetCSIDriverList

func GetCSIDriverList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CSIDriverListState, opts ...pulumi.ResourceOption) (*CSIDriverList, error)

GetCSIDriverList gets an existing CSIDriverList 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 NewCSIDriverList

func NewCSIDriverList(ctx *pulumi.Context,
	name string, args *CSIDriverListArgs, opts ...pulumi.ResourceOption) (*CSIDriverList, error)

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

func (*CSIDriverList) ElementType

func (*CSIDriverList) ElementType() reflect.Type

func (*CSIDriverList) ToCSIDriverListOutput

func (i *CSIDriverList) ToCSIDriverListOutput() CSIDriverListOutput

func (*CSIDriverList) ToCSIDriverListOutputWithContext

func (i *CSIDriverList) ToCSIDriverListOutputWithContext(ctx context.Context) CSIDriverListOutput

func (*CSIDriverList) ToCSIDriverListPtrOutput

func (i *CSIDriverList) ToCSIDriverListPtrOutput() CSIDriverListPtrOutput

func (*CSIDriverList) ToCSIDriverListPtrOutputWithContext

func (i *CSIDriverList) ToCSIDriverListPtrOutputWithContext(ctx context.Context) CSIDriverListPtrOutput

type CSIDriverListArgs

type CSIDriverListArgs 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 CSIDriver
	Items CSIDriverTypeArrayInput
	// 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 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a CSIDriverList resource.

func (CSIDriverListArgs) ElementType

func (CSIDriverListArgs) ElementType() reflect.Type

type CSIDriverListArray

type CSIDriverListArray []CSIDriverListInput

func (CSIDriverListArray) ElementType

func (CSIDriverListArray) ElementType() reflect.Type

func (CSIDriverListArray) ToCSIDriverListArrayOutput

func (i CSIDriverListArray) ToCSIDriverListArrayOutput() CSIDriverListArrayOutput

func (CSIDriverListArray) ToCSIDriverListArrayOutputWithContext

func (i CSIDriverListArray) ToCSIDriverListArrayOutputWithContext(ctx context.Context) CSIDriverListArrayOutput

type CSIDriverListArrayInput

type CSIDriverListArrayInput interface {
	pulumi.Input

	ToCSIDriverListArrayOutput() CSIDriverListArrayOutput
	ToCSIDriverListArrayOutputWithContext(context.Context) CSIDriverListArrayOutput
}

CSIDriverListArrayInput is an input type that accepts CSIDriverListArray and CSIDriverListArrayOutput values. You can construct a concrete instance of `CSIDriverListArrayInput` via:

CSIDriverListArray{ CSIDriverListArgs{...} }

type CSIDriverListArrayOutput

type CSIDriverListArrayOutput struct{ *pulumi.OutputState }

func (CSIDriverListArrayOutput) ElementType

func (CSIDriverListArrayOutput) ElementType() reflect.Type

func (CSIDriverListArrayOutput) Index

func (CSIDriverListArrayOutput) ToCSIDriverListArrayOutput

func (o CSIDriverListArrayOutput) ToCSIDriverListArrayOutput() CSIDriverListArrayOutput

func (CSIDriverListArrayOutput) ToCSIDriverListArrayOutputWithContext

func (o CSIDriverListArrayOutput) ToCSIDriverListArrayOutputWithContext(ctx context.Context) CSIDriverListArrayOutput

type CSIDriverListInput

type CSIDriverListInput interface {
	pulumi.Input

	ToCSIDriverListOutput() CSIDriverListOutput
	ToCSIDriverListOutputWithContext(ctx context.Context) CSIDriverListOutput
}

type CSIDriverListMap

type CSIDriverListMap map[string]CSIDriverListInput

func (CSIDriverListMap) ElementType

func (CSIDriverListMap) ElementType() reflect.Type

func (CSIDriverListMap) ToCSIDriverListMapOutput

func (i CSIDriverListMap) ToCSIDriverListMapOutput() CSIDriverListMapOutput

func (CSIDriverListMap) ToCSIDriverListMapOutputWithContext

func (i CSIDriverListMap) ToCSIDriverListMapOutputWithContext(ctx context.Context) CSIDriverListMapOutput

type CSIDriverListMapInput

type CSIDriverListMapInput interface {
	pulumi.Input

	ToCSIDriverListMapOutput() CSIDriverListMapOutput
	ToCSIDriverListMapOutputWithContext(context.Context) CSIDriverListMapOutput
}

CSIDriverListMapInput is an input type that accepts CSIDriverListMap and CSIDriverListMapOutput values. You can construct a concrete instance of `CSIDriverListMapInput` via:

CSIDriverListMap{ "key": CSIDriverListArgs{...} }

type CSIDriverListMapOutput

type CSIDriverListMapOutput struct{ *pulumi.OutputState }

func (CSIDriverListMapOutput) ElementType

func (CSIDriverListMapOutput) ElementType() reflect.Type

func (CSIDriverListMapOutput) MapIndex

func (CSIDriverListMapOutput) ToCSIDriverListMapOutput

func (o CSIDriverListMapOutput) ToCSIDriverListMapOutput() CSIDriverListMapOutput

func (CSIDriverListMapOutput) ToCSIDriverListMapOutputWithContext

func (o CSIDriverListMapOutput) ToCSIDriverListMapOutputWithContext(ctx context.Context) CSIDriverListMapOutput

type CSIDriverListOutput

type CSIDriverListOutput struct{ *pulumi.OutputState }

func (CSIDriverListOutput) ElementType

func (CSIDriverListOutput) ElementType() reflect.Type

func (CSIDriverListOutput) ToCSIDriverListOutput

func (o CSIDriverListOutput) ToCSIDriverListOutput() CSIDriverListOutput

func (CSIDriverListOutput) ToCSIDriverListOutputWithContext

func (o CSIDriverListOutput) ToCSIDriverListOutputWithContext(ctx context.Context) CSIDriverListOutput

func (CSIDriverListOutput) ToCSIDriverListPtrOutput

func (o CSIDriverListOutput) ToCSIDriverListPtrOutput() CSIDriverListPtrOutput

func (CSIDriverListOutput) ToCSIDriverListPtrOutputWithContext

func (o CSIDriverListOutput) ToCSIDriverListPtrOutputWithContext(ctx context.Context) CSIDriverListPtrOutput

type CSIDriverListPtrInput

type CSIDriverListPtrInput interface {
	pulumi.Input

	ToCSIDriverListPtrOutput() CSIDriverListPtrOutput
	ToCSIDriverListPtrOutputWithContext(ctx context.Context) CSIDriverListPtrOutput
}

type CSIDriverListPtrOutput

type CSIDriverListPtrOutput struct{ *pulumi.OutputState }

func (CSIDriverListPtrOutput) Elem added in v3.7.2

func (CSIDriverListPtrOutput) ElementType

func (CSIDriverListPtrOutput) ElementType() reflect.Type

func (CSIDriverListPtrOutput) ToCSIDriverListPtrOutput

func (o CSIDriverListPtrOutput) ToCSIDriverListPtrOutput() CSIDriverListPtrOutput

func (CSIDriverListPtrOutput) ToCSIDriverListPtrOutputWithContext

func (o CSIDriverListPtrOutput) ToCSIDriverListPtrOutputWithContext(ctx context.Context) CSIDriverListPtrOutput

type CSIDriverListState

type CSIDriverListState struct {
}

func (CSIDriverListState) ElementType

func (CSIDriverListState) ElementType() reflect.Type

type CSIDriverListType

type CSIDriverListType 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 CSIDriver
	Items []CSIDriverType `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 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

CSIDriverList is a collection of CSIDriver objects.

type CSIDriverListTypeArgs

type CSIDriverListTypeArgs 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 CSIDriver
	Items CSIDriverTypeArrayInput `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 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

CSIDriverList is a collection of CSIDriver objects.

func (CSIDriverListTypeArgs) ElementType

func (CSIDriverListTypeArgs) ElementType() reflect.Type

func (CSIDriverListTypeArgs) ToCSIDriverListTypeOutput

func (i CSIDriverListTypeArgs) ToCSIDriverListTypeOutput() CSIDriverListTypeOutput

func (CSIDriverListTypeArgs) ToCSIDriverListTypeOutputWithContext

func (i CSIDriverListTypeArgs) ToCSIDriverListTypeOutputWithContext(ctx context.Context) CSIDriverListTypeOutput

type CSIDriverListTypeInput

type CSIDriverListTypeInput interface {
	pulumi.Input

	ToCSIDriverListTypeOutput() CSIDriverListTypeOutput
	ToCSIDriverListTypeOutputWithContext(context.Context) CSIDriverListTypeOutput
}

CSIDriverListTypeInput is an input type that accepts CSIDriverListTypeArgs and CSIDriverListTypeOutput values. You can construct a concrete instance of `CSIDriverListTypeInput` via:

CSIDriverListTypeArgs{...}

type CSIDriverListTypeOutput

type CSIDriverListTypeOutput struct{ *pulumi.OutputState }

CSIDriverList is a collection of CSIDriver objects.

func (CSIDriverListTypeOutput) ApiVersion

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

func (CSIDriverListTypeOutput) ElementType

func (CSIDriverListTypeOutput) ElementType() reflect.Type

func (CSIDriverListTypeOutput) Items

items is the list of CSIDriver

func (CSIDriverListTypeOutput) Kind

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

func (CSIDriverListTypeOutput) ToCSIDriverListTypeOutput

func (o CSIDriverListTypeOutput) ToCSIDriverListTypeOutput() CSIDriverListTypeOutput

func (CSIDriverListTypeOutput) ToCSIDriverListTypeOutputWithContext

func (o CSIDriverListTypeOutput) ToCSIDriverListTypeOutputWithContext(ctx context.Context) CSIDriverListTypeOutput

type CSIDriverMap

type CSIDriverMap map[string]CSIDriverInput

func (CSIDriverMap) ElementType

func (CSIDriverMap) ElementType() reflect.Type

func (CSIDriverMap) ToCSIDriverMapOutput

func (i CSIDriverMap) ToCSIDriverMapOutput() CSIDriverMapOutput

func (CSIDriverMap) ToCSIDriverMapOutputWithContext

func (i CSIDriverMap) ToCSIDriverMapOutputWithContext(ctx context.Context) CSIDriverMapOutput

type CSIDriverMapInput

type CSIDriverMapInput interface {
	pulumi.Input

	ToCSIDriverMapOutput() CSIDriverMapOutput
	ToCSIDriverMapOutputWithContext(context.Context) CSIDriverMapOutput
}

CSIDriverMapInput is an input type that accepts CSIDriverMap and CSIDriverMapOutput values. You can construct a concrete instance of `CSIDriverMapInput` via:

CSIDriverMap{ "key": CSIDriverArgs{...} }

type CSIDriverMapOutput

type CSIDriverMapOutput struct{ *pulumi.OutputState }

func (CSIDriverMapOutput) ElementType

func (CSIDriverMapOutput) ElementType() reflect.Type

func (CSIDriverMapOutput) MapIndex

func (CSIDriverMapOutput) ToCSIDriverMapOutput

func (o CSIDriverMapOutput) ToCSIDriverMapOutput() CSIDriverMapOutput

func (CSIDriverMapOutput) ToCSIDriverMapOutputWithContext

func (o CSIDriverMapOutput) ToCSIDriverMapOutputWithContext(ctx context.Context) CSIDriverMapOutput

type CSIDriverOutput

type CSIDriverOutput struct{ *pulumi.OutputState }

func (CSIDriverOutput) ElementType

func (CSIDriverOutput) ElementType() reflect.Type

func (CSIDriverOutput) ToCSIDriverOutput

func (o CSIDriverOutput) ToCSIDriverOutput() CSIDriverOutput

func (CSIDriverOutput) ToCSIDriverOutputWithContext

func (o CSIDriverOutput) ToCSIDriverOutputWithContext(ctx context.Context) CSIDriverOutput

func (CSIDriverOutput) ToCSIDriverPtrOutput

func (o CSIDriverOutput) ToCSIDriverPtrOutput() CSIDriverPtrOutput

func (CSIDriverOutput) ToCSIDriverPtrOutputWithContext

func (o CSIDriverOutput) ToCSIDriverPtrOutputWithContext(ctx context.Context) CSIDriverPtrOutput

type CSIDriverPtrInput

type CSIDriverPtrInput interface {
	pulumi.Input

	ToCSIDriverPtrOutput() CSIDriverPtrOutput
	ToCSIDriverPtrOutputWithContext(ctx context.Context) CSIDriverPtrOutput
}

type CSIDriverPtrOutput

type CSIDriverPtrOutput struct{ *pulumi.OutputState }

func (CSIDriverPtrOutput) Elem added in v3.7.2

func (CSIDriverPtrOutput) ElementType

func (CSIDriverPtrOutput) ElementType() reflect.Type

func (CSIDriverPtrOutput) ToCSIDriverPtrOutput

func (o CSIDriverPtrOutput) ToCSIDriverPtrOutput() CSIDriverPtrOutput

func (CSIDriverPtrOutput) ToCSIDriverPtrOutputWithContext

func (o CSIDriverPtrOutput) ToCSIDriverPtrOutputWithContext(ctx context.Context) CSIDriverPtrOutput

type CSIDriverSpec

type CSIDriverSpec struct {
	// attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
	AttachRequired *bool `pulumi:"attachRequired"`
	// Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
	FsGroupPolicy *string `pulumi:"fsGroupPolicy"`
	// If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
	//                                 defined by a CSIVolumeSource, otherwise "false"
	//
	// "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.
	PodInfoOnMount *bool `pulumi:"podInfoOnMount"`
	// RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
	//
	// Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
	//
	// This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
	RequiresRepublish *bool `pulumi:"requiresRepublish"`
	// If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
	//
	// The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.
	//
	// Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.
	//
	// This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.
	StorageCapacity *bool `pulumi:"storageCapacity"`
	// TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: "csi.storage.k8s.io/serviceAccount.tokens": {
	//   "<audience>": {
	//     "token": <token>,
	//     "expirationTimestamp": <expiration timestamp in RFC3339>,
	//   },
	//   ...
	// }
	//
	// Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
	//
	// This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
	TokenRequests []TokenRequest `pulumi:"tokenRequests"`
	// VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
	VolumeLifecycleModes []string `pulumi:"volumeLifecycleModes"`
}

CSIDriverSpec is the specification of a CSIDriver.

type CSIDriverSpecArgs

type CSIDriverSpecArgs struct {
	// attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
	AttachRequired pulumi.BoolPtrInput `pulumi:"attachRequired"`
	// Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
	FsGroupPolicy pulumi.StringPtrInput `pulumi:"fsGroupPolicy"`
	// If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
	//                                 defined by a CSIVolumeSource, otherwise "false"
	//
	// "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.
	PodInfoOnMount pulumi.BoolPtrInput `pulumi:"podInfoOnMount"`
	// RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
	//
	// Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
	//
	// This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
	RequiresRepublish pulumi.BoolPtrInput `pulumi:"requiresRepublish"`
	// If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
	//
	// The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.
	//
	// Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.
	//
	// This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.
	StorageCapacity pulumi.BoolPtrInput `pulumi:"storageCapacity"`
	// TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: "csi.storage.k8s.io/serviceAccount.tokens": {
	//   "<audience>": {
	//     "token": <token>,
	//     "expirationTimestamp": <expiration timestamp in RFC3339>,
	//   },
	//   ...
	// }
	//
	// Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
	//
	// This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
	TokenRequests TokenRequestArrayInput `pulumi:"tokenRequests"`
	// VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
	VolumeLifecycleModes pulumi.StringArrayInput `pulumi:"volumeLifecycleModes"`
}

CSIDriverSpec is the specification of a CSIDriver.

func (CSIDriverSpecArgs) ElementType

func (CSIDriverSpecArgs) ElementType() reflect.Type

func (CSIDriverSpecArgs) ToCSIDriverSpecOutput

func (i CSIDriverSpecArgs) ToCSIDriverSpecOutput() CSIDriverSpecOutput

func (CSIDriverSpecArgs) ToCSIDriverSpecOutputWithContext

func (i CSIDriverSpecArgs) ToCSIDriverSpecOutputWithContext(ctx context.Context) CSIDriverSpecOutput

func (CSIDriverSpecArgs) ToCSIDriverSpecPtrOutput

func (i CSIDriverSpecArgs) ToCSIDriverSpecPtrOutput() CSIDriverSpecPtrOutput

func (CSIDriverSpecArgs) ToCSIDriverSpecPtrOutputWithContext

func (i CSIDriverSpecArgs) ToCSIDriverSpecPtrOutputWithContext(ctx context.Context) CSIDriverSpecPtrOutput

type CSIDriverSpecInput

type CSIDriverSpecInput interface {
	pulumi.Input

	ToCSIDriverSpecOutput() CSIDriverSpecOutput
	ToCSIDriverSpecOutputWithContext(context.Context) CSIDriverSpecOutput
}

CSIDriverSpecInput is an input type that accepts CSIDriverSpecArgs and CSIDriverSpecOutput values. You can construct a concrete instance of `CSIDriverSpecInput` via:

CSIDriverSpecArgs{...}

type CSIDriverSpecOutput

type CSIDriverSpecOutput struct{ *pulumi.OutputState }

CSIDriverSpec is the specification of a CSIDriver.

func (CSIDriverSpecOutput) AttachRequired

func (o CSIDriverSpecOutput) AttachRequired() pulumi.BoolPtrOutput

attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.

func (CSIDriverSpecOutput) ElementType

func (CSIDriverSpecOutput) ElementType() reflect.Type

func (CSIDriverSpecOutput) FsGroupPolicy

func (o CSIDriverSpecOutput) FsGroupPolicy() pulumi.StringPtrOutput

Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.

func (CSIDriverSpecOutput) PodInfoOnMount

func (o CSIDriverSpecOutput) PodInfoOnMount() pulumi.BoolPtrOutput

If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume

defined by a CSIVolumeSource, otherwise "false"

"csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.

func (CSIDriverSpecOutput) RequiresRepublish

func (o CSIDriverSpecOutput) RequiresRepublish() pulumi.BoolPtrOutput

RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.

Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.

This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.

func (CSIDriverSpecOutput) StorageCapacity

func (o CSIDriverSpecOutput) StorageCapacity() pulumi.BoolPtrOutput

If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.

The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.

Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.

This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.

func (CSIDriverSpecOutput) ToCSIDriverSpecOutput

func (o CSIDriverSpecOutput) ToCSIDriverSpecOutput() CSIDriverSpecOutput

func (CSIDriverSpecOutput) ToCSIDriverSpecOutputWithContext

func (o CSIDriverSpecOutput) ToCSIDriverSpecOutputWithContext(ctx context.Context) CSIDriverSpecOutput

func (CSIDriverSpecOutput) ToCSIDriverSpecPtrOutput

func (o CSIDriverSpecOutput) ToCSIDriverSpecPtrOutput() CSIDriverSpecPtrOutput

func (CSIDriverSpecOutput) ToCSIDriverSpecPtrOutputWithContext

func (o CSIDriverSpecOutput) ToCSIDriverSpecPtrOutputWithContext(ctx context.Context) CSIDriverSpecPtrOutput

func (CSIDriverSpecOutput) TokenRequests

func (o CSIDriverSpecOutput) TokenRequests() TokenRequestArrayOutput

TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: "csi.storage.k8s.io/serviceAccount.tokens": {

"<audience>": {
  "token": <token>,
  "expirationTimestamp": <expiration timestamp in RFC3339>,
},
...

}

Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.

This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.

func (CSIDriverSpecOutput) VolumeLifecycleModes

func (o CSIDriverSpecOutput) VolumeLifecycleModes() pulumi.StringArrayOutput

VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.

type CSIDriverSpecPtrInput

type CSIDriverSpecPtrInput interface {
	pulumi.Input

	ToCSIDriverSpecPtrOutput() CSIDriverSpecPtrOutput
	ToCSIDriverSpecPtrOutputWithContext(context.Context) CSIDriverSpecPtrOutput
}

CSIDriverSpecPtrInput is an input type that accepts CSIDriverSpecArgs, CSIDriverSpecPtr and CSIDriverSpecPtrOutput values. You can construct a concrete instance of `CSIDriverSpecPtrInput` via:

        CSIDriverSpecArgs{...}

or:

        nil

type CSIDriverSpecPtrOutput

type CSIDriverSpecPtrOutput struct{ *pulumi.OutputState }

func (CSIDriverSpecPtrOutput) AttachRequired

func (o CSIDriverSpecPtrOutput) AttachRequired() pulumi.BoolPtrOutput

attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.

func (CSIDriverSpecPtrOutput) Elem

func (CSIDriverSpecPtrOutput) ElementType

func (CSIDriverSpecPtrOutput) ElementType() reflect.Type

func (CSIDriverSpecPtrOutput) FsGroupPolicy

func (o CSIDriverSpecPtrOutput) FsGroupPolicy() pulumi.StringPtrOutput

Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.

func (CSIDriverSpecPtrOutput) PodInfoOnMount

func (o CSIDriverSpecPtrOutput) PodInfoOnMount() pulumi.BoolPtrOutput

If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume

defined by a CSIVolumeSource, otherwise "false"

"csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.

func (CSIDriverSpecPtrOutput) RequiresRepublish

func (o CSIDriverSpecPtrOutput) RequiresRepublish() pulumi.BoolPtrOutput

RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.

Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.

This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.

func (CSIDriverSpecPtrOutput) StorageCapacity

func (o CSIDriverSpecPtrOutput) StorageCapacity() pulumi.BoolPtrOutput

If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.

The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.

Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.

This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.

func (CSIDriverSpecPtrOutput) ToCSIDriverSpecPtrOutput

func (o CSIDriverSpecPtrOutput) ToCSIDriverSpecPtrOutput() CSIDriverSpecPtrOutput

func (CSIDriverSpecPtrOutput) ToCSIDriverSpecPtrOutputWithContext

func (o CSIDriverSpecPtrOutput) ToCSIDriverSpecPtrOutputWithContext(ctx context.Context) CSIDriverSpecPtrOutput

func (CSIDriverSpecPtrOutput) TokenRequests

TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: "csi.storage.k8s.io/serviceAccount.tokens": {

"<audience>": {
  "token": <token>,
  "expirationTimestamp": <expiration timestamp in RFC3339>,
},
...

}

Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.

This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.

func (CSIDriverSpecPtrOutput) VolumeLifecycleModes

func (o CSIDriverSpecPtrOutput) VolumeLifecycleModes() pulumi.StringArrayOutput

VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.

type CSIDriverState

type CSIDriverState struct {
}

func (CSIDriverState) ElementType

func (CSIDriverState) ElementType() reflect.Type

type CSIDriverType

type CSIDriverType 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.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Specification of the CSI Driver.
	Spec CSIDriverSpec `pulumi:"spec"`
}

CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.

type CSIDriverTypeArgs

type CSIDriverTypeArgs 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.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Specification of the CSI Driver.
	Spec CSIDriverSpecInput `pulumi:"spec"`
}

CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.

func (CSIDriverTypeArgs) ElementType

func (CSIDriverTypeArgs) ElementType() reflect.Type

func (CSIDriverTypeArgs) ToCSIDriverTypeOutput

func (i CSIDriverTypeArgs) ToCSIDriverTypeOutput() CSIDriverTypeOutput

func (CSIDriverTypeArgs) ToCSIDriverTypeOutputWithContext

func (i CSIDriverTypeArgs) ToCSIDriverTypeOutputWithContext(ctx context.Context) CSIDriverTypeOutput

type CSIDriverTypeArray

type CSIDriverTypeArray []CSIDriverTypeInput

func (CSIDriverTypeArray) ElementType

func (CSIDriverTypeArray) ElementType() reflect.Type

func (CSIDriverTypeArray) ToCSIDriverTypeArrayOutput

func (i CSIDriverTypeArray) ToCSIDriverTypeArrayOutput() CSIDriverTypeArrayOutput

func (CSIDriverTypeArray) ToCSIDriverTypeArrayOutputWithContext

func (i CSIDriverTypeArray) ToCSIDriverTypeArrayOutputWithContext(ctx context.Context) CSIDriverTypeArrayOutput

type CSIDriverTypeArrayInput

type CSIDriverTypeArrayInput interface {
	pulumi.Input

	ToCSIDriverTypeArrayOutput() CSIDriverTypeArrayOutput
	ToCSIDriverTypeArrayOutputWithContext(context.Context) CSIDriverTypeArrayOutput
}

CSIDriverTypeArrayInput is an input type that accepts CSIDriverTypeArray and CSIDriverTypeArrayOutput values. You can construct a concrete instance of `CSIDriverTypeArrayInput` via:

CSIDriverTypeArray{ CSIDriverTypeArgs{...} }

type CSIDriverTypeArrayOutput

type CSIDriverTypeArrayOutput struct{ *pulumi.OutputState }

func (CSIDriverTypeArrayOutput) ElementType

func (CSIDriverTypeArrayOutput) ElementType() reflect.Type

func (CSIDriverTypeArrayOutput) Index

func (CSIDriverTypeArrayOutput) ToCSIDriverTypeArrayOutput

func (o CSIDriverTypeArrayOutput) ToCSIDriverTypeArrayOutput() CSIDriverTypeArrayOutput

func (CSIDriverTypeArrayOutput) ToCSIDriverTypeArrayOutputWithContext

func (o CSIDriverTypeArrayOutput) ToCSIDriverTypeArrayOutputWithContext(ctx context.Context) CSIDriverTypeArrayOutput

type CSIDriverTypeInput

type CSIDriverTypeInput interface {
	pulumi.Input

	ToCSIDriverTypeOutput() CSIDriverTypeOutput
	ToCSIDriverTypeOutputWithContext(context.Context) CSIDriverTypeOutput
}

CSIDriverTypeInput is an input type that accepts CSIDriverTypeArgs and CSIDriverTypeOutput values. You can construct a concrete instance of `CSIDriverTypeInput` via:

CSIDriverTypeArgs{...}

type CSIDriverTypeOutput

type CSIDriverTypeOutput struct{ *pulumi.OutputState }

CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.

func (CSIDriverTypeOutput) ApiVersion

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

func (CSIDriverTypeOutput) ElementType

func (CSIDriverTypeOutput) ElementType() reflect.Type

func (CSIDriverTypeOutput) Kind

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

func (CSIDriverTypeOutput) Metadata

Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (CSIDriverTypeOutput) Spec

Specification of the CSI Driver.

func (CSIDriverTypeOutput) ToCSIDriverTypeOutput

func (o CSIDriverTypeOutput) ToCSIDriverTypeOutput() CSIDriverTypeOutput

func (CSIDriverTypeOutput) ToCSIDriverTypeOutputWithContext

func (o CSIDriverTypeOutput) ToCSIDriverTypeOutputWithContext(ctx context.Context) CSIDriverTypeOutput

type CSINode deprecated

type CSINode 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"`
	// metadata.name must be the Kubernetes node name.
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// spec is the specification of CSINode
	Spec CSINodeSpecOutput `pulumi:"spec"`
}

CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.

Deprecated: storage/v1beta1/CSINode is deprecated by storage.k8s.io/v1/CSINode.

func GetCSINode

func GetCSINode(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CSINodeState, opts ...pulumi.ResourceOption) (*CSINode, error)

GetCSINode gets an existing CSINode 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 NewCSINode

func NewCSINode(ctx *pulumi.Context,
	name string, args *CSINodeArgs, opts ...pulumi.ResourceOption) (*CSINode, error)

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

func (*CSINode) ElementType

func (*CSINode) ElementType() reflect.Type

func (*CSINode) ToCSINodeOutput

func (i *CSINode) ToCSINodeOutput() CSINodeOutput

func (*CSINode) ToCSINodeOutputWithContext

func (i *CSINode) ToCSINodeOutputWithContext(ctx context.Context) CSINodeOutput

func (*CSINode) ToCSINodePtrOutput

func (i *CSINode) ToCSINodePtrOutput() CSINodePtrOutput

func (*CSINode) ToCSINodePtrOutputWithContext

func (i *CSINode) ToCSINodePtrOutputWithContext(ctx context.Context) CSINodePtrOutput

type CSINodeArgs

type CSINodeArgs 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
	// metadata.name must be the Kubernetes node name.
	Metadata metav1.ObjectMetaPtrInput
	// spec is the specification of CSINode
	Spec CSINodeSpecInput
}

The set of arguments for constructing a CSINode resource.

func (CSINodeArgs) ElementType

func (CSINodeArgs) ElementType() reflect.Type

type CSINodeArray

type CSINodeArray []CSINodeInput

func (CSINodeArray) ElementType

func (CSINodeArray) ElementType() reflect.Type

func (CSINodeArray) ToCSINodeArrayOutput

func (i CSINodeArray) ToCSINodeArrayOutput() CSINodeArrayOutput

func (CSINodeArray) ToCSINodeArrayOutputWithContext

func (i CSINodeArray) ToCSINodeArrayOutputWithContext(ctx context.Context) CSINodeArrayOutput

type CSINodeArrayInput

type CSINodeArrayInput interface {
	pulumi.Input

	ToCSINodeArrayOutput() CSINodeArrayOutput
	ToCSINodeArrayOutputWithContext(context.Context) CSINodeArrayOutput
}

CSINodeArrayInput is an input type that accepts CSINodeArray and CSINodeArrayOutput values. You can construct a concrete instance of `CSINodeArrayInput` via:

CSINodeArray{ CSINodeArgs{...} }

type CSINodeArrayOutput

type CSINodeArrayOutput struct{ *pulumi.OutputState }

func (CSINodeArrayOutput) ElementType

func (CSINodeArrayOutput) ElementType() reflect.Type

func (CSINodeArrayOutput) Index

func (CSINodeArrayOutput) ToCSINodeArrayOutput

func (o CSINodeArrayOutput) ToCSINodeArrayOutput() CSINodeArrayOutput

func (CSINodeArrayOutput) ToCSINodeArrayOutputWithContext

func (o CSINodeArrayOutput) ToCSINodeArrayOutputWithContext(ctx context.Context) CSINodeArrayOutput

type CSINodeDriver

type CSINodeDriver struct {
	// allocatable represents the volume resources of a node that are available for scheduling.
	Allocatable *VolumeNodeResources `pulumi:"allocatable"`
	// This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
	Name string `pulumi:"name"`
	// nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
	NodeID string `pulumi:"nodeID"`
	// topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
	TopologyKeys []string `pulumi:"topologyKeys"`
}

CSINodeDriver holds information about the specification of one CSI driver installed on a node

type CSINodeDriverArgs

type CSINodeDriverArgs struct {
	// allocatable represents the volume resources of a node that are available for scheduling.
	Allocatable VolumeNodeResourcesPtrInput `pulumi:"allocatable"`
	// This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
	Name pulumi.StringInput `pulumi:"name"`
	// nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
	NodeID pulumi.StringInput `pulumi:"nodeID"`
	// topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
	TopologyKeys pulumi.StringArrayInput `pulumi:"topologyKeys"`
}

CSINodeDriver holds information about the specification of one CSI driver installed on a node

func (CSINodeDriverArgs) ElementType

func (CSINodeDriverArgs) ElementType() reflect.Type

func (CSINodeDriverArgs) ToCSINodeDriverOutput

func (i CSINodeDriverArgs) ToCSINodeDriverOutput() CSINodeDriverOutput

func (CSINodeDriverArgs) ToCSINodeDriverOutputWithContext

func (i CSINodeDriverArgs) ToCSINodeDriverOutputWithContext(ctx context.Context) CSINodeDriverOutput

type CSINodeDriverArray

type CSINodeDriverArray []CSINodeDriverInput

func (CSINodeDriverArray) ElementType

func (CSINodeDriverArray) ElementType() reflect.Type

func (CSINodeDriverArray) ToCSINodeDriverArrayOutput

func (i CSINodeDriverArray) ToCSINodeDriverArrayOutput() CSINodeDriverArrayOutput

func (CSINodeDriverArray) ToCSINodeDriverArrayOutputWithContext

func (i CSINodeDriverArray) ToCSINodeDriverArrayOutputWithContext(ctx context.Context) CSINodeDriverArrayOutput

type CSINodeDriverArrayInput

type CSINodeDriverArrayInput interface {
	pulumi.Input

	ToCSINodeDriverArrayOutput() CSINodeDriverArrayOutput
	ToCSINodeDriverArrayOutputWithContext(context.Context) CSINodeDriverArrayOutput
}

CSINodeDriverArrayInput is an input type that accepts CSINodeDriverArray and CSINodeDriverArrayOutput values. You can construct a concrete instance of `CSINodeDriverArrayInput` via:

CSINodeDriverArray{ CSINodeDriverArgs{...} }

type CSINodeDriverArrayOutput

type CSINodeDriverArrayOutput struct{ *pulumi.OutputState }

func (CSINodeDriverArrayOutput) ElementType

func (CSINodeDriverArrayOutput) ElementType() reflect.Type

func (CSINodeDriverArrayOutput) Index

func (CSINodeDriverArrayOutput) ToCSINodeDriverArrayOutput

func (o CSINodeDriverArrayOutput) ToCSINodeDriverArrayOutput() CSINodeDriverArrayOutput

func (CSINodeDriverArrayOutput) ToCSINodeDriverArrayOutputWithContext

func (o CSINodeDriverArrayOutput) ToCSINodeDriverArrayOutputWithContext(ctx context.Context) CSINodeDriverArrayOutput

type CSINodeDriverInput

type CSINodeDriverInput interface {
	pulumi.Input

	ToCSINodeDriverOutput() CSINodeDriverOutput
	ToCSINodeDriverOutputWithContext(context.Context) CSINodeDriverOutput
}

CSINodeDriverInput is an input type that accepts CSINodeDriverArgs and CSINodeDriverOutput values. You can construct a concrete instance of `CSINodeDriverInput` via:

CSINodeDriverArgs{...}

type CSINodeDriverOutput

type CSINodeDriverOutput struct{ *pulumi.OutputState }

CSINodeDriver holds information about the specification of one CSI driver installed on a node

func (CSINodeDriverOutput) Allocatable

allocatable represents the volume resources of a node that are available for scheduling.

func (CSINodeDriverOutput) ElementType

func (CSINodeDriverOutput) ElementType() reflect.Type

func (CSINodeDriverOutput) Name

This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.

func (CSINodeDriverOutput) NodeID

nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.

func (CSINodeDriverOutput) ToCSINodeDriverOutput

func (o CSINodeDriverOutput) ToCSINodeDriverOutput() CSINodeDriverOutput

func (CSINodeDriverOutput) ToCSINodeDriverOutputWithContext

func (o CSINodeDriverOutput) ToCSINodeDriverOutputWithContext(ctx context.Context) CSINodeDriverOutput

func (CSINodeDriverOutput) TopologyKeys

func (o CSINodeDriverOutput) TopologyKeys() pulumi.StringArrayOutput

topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.

type CSINodeInput

type CSINodeInput interface {
	pulumi.Input

	ToCSINodeOutput() CSINodeOutput
	ToCSINodeOutputWithContext(ctx context.Context) CSINodeOutput
}

type CSINodeList

type CSINodeList 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"`
	// items is the list of CSINode
	Items CSINodeTypeArrayOutput `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.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

CSINodeList is a collection of CSINode objects.

func GetCSINodeList

func GetCSINodeList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CSINodeListState, opts ...pulumi.ResourceOption) (*CSINodeList, error)

GetCSINodeList gets an existing CSINodeList 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 NewCSINodeList

func NewCSINodeList(ctx *pulumi.Context,
	name string, args *CSINodeListArgs, opts ...pulumi.ResourceOption) (*CSINodeList, error)

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

func (*CSINodeList) ElementType

func (*CSINodeList) ElementType() reflect.Type

func (*CSINodeList) ToCSINodeListOutput

func (i *CSINodeList) ToCSINodeListOutput() CSINodeListOutput

func (*CSINodeList) ToCSINodeListOutputWithContext

func (i *CSINodeList) ToCSINodeListOutputWithContext(ctx context.Context) CSINodeListOutput

func (*CSINodeList) ToCSINodeListPtrOutput

func (i *CSINodeList) ToCSINodeListPtrOutput() CSINodeListPtrOutput

func (*CSINodeList) ToCSINodeListPtrOutputWithContext

func (i *CSINodeList) ToCSINodeListPtrOutputWithContext(ctx context.Context) CSINodeListPtrOutput

type CSINodeListArgs

type CSINodeListArgs 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 CSINode
	Items CSINodeTypeArrayInput
	// 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 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a CSINodeList resource.

func (CSINodeListArgs) ElementType

func (CSINodeListArgs) ElementType() reflect.Type

type CSINodeListArray

type CSINodeListArray []CSINodeListInput

func (CSINodeListArray) ElementType

func (CSINodeListArray) ElementType() reflect.Type

func (CSINodeListArray) ToCSINodeListArrayOutput

func (i CSINodeListArray) ToCSINodeListArrayOutput() CSINodeListArrayOutput

func (CSINodeListArray) ToCSINodeListArrayOutputWithContext

func (i CSINodeListArray) ToCSINodeListArrayOutputWithContext(ctx context.Context) CSINodeListArrayOutput

type CSINodeListArrayInput

type CSINodeListArrayInput interface {
	pulumi.Input

	ToCSINodeListArrayOutput() CSINodeListArrayOutput
	ToCSINodeListArrayOutputWithContext(context.Context) CSINodeListArrayOutput
}

CSINodeListArrayInput is an input type that accepts CSINodeListArray and CSINodeListArrayOutput values. You can construct a concrete instance of `CSINodeListArrayInput` via:

CSINodeListArray{ CSINodeListArgs{...} }

type CSINodeListArrayOutput

type CSINodeListArrayOutput struct{ *pulumi.OutputState }

func (CSINodeListArrayOutput) ElementType

func (CSINodeListArrayOutput) ElementType() reflect.Type

func (CSINodeListArrayOutput) Index

func (CSINodeListArrayOutput) ToCSINodeListArrayOutput

func (o CSINodeListArrayOutput) ToCSINodeListArrayOutput() CSINodeListArrayOutput

func (CSINodeListArrayOutput) ToCSINodeListArrayOutputWithContext

func (o CSINodeListArrayOutput) ToCSINodeListArrayOutputWithContext(ctx context.Context) CSINodeListArrayOutput

type CSINodeListInput

type CSINodeListInput interface {
	pulumi.Input

	ToCSINodeListOutput() CSINodeListOutput
	ToCSINodeListOutputWithContext(ctx context.Context) CSINodeListOutput
}

type CSINodeListMap

type CSINodeListMap map[string]CSINodeListInput

func (CSINodeListMap) ElementType

func (CSINodeListMap) ElementType() reflect.Type

func (CSINodeListMap) ToCSINodeListMapOutput

func (i CSINodeListMap) ToCSINodeListMapOutput() CSINodeListMapOutput

func (CSINodeListMap) ToCSINodeListMapOutputWithContext

func (i CSINodeListMap) ToCSINodeListMapOutputWithContext(ctx context.Context) CSINodeListMapOutput

type CSINodeListMapInput

type CSINodeListMapInput interface {
	pulumi.Input

	ToCSINodeListMapOutput() CSINodeListMapOutput
	ToCSINodeListMapOutputWithContext(context.Context) CSINodeListMapOutput
}

CSINodeListMapInput is an input type that accepts CSINodeListMap and CSINodeListMapOutput values. You can construct a concrete instance of `CSINodeListMapInput` via:

CSINodeListMap{ "key": CSINodeListArgs{...} }

type CSINodeListMapOutput

type CSINodeListMapOutput struct{ *pulumi.OutputState }

func (CSINodeListMapOutput) ElementType

func (CSINodeListMapOutput) ElementType() reflect.Type

func (CSINodeListMapOutput) MapIndex

func (CSINodeListMapOutput) ToCSINodeListMapOutput

func (o CSINodeListMapOutput) ToCSINodeListMapOutput() CSINodeListMapOutput

func (CSINodeListMapOutput) ToCSINodeListMapOutputWithContext

func (o CSINodeListMapOutput) ToCSINodeListMapOutputWithContext(ctx context.Context) CSINodeListMapOutput

type CSINodeListOutput

type CSINodeListOutput struct{ *pulumi.OutputState }

func (CSINodeListOutput) ElementType

func (CSINodeListOutput) ElementType() reflect.Type

func (CSINodeListOutput) ToCSINodeListOutput

func (o CSINodeListOutput) ToCSINodeListOutput() CSINodeListOutput

func (CSINodeListOutput) ToCSINodeListOutputWithContext

func (o CSINodeListOutput) ToCSINodeListOutputWithContext(ctx context.Context) CSINodeListOutput

func (CSINodeListOutput) ToCSINodeListPtrOutput

func (o CSINodeListOutput) ToCSINodeListPtrOutput() CSINodeListPtrOutput

func (CSINodeListOutput) ToCSINodeListPtrOutputWithContext

func (o CSINodeListOutput) ToCSINodeListPtrOutputWithContext(ctx context.Context) CSINodeListPtrOutput

type CSINodeListPtrInput

type CSINodeListPtrInput interface {
	pulumi.Input

	ToCSINodeListPtrOutput() CSINodeListPtrOutput
	ToCSINodeListPtrOutputWithContext(ctx context.Context) CSINodeListPtrOutput
}

type CSINodeListPtrOutput

type CSINodeListPtrOutput struct{ *pulumi.OutputState }

func (CSINodeListPtrOutput) Elem added in v3.7.2

func (CSINodeListPtrOutput) ElementType

func (CSINodeListPtrOutput) ElementType() reflect.Type

func (CSINodeListPtrOutput) ToCSINodeListPtrOutput

func (o CSINodeListPtrOutput) ToCSINodeListPtrOutput() CSINodeListPtrOutput

func (CSINodeListPtrOutput) ToCSINodeListPtrOutputWithContext

func (o CSINodeListPtrOutput) ToCSINodeListPtrOutputWithContext(ctx context.Context) CSINodeListPtrOutput

type CSINodeListState

type CSINodeListState struct {
}

func (CSINodeListState) ElementType

func (CSINodeListState) ElementType() reflect.Type

type CSINodeListType

type CSINodeListType 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 CSINode
	Items []CSINodeType `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 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

CSINodeList is a collection of CSINode objects.

type CSINodeListTypeArgs

type CSINodeListTypeArgs 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 CSINode
	Items CSINodeTypeArrayInput `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 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

CSINodeList is a collection of CSINode objects.

func (CSINodeListTypeArgs) ElementType

func (CSINodeListTypeArgs) ElementType() reflect.Type

func (CSINodeListTypeArgs) ToCSINodeListTypeOutput

func (i CSINodeListTypeArgs) ToCSINodeListTypeOutput() CSINodeListTypeOutput

func (CSINodeListTypeArgs) ToCSINodeListTypeOutputWithContext

func (i CSINodeListTypeArgs) ToCSINodeListTypeOutputWithContext(ctx context.Context) CSINodeListTypeOutput

type CSINodeListTypeInput

type CSINodeListTypeInput interface {
	pulumi.Input

	ToCSINodeListTypeOutput() CSINodeListTypeOutput
	ToCSINodeListTypeOutputWithContext(context.Context) CSINodeListTypeOutput
}

CSINodeListTypeInput is an input type that accepts CSINodeListTypeArgs and CSINodeListTypeOutput values. You can construct a concrete instance of `CSINodeListTypeInput` via:

CSINodeListTypeArgs{...}

type CSINodeListTypeOutput

type CSINodeListTypeOutput struct{ *pulumi.OutputState }

CSINodeList is a collection of CSINode objects.

func (CSINodeListTypeOutput) ApiVersion

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

func (CSINodeListTypeOutput) ElementType

func (CSINodeListTypeOutput) ElementType() reflect.Type

func (CSINodeListTypeOutput) Items

items is the list of CSINode

func (CSINodeListTypeOutput) Kind

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

func (CSINodeListTypeOutput) ToCSINodeListTypeOutput

func (o CSINodeListTypeOutput) ToCSINodeListTypeOutput() CSINodeListTypeOutput

func (CSINodeListTypeOutput) ToCSINodeListTypeOutputWithContext

func (o CSINodeListTypeOutput) ToCSINodeListTypeOutputWithContext(ctx context.Context) CSINodeListTypeOutput

type CSINodeMap

type CSINodeMap map[string]CSINodeInput

func (CSINodeMap) ElementType

func (CSINodeMap) ElementType() reflect.Type

func (CSINodeMap) ToCSINodeMapOutput

func (i CSINodeMap) ToCSINodeMapOutput() CSINodeMapOutput

func (CSINodeMap) ToCSINodeMapOutputWithContext

func (i CSINodeMap) ToCSINodeMapOutputWithContext(ctx context.Context) CSINodeMapOutput

type CSINodeMapInput

type CSINodeMapInput interface {
	pulumi.Input

	ToCSINodeMapOutput() CSINodeMapOutput
	ToCSINodeMapOutputWithContext(context.Context) CSINodeMapOutput
}

CSINodeMapInput is an input type that accepts CSINodeMap and CSINodeMapOutput values. You can construct a concrete instance of `CSINodeMapInput` via:

CSINodeMap{ "key": CSINodeArgs{...} }

type CSINodeMapOutput

type CSINodeMapOutput struct{ *pulumi.OutputState }

func (CSINodeMapOutput) ElementType

func (CSINodeMapOutput) ElementType() reflect.Type

func (CSINodeMapOutput) MapIndex

func (CSINodeMapOutput) ToCSINodeMapOutput

func (o CSINodeMapOutput) ToCSINodeMapOutput() CSINodeMapOutput

func (CSINodeMapOutput) ToCSINodeMapOutputWithContext

func (o CSINodeMapOutput) ToCSINodeMapOutputWithContext(ctx context.Context) CSINodeMapOutput

type CSINodeOutput

type CSINodeOutput struct{ *pulumi.OutputState }

func (CSINodeOutput) ElementType

func (CSINodeOutput) ElementType() reflect.Type

func (CSINodeOutput) ToCSINodeOutput

func (o CSINodeOutput) ToCSINodeOutput() CSINodeOutput

func (CSINodeOutput) ToCSINodeOutputWithContext

func (o CSINodeOutput) ToCSINodeOutputWithContext(ctx context.Context) CSINodeOutput

func (CSINodeOutput) ToCSINodePtrOutput

func (o CSINodeOutput) ToCSINodePtrOutput() CSINodePtrOutput

func (CSINodeOutput) ToCSINodePtrOutputWithContext

func (o CSINodeOutput) ToCSINodePtrOutputWithContext(ctx context.Context) CSINodePtrOutput

type CSINodePtrInput

type CSINodePtrInput interface {
	pulumi.Input

	ToCSINodePtrOutput() CSINodePtrOutput
	ToCSINodePtrOutputWithContext(ctx context.Context) CSINodePtrOutput
}

type CSINodePtrOutput

type CSINodePtrOutput struct{ *pulumi.OutputState }

func (CSINodePtrOutput) Elem added in v3.7.2

func (CSINodePtrOutput) ElementType

func (CSINodePtrOutput) ElementType() reflect.Type

func (CSINodePtrOutput) ToCSINodePtrOutput

func (o CSINodePtrOutput) ToCSINodePtrOutput() CSINodePtrOutput

func (CSINodePtrOutput) ToCSINodePtrOutputWithContext

func (o CSINodePtrOutput) ToCSINodePtrOutputWithContext(ctx context.Context) CSINodePtrOutput

type CSINodeSpec

type CSINodeSpec struct {
	// drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.
	Drivers []CSINodeDriver `pulumi:"drivers"`
}

CSINodeSpec holds information about the specification of all CSI drivers installed on a node

type CSINodeSpecArgs

type CSINodeSpecArgs struct {
	// drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.
	Drivers CSINodeDriverArrayInput `pulumi:"drivers"`
}

CSINodeSpec holds information about the specification of all CSI drivers installed on a node

func (CSINodeSpecArgs) ElementType

func (CSINodeSpecArgs) ElementType() reflect.Type

func (CSINodeSpecArgs) ToCSINodeSpecOutput

func (i CSINodeSpecArgs) ToCSINodeSpecOutput() CSINodeSpecOutput

func (CSINodeSpecArgs) ToCSINodeSpecOutputWithContext

func (i CSINodeSpecArgs) ToCSINodeSpecOutputWithContext(ctx context.Context) CSINodeSpecOutput

func (CSINodeSpecArgs) ToCSINodeSpecPtrOutput

func (i CSINodeSpecArgs) ToCSINodeSpecPtrOutput() CSINodeSpecPtrOutput

func (CSINodeSpecArgs) ToCSINodeSpecPtrOutputWithContext

func (i CSINodeSpecArgs) ToCSINodeSpecPtrOutputWithContext(ctx context.Context) CSINodeSpecPtrOutput

type CSINodeSpecInput

type CSINodeSpecInput interface {
	pulumi.Input

	ToCSINodeSpecOutput() CSINodeSpecOutput
	ToCSINodeSpecOutputWithContext(context.Context) CSINodeSpecOutput
}

CSINodeSpecInput is an input type that accepts CSINodeSpecArgs and CSINodeSpecOutput values. You can construct a concrete instance of `CSINodeSpecInput` via:

CSINodeSpecArgs{...}

type CSINodeSpecOutput

type CSINodeSpecOutput struct{ *pulumi.OutputState }

CSINodeSpec holds information about the specification of all CSI drivers installed on a node

func (CSINodeSpecOutput) Drivers

drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.

func (CSINodeSpecOutput) ElementType

func (CSINodeSpecOutput) ElementType() reflect.Type

func (CSINodeSpecOutput) ToCSINodeSpecOutput

func (o CSINodeSpecOutput) ToCSINodeSpecOutput() CSINodeSpecOutput

func (CSINodeSpecOutput) ToCSINodeSpecOutputWithContext

func (o CSINodeSpecOutput) ToCSINodeSpecOutputWithContext(ctx context.Context) CSINodeSpecOutput

func (CSINodeSpecOutput) ToCSINodeSpecPtrOutput

func (o CSINodeSpecOutput) ToCSINodeSpecPtrOutput() CSINodeSpecPtrOutput

func (CSINodeSpecOutput) ToCSINodeSpecPtrOutputWithContext

func (o CSINodeSpecOutput) ToCSINodeSpecPtrOutputWithContext(ctx context.Context) CSINodeSpecPtrOutput

type CSINodeSpecPtrInput

type CSINodeSpecPtrInput interface {
	pulumi.Input

	ToCSINodeSpecPtrOutput() CSINodeSpecPtrOutput
	ToCSINodeSpecPtrOutputWithContext(context.Context) CSINodeSpecPtrOutput
}

CSINodeSpecPtrInput is an input type that accepts CSINodeSpecArgs, CSINodeSpecPtr and CSINodeSpecPtrOutput values. You can construct a concrete instance of `CSINodeSpecPtrInput` via:

        CSINodeSpecArgs{...}

or:

        nil

func CSINodeSpecPtr

func CSINodeSpecPtr(v *CSINodeSpecArgs) CSINodeSpecPtrInput

type CSINodeSpecPtrOutput

type CSINodeSpecPtrOutput struct{ *pulumi.OutputState }

func (CSINodeSpecPtrOutput) Drivers

drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.

func (CSINodeSpecPtrOutput) Elem

func (CSINodeSpecPtrOutput) ElementType

func (CSINodeSpecPtrOutput) ElementType() reflect.Type

func (CSINodeSpecPtrOutput) ToCSINodeSpecPtrOutput

func (o CSINodeSpecPtrOutput) ToCSINodeSpecPtrOutput() CSINodeSpecPtrOutput

func (CSINodeSpecPtrOutput) ToCSINodeSpecPtrOutputWithContext

func (o CSINodeSpecPtrOutput) ToCSINodeSpecPtrOutputWithContext(ctx context.Context) CSINodeSpecPtrOutput

type CSINodeState

type CSINodeState struct {
}

func (CSINodeState) ElementType

func (CSINodeState) ElementType() reflect.Type

type CSINodeType

type CSINodeType 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"`
	// metadata.name must be the Kubernetes node name.
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// spec is the specification of CSINode
	Spec CSINodeSpec `pulumi:"spec"`
}

CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.

type CSINodeTypeArgs

type CSINodeTypeArgs 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"`
	// metadata.name must be the Kubernetes node name.
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// spec is the specification of CSINode
	Spec CSINodeSpecInput `pulumi:"spec"`
}

CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.

func (CSINodeTypeArgs) ElementType

func (CSINodeTypeArgs) ElementType() reflect.Type

func (CSINodeTypeArgs) ToCSINodeTypeOutput

func (i CSINodeTypeArgs) ToCSINodeTypeOutput() CSINodeTypeOutput

func (CSINodeTypeArgs) ToCSINodeTypeOutputWithContext

func (i CSINodeTypeArgs) ToCSINodeTypeOutputWithContext(ctx context.Context) CSINodeTypeOutput

type CSINodeTypeArray

type CSINodeTypeArray []CSINodeTypeInput

func (CSINodeTypeArray) ElementType

func (CSINodeTypeArray) ElementType() reflect.Type

func (CSINodeTypeArray) ToCSINodeTypeArrayOutput

func (i CSINodeTypeArray) ToCSINodeTypeArrayOutput() CSINodeTypeArrayOutput

func (CSINodeTypeArray) ToCSINodeTypeArrayOutputWithContext

func (i CSINodeTypeArray) ToCSINodeTypeArrayOutputWithContext(ctx context.Context) CSINodeTypeArrayOutput

type CSINodeTypeArrayInput

type CSINodeTypeArrayInput interface {
	pulumi.Input

	ToCSINodeTypeArrayOutput() CSINodeTypeArrayOutput
	ToCSINodeTypeArrayOutputWithContext(context.Context) CSINodeTypeArrayOutput
}

CSINodeTypeArrayInput is an input type that accepts CSINodeTypeArray and CSINodeTypeArrayOutput values. You can construct a concrete instance of `CSINodeTypeArrayInput` via:

CSINodeTypeArray{ CSINodeTypeArgs{...} }

type CSINodeTypeArrayOutput

type CSINodeTypeArrayOutput struct{ *pulumi.OutputState }

func (CSINodeTypeArrayOutput) ElementType

func (CSINodeTypeArrayOutput) ElementType() reflect.Type

func (CSINodeTypeArrayOutput) Index

func (CSINodeTypeArrayOutput) ToCSINodeTypeArrayOutput

func (o CSINodeTypeArrayOutput) ToCSINodeTypeArrayOutput() CSINodeTypeArrayOutput

func (CSINodeTypeArrayOutput) ToCSINodeTypeArrayOutputWithContext

func (o CSINodeTypeArrayOutput) ToCSINodeTypeArrayOutputWithContext(ctx context.Context) CSINodeTypeArrayOutput

type CSINodeTypeInput

type CSINodeTypeInput interface {
	pulumi.Input

	ToCSINodeTypeOutput() CSINodeTypeOutput
	ToCSINodeTypeOutputWithContext(context.Context) CSINodeTypeOutput
}

CSINodeTypeInput is an input type that accepts CSINodeTypeArgs and CSINodeTypeOutput values. You can construct a concrete instance of `CSINodeTypeInput` via:

CSINodeTypeArgs{...}

type CSINodeTypeOutput

type CSINodeTypeOutput struct{ *pulumi.OutputState }

CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.

func (CSINodeTypeOutput) ApiVersion

func (o CSINodeTypeOutput) 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 (CSINodeTypeOutput) ElementType

func (CSINodeTypeOutput) ElementType() reflect.Type

func (CSINodeTypeOutput) Kind

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

func (CSINodeTypeOutput) Metadata

metadata.name must be the Kubernetes node name.

func (CSINodeTypeOutput) Spec

spec is the specification of CSINode

func (CSINodeTypeOutput) ToCSINodeTypeOutput

func (o CSINodeTypeOutput) ToCSINodeTypeOutput() CSINodeTypeOutput

func (CSINodeTypeOutput) ToCSINodeTypeOutputWithContext

func (o CSINodeTypeOutput) ToCSINodeTypeOutputWithContext(ctx context.Context) CSINodeTypeOutput

type CSIStorageCapacity

type CSIStorageCapacity 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"`
	// Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
	//
	// The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable and treated like zero capacity.
	Capacity pulumi.StringPtrOutput `pulumi:"capacity"`
	// 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"`
	// MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
	//
	// This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
	MaximumVolumeSize pulumi.StringPtrOutput `pulumi:"maximumVolumeSize"`
	// Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
	//
	// Objects are namespaced.
	//
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.
	NodeTopology metav1.LabelSelectorPtrOutput `pulumi:"nodeTopology"`
	// The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
	StorageClassName pulumi.StringOutput `pulumi:"storageClassName"`
}

CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.

For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"

The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero

The producer of these objects can decide which approach is more suitable.

They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.

func GetCSIStorageCapacity

func GetCSIStorageCapacity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CSIStorageCapacityState, opts ...pulumi.ResourceOption) (*CSIStorageCapacity, error)

GetCSIStorageCapacity gets an existing CSIStorageCapacity 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 NewCSIStorageCapacity

func NewCSIStorageCapacity(ctx *pulumi.Context,
	name string, args *CSIStorageCapacityArgs, opts ...pulumi.ResourceOption) (*CSIStorageCapacity, error)

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

func (*CSIStorageCapacity) ElementType

func (*CSIStorageCapacity) ElementType() reflect.Type

func (*CSIStorageCapacity) ToCSIStorageCapacityOutput

func (i *CSIStorageCapacity) ToCSIStorageCapacityOutput() CSIStorageCapacityOutput

func (*CSIStorageCapacity) ToCSIStorageCapacityOutputWithContext

func (i *CSIStorageCapacity) ToCSIStorageCapacityOutputWithContext(ctx context.Context) CSIStorageCapacityOutput

func (*CSIStorageCapacity) ToCSIStorageCapacityPtrOutput

func (i *CSIStorageCapacity) ToCSIStorageCapacityPtrOutput() CSIStorageCapacityPtrOutput

func (*CSIStorageCapacity) ToCSIStorageCapacityPtrOutputWithContext

func (i *CSIStorageCapacity) ToCSIStorageCapacityPtrOutputWithContext(ctx context.Context) CSIStorageCapacityPtrOutput

type CSIStorageCapacityArgs

type CSIStorageCapacityArgs 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
	// Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
	//
	// The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable and treated like zero capacity.
	Capacity 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
	// MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
	//
	// This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
	MaximumVolumeSize pulumi.StringPtrInput
	// Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
	//
	// Objects are namespaced.
	//
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.
	NodeTopology metav1.LabelSelectorPtrInput
	// The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
	StorageClassName pulumi.StringInput
}

The set of arguments for constructing a CSIStorageCapacity resource.

func (CSIStorageCapacityArgs) ElementType

func (CSIStorageCapacityArgs) ElementType() reflect.Type

type CSIStorageCapacityArray

type CSIStorageCapacityArray []CSIStorageCapacityInput

func (CSIStorageCapacityArray) ElementType

func (CSIStorageCapacityArray) ElementType() reflect.Type

func (CSIStorageCapacityArray) ToCSIStorageCapacityArrayOutput

func (i CSIStorageCapacityArray) ToCSIStorageCapacityArrayOutput() CSIStorageCapacityArrayOutput

func (CSIStorageCapacityArray) ToCSIStorageCapacityArrayOutputWithContext

func (i CSIStorageCapacityArray) ToCSIStorageCapacityArrayOutputWithContext(ctx context.Context) CSIStorageCapacityArrayOutput

type CSIStorageCapacityArrayInput

type CSIStorageCapacityArrayInput interface {
	pulumi.Input

	ToCSIStorageCapacityArrayOutput() CSIStorageCapacityArrayOutput
	ToCSIStorageCapacityArrayOutputWithContext(context.Context) CSIStorageCapacityArrayOutput
}

CSIStorageCapacityArrayInput is an input type that accepts CSIStorageCapacityArray and CSIStorageCapacityArrayOutput values. You can construct a concrete instance of `CSIStorageCapacityArrayInput` via:

CSIStorageCapacityArray{ CSIStorageCapacityArgs{...} }

type CSIStorageCapacityArrayOutput

type CSIStorageCapacityArrayOutput struct{ *pulumi.OutputState }

func (CSIStorageCapacityArrayOutput) ElementType

func (CSIStorageCapacityArrayOutput) Index

func (CSIStorageCapacityArrayOutput) ToCSIStorageCapacityArrayOutput

func (o CSIStorageCapacityArrayOutput) ToCSIStorageCapacityArrayOutput() CSIStorageCapacityArrayOutput

func (CSIStorageCapacityArrayOutput) ToCSIStorageCapacityArrayOutputWithContext

func (o CSIStorageCapacityArrayOutput) ToCSIStorageCapacityArrayOutputWithContext(ctx context.Context) CSIStorageCapacityArrayOutput

type CSIStorageCapacityInput

type CSIStorageCapacityInput interface {
	pulumi.Input

	ToCSIStorageCapacityOutput() CSIStorageCapacityOutput
	ToCSIStorageCapacityOutputWithContext(ctx context.Context) CSIStorageCapacityOutput
}

type CSIStorageCapacityList

type CSIStorageCapacityList 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"`
	// Items is the list of CSIStorageCapacity objects.
	Items CSIStorageCapacityTypeArrayOutput `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.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

CSIStorageCapacityList is a collection of CSIStorageCapacity objects.

func GetCSIStorageCapacityList

func GetCSIStorageCapacityList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CSIStorageCapacityListState, opts ...pulumi.ResourceOption) (*CSIStorageCapacityList, error)

GetCSIStorageCapacityList gets an existing CSIStorageCapacityList 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 NewCSIStorageCapacityList

func NewCSIStorageCapacityList(ctx *pulumi.Context,
	name string, args *CSIStorageCapacityListArgs, opts ...pulumi.ResourceOption) (*CSIStorageCapacityList, error)

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

func (*CSIStorageCapacityList) ElementType

func (*CSIStorageCapacityList) ElementType() reflect.Type

func (*CSIStorageCapacityList) ToCSIStorageCapacityListOutput

func (i *CSIStorageCapacityList) ToCSIStorageCapacityListOutput() CSIStorageCapacityListOutput

func (*CSIStorageCapacityList) ToCSIStorageCapacityListOutputWithContext

func (i *CSIStorageCapacityList) ToCSIStorageCapacityListOutputWithContext(ctx context.Context) CSIStorageCapacityListOutput

func (*CSIStorageCapacityList) ToCSIStorageCapacityListPtrOutput

func (i *CSIStorageCapacityList) ToCSIStorageCapacityListPtrOutput() CSIStorageCapacityListPtrOutput

func (*CSIStorageCapacityList) ToCSIStorageCapacityListPtrOutputWithContext

func (i *CSIStorageCapacityList) ToCSIStorageCapacityListPtrOutputWithContext(ctx context.Context) CSIStorageCapacityListPtrOutput

type CSIStorageCapacityListArgs

type CSIStorageCapacityListArgs 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 CSIStorageCapacity objects.
	Items CSIStorageCapacityTypeArrayInput
	// 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 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a CSIStorageCapacityList resource.

func (CSIStorageCapacityListArgs) ElementType

func (CSIStorageCapacityListArgs) ElementType() reflect.Type

type CSIStorageCapacityListArray

type CSIStorageCapacityListArray []CSIStorageCapacityListInput

func (CSIStorageCapacityListArray) ElementType

func (CSIStorageCapacityListArray) ToCSIStorageCapacityListArrayOutput

func (i CSIStorageCapacityListArray) ToCSIStorageCapacityListArrayOutput() CSIStorageCapacityListArrayOutput

func (CSIStorageCapacityListArray) ToCSIStorageCapacityListArrayOutputWithContext

func (i CSIStorageCapacityListArray) ToCSIStorageCapacityListArrayOutputWithContext(ctx context.Context) CSIStorageCapacityListArrayOutput

type CSIStorageCapacityListArrayInput

type CSIStorageCapacityListArrayInput interface {
	pulumi.Input

	ToCSIStorageCapacityListArrayOutput() CSIStorageCapacityListArrayOutput
	ToCSIStorageCapacityListArrayOutputWithContext(context.Context) CSIStorageCapacityListArrayOutput
}

CSIStorageCapacityListArrayInput is an input type that accepts CSIStorageCapacityListArray and CSIStorageCapacityListArrayOutput values. You can construct a concrete instance of `CSIStorageCapacityListArrayInput` via:

CSIStorageCapacityListArray{ CSIStorageCapacityListArgs{...} }

type CSIStorageCapacityListArrayOutput

type CSIStorageCapacityListArrayOutput struct{ *pulumi.OutputState }

func (CSIStorageCapacityListArrayOutput) ElementType

func (CSIStorageCapacityListArrayOutput) Index

func (CSIStorageCapacityListArrayOutput) ToCSIStorageCapacityListArrayOutput

func (o CSIStorageCapacityListArrayOutput) ToCSIStorageCapacityListArrayOutput() CSIStorageCapacityListArrayOutput

func (CSIStorageCapacityListArrayOutput) ToCSIStorageCapacityListArrayOutputWithContext

func (o CSIStorageCapacityListArrayOutput) ToCSIStorageCapacityListArrayOutputWithContext(ctx context.Context) CSIStorageCapacityListArrayOutput

type CSIStorageCapacityListInput

type CSIStorageCapacityListInput interface {
	pulumi.Input

	ToCSIStorageCapacityListOutput() CSIStorageCapacityListOutput
	ToCSIStorageCapacityListOutputWithContext(ctx context.Context) CSIStorageCapacityListOutput
}

type CSIStorageCapacityListMap

type CSIStorageCapacityListMap map[string]CSIStorageCapacityListInput

func (CSIStorageCapacityListMap) ElementType

func (CSIStorageCapacityListMap) ElementType() reflect.Type

func (CSIStorageCapacityListMap) ToCSIStorageCapacityListMapOutput

func (i CSIStorageCapacityListMap) ToCSIStorageCapacityListMapOutput() CSIStorageCapacityListMapOutput

func (CSIStorageCapacityListMap) ToCSIStorageCapacityListMapOutputWithContext

func (i CSIStorageCapacityListMap) ToCSIStorageCapacityListMapOutputWithContext(ctx context.Context) CSIStorageCapacityListMapOutput

type CSIStorageCapacityListMapInput

type CSIStorageCapacityListMapInput interface {
	pulumi.Input

	ToCSIStorageCapacityListMapOutput() CSIStorageCapacityListMapOutput
	ToCSIStorageCapacityListMapOutputWithContext(context.Context) CSIStorageCapacityListMapOutput
}

CSIStorageCapacityListMapInput is an input type that accepts CSIStorageCapacityListMap and CSIStorageCapacityListMapOutput values. You can construct a concrete instance of `CSIStorageCapacityListMapInput` via:

CSIStorageCapacityListMap{ "key": CSIStorageCapacityListArgs{...} }

type CSIStorageCapacityListMapOutput

type CSIStorageCapacityListMapOutput struct{ *pulumi.OutputState }

func (CSIStorageCapacityListMapOutput) ElementType

func (CSIStorageCapacityListMapOutput) MapIndex

func (CSIStorageCapacityListMapOutput) ToCSIStorageCapacityListMapOutput

func (o CSIStorageCapacityListMapOutput) ToCSIStorageCapacityListMapOutput() CSIStorageCapacityListMapOutput

func (CSIStorageCapacityListMapOutput) ToCSIStorageCapacityListMapOutputWithContext

func (o CSIStorageCapacityListMapOutput) ToCSIStorageCapacityListMapOutputWithContext(ctx context.Context) CSIStorageCapacityListMapOutput

type CSIStorageCapacityListOutput

type CSIStorageCapacityListOutput struct{ *pulumi.OutputState }

func (CSIStorageCapacityListOutput) ElementType

func (CSIStorageCapacityListOutput) ToCSIStorageCapacityListOutput

func (o CSIStorageCapacityListOutput) ToCSIStorageCapacityListOutput() CSIStorageCapacityListOutput

func (CSIStorageCapacityListOutput) ToCSIStorageCapacityListOutputWithContext

func (o CSIStorageCapacityListOutput) ToCSIStorageCapacityListOutputWithContext(ctx context.Context) CSIStorageCapacityListOutput

func (CSIStorageCapacityListOutput) ToCSIStorageCapacityListPtrOutput

func (o CSIStorageCapacityListOutput) ToCSIStorageCapacityListPtrOutput() CSIStorageCapacityListPtrOutput

func (CSIStorageCapacityListOutput) ToCSIStorageCapacityListPtrOutputWithContext

func (o CSIStorageCapacityListOutput) ToCSIStorageCapacityListPtrOutputWithContext(ctx context.Context) CSIStorageCapacityListPtrOutput

type CSIStorageCapacityListPtrInput

type CSIStorageCapacityListPtrInput interface {
	pulumi.Input

	ToCSIStorageCapacityListPtrOutput() CSIStorageCapacityListPtrOutput
	ToCSIStorageCapacityListPtrOutputWithContext(ctx context.Context) CSIStorageCapacityListPtrOutput
}

type CSIStorageCapacityListPtrOutput

type CSIStorageCapacityListPtrOutput struct{ *pulumi.OutputState }

func (CSIStorageCapacityListPtrOutput) Elem added in v3.7.2

func (CSIStorageCapacityListPtrOutput) ElementType

func (CSIStorageCapacityListPtrOutput) ToCSIStorageCapacityListPtrOutput

func (o CSIStorageCapacityListPtrOutput) ToCSIStorageCapacityListPtrOutput() CSIStorageCapacityListPtrOutput

func (CSIStorageCapacityListPtrOutput) ToCSIStorageCapacityListPtrOutputWithContext

func (o CSIStorageCapacityListPtrOutput) ToCSIStorageCapacityListPtrOutputWithContext(ctx context.Context) CSIStorageCapacityListPtrOutput

type CSIStorageCapacityListState

type CSIStorageCapacityListState struct {
}

func (CSIStorageCapacityListState) ElementType

type CSIStorageCapacityListType

type CSIStorageCapacityListType 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 CSIStorageCapacity objects.
	Items []CSIStorageCapacityType `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 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

CSIStorageCapacityList is a collection of CSIStorageCapacity objects.

type CSIStorageCapacityListTypeArgs

type CSIStorageCapacityListTypeArgs 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 CSIStorageCapacity objects.
	Items CSIStorageCapacityTypeArrayInput `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 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

CSIStorageCapacityList is a collection of CSIStorageCapacity objects.

func (CSIStorageCapacityListTypeArgs) ElementType

func (CSIStorageCapacityListTypeArgs) ToCSIStorageCapacityListTypeOutput

func (i CSIStorageCapacityListTypeArgs) ToCSIStorageCapacityListTypeOutput() CSIStorageCapacityListTypeOutput

func (CSIStorageCapacityListTypeArgs) ToCSIStorageCapacityListTypeOutputWithContext

func (i CSIStorageCapacityListTypeArgs) ToCSIStorageCapacityListTypeOutputWithContext(ctx context.Context) CSIStorageCapacityListTypeOutput

type CSIStorageCapacityListTypeInput

type CSIStorageCapacityListTypeInput interface {
	pulumi.Input

	ToCSIStorageCapacityListTypeOutput() CSIStorageCapacityListTypeOutput
	ToCSIStorageCapacityListTypeOutputWithContext(context.Context) CSIStorageCapacityListTypeOutput
}

CSIStorageCapacityListTypeInput is an input type that accepts CSIStorageCapacityListTypeArgs and CSIStorageCapacityListTypeOutput values. You can construct a concrete instance of `CSIStorageCapacityListTypeInput` via:

CSIStorageCapacityListTypeArgs{...}

type CSIStorageCapacityListTypeOutput

type CSIStorageCapacityListTypeOutput struct{ *pulumi.OutputState }

CSIStorageCapacityList is a collection of CSIStorageCapacity objects.

func (CSIStorageCapacityListTypeOutput) ApiVersion

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

func (CSIStorageCapacityListTypeOutput) ElementType

func (CSIStorageCapacityListTypeOutput) Items

Items is the list of CSIStorageCapacity objects.

func (CSIStorageCapacityListTypeOutput) Kind

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

func (CSIStorageCapacityListTypeOutput) ToCSIStorageCapacityListTypeOutput

func (o CSIStorageCapacityListTypeOutput) ToCSIStorageCapacityListTypeOutput() CSIStorageCapacityListTypeOutput

func (CSIStorageCapacityListTypeOutput) ToCSIStorageCapacityListTypeOutputWithContext

func (o CSIStorageCapacityListTypeOutput) ToCSIStorageCapacityListTypeOutputWithContext(ctx context.Context) CSIStorageCapacityListTypeOutput

type CSIStorageCapacityMap

type CSIStorageCapacityMap map[string]CSIStorageCapacityInput

func (CSIStorageCapacityMap) ElementType

func (CSIStorageCapacityMap) ElementType() reflect.Type

func (CSIStorageCapacityMap) ToCSIStorageCapacityMapOutput

func (i CSIStorageCapacityMap) ToCSIStorageCapacityMapOutput() CSIStorageCapacityMapOutput

func (CSIStorageCapacityMap) ToCSIStorageCapacityMapOutputWithContext

func (i CSIStorageCapacityMap) ToCSIStorageCapacityMapOutputWithContext(ctx context.Context) CSIStorageCapacityMapOutput

type CSIStorageCapacityMapInput

type CSIStorageCapacityMapInput interface {
	pulumi.Input

	ToCSIStorageCapacityMapOutput() CSIStorageCapacityMapOutput
	ToCSIStorageCapacityMapOutputWithContext(context.Context) CSIStorageCapacityMapOutput
}

CSIStorageCapacityMapInput is an input type that accepts CSIStorageCapacityMap and CSIStorageCapacityMapOutput values. You can construct a concrete instance of `CSIStorageCapacityMapInput` via:

CSIStorageCapacityMap{ "key": CSIStorageCapacityArgs{...} }

type CSIStorageCapacityMapOutput

type CSIStorageCapacityMapOutput struct{ *pulumi.OutputState }

func (CSIStorageCapacityMapOutput) ElementType

func (CSIStorageCapacityMapOutput) MapIndex

func (CSIStorageCapacityMapOutput) ToCSIStorageCapacityMapOutput

func (o CSIStorageCapacityMapOutput) ToCSIStorageCapacityMapOutput() CSIStorageCapacityMapOutput

func (CSIStorageCapacityMapOutput) ToCSIStorageCapacityMapOutputWithContext

func (o CSIStorageCapacityMapOutput) ToCSIStorageCapacityMapOutputWithContext(ctx context.Context) CSIStorageCapacityMapOutput

type CSIStorageCapacityOutput

type CSIStorageCapacityOutput struct{ *pulumi.OutputState }

func (CSIStorageCapacityOutput) ElementType

func (CSIStorageCapacityOutput) ElementType() reflect.Type

func (CSIStorageCapacityOutput) ToCSIStorageCapacityOutput

func (o CSIStorageCapacityOutput) ToCSIStorageCapacityOutput() CSIStorageCapacityOutput

func (CSIStorageCapacityOutput) ToCSIStorageCapacityOutputWithContext

func (o CSIStorageCapacityOutput) ToCSIStorageCapacityOutputWithContext(ctx context.Context) CSIStorageCapacityOutput

func (CSIStorageCapacityOutput) ToCSIStorageCapacityPtrOutput

func (o CSIStorageCapacityOutput) ToCSIStorageCapacityPtrOutput() CSIStorageCapacityPtrOutput

func (CSIStorageCapacityOutput) ToCSIStorageCapacityPtrOutputWithContext

func (o CSIStorageCapacityOutput) ToCSIStorageCapacityPtrOutputWithContext(ctx context.Context) CSIStorageCapacityPtrOutput

type CSIStorageCapacityPtrInput

type CSIStorageCapacityPtrInput interface {
	pulumi.Input

	ToCSIStorageCapacityPtrOutput() CSIStorageCapacityPtrOutput
	ToCSIStorageCapacityPtrOutputWithContext(ctx context.Context) CSIStorageCapacityPtrOutput
}

type CSIStorageCapacityPtrOutput

type CSIStorageCapacityPtrOutput struct{ *pulumi.OutputState }

func (CSIStorageCapacityPtrOutput) Elem added in v3.7.2

func (CSIStorageCapacityPtrOutput) ElementType

func (CSIStorageCapacityPtrOutput) ToCSIStorageCapacityPtrOutput

func (o CSIStorageCapacityPtrOutput) ToCSIStorageCapacityPtrOutput() CSIStorageCapacityPtrOutput

func (CSIStorageCapacityPtrOutput) ToCSIStorageCapacityPtrOutputWithContext

func (o CSIStorageCapacityPtrOutput) ToCSIStorageCapacityPtrOutputWithContext(ctx context.Context) CSIStorageCapacityPtrOutput

type CSIStorageCapacityState

type CSIStorageCapacityState struct {
}

func (CSIStorageCapacityState) ElementType

func (CSIStorageCapacityState) ElementType() reflect.Type

type CSIStorageCapacityType

type CSIStorageCapacityType 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"`
	// Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
	//
	// The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable and treated like zero capacity.
	Capacity *string `pulumi:"capacity"`
	// 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"`
	// MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
	//
	// This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
	MaximumVolumeSize *string `pulumi:"maximumVolumeSize"`
	// Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
	//
	// Objects are namespaced.
	//
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.
	NodeTopology *metav1.LabelSelector `pulumi:"nodeTopology"`
	// The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
	StorageClassName string `pulumi:"storageClassName"`
}

CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.

For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"

The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero

The producer of these objects can decide which approach is more suitable.

They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.

type CSIStorageCapacityTypeArgs

type CSIStorageCapacityTypeArgs 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"`
	// Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
	//
	// The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable and treated like zero capacity.
	Capacity pulumi.StringPtrInput `pulumi:"capacity"`
	// 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"`
	// MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
	//
	// This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
	MaximumVolumeSize pulumi.StringPtrInput `pulumi:"maximumVolumeSize"`
	// Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
	//
	// Objects are namespaced.
	//
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.
	NodeTopology metav1.LabelSelectorPtrInput `pulumi:"nodeTopology"`
	// The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
	StorageClassName pulumi.StringInput `pulumi:"storageClassName"`
}

CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.

For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"

The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero

The producer of these objects can decide which approach is more suitable.

They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.

func (CSIStorageCapacityTypeArgs) ElementType

func (CSIStorageCapacityTypeArgs) ElementType() reflect.Type

func (CSIStorageCapacityTypeArgs) ToCSIStorageCapacityTypeOutput

func (i CSIStorageCapacityTypeArgs) ToCSIStorageCapacityTypeOutput() CSIStorageCapacityTypeOutput

func (CSIStorageCapacityTypeArgs) ToCSIStorageCapacityTypeOutputWithContext

func (i CSIStorageCapacityTypeArgs) ToCSIStorageCapacityTypeOutputWithContext(ctx context.Context) CSIStorageCapacityTypeOutput

type CSIStorageCapacityTypeArray

type CSIStorageCapacityTypeArray []CSIStorageCapacityTypeInput

func (CSIStorageCapacityTypeArray) ElementType

func (CSIStorageCapacityTypeArray) ToCSIStorageCapacityTypeArrayOutput

func (i CSIStorageCapacityTypeArray) ToCSIStorageCapacityTypeArrayOutput() CSIStorageCapacityTypeArrayOutput

func (CSIStorageCapacityTypeArray) ToCSIStorageCapacityTypeArrayOutputWithContext

func (i CSIStorageCapacityTypeArray) ToCSIStorageCapacityTypeArrayOutputWithContext(ctx context.Context) CSIStorageCapacityTypeArrayOutput

type CSIStorageCapacityTypeArrayInput

type CSIStorageCapacityTypeArrayInput interface {
	pulumi.Input

	ToCSIStorageCapacityTypeArrayOutput() CSIStorageCapacityTypeArrayOutput
	ToCSIStorageCapacityTypeArrayOutputWithContext(context.Context) CSIStorageCapacityTypeArrayOutput
}

CSIStorageCapacityTypeArrayInput is an input type that accepts CSIStorageCapacityTypeArray and CSIStorageCapacityTypeArrayOutput values. You can construct a concrete instance of `CSIStorageCapacityTypeArrayInput` via:

CSIStorageCapacityTypeArray{ CSIStorageCapacityTypeArgs{...} }

type CSIStorageCapacityTypeArrayOutput

type CSIStorageCapacityTypeArrayOutput struct{ *pulumi.OutputState }

func (CSIStorageCapacityTypeArrayOutput) ElementType

func (CSIStorageCapacityTypeArrayOutput) Index

func (CSIStorageCapacityTypeArrayOutput) ToCSIStorageCapacityTypeArrayOutput

func (o CSIStorageCapacityTypeArrayOutput) ToCSIStorageCapacityTypeArrayOutput() CSIStorageCapacityTypeArrayOutput

func (CSIStorageCapacityTypeArrayOutput) ToCSIStorageCapacityTypeArrayOutputWithContext

func (o CSIStorageCapacityTypeArrayOutput) ToCSIStorageCapacityTypeArrayOutputWithContext(ctx context.Context) CSIStorageCapacityTypeArrayOutput

type CSIStorageCapacityTypeInput

type CSIStorageCapacityTypeInput interface {
	pulumi.Input

	ToCSIStorageCapacityTypeOutput() CSIStorageCapacityTypeOutput
	ToCSIStorageCapacityTypeOutputWithContext(context.Context) CSIStorageCapacityTypeOutput
}

CSIStorageCapacityTypeInput is an input type that accepts CSIStorageCapacityTypeArgs and CSIStorageCapacityTypeOutput values. You can construct a concrete instance of `CSIStorageCapacityTypeInput` via:

CSIStorageCapacityTypeArgs{...}

type CSIStorageCapacityTypeOutput

type CSIStorageCapacityTypeOutput struct{ *pulumi.OutputState }

CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.

For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"

The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero

The producer of these objects can decide which approach is more suitable.

They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.

func (CSIStorageCapacityTypeOutput) ApiVersion

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

func (CSIStorageCapacityTypeOutput) Capacity

Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.

The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable and treated like zero capacity.

func (CSIStorageCapacityTypeOutput) ElementType

func (CSIStorageCapacityTypeOutput) Kind

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

func (CSIStorageCapacityTypeOutput) MaximumVolumeSize

func (o CSIStorageCapacityTypeOutput) MaximumVolumeSize() pulumi.StringPtrOutput

MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.

This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.

func (CSIStorageCapacityTypeOutput) Metadata

Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.

Objects are namespaced.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (CSIStorageCapacityTypeOutput) NodeTopology

NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.

func (CSIStorageCapacityTypeOutput) StorageClassName

func (o CSIStorageCapacityTypeOutput) StorageClassName() pulumi.StringOutput

The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.

func (CSIStorageCapacityTypeOutput) ToCSIStorageCapacityTypeOutput

func (o CSIStorageCapacityTypeOutput) ToCSIStorageCapacityTypeOutput() CSIStorageCapacityTypeOutput

func (CSIStorageCapacityTypeOutput) ToCSIStorageCapacityTypeOutputWithContext

func (o CSIStorageCapacityTypeOutput) ToCSIStorageCapacityTypeOutputWithContext(ctx context.Context) CSIStorageCapacityTypeOutput

type StorageClass

type StorageClass struct {
	pulumi.CustomResourceState

	// AllowVolumeExpansion shows whether the storage class allow volume expand
	AllowVolumeExpansion pulumi.BoolPtrOutput `pulumi:"allowVolumeExpansion"`
	// Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
	AllowedTopologies corev1.TopologySelectorTermArrayOutput `pulumi:"allowedTopologies"`
	// 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's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
	MountOptions pulumi.StringArrayOutput `pulumi:"mountOptions"`
	// Parameters holds the parameters for the provisioner that should create volumes of this storage class.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// Provisioner indicates the type of the provisioner.
	Provisioner pulumi.StringOutput `pulumi:"provisioner"`
	// Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
	ReclaimPolicy pulumi.StringPtrOutput `pulumi:"reclaimPolicy"`
	// VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.  When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
	VolumeBindingMode pulumi.StringPtrOutput `pulumi:"volumeBindingMode"`
}

StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.

StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.

func GetStorageClass

func GetStorageClass(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StorageClassState, opts ...pulumi.