ResourceWithEndpoints.WithEndpointCallback
Method
func (ResourceWithEndpoints) WithEndpointCallback( endpointName string, callback func(obj EndpointUpdateContext), options ...*WithEndpointCallbackOptions,) ResourceWithEndpointsSignature
method
WithEndpointCallback builderUpdates a named endpoint via callback
WithEndpointCallback( endpointName string, callback func(obj EndpointUpdateContext), options ...*WithEndpointCallbackOptions,) ResourceWithEndpointsParameters
endpointName stringcallbackfunc(obj EndpointUpdateContext) callbackoptions...*WithEndpointCallbackOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithEndpointCallbackOptions argument.
CreateIfNotExists *boolReturns
ResourceWithEndpoints Returns a handle; failures surface later via Err().
Defined on
A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.
Applies to
This function applies to the following types: