consoleplugin

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPReconciler

type CPReconciler struct {
	reconcilers.ClientHelper
	// contains filtered or unexported fields
}

CPReconciler reconciles the current console plugin state with the desired configuration

func NewReconciler

func NewReconciler(cl reconcilers.ClientHelper, ns, prevNS string) CPReconciler

func (*CPReconciler) InitStaticResources

func (r *CPReconciler) InitStaticResources(ctx context.Context) error

InitStaticResources inits some "static" / one-shot resources, usually not subject to reconciliation

func (*CPReconciler) PrepareNamespaceChange

func (r *CPReconciler) PrepareNamespaceChange(ctx context.Context) error

PrepareNamespaceChange cleans up old namespace and restore the relevant "static" resources

func (*CPReconciler) Reconcile

func (r *CPReconciler) Reconcile(ctx context.Context, desired *flowsv1alpha1.FlowCollectorSpec) error

Reconcile is the reconciler entry point to reconcile the current plugin state with the desired configuration

Jump to

Keyboard shortcuts

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