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().
Applies to
This method applies to the following types: