Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClustersEqual ¶ added in v0.5.0
func ClustersEqual(log *zap.SugaredLogger, clusterAtlas mongodbatlas.Cluster, clusterOperator mongodbatlas.Cluster) bool
ClustersEqual compares two Atlas Clusters
func MergedCluster ¶ added in v0.5.0
func MergedCluster(atlasCluster mongodbatlas.Cluster, spec mdbv1.AtlasClusterSpec) (result mongodbatlas.Cluster, err error)
MergedCluster will return the result of merging AtlasClusterSpec with Atlas Cluster
Types ¶
type AtlasClusterReconciler ¶
type AtlasClusterReconciler struct { Client client.Client Log *zap.SugaredLogger Scheme *runtime.Scheme AtlasDomain string GlobalAPISecret client.ObjectKey GlobalPredicates []predicate.Predicate EventRecorder record.EventRecorder }
AtlasClusterReconciler reconciles an AtlasCluster object
func (*AtlasClusterReconciler) Delete ¶
func (r *AtlasClusterReconciler) Delete(e event.DeleteEvent) error
Delete implements a handler for the Delete event.
func (*AtlasClusterReconciler) SetupWithManager ¶
func (r *AtlasClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.