Documentation
¶
Index ¶
- func NewMetricsStore(db *bun.DB) store.MetricsStore
- type PoolConfig
- type Store
- func (s *Store) Applications() store.ApplicationStore
- func (s *Store) Close() error
- func (s *Store) CronJobRuns() store.CronJobRunStore
- func (s *Store) CronJobs() store.CronJobStore
- func (s *Store) DB() *bun.DB
- func (s *Store) DatabaseBackups() store.DatabaseBackupStore
- func (s *Store) Deployments() store.DeploymentStore
- func (s *Store) Domains() store.DomainStore
- func (s *Store) Invitations() store.InvitationStore
- func (s *Store) ManagedDatabases() store.ManagedDatabaseStore
- func (s *Store) NotificationChannels() store.NotificationChannelStore
- func (s *Store) Organizations() store.OrganizationStore
- func (s *Store) ProjectMembers() store.ProjectMemberStore
- func (s *Store) Projects() store.ProjectStore
- func (s *Store) ServerNodes() store.ServerNodeStore
- func (s *Store) Settings() store.SettingStore
- func (s *Store) SharedResources() store.SharedResourceStore
- func (s *Store) SystemBackups() store.SystemBackupStore
- func (s *Store) Templates() store.TemplateStore
- func (s *Store) Users() store.UserStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetricsStore ¶
func NewMetricsStore(db *bun.DB) store.MetricsStore
Types ¶
type PoolConfig ¶
PoolConfig holds connection pool settings.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store implements store.Store backed by PostgreSQL using Bun ORM.
func New ¶
func New(databaseURL string, pool ...PoolConfig) (*Store, error)
New creates a new PostgreSQL-backed Store with connection retry and pool config.
func (*Store) Applications ¶
func (s *Store) Applications() store.ApplicationStore
func (*Store) CronJobRuns ¶
func (s *Store) CronJobRuns() store.CronJobRunStore
func (*Store) CronJobs ¶
func (s *Store) CronJobs() store.CronJobStore
func (*Store) DatabaseBackups ¶
func (s *Store) DatabaseBackups() store.DatabaseBackupStore
func (*Store) Deployments ¶
func (s *Store) Deployments() store.DeploymentStore
func (*Store) Domains ¶
func (s *Store) Domains() store.DomainStore
func (*Store) Invitations ¶
func (s *Store) Invitations() store.InvitationStore
func (*Store) ManagedDatabases ¶
func (s *Store) ManagedDatabases() store.ManagedDatabaseStore
func (*Store) NotificationChannels ¶
func (s *Store) NotificationChannels() store.NotificationChannelStore
func (*Store) Organizations ¶
func (s *Store) Organizations() store.OrganizationStore
func (*Store) ProjectMembers ¶
func (s *Store) ProjectMembers() store.ProjectMemberStore
func (*Store) Projects ¶
func (s *Store) Projects() store.ProjectStore
func (*Store) ServerNodes ¶
func (s *Store) ServerNodes() store.ServerNodeStore
func (*Store) Settings ¶
func (s *Store) Settings() store.SettingStore
func (*Store) SharedResources ¶
func (s *Store) SharedResources() store.SharedResourceStore
func (*Store) SystemBackups ¶
func (s *Store) SystemBackups() store.SystemBackupStore
func (*Store) Templates ¶
func (s *Store) Templates() store.TemplateStore
Source Files
¶
- application_store.go
- cronjob_store.go
- database_backup_store.go
- deployment_store.go
- domain_store.go
- invitation_store.go
- managed_database_store.go
- metrics_store.go
- notification_channel_store.go
- organization_store.go
- pg.go
- project_member_store.go
- project_store.go
- server_node_store.go
- setting_store.go
- shared_resource_store.go
- system_backup_store.go
- template_store.go
- user_store.go
Click to show internal directories.
Click to hide internal directories.