Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleIntegrationEvents ¶
func HandleIntegrationEvents(ctx context.Context, c client.Client, integration *v1.Integration, handler func(event *corev1.Event) bool) error
HandleIntegrationEvents watches all events related to the given integration. This function blocks until the handler function returns true or either the events channel or the context is closed.
func HandleIntegrationStateChanges ¶
func HandleIntegrationStateChanges(ctx context.Context, c client.Client, integration *v1.Integration, handler func(integration *v1.Integration) bool) (*v1.IntegrationPhase, error)
HandleIntegrationStateChanges watches an Integration resource and invoke the given handler when its status changes. This function blocks until the handler function returns true or either the events channel or the context is closed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.