reconciler

package
v0.0.14-classic Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: AGPL-3.0-or-later Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenNMSReconciler

type OpenNMSReconciler struct {
	client.Client
	Log           logr.Logger
	Scheme        *runtime.Scheme
	CodecFactory  serializer.CodecFactory
	Config        config.OperatorConfig
	DefaultValues values.TemplateValues
	Handlers      []handlers.ServiceHandler
	ValuesMap     map[string]values.TemplateValues
	ImageChecker  image.ImageUpdater
}

OpenNMSReconciler reconciles a OpenNMS object

func (*OpenNMSReconciler) CheckForExistingCoreCreds

func (r *OpenNMSReconciler) CheckForExistingCoreCreds(ctx context.Context, v values.TemplateValues, namespace string) (values.TemplateValues, bool)

CheckForExistingCoreCreds - checks if core credentials already exist for a given namespace

func (*OpenNMSReconciler) CheckForExistingPostgresCreds

func (r *OpenNMSReconciler) CheckForExistingPostgresCreds(ctx context.Context, v values.TemplateValues, namespace string) (values.TemplateValues, bool)

CheckForExistingPostgresCreds - checks if core credentials already exist for a given namespace

func (*OpenNMSReconciler) InitServiceHandlers

func (r *OpenNMSReconciler) InitServiceHandlers()

func (*OpenNMSReconciler) Reconcile

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

func (*OpenNMSReconciler) SetupWithManager

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

func (*OpenNMSReconciler) UpdateValues

func (r *OpenNMSReconciler) UpdateValues(ctx context.Context, instance v1alpha1.OpenNMS) values.TemplateValues

UpdateValues - update values for an instance based on it's crd

Jump to

Keyboard shortcuts

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