Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type MongoDBStore ¶
type MongoDBStore struct {
// contains filtered or unexported fields
}
MongoDBStore persists runtime settings in MongoDB.
func NewMongoDBStore ¶
NewMongoDBStore uses the shared runtime_settings collection.
type SQLStore ¶
type SQLStore struct {
// contains filtered or unexported fields
}
SQLStore persists runtime settings in SQLite or PostgreSQL.
func NewSQLStore ¶
NewSQLStore initializes the shared runtime-settings table.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service validates, persists, applies, and reconciles registered settings.
func New ¶
func New(ctx context.Context, backend storage.Storage, registered []ext.RuntimeSetting) (*Service, error)
New restores registered settings and starts cross-instance reconciliation.
func (*Service) List ¶
func (s *Service) List() []ext.SettingDescriptor
List returns the current setting descriptors in stable key order.
Click to show internal directories.
Click to hide internal directories.