config

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClientConfigHashAnnotation = k8ssandraapi.ResourceHashAnnotation
	KubeSecretHashAnnotation   = "k8ssandra.io/secret-hash"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConfigReconciler

type ClientConfigReconciler struct {
	Scheme      *runtime.Scheme
	ClientCache *clientcache.ClientCache
	// contains filtered or unexported fields
}

func (*ClientConfigReconciler) InitClientConfigs

func (r *ClientConfigReconciler) InitClientConfigs(ctx context.Context, mgr ctrl.Manager, watchNamespace string) ([]cluster.Cluster, error)

InitClientConfigs will fetch clientConfigs from the current cluster (control plane cluster) and create all the required Cluster objects for other controllers to use. Not called from SetupWithManager since other controllers need the []cluster.Cluster array

func (*ClientConfigReconciler) Reconcile

func (r *ClientConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ClientConfigReconciler) SetupWithManager

func (r *ClientConfigReconciler) SetupWithManager(mgr ctrl.Manager, cancelFunc context.CancelFunc) error

SetupWithManager will only set this controller to listen in control plane cluster

Jump to

Keyboard shortcuts

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