atlasdeployment

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

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 = "READY"
)

Variables

This section is empty.

Functions

This section is empty.

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

func NewAtlasDeploymentReconciler(
	mgr manager.Manager,
	predicates []predicate.Predicate,
	atlasProvider atlas.Provider,
	deletionProtection bool,
	independentSyncPeriod time.Duration,
	logger *zap.Logger,
) *AtlasDeploymentReconciler

func (*AtlasDeploymentReconciler) Reconcile

func (*AtlasDeploymentReconciler) SetupWithManager

func (r *AtlasDeploymentReconciler) SetupWithManager(mgr ctrl.Manager, skipNameValidation bool) error

type NamespaceDiff

type NamespaceDiff struct {
	ToCreate       []akov2.ManagedNamespace
	ToDelete       []akov2.ManagedNamespace
	ToUpdateStatus []akov2.ManagedNamespace
}

Jump to

Keyboard shortcuts

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