WithConfiguration

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
func (KubernetesPersistentVolumeResource) WithConfiguration(configure func(obj PersistentVolumeClaim)) KubernetesPersistentVolumeResource

Signature

methodWithConfigurationbuilder
Configures the generated persistent volume claim
WithConfiguration(configure func(obj PersistentVolumeClaim)) KubernetesPersistentVolumeResource
configurefunc(obj PersistentVolumeClaim)callbackThe action used to configure the generated persistent volume claim.
KubernetesPersistentVolumeResource

The same builder for chaining.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: