WithDataVolume
Method
func (RavenDBServerResource) WithDataVolume(options ...*WithDataVolumeOptions) RavenDBServerResourceSignature
method
WithDataVolume builderAdds a named volume for the data folder to a RavenDB container resource.
WithDataVolume(options ...*WithDataVolumeOptions) RavenDBServerResourceParameters
options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
Name*stringOptional name for the volume. Defaults to a generated name if not provided.IsReadOnly *boolIndicates whether the volume should be read-only. Defaults to false.Returns
RavenDBServerResource The I for the RavenDB server resource.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: