controllers

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCondition

func NewCondition(conditionStatus string, conditionType string, conditionReason string, conditionMessage string) zookeeperservice.StatusCondition

Types

type PasswordGenerator

type PasswordGenerator interface {
	Generate() (string, error)
}

type ReconcileBackupDaemon

type ReconcileBackupDaemon struct {
	// contains filtered or unexported fields
}

func (ReconcileBackupDaemon) Reconcile

func (r ReconcileBackupDaemon) Reconcile() error

func (ReconcileBackupDaemon) Status

func (r ReconcileBackupDaemon) Status() error

type ReconcileIntegrationTests

type ReconcileIntegrationTests struct {
	// contains filtered or unexported fields
}

func (ReconcileIntegrationTests) Reconcile

func (r ReconcileIntegrationTests) Reconcile() error

func (ReconcileIntegrationTests) Status

func (r ReconcileIntegrationTests) Status() error

type ReconcileMonitoring

type ReconcileMonitoring struct {
	// contains filtered or unexported fields
}

func (ReconcileMonitoring) Reconcile

func (r ReconcileMonitoring) Reconcile() error

func (ReconcileMonitoring) Status

func (r ReconcileMonitoring) Status() error

type ReconcileService

type ReconcileService interface {
	Reconcile() error
	Status() error
}

type ReconcileZooKeeper

type ReconcileZooKeeper struct {
	// contains filtered or unexported fields
}

func (ReconcileZooKeeper) Reconcile

func (r ReconcileZooKeeper) Reconcile() error

func (ReconcileZooKeeper) Status

func (r ReconcileZooKeeper) Status() error

type VaultPasswordGenerator

type VaultPasswordGenerator struct {
	// contains filtered or unexported fields
}

func (VaultPasswordGenerator) Generate

func (generator VaultPasswordGenerator) Generate() (string, error)

type ZooKeeperServiceReconciler

type ZooKeeperServiceReconciler struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	Client           client.Client
	Scheme           *runtime.Scheme
	ResourceVersions map[string]string
	ResourceHashes   map[string]string
}

ZooKeeperServiceReconciler reconciles a ZooKeeperService object

func (*ZooKeeperServiceReconciler) GeneratePasswordForPolicy

func (r *ZooKeeperServiceReconciler) GeneratePasswordForPolicy(policyName string) (string, error)

func (*ZooKeeperServiceReconciler) InitVaultClient

func (*ZooKeeperServiceReconciler) ReadVaultAuthRole

func (r *ZooKeeperServiceReconciler) ReadVaultAuthRole(roleName string, cr *zookeeperservice.ZooKeeperService) (map[string]interface{}, error)

func (*ZooKeeperServiceReconciler) ReadVaultPolicy

func (r *ZooKeeperServiceReconciler) ReadVaultPolicy(policyName string) (string, error)

func (*ZooKeeperServiceReconciler) ReadVaultSecret

func (r *ZooKeeperServiceReconciler) ReadVaultSecret(path string, secretName string) (map[string]interface{}, error)

func (*ZooKeeperServiceReconciler) Reconcile

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

func (*ZooKeeperServiceReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*ZooKeeperServiceReconciler) WriteVaultAuthRole

func (r *ZooKeeperServiceReconciler) WriteVaultAuthRole(roleName string, role interface{}, cr *zookeeperservice.ZooKeeperService) error

func (*ZooKeeperServiceReconciler) WriteVaultPasswordPolicy

func (r *ZooKeeperServiceReconciler) WriteVaultPasswordPolicy(policyName string, policy interface{}) error

func (*ZooKeeperServiceReconciler) WriteVaultPolicy

func (r *ZooKeeperServiceReconciler) WriteVaultPolicy(policyName string, policy string) error

func (*ZooKeeperServiceReconciler) WriteVaultSecret

func (r *ZooKeeperServiceReconciler) WriteVaultSecret(path string, secretName string, secret map[string]interface{}) (int64, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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