Version: v1.6.0 Latest Latest

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 40 Imported by: 0




This section is empty.


View Source
var Log = log.Log.WithName("controller").WithName("integration")

Log --


func Add

func Add(mgr manager.Manager) error

Add creates a new Integration Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.


type Action

type Action interface {

	// a user friendly name for the action
	Name() string

	// returns true if the action can handle the integration
	CanHandle(integration *v1.Integration) bool

	// executes the handling function
	Handle(ctx context.Context, integration *v1.Integration) (*v1.Integration, error)

Action --

func NewDeployAction

func NewDeployAction() Action

NewDeployAction create an action that handles integration deploy

func NewErrorAction

func NewErrorAction() Action

NewErrorAction creates a new error action for an integration

func NewInitializeAction

func NewInitializeAction() Action

NewInitializeAction creates a new initialize action

func NewMonitorAction

func NewMonitorAction() Action

NewMonitorAction creates a new monitoring action for an integration

func NewPlatformSetupAction

func NewPlatformSetupAction() Action

NewPlatformSetupAction creates a new platform-setup action

func NewWaitForBindingsAction added in v1.4.0

func NewWaitForBindingsAction() Action

NewWaitForBindingsAction waits until Bindings are available and ready to be used by Integrations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL