multiclusterapplicationconfiguration

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Log          *zap.SugaredLogger
	Scheme       *runtime.Scheme
	AgentChannel chan clusters.StatusUpdateMessage
}

Reconciler reconciles a MultiClusterApplicationConfiguration resource. It fetches the embedded OAM ApplicationConfiguration, mutates it based on the MultiClusterApplicationConfiguration, and updates the status of the MultiClusterApplicationConfiguration to reflect the success or failure of the changes to the embedded resource

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles a MultiClusterApplicationConfiguration resource. It fetches the embedded OAM app config, mutates it based on the MultiClusterApplicationConfiguration, and updates the status of the MultiClusterApplicationConfiguration to reflect the success or failure of the changes to the embedded resource

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager registers our controller with the manager

Jump to

Keyboard shortcuts

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