WithCapacity

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
func (KubernetesPersistentVolumeResource) WithCapacity(capacity string) KubernetesPersistentVolumeResource

Signature

methodWithCapacitybuilder
Sets the requested storage capacity for a persistent volume
WithCapacity(capacity string) KubernetesPersistentVolumeResource
capacitystringA Kubernetes quantity string (e.g. "10Gi", "500Mi").
KubernetesPersistentVolumeResource

The same builder for chaining.

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

Applies to

This method applies to the following types: