configstore

package
v1.2.8-prerelease3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 20 Imported by: 1

Documentation

Overview

Package configstore is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v1.2.1

type Client interface {
	common.Daemon
	dc.Client
}

Client is a stateful config store

func NewConfigStoreClient

func NewConfigStoreClient(clientCfg *csc.ClientConfig,
	persistenceCfg *config.Persistence,
	logger log.Logger,
	configType persistence.ConfigType,
) (Client, error)

NewConfigStoreClient creates a config store client

type MockClient added in v1.2.1

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

MockClient is a mock of Client interface.

func NewMockClient added in v1.2.1

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) EXPECT added in v1.2.1

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetBoolValue added in v1.2.1

func (m *MockClient) GetBoolValue(name dynamicconfig.BoolKey, filters map[dynamicconfig.Filter]interface{}) (bool, error)

GetBoolValue mocks base method.

func (*MockClient) GetDurationValue added in v1.2.1

func (m *MockClient) GetDurationValue(name dynamicconfig.DurationKey, filters map[dynamicconfig.Filter]interface{}) (time.Duration, error)

GetDurationValue mocks base method.

func (*MockClient) GetFloatValue added in v1.2.1

func (m *MockClient) GetFloatValue(name dynamicconfig.FloatKey, filters map[dynamicconfig.Filter]interface{}) (float64, error)

GetFloatValue mocks base method.

func (*MockClient) GetIntValue added in v1.2.1

func (m *MockClient) GetIntValue(name dynamicconfig.IntKey, filters map[dynamicconfig.Filter]interface{}) (int, error)

GetIntValue mocks base method.

func (*MockClient) GetListValue added in v1.2.1

func (m *MockClient) GetListValue(name dynamicconfig.ListKey, filters map[dynamicconfig.Filter]interface{}) ([]interface{}, error)

GetListValue mocks base method.

func (*MockClient) GetMapValue added in v1.2.1

func (m *MockClient) GetMapValue(name dynamicconfig.MapKey, filters map[dynamicconfig.Filter]interface{}) (map[string]interface{}, error)

GetMapValue mocks base method.

func (*MockClient) GetStringValue added in v1.2.1

func (m *MockClient) GetStringValue(name dynamicconfig.StringKey, filters map[dynamicconfig.Filter]interface{}) (string, error)

GetStringValue mocks base method.

func (*MockClient) GetValue added in v1.2.1

func (m *MockClient) GetValue(name dynamicconfig.Key) (interface{}, error)

GetValue mocks base method.

func (*MockClient) GetValueWithFilters added in v1.2.1

func (m *MockClient) GetValueWithFilters(name dynamicconfig.Key, filters map[dynamicconfig.Filter]interface{}) (interface{}, error)

GetValueWithFilters mocks base method.

func (*MockClient) ListValue added in v1.2.1

func (m *MockClient) ListValue(name dynamicconfig.Key) ([]*types.DynamicConfigEntry, error)

ListValue mocks base method.

func (*MockClient) RestoreValue added in v1.2.1

func (m *MockClient) RestoreValue(name dynamicconfig.Key, filters map[dynamicconfig.Filter]interface{}) error

RestoreValue mocks base method.

func (*MockClient) Start added in v1.2.1

func (m *MockClient) Start()

Start mocks base method.

func (*MockClient) Stop added in v1.2.1

func (m *MockClient) Stop()

Stop mocks base method.

func (*MockClient) UpdateValue added in v1.2.1

func (m *MockClient) UpdateValue(name dynamicconfig.Key, value interface{}) error

UpdateValue mocks base method.

type MockClientMockRecorder added in v1.2.1

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) GetBoolValue added in v1.2.1

func (mr *MockClientMockRecorder) GetBoolValue(name, filters interface{}) *gomock.Call

GetBoolValue indicates an expected call of GetBoolValue.

func (*MockClientMockRecorder) GetDurationValue added in v1.2.1

func (mr *MockClientMockRecorder) GetDurationValue(name, filters interface{}) *gomock.Call

GetDurationValue indicates an expected call of GetDurationValue.

func (*MockClientMockRecorder) GetFloatValue added in v1.2.1

func (mr *MockClientMockRecorder) GetFloatValue(name, filters interface{}) *gomock.Call

GetFloatValue indicates an expected call of GetFloatValue.

func (*MockClientMockRecorder) GetIntValue added in v1.2.1

func (mr *MockClientMockRecorder) GetIntValue(name, filters interface{}) *gomock.Call

GetIntValue indicates an expected call of GetIntValue.

func (*MockClientMockRecorder) GetListValue added in v1.2.1

func (mr *MockClientMockRecorder) GetListValue(name, filters interface{}) *gomock.Call

GetListValue indicates an expected call of GetListValue.

func (*MockClientMockRecorder) GetMapValue added in v1.2.1

func (mr *MockClientMockRecorder) GetMapValue(name, filters interface{}) *gomock.Call

GetMapValue indicates an expected call of GetMapValue.

func (*MockClientMockRecorder) GetStringValue added in v1.2.1

func (mr *MockClientMockRecorder) GetStringValue(name, filters interface{}) *gomock.Call

GetStringValue indicates an expected call of GetStringValue.

func (*MockClientMockRecorder) GetValue added in v1.2.1

func (mr *MockClientMockRecorder) GetValue(name interface{}) *gomock.Call

GetValue indicates an expected call of GetValue.

func (*MockClientMockRecorder) GetValueWithFilters added in v1.2.1

func (mr *MockClientMockRecorder) GetValueWithFilters(name, filters interface{}) *gomock.Call

GetValueWithFilters indicates an expected call of GetValueWithFilters.

func (*MockClientMockRecorder) ListValue added in v1.2.1

func (mr *MockClientMockRecorder) ListValue(name interface{}) *gomock.Call

ListValue indicates an expected call of ListValue.

func (*MockClientMockRecorder) RestoreValue added in v1.2.1

func (mr *MockClientMockRecorder) RestoreValue(name, filters interface{}) *gomock.Call

RestoreValue indicates an expected call of RestoreValue.

func (*MockClientMockRecorder) Start added in v1.2.1

func (mr *MockClientMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockClientMockRecorder) Stop added in v1.2.1

func (mr *MockClientMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

func (*MockClientMockRecorder) UpdateValue added in v1.2.1

func (mr *MockClientMockRecorder) UpdateValue(name, value interface{}) *gomock.Call

UpdateValue indicates an expected call of UpdateValue.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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