Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateFeatureGroupOpt ¶
type CreateFeatureGroupOpt struct { types.CreateFeatureGroupOpt Category string }
type CreateFeatureOpt ¶
type CreateFeatureOpt struct { types.CreateFeatureOpt ValueType string }
type CreateRevisionOpt ¶
type GetRevisionOpt ¶
type ListRevisionOpt ¶
type Store ¶
type Store interface { // entity CreateEntity(ctx context.Context, opt types.CreateEntityOpt) error GetEntity(ctx context.Context, name string) (*types.Entity, error) ListEntity(ctx context.Context) ([]*types.Entity, error) UpdateEntity(ctx context.Context, opt types.UpdateEntityOpt) (int64, error) // feature CreateFeature(ctx context.Context, opt CreateFeatureOpt) error GetFeature(ctx context.Context, featureName string) (*types.Feature, error) ListFeature(ctx context.Context, opt types.ListFeatureOpt) (types.FeatureList, error) UpdateFeature(ctx context.Context, opt types.UpdateFeatureOpt) (int64, error) // feature group CreateFeatureGroup(ctx context.Context, opt CreateFeatureGroupOpt) error GetFeatureGroup(ctx context.Context, groupName string) (*types.FeatureGroup, error) ListFeatureGroup(ctx context.Context, entityName *string) ([]*types.FeatureGroup, error) UpdateFeatureGroup(ctx context.Context, opt types.UpdateFeatureGroupOpt) (int64, error) // revision CreateRevision(ctx context.Context, opt CreateRevisionOpt) error ListRevision(ctx context.Context, opt ListRevisionOpt) ([]*types.Revision, error) GetRevision(ctx context.Context, opt GetRevisionOpt) (*types.Revision, error) GetLatestRevision(ctx context.Context, groupName string) (*types.Revision, error) BuildRevisionRanges(ctx context.Context, groupName string) ([]*types.RevisionRange, error) io.Closer }
Directories ¶
Path | Synopsis |
---|---|
Package mock_metadata is a generated GoMock package.
|
Package mock_metadata is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.