Documentation
¶
Index ¶
- Variables
- type Config
- type JSONConfigStore
- func (s *JSONConfigStore) Create(ctx context.Context, obj any) error
- func (s *JSONConfigStore) Delete(ctx context.Context, keyParts ...any) error
- func (s *JSONConfigStore) Get(ctx context.Context, keyParts ...any) (any, error)
- func (s *JSONConfigStore) GetByIndex(ctx context.Context, indexName string, value any) (any, error)
- func (s *JSONConfigStore) List(ctx context.Context) ([]any, error)
- func (s *JSONConfigStore) ListByTag(ctx context.Context, tag string) ([]any, error)
- func (s *JSONConfigStore) ListByTagPrefix(ctx context.Context, tagPrefix string) ([]any, error)
- func (s *JSONConfigStore) Update(ctx context.Context, obj any) error
- type SQLiteConfigStoreCreator
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type JSONConfigStore ¶
type JSONConfigStore struct {
// contains filtered or unexported fields
}
func (*JSONConfigStore) Create ¶
func (s *JSONConfigStore) Create(ctx context.Context, obj any) error
func (*JSONConfigStore) Delete ¶
func (s *JSONConfigStore) Delete(ctx context.Context, keyParts ...any) error
func (*JSONConfigStore) GetByIndex ¶
func (*JSONConfigStore) ListByTagPrefix ¶
type SQLiteConfigStoreCreator ¶
type SQLiteConfigStoreCreator struct {
SQLitePath string `json:"sqlite_path,omitempty"`
// contains filtered or unexported fields
}
func (*SQLiteConfigStoreCreator) NewStore ¶
func (s *SQLiteConfigStoreCreator) NewStore(storeSchema configstore.StoreSchema) (configstore.ConfigStore, error)
Click to show internal directories.
Click to hide internal directories.