event

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

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

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

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

	// ReasonIntegrationProfilePhaseUpdated --.
	ReasonIntegrationProfilePhaseUpdated = "IntegrationProfilePhaseUpdated"
	// ReasonIntegrationProfileConditionChanged --.
	ReasonIntegrationProfileConditionChanged = "IntegrationProfileConditionChanged"
	// ReasonIntegrationProfileError --.
	ReasonIntegrationProfileError = "IntegrationProfileError"

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

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

	// ReasonPipeError --.
	ReasonPipeError = "PipeError"
	// ReasonPipeConditionChanged --.
	ReasonPipeConditionChanged = "PipeConditionChanged"
	// ReasonPipePhaseUpdated --.
	ReasonPipePhaseUpdated = "PipePhaseUpdated"
	// ReasonRelatedObjectChanged --.
	ReasonRelatedObjectChanged = "ReasonRelatedObjectChanged"
	// ActionPhaseUpdated --.
	ActionPhaseUpdated = "PhaseUpdated"
)

Variables

This section is empty.

Functions

func NotifyBuildUpdated

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

NotifyBuildUpdated automatically generates events when a build changes.

func NotifyCamelCatalogUpdated

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

NotifyCamelCatalogUpdated automatically generates events when a CamelCatalog changes.

func NotifyError added in v2.10.0

func NotifyError(recorder events.EventRecorder, old, newResource runtime.Object, name, kind string, err error)

NotifyError is the generic event error recorder.

func NotifyIntegrationKitUpdated

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

NotifyIntegrationKitUpdated automatically generates events when an integration kit changes.

func NotifyIntegrationPlatformUpdated

func NotifyIntegrationPlatformUpdated(ctx context.Context, c client.Client, recorder events.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 events.EventRecorder, old, newResource *v1.Integration)

NotifyIntegrationUpdated automatically generates events when the integration changes.

func NotifyPipeUpdated

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

NotifyPipeUpdated automatically generates events when a Pipe changes.

Types

type Injectable

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

Jump to

Keyboard shortcuts

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