NgrokResource
Handle
type NgrokResource interface { IComputeResource Resource ResourceWithArgs ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}Methods
Adds a ngrok auth token to a ngrok resource.
WithAuthToken(ngrokAuthToken ParameterResource) NgrokResourceParameters
ngrokAuthToken ParameterResource The ngrok auth token as a parameter resource.Returns
NgrokResource The same reference to ngrok resource builder.
Returns a handle; failures surface later via Err().
Adds a ngrok auth token to a ngrok resource.
WithAuthTokenValue(ngrokAuthToken string) NgrokResourceParameters
ngrokAuthToken stringThe ngrok auth token.Returns
NgrokResource The same reference to ngrok resource builder.
Returns a handle; failures surface later via Err().
Configures 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().