NgrokResource.WithTunnelEndpoint
Method
type NgrokResource interface { // ... omitted for brevity WithTunnelEndpoint( resource ResourceWithEndpoints, endpointName string, options ...*WithTunnelEndpointOptions, ) NgrokResource}Signature
method
WithTunnelEndpoint builderConfigures a resource with endpoints as a ngrok tunnel endpoint.
WithTunnelEndpoint( resource ResourceWithEndpoints, endpointName string, options ...*WithTunnelEndpointOptions,) NgrokResourceParameters
resourceResourceWithEndpoints The resource whose endpoint should be exposed through ngrok.endpointName stringThe endpoint name to expose.options...*WithTunnelEndpointOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithTunnelEndpointOptions argument.
NgrokUrl *stringThe ngrok URL to use, or null to allow ngrok to choose one.Labelsmap[string]string Optional endpoint labels.Returns
NgrokResource The same reference to ngrok resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: