PrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceAPI references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
Resource for the MailPit server.
type MailPitContainerResource 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,) MailPitContainerResourceParameters
sourcestringThe source path on the host system to bind to the container.options...*WithDataBindMountOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataBindMountOptions argument.
IsReadOnly *boolA value indicating whether the bind mount should be read-only. Default is false.Returns
MailPitContainerResource A reference to the I with the configured bind mount.
Returns a handle; failures surface later via Err().
WithDataVolume( name string, options ...*WithDataVolumeOptions,) MailPitContainerResourceParameters
namestringThe name of the data volume to be mounted.options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
IsReadOnly *boolA boolean indicating whether the volume should be mounted as read-only.Returns
MailPitContainerResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().