cluster

package
v0.0.0-...-3027e7a Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterRoleBindingReconciler

func NewClusterRoleBindingReconciler(
	client client.Client,
	lables map[string]string,
) reconciler.ResourceReconciler[*builder.GenericRoleBindingBuilder]

enable this if cluster role is provided by adminitrator, and name must be "zookeeper-clusterrole"

func NewClusterServiceReconciler

func NewClusterServiceReconciler(
	client *client.Client,
	option reconciler.ClusterInfo,
	listenerClass constants.ListenerClass,
	zkSecurity *security.ZookeeperSecurity,
) *reconciler.Service

Types

type Reconciler

func NewClusterReconciler

func NewClusterReconciler(
	client *client.Client,
	clusterInfo reconciler.ClusterInfo,
	spec *zkv1alpha1.ZookeeperClusterSpec,
) *Reconciler

func (*Reconciler) GetImage

func (r *Reconciler) GetImage() *util.Image

func (*Reconciler) RegisterResources

func (r *Reconciler) RegisterResources(ctx context.Context) error

Jump to

Keyboard shortcuts

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