Documentation ¶
Index ¶
- type OpenNMSReconciler
- func (r *OpenNMSReconciler) CheckForExistingCoreCreds(ctx context.Context, v values.TemplateValues, namespace string) (values.TemplateValues, bool)
- func (r *OpenNMSReconciler) CheckForExistingPostgresCreds(ctx context.Context, v values.TemplateValues, namespace string) (values.TemplateValues, bool)
- func (r *OpenNMSReconciler) InitServiceHandlers()
- func (r *OpenNMSReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *OpenNMSReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *OpenNMSReconciler) UpdateValues(ctx context.Context, instance v1alpha1.OpenNMS) values.TemplateValues
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) 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
Click to show internal directories.
Click to hide internal directories.