WithLogBindMount
Method
func (RavenDBServerResource) WithLogBindMount( source string, options ...*WithLogBindMountOptions,) RavenDBServerResourceSignature
method
WithLogBindMount builderAdds a bind mount for the logs folder to a RavenDB container resource.
WithLogBindMount( source string, options ...*WithLogBindMountOptions,) RavenDBServerResourceParameters
sourcestringThe source directory on the host to mount into the container.options...*WithLogBindMountOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithLogBindMountOptions argument.
IsReadOnly *boolIndicates whether the bind mount 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: