WithDataVolume
Method
func (LavinMQContainerResource) WithDataVolume( name string, options ...*WithDataVolumeOptions,) LavinMQContainerResourceSignature
method
WithDataVolume builderConfigures a data volume for the LavinMQ container resource by specifying its name and read-only status.
WithDataVolume( name string, options ...*WithDataVolumeOptions,) LavinMQContainerResourceParameters
namestringThe name of the data volume to be attached to the LavinMQ container resource.options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
IsReadOnly *boolIndicates whether the data volume should be mounted as read-only. Default is false.Returns
LavinMQContainerResource The updated resource builder for the LavinMQ container resource.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: