resourcegroup

package
v0.0.0-...-4efcaec Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StartReconciling = "StartReconciling"

	FinishReconciling = "FinishReconciling"

	ComponentFailed = "ComponentFailed"

	ExceedTimeout = "ExceedTimeout"
)

Variables

View Source
var DefaultDuration = 30 * time.Second

DefaultDuration is the default throttling duration

Functions

func ActuationStatusToLegacy

func ActuationStatusToLegacy(s v1alpha1.ResourceStatus) v1alpha1.Status

ActuationStatusToLegacy contains the logic/rules to convert from the actuation statuses to the legacy status field. If conversion is not needed, the original status field is returned instead.

func NewRGController

func NewRGController(mgr ctrl.Manager, channel chan event.GenericEvent, logger logr.Logger,
	resolver *typeresolver.TypeResolver, resMap *resourcemap.ResourceMap, duration time.Duration) error

NewRGController creates a new ResourceGroup controller and registers it with the provided manager.

Types

This section is empty.

Jump to

Keyboard shortcuts

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