Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithConfBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.ActiveMQ v13.6.1
func (ActiveMQServerResourceBase) WithConfBindMount(
source string,
options ...*WithConfBindMountOptions,
) ActiveMQServerResourceBase

Signature

methodWithConfBindMountbuilder
Adds a bind mount for the conf folder to a ActiveMQ container resource.
WithConfBindMount(
source string,
options ...*WithConfBindMountOptions,
) ActiveMQServerResourceBase
sourcestringThe source directory on the host to mount into the container.
options...*WithConfBindMountOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithConfBindMountOptions argument.

IsReadOnly*boolA flag that indicates if this is a read-only mount.
ActiveMQServerResourceBase

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: