single

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: UPL-1.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitController

func InitController(modConfig IntegrationControllerConfig) error

InitController start the controller

Types

type IntegrationControllerConfig

type IntegrationControllerConfig struct {
	ControllerManager ctrlruntime.Manager
	ModuleHandlerInfo handlerspi.ModuleHandlerInfo
}

type Reconciler

func (Reconciler) GetReconcileObject

func (r Reconciler) GetReconcileObject() client.Object

GetReconcileObject returns the kind of object being reconciled

func (Reconciler) HandlePredicateEvent

func (r Reconciler) HandlePredicateEvent(cli client.Client, object client.Object) bool

func (Reconciler) Reconcile

Reconcile reconciles the IntegrateSingleRequestEvent (in the form of a configmap) to perform integration for a single module. Certain modules, such as prometheus-operator, require that all integration charts for other modules be installed/upgraded. So in addition to applying the chart for a single module, this reconciler may create second event, the IntegrateCascadeRequestEvent which processed by the cascade integration controller.

Jump to

Keyboard shortcuts

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