Documentation ¶
Overview ¶
Package store provides database storage for package model
Index ¶
- func InsertAvailableVariations(ctx context.Context, tx *sql.Tx, project model.Project) (err error)
- type Sqlite
- func (s Sqlite) DeactivateOverride(ctx context.Context, projectKey, flagKey string) (int, error)
- func (s Sqlite) DeleteDevProject(ctx context.Context, key string) (bool, error)
- func (s Sqlite) GetAvailableVariationsForProject(ctx context.Context, projectKey string) (map[string][]model.Variation, error)
- func (s Sqlite) GetDevProject(ctx context.Context, key string) (*model.Project, error)
- func (s Sqlite) GetDevProjectKeys(ctx context.Context) ([]string, error)
- func (s Sqlite) GetOverridesForProject(ctx context.Context, projectKey string) (model.Overrides, error)
- func (s Sqlite) InsertProject(ctx context.Context, project model.Project) (err error)
- func (s Sqlite) UpdateProject(ctx context.Context, project model.Project) (bool, error)
- func (s Sqlite) UpsertOverride(ctx context.Context, override model.Override) (model.Override, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sqlite ¶
type Sqlite struct {
// contains filtered or unexported fields
}
func (Sqlite) DeactivateOverride ¶
func (Sqlite) DeleteDevProject ¶
func (Sqlite) GetAvailableVariationsForProject ¶ added in v1.5.0
func (Sqlite) GetDevProject ¶
func (Sqlite) GetDevProjectKeys ¶
func (Sqlite) GetOverridesForProject ¶
func (Sqlite) InsertProject ¶
func (Sqlite) UpdateProject ¶
Click to show internal directories.
Click to hide internal directories.