Module
mongodb
github.com/riducms/ridu/adapters/mongodb — The official replica-set MongoDB store, additive development index synchronization, and immutable forward-only migration lifecycle.
Functions 2
mongodb.Open()Open a verified-TLS MongoDB replica-set database with bounded defaults.
mongodb.OpenWithConfig()Open the store with explicit transport, timeout, application-name, and pool bounds.
Types 2
type mongodb.ConfigRuntime-only MongoDB connection behavior.
type mongodb.StoreA replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.
Methods 52
Store.Close()Store.Ping()Store.Ready()Store.ReadyWithMigrationHistory()Store.Begin()Store.BeginSnapshot()Store.SyncIndexes()Store.VerifyIndexes()SafetyError.Error()Store.AcquireDocumentLock()Store.AllowAuthAttempt()Store.CancelTask()Store.ChangePasswordHash()Store.ClaimTasks()Store.CompleteTask()Store.CreateAPIKey()Store.CreateAuthToken()Store.CreateSession()Store.DeleteAPIKey()Store.DeletePreference()Store.DeletePreferences()Store.DeleteSession()Store.DeleteUserSession()Store.DeleteUserSessions()Store.DismissTaskForTarget()Store.EnqueueTask()Store.FailTask()Store.FindAPIKey()Store.FindAuthCredential()Store.FindDocumentLock()Store.FindSession()Store.FindTask()Store.ForceUnlock()Store.GetPreference()Store.HeartbeatTask()Store.ListAPIKeys()Store.ListSessions()Store.ListTasks()Store.LockUploadObjects()Store.PruneExpiredAuth()Store.PruneTasks()Store.RecordFailedLogin()Store.ReleaseDocumentLock()Store.ReleaseTask()Store.ResetLoginAttempts()Store.ResetPasswordWithToken()Store.RotateSession()Store.SetPasswordHash()Store.SetPreference()Store.TouchAPIKey()Store.UpgradePasswordHash()Store.VerifyEmailWithToken()
Migrations 17
mongodb.CreateArtifact()Publish an artifact with the frozen legacy MongoDB planner 1.0.0 creator.
mongodb.CreateArtifactWithOptions()Publish the current MongoDB planner 2.0.0 artifact with reviewed semantic intent.
mongodb.InspectArtifacts()Inspect exact local history against the live ledger without mutation.
mongodb.VerifyArtifacts()Replay complete immutable history through the adapter runner in an isolated shadow database.
mongodb.VerifyArtifactsWithOptions()Verify complete history with explicit maintenance admission and bounded runner controls.
mongodb.ProjectMigrations()Build the compiled-project driver for checksum-bound transaction-scoped data transforms.
type mongodb.ArtifactOptionsReviewed semantic intent frozen into a planner 2.0.0 artifact.
type mongodb.CreatedArtifactThe stable filesystem identity of one newly published artifact.
type mongodb.RunnerOptionsExplicit maintenance admission and bounded lease/operation controls.
type mongodb.MigrationStatusOne immutable artifact relative to the MongoDB ledger.
type mongodb.MigrationPhaseStatusOne immutable transaction, batch, or non-transaction execution boundary.
type mongodb.MigrationStepStatusOne durable typed MongoDB executor invocation.
type mongodb.SafetyErrorA valid transition that still requires explicit destructive review.
Store.ApplyArtifacts()Store.ApplyArtifactsWithOptions()Store.ArtifactStatus()Store.ArtifactPlan()