Versions in this module Expand all Collapse all v0 v0.1.40 Jun 15, 2026 Changes in this version type Server + func (s *Server) MintToken() (string, error) v0.1.39 Jun 14, 2026 Changes in this version + type BackupRequest struct + Comment string + type BackupResponse struct + BackupID int + BackupPath string + Message string + Size int64 + Timestamp time.Time + type CreateRDBMSRequest struct + CPUCores int + Image string + Name string + ParameterGroup string + Port int + RAMMB int + Version string + type CronPlanRequest struct + CleanupLocalDays int + CleanupRemoteDays int + InstanceName string + UTCHour int + type CronTaskTracker struct + func NewCronTaskTracker(opDeps *operations.Dependencies, executor *operations.Executor) *CronTaskTracker + func (t *CronTaskTracker) GetStatus() (currentTask string, queueLength int, queuedTasks []string) + func (t *CronTaskTracker) RunTask(ctx context.Context, instanceName string) bool + type ErrorResponse struct + Error string + type HealthHistory struct + Records []*HealthRecord + Timestamp string + type HealthRecord struct + BrokenInstances []string + FailDetails string + HealthyAll bool + HealthyHost bool + HealthyInstances []string + ID int64 + InProgress bool + Timestamp string + TimestampUnix int64 + type HealthScheduler struct + func NewHealthScheduler(healthChecker *services.HealthChecker, intervalSec int) *HealthScheduler + func (hs *HealthScheduler) IsRunning() bool + func (hs *HealthScheduler) Pause() + func (hs *HealthScheduler) Start(ctx context.Context) + func (hs *HealthScheduler) Unpause() + func (hs *HealthScheduler) WaitForCompletion(timeout time.Duration) bool + type HealthStatus struct + CheckRunning bool + LastCheck *HealthRecord + Overall string + Timestamp string + type KVPair struct + Key string + UpdatedAt string + Value string + type KVSetRequest struct + Key string + Value string + type PullImageRequest struct + Image string + Version string + type ReconfigureRequest struct + ParameterGroup string + type RestoreRequest struct + BackupID int + DatabaseName string + FilePath string + RestoreAs string + type RestoreResponse struct + Message string + SourceBackup string + TargetDatabase string + type Server struct + func NewServer(port int, dataDir, backupDir string, healthCheckIntervalSec int, ...) (*Server, error) + func (s *Server) HasNewlyCreatedToken() bool + func (s *Server) Shutdown(ctx context.Context) error + func (s *Server) Start() error + func (s *Server) WriteClientConfig(configDir string) error + type SwitchRequest struct + Image string + Version string + type UpdateStateRequest struct + State string + type UpgradeRequest struct + Image string + TargetVersion string