promotions

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupReconcilerWithManager

func SetupReconcilerWithManager(
	ctx context.Context,
	kargoMgr manager.Manager,
	argocdMgr manager.Manager,
	credentialsDB credentials.Database,
	shardName string,
) error

SetupReconcilerWithManager initializes a reconciler for Promotion resources and registers it with the provided Manager.

Types

type EnqueueHighestPriorityPromotionHandler added in v0.2.0

type EnqueueHighestPriorityPromotionHandler struct {
	// contains filtered or unexported fields
}

EnqueueHighestPriorityPromotionHandler is an event handler that enqueues the next highest priority Promotion for reconciliation when an active Promotion becomes terminal

func (*EnqueueHighestPriorityPromotionHandler) Create added in v0.2.0

Create implements EventHandler.

func (*EnqueueHighestPriorityPromotionHandler) Delete added in v0.2.0

Delete implements EventHandler. In case a Running promotion becomes deleted, we should enqueue the next one

func (*EnqueueHighestPriorityPromotionHandler) Generic added in v0.2.0

Generic implements EventHandler.

func (*EnqueueHighestPriorityPromotionHandler) Update added in v0.2.0

Update implements EventHandler. This should only be called with a promo that transitioned from non-terminal to terminal.

Jump to

Keyboard shortcuts

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