Documentation ¶
Index ¶
- Constants
- func EnsureCustomZoneMapping(service *workflow.Context, groupID string, ...) workflow.Result
- func EnsureManagedNamespaces(service *workflow.Context, groupID string, clusterType string, ...) workflow.Result
- func GetGlobalDeploymentState(ctx context.Context, client mongodbatlas.GlobalClustersService, groupID string, ...) ([]mongodbatlas.ManagedNamespace, map[string]string, error)
- type AtlasDeploymentReconciler
- type NamespaceDiff
Constants ¶
View Source
const ( IndexTypeVector = "vectorSearch" IndexTypeSearch = "search" )
View Source
const ( SPEStatusDeleting = "DELETING" SPEStatusReserved = "RESERVED" SPEStatusAvailable = "AVAILABLE" )
Status transitions: RESERVATION_REQUESTED -> RESERVED -> INITIATING -> AVAILABLE -> DELETING I assume FAILED state can be reach from any other state transition
View Source
const FreeTier = "M0"
View Source
const (
IndexStatusActive = "STEADY"
)
Variables ¶
This section is empty.
Functions ¶
func EnsureCustomZoneMapping ¶
func EnsureManagedNamespaces ¶
func GetGlobalDeploymentState ¶
func GetGlobalDeploymentState(ctx context.Context, client mongodbatlas.GlobalClustersService, groupID string, deploymentName string) ([]mongodbatlas.ManagedNamespace, map[string]string, error)
Types ¶
type AtlasDeploymentReconciler ¶
type AtlasDeploymentReconciler struct { Client client.Client Log *zap.SugaredLogger Scheme *runtime.Scheme GlobalPredicates []predicate.Predicate EventRecorder record.EventRecorder AtlasProvider atlas.Provider ObjectDeletionProtection bool SubObjectDeletionProtection bool // contains filtered or unexported fields }
AtlasDeploymentReconciler reconciles an AtlasDeployment object
func NewAtlasDeploymentReconciler ¶ added in v2.3.1
func (*AtlasDeploymentReconciler) SetupWithManager ¶
func (r *AtlasDeploymentReconciler) SetupWithManager(mgr ctrl.Manager, skipNameValidation bool) error
type NamespaceDiff ¶
type NamespaceDiff struct { ToCreate []mongodbatlas.ManagedNamespace ToDelete []mongodbatlas.ManagedNamespace ToUpdateStatus []mongodbatlas.ManagedNamespace }
Click to show internal directories.
Click to hide internal directories.