controllers

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LedgerDiskName  = "ledger"
	JournalDiskName = "journal"
	IndexDiskName   = "index"
)
View Source
const ReconcileTime = 30 * time.Second

ReconcileTime is the delay between reconciliations

Variables

This section is empty.

Functions

func MakeBookieConfigMap

func MakeBookieConfigMap(bk *v1alpha1.BookkeeperCluster) *corev1.ConfigMap

func MakeBookieHeadlessService

func MakeBookieHeadlessService(bk *v1alpha1.BookkeeperCluster) *corev1.Service

func MakeBookieStatefulSet

func MakeBookieStatefulSet(bk *v1alpha1.BookkeeperCluster) *appsv1.StatefulSet

Types

type BookkeeperClusterReconciler

type BookkeeperClusterReconciler struct {
	Client client.Client
	Scheme *runtime.Scheme
}

BookkeeperClusterReconciler reconciles a BookkeeperCluster object

func (*BookkeeperClusterReconciler) Reconcile

func (r *BookkeeperClusterReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

func (*BookkeeperClusterReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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