event

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ReasonIntegrationPhaseUpdated --.
	ReasonIntegrationPhaseUpdated = "IntegrationPhaseUpdated"
	// ReasonIntegrationConditionChanged --.
	ReasonIntegrationConditionChanged = "IntegrationConditionChanged"
	// ReasonIntegrationError --.
	ReasonIntegrationError = "IntegrationError"

	// ReasonIntegrationKitPhaseUpdated --.
	ReasonIntegrationKitPhaseUpdated = "IntegrationKitPhaseUpdated"
	// ReasonIntegrationKitConditionChanged --.
	ReasonIntegrationKitConditionChanged = "IntegrationKitConditionChanged"
	// ReasonIntegrationKitError --.
	ReasonIntegrationKitError = "IntegrationKitError"

	// ReasonIntegrationPlatformPhaseUpdated --.
	ReasonIntegrationPlatformPhaseUpdated = "IntegrationPlatformPhaseUpdated"
	// ReasonIntegrationPlatformConditionChanged --.
	ReasonIntegrationPlatformConditionChanged = "IntegrationPlatformConditionChanged"
	// ReasonIntegrationPlatformError --.
	ReasonIntegrationPlatformError = "IntegrationPlatformError"

	// ReasonBuildPhaseUpdated --.
	ReasonBuildPhaseUpdated = "BuildPhaseUpdated"
	// ReasonBuildConditionChanged --.
	ReasonBuildConditionChanged = "BuildConditionChanged"
	// ReasonBuildError --.
	ReasonBuildError = "BuildError"

	// ReasonKameletError --.
	ReasonKameletError = "KameletError"
	// ReasonKameletConditionChanged --.
	ReasonKameletConditionChanged = "KameletConditionChanged"
	// ReasonKameletPhaseUpdated --.
	ReasonKameletPhaseUpdated = "KameletPhaseUpdated"

	// ReasonPipeError --.
	ReasonPipeError = "PipeError"
	// ReasonPipeConditionChanged --.
	ReasonPipeConditionChanged = "PipeConditionChanged"
	// ReasonPipePhaseUpdated --.
	ReasonPipePhaseUpdated = "PipePhaseUpdated"

	// ReasonRelatedObjectChanged --.
	ReasonRelatedObjectChanged = "ReasonRelatedObjectChanged"
)

Variables

This section is empty.

Functions

func NewSinkLessBroadcaster

func NewSinkLessBroadcaster(broadcaster record.EventBroadcaster) record.EventBroadcaster

func NotifyBuildError

func NotifyBuildError(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.Build, err error)

NotifyBuildError automatically generates error events when the build reconcile cycle phase has an error.

func NotifyBuildUpdated

func NotifyBuildUpdated(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.Build)

NotifyBuildUpdated automatically generates events when a build changes.

func NotifyCamelCatalogError

func NotifyCamelCatalogError(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.CamelCatalog, err error)

NotifyCamelCatalogError automatically generates error events when the CamelCatalog reconcile cycle phase has an error.

func NotifyCamelCatalogUpdated

func NotifyCamelCatalogUpdated(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.CamelCatalog)

NotifyCamelCatalogUpdated automatically generates events when a CamelCatalog changes.

func NotifyIntegrationError

func NotifyIntegrationError(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.Integration, err error)

NotifyIntegrationError automatically generates error events when the integration reconcile cycle phase has an error.

func NotifyIntegrationKitError

func NotifyIntegrationKitError(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.IntegrationKit, err error)

NotifyIntegrationKitError automatically generates error events when the integration kit reconcile cycle phase has an error.

func NotifyIntegrationKitUpdated

func NotifyIntegrationKitUpdated(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.IntegrationKit)

NotifyIntegrationKitUpdated automatically generates events when an integration kit changes.

func NotifyIntegrationPlatformError

func NotifyIntegrationPlatformError(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.IntegrationPlatform, err error)

NotifyIntegrationPlatformError automatically generates error events when the integration Platform reconcile cycle phase has an error.

func NotifyIntegrationPlatformUpdated

func NotifyIntegrationPlatformUpdated(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.IntegrationPlatform)

NotifyIntegrationPlatformUpdated automatically generates events when an integration platform changes.

func NotifyIntegrationUpdated

func NotifyIntegrationUpdated(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.Integration)

NotifyIntegrationUpdated automatically generates events when the integration changes.

func NotifyKameletBindingError

func NotifyKameletBindingError(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1alpha1.KameletBinding, err error)

NotifyKameletBindingError automatically generates error events when the binding reconcile cycle phase has an error. Deprecated.

func NotifyKameletBindingUpdated

func NotifyKameletBindingUpdated(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1alpha1.KameletBinding)

NotifyKameletBindingUpdated automatically generates events when a KameletBinding changes. Deprecated.

func NotifyKameletError

func NotifyKameletError(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.Kamelet, err error)

NotifyKameletError automatically generates error events when the kamelet reconcile cycle phase has an error.

func NotifyKameletUpdated

func NotifyKameletUpdated(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.Kamelet)

NotifyKameletUpdated automatically generates events when a Kamelet changes.

func NotifyPipeError

func NotifyPipeError(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.Pipe, err error)

NotifyPipeError automatically generates error events when the binding reconcile cycle phase has an error.

func NotifyPipeUpdated

func NotifyPipeUpdated(ctx context.Context, c client.Client, recorder record.EventRecorder, old, newResource *v1.Pipe)

NotifyPipeUpdated automatically generates events when a Pipe changes.

Types

type Injectable

type Injectable interface {
	InjectRecorder(recorder record.EventRecorder)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL