Documentation ¶
Index ¶
- Constants
- type ClientConfigReconciler
- func (r *ClientConfigReconciler) InitClientConfigs(ctx context.Context, mgr ctrl.Manager, watchNamespace string) ([]cluster.Cluster, error)
- func (r *ClientConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ClientConfigReconciler) SetupWithManager(mgr ctrl.Manager, cancelFunc context.CancelFunc) error
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) SetupWithManager ¶
func (r *ClientConfigReconciler) SetupWithManager(mgr ctrl.Manager, cancelFunc context.CancelFunc) error
SetupWithManager will only set this controller to listen in control plane cluster
Click to show internal directories.
Click to hide internal directories.