RavenDBServerResource.WithLogBindMount
Method
type RavenDBServerResource interface { // ... omitted for brevity WithLogBindMount( source string, options ...*WithLogBindMountOptions, ) RavenDBServerResource}Signature
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().
Defined on
This method is defined on the following type: