PrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceAPI references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
Represents a container resource for LavinMQ with configurable authentication parameters and connection endpoint details, implementing the IResourceWithConnectionString interface.
type LavinMQContainerResource interface { ExpressionValue IComputeResource Resource ResourceWithArgs ResourceWithConnectionString ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}ConnectionStringExpression *ReferenceExpression getConnectionStringExpression() *ReferenceExpressionHostEndpointReferenceExpression getHost() EndpointReferenceExpressionPortEndpointReferenceExpression getPort() EndpointReferenceExpressionPrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceUriExpression *ReferenceExpression getUriExpression() *ReferenceExpressionWithDataBindMount( source string, options ...*WithDataBindMountOptions,) LavinMQContainerResourceParameters
sourcestringThe source path on the host machine to bind mount to the container's data directory.options...*WithDataBindMountOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataBindMountOptions argument.
IsReadOnly *boolIndicates if the bind mount should be configured as read-only. Default is false.Returns
LavinMQContainerResource An updated resource builder for the LavinMQ container resource with the configured data bind mount.
Returns a handle; failures surface later via Err().
WithDataVolume( name string, options ...*WithDataVolumeOptions,) LavinMQContainerResourceParameters
namestringThe name of the data volume to be attached to the LavinMQ container resource.options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
IsReadOnly *boolIndicates whether the data volume should be mounted as read-only. Default is false.Returns
LavinMQContainerResource The updated resource builder for the LavinMQ container resource.
Returns a handle; failures surface later via Err().