FlociAzureContainerResource.WithDataVolume
Method
type FlociAzureContainerResource interface { // ... omitted for brevity WithDataVolume( name string, options ...*WithDataVolumeOptions, ) FlociAzureContainerResource}Signature
method
WithDataVolume builderConfigures a named data volume for persistent Floci Azure state.
WithDataVolume( name string, options ...*WithDataVolumeOptions,) FlociAzureContainerResourceParameters
namestringThe name of the volume to mount.options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
IsReadOnly *boolWhether the volume should be read-only.Returns
FlociAzureContainerResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: