Documentation ¶
Index ¶
Constants ¶
View Source
const (
// HashAnnotation ...
HashAnnotation = "registry.ethos.adobe.com/hash"
)
Variables ¶
This section is empty.
Functions ¶
func Hash ¶
func Hash(instance *registryv1.Cluster) string
Hash returns a SHA256 hash of the Cluster object, after removing the ResourceVersion, ManagedFields and Hash annotation
Types ¶
type ClusterReconciler ¶
type ClusterReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Queue sqs.Producer CAData string }
ClusterReconciler reconciles a Cluster object
func (*ClusterReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ClusterReconciler) ReconcileCreateUpdate ¶
func (r *ClusterReconciler) ReconcileCreateUpdate(instance *registryv1.Cluster, log logr.Logger) (ctrl.Result, error)
ReconcileCreateUpdate ...
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.