AddDbGate
Method
func (DistributedApplicationBuilder) AddDbGate(options ...*AddDbGateOptions) DbGateContainerResourceSignature
method
AddDbGate builderAdds a DbGate container resource to the application.
AddDbGate(options ...*AddDbGateOptions) DbGateContainerResourceParameters
options...*AddDbGateOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddDbGateOptions argument.
Name*stringThe name of the resource. This name will be used as the connection string name when referenced in a dependency. Optional; defaults to dbgate.Port*float64The host port to bind the underlying container to.Returns
DbGateContainerResource A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder