WithDataVolume
Method
func (FlociGcpContainerResource) WithDataVolume( name string, options ...*WithDataVolumeOptions,) FlociGcpContainerResourceSignature
method
WithDataVolume builderConfigures a named data volume for persistent Floci GCP state.
WithDataVolume( name string, options ...*WithDataVolumeOptions,) FlociGcpContainerResourceParameters
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
FlociGcpContainerResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: