addon

package
v0.0.0-...-eb5b319 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EventReasonMissing represents the reason because of missing something
	EventReasonMissing = "Missing"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OperatorCRDReconciler

type OperatorCRDReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

OperatorCRDReconciler watches those CRDs which belong to Operator

func (*OperatorCRDReconciler) Reconcile

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

Reconcile manages addonStrategy according to the CRDs of operators

func (*OperatorCRDReconciler) SetupWithManager

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

SetupWithManager set the reconcilers

type Reconciler

type Reconciler struct {
	client.Client
	// contains filtered or unexported fields
}

Reconciler takes the responsible for addon lifecycle

func (*Reconciler) Reconcile

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

Reconcile responsible for addon lifecycle

func (*Reconciler) SetupWithManager

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

SetupWithManager set the reconcilers

Jump to

Keyboard shortcuts

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