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 DbGate.
type DbGateContainerResource interface { IComputeResource Resource ResourceWithArgs ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}PrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceWithDataBindMount( source string, options ...*WithDataBindMountOptions,) DbGateContainerResourceParameters
sourcestringThe source directory on the host to mount into the container.options...*WithDataBindMountOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataBindMountOptions argument.
IsReadOnly *boolA flag that indicates if this is a read-only mount.Returns
DbGateContainerResource The I.
Returns a handle; failures surface later via Err().
WithDataVolume(options ...*WithDataVolumeOptions) DbGateContainerResourceParameters
options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
Name*stringThe name of the volume. Defaults to an auto-generated name based on the application and resource names.IsReadOnly *boolA flag that indicates if this is a read-only volume.Returns
DbGateContainerResource The I.
Returns a handle; failures surface later via Err().
WithHostPort(port *float64) DbGateContainerResourceParameters
port*float64The port to bind on the host. If null is used random port will be assigned.Returns
DbGateContainerResource The resource builder for DbGate.
Returns a handle; failures surface later via Err().