WithTunnelEndpoint
Method
func (NgrokResource) WithTunnelEndpoint( resource ResourceWithEndpoints, endpointName string, options ...*WithTunnelEndpointOptions,) NgrokResourceSignature
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().
Applies to
This method applies to the following types: