mock_metadata

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_metadata is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) BuildRevisionRanges

func (m *MockStore) BuildRevisionRanges(ctx context.Context, groupName string) ([]*types.RevisionRange, error)

BuildRevisionRanges mocks base method.

func (*MockStore) Close

func (m *MockStore) Close() error

Close mocks base method.

func (*MockStore) CreateEntity

func (m *MockStore) CreateEntity(ctx context.Context, opt types.CreateEntityOpt) error

CreateEntity mocks base method.

func (*MockStore) CreateFeature

func (m *MockStore) CreateFeature(ctx context.Context, opt metadata.CreateFeatureOpt) error

CreateFeature mocks base method.

func (*MockStore) CreateFeatureGroup

func (m *MockStore) CreateFeatureGroup(ctx context.Context, opt metadata.CreateFeatureGroupOpt) error

CreateFeatureGroup mocks base method.

func (*MockStore) CreateRevision

func (m *MockStore) CreateRevision(ctx context.Context, opt metadata.CreateRevisionOpt) error

CreateRevision mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) GetEntity

func (m *MockStore) GetEntity(ctx context.Context, name string) (*types.Entity, error)

GetEntity mocks base method.

func (*MockStore) GetFeature

func (m *MockStore) GetFeature(ctx context.Context, featureName string) (*types.Feature, error)

GetFeature mocks base method.

func (*MockStore) GetFeatureGroup

func (m *MockStore) GetFeatureGroup(ctx context.Context, groupName string) (*types.FeatureGroup, error)

GetFeatureGroup mocks base method.

func (*MockStore) GetLatestRevision

func (m *MockStore) GetLatestRevision(ctx context.Context, groupName string) (*types.Revision, error)

GetLatestRevision mocks base method.

func (*MockStore) GetRevision

func (m *MockStore) GetRevision(ctx context.Context, opt metadata.GetRevisionOpt) (*types.Revision, error)

GetRevision mocks base method.

func (*MockStore) ListEntity

func (m *MockStore) ListEntity(ctx context.Context) ([]*types.Entity, error)

ListEntity mocks base method.

func (*MockStore) ListFeature

func (m *MockStore) ListFeature(ctx context.Context, opt types.ListFeatureOpt) (types.FeatureList, error)

ListFeature mocks base method.

func (*MockStore) ListFeatureGroup

func (m *MockStore) ListFeatureGroup(ctx context.Context, entityName *string) ([]*types.FeatureGroup, error)

ListFeatureGroup mocks base method.

func (*MockStore) ListRevision

func (m *MockStore) ListRevision(ctx context.Context, opt metadata.ListRevisionOpt) ([]*types.Revision, error)

ListRevision mocks base method.

func (*MockStore) UpdateEntity

func (m *MockStore) UpdateEntity(ctx context.Context, opt types.UpdateEntityOpt) (int64, error)

UpdateEntity mocks base method.

func (*MockStore) UpdateFeature

func (m *MockStore) UpdateFeature(ctx context.Context, opt types.UpdateFeatureOpt) (int64, error)

UpdateFeature mocks base method.

func (*MockStore) UpdateFeatureGroup

func (m *MockStore) UpdateFeatureGroup(ctx context.Context, opt types.UpdateFeatureGroupOpt) (int64, error)

UpdateFeatureGroup mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) BuildRevisionRanges

func (mr *MockStoreMockRecorder) BuildRevisionRanges(ctx, groupName interface{}) *gomock.Call

BuildRevisionRanges indicates an expected call of BuildRevisionRanges.

func (*MockStoreMockRecorder) Close

func (mr *MockStoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockStoreMockRecorder) CreateEntity

func (mr *MockStoreMockRecorder) CreateEntity(ctx, opt interface{}) *gomock.Call

CreateEntity indicates an expected call of CreateEntity.

func (*MockStoreMockRecorder) CreateFeature

func (mr *MockStoreMockRecorder) CreateFeature(ctx, opt interface{}) *gomock.Call

CreateFeature indicates an expected call of CreateFeature.

func (*MockStoreMockRecorder) CreateFeatureGroup

func (mr *MockStoreMockRecorder) CreateFeatureGroup(ctx, opt interface{}) *gomock.Call

CreateFeatureGroup indicates an expected call of CreateFeatureGroup.

func (*MockStoreMockRecorder) CreateRevision

func (mr *MockStoreMockRecorder) CreateRevision(ctx, opt interface{}) *gomock.Call

CreateRevision indicates an expected call of CreateRevision.

func (*MockStoreMockRecorder) GetEntity

func (mr *MockStoreMockRecorder) GetEntity(ctx, name interface{}) *gomock.Call

GetEntity indicates an expected call of GetEntity.

func (*MockStoreMockRecorder) GetFeature

func (mr *MockStoreMockRecorder) GetFeature(ctx, featureName interface{}) *gomock.Call

GetFeature indicates an expected call of GetFeature.

func (*MockStoreMockRecorder) GetFeatureGroup

func (mr *MockStoreMockRecorder) GetFeatureGroup(ctx, groupName interface{}) *gomock.Call

GetFeatureGroup indicates an expected call of GetFeatureGroup.

func (*MockStoreMockRecorder) GetLatestRevision

func (mr *MockStoreMockRecorder) GetLatestRevision(ctx, groupName interface{}) *gomock.Call

GetLatestRevision indicates an expected call of GetLatestRevision.

func (*MockStoreMockRecorder) GetRevision

func (mr *MockStoreMockRecorder) GetRevision(ctx, opt interface{}) *gomock.Call

GetRevision indicates an expected call of GetRevision.

func (*MockStoreMockRecorder) ListEntity

func (mr *MockStoreMockRecorder) ListEntity(ctx interface{}) *gomock.Call

ListEntity indicates an expected call of ListEntity.

func (*MockStoreMockRecorder) ListFeature

func (mr *MockStoreMockRecorder) ListFeature(ctx, opt interface{}) *gomock.Call

ListFeature indicates an expected call of ListFeature.

func (*MockStoreMockRecorder) ListFeatureGroup

func (mr *MockStoreMockRecorder) ListFeatureGroup(ctx, entityName interface{}) *gomock.Call

ListFeatureGroup indicates an expected call of ListFeatureGroup.

func (*MockStoreMockRecorder) ListRevision

func (mr *MockStoreMockRecorder) ListRevision(ctx, opt interface{}) *gomock.Call

ListRevision indicates an expected call of ListRevision.

func (*MockStoreMockRecorder) UpdateEntity

func (mr *MockStoreMockRecorder) UpdateEntity(ctx, opt interface{}) *gomock.Call

UpdateEntity indicates an expected call of UpdateEntity.

func (*MockStoreMockRecorder) UpdateFeature

func (mr *MockStoreMockRecorder) UpdateFeature(ctx, opt interface{}) *gomock.Call

UpdateFeature indicates an expected call of UpdateFeature.

func (*MockStoreMockRecorder) UpdateFeatureGroup

func (mr *MockStoreMockRecorder) UpdateFeatureGroup(ctx, opt interface{}) *gomock.Call

UpdateFeatureGroup indicates an expected call of UpdateFeatureGroup.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL