controllers

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

*

  • Copyright (c) 2018 Dell Inc., or its subsidiaries. All Rights Reserved. *
  • Licensed under the Apache License, Version 2.0 (&the "License");
  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0

Index

Constants

View Source
const ReconcileTime = 30 * time.Second

ReconcileTime is the delay between reconciliations

Variables

This section is empty.

Functions

This section is empty.

Types

type ZookeeperClusterReconciler

type ZookeeperClusterReconciler struct {
	Client   client.Client
	Log      logr.Logger
	Scheme   *runtime.Scheme
	ZkClient zk.ZookeeperClient
}

ZookeeperClusterReconciler reconciles a ZookeeperCluster object

func YAMLExporterReconciler

func YAMLExporterReconciler(zookeepercluster *zookeeperv1beta1.ZookeeperCluster) *ZookeeperClusterReconciler

YAMLExporterReconciler returns a fake Reconciler which is being used for generating YAML files

func (*ZookeeperClusterReconciler) GenerateYAML

GenerateYAML generated secondary resource of ZookeeperCluster resources YAML files

func (*ZookeeperClusterReconciler) Reconcile

func (r *ZookeeperClusterReconciler) Reconcile(_ context.Context, request ctrl.Request) (ctrl.Result, error)

func (*ZookeeperClusterReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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