configstore

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 23 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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,
	metricsClient metrics.Client,
	configType persistence.ConfigType,
) (Client, error)

NewConfigStoreClient creates a config store client

func NewNopClient added in v1.4.1

func NewNopClient() Client

NewNopClient returns a Client whose reads return defaults and whose writes return "not supported".

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 dynamicproperties.BoolKey, filters map[dynamicproperties.Filter]any) (bool, error)

GetBoolValue mocks base method.

func (*MockClient) GetDurationValue added in v1.2.1

func (m *MockClient) GetDurationValue(name dynamicproperties.DurationKey, filters map[dynamicproperties.Filter]any) (time.Duration, error)

GetDurationValue mocks base method.

func (*MockClient) GetFloatValue added in v1.2.1

func (m *MockClient) GetFloatValue(name dynamicproperties.FloatKey, filters map[dynamicproperties.Filter]any) (float64, error)

GetFloatValue mocks base method.

func (*MockClient) GetIntValue added in v1.2.1

func (m *MockClient) GetIntValue(name dynamicproperties.IntKey, filters map[dynamicproperties.Filter]any) (int, error)

GetIntValue mocks base method.

func (*MockClient) GetListValue added in v1.2.1

func (m *MockClient) GetListValue(name dynamicproperties.ListKey, filters map[dynamicproperties.Filter]any) ([]any, error)

GetListValue mocks base method.

func (*MockClient) GetMapValue added in v1.2.1

func (m *MockClient) GetMapValue(name dynamicproperties.MapKey, filters map[dynamicproperties.Filter]any) (map[string]any, error)

GetMapValue mocks base method.

func (*MockClient) GetStringValue added in v1.2.1

func (m *MockClient) GetStringValue(name dynamicproperties.StringKey, filters map[dynamicproperties.Filter]any) (string, error)

GetStringValue mocks base method.

func (*MockClient) GetValue added in v1.2.1

func (m *MockClient) GetValue(name dynamicproperties.Key) (any, error)

GetValue mocks base method.

func (*MockClient) GetValueWithFilters added in v1.2.1

func (m *MockClient) GetValueWithFilters(name dynamicproperties.Key, filters map[dynamicproperties.Filter]any) (any, error)

GetValueWithFilters mocks base method.

func (*MockClient) ListValue added in v1.2.1

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

ListValue mocks base method.

func (*MockClient) RestoreValue added in v1.2.1

func (m *MockClient) RestoreValue(name dynamicproperties.Key, filters map[dynamicproperties.Filter]any) 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 dynamicproperties.Key, value any) 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 any) *gomock.Call

GetBoolValue indicates an expected call of GetBoolValue.

func (*MockClientMockRecorder) GetDurationValue added in v1.2.1

func (mr *MockClientMockRecorder) GetDurationValue(name, filters any) *gomock.Call

GetDurationValue indicates an expected call of GetDurationValue.

func (*MockClientMockRecorder) GetFloatValue added in v1.2.1

func (mr *MockClientMockRecorder) GetFloatValue(name, filters any) *gomock.Call

GetFloatValue indicates an expected call of GetFloatValue.

func (*MockClientMockRecorder) GetIntValue added in v1.2.1

func (mr *MockClientMockRecorder) GetIntValue(name, filters any) *gomock.Call

GetIntValue indicates an expected call of GetIntValue.

func (*MockClientMockRecorder) GetListValue added in v1.2.1

func (mr *MockClientMockRecorder) GetListValue(name, filters any) *gomock.Call

GetListValue indicates an expected call of GetListValue.

func (*MockClientMockRecorder) GetMapValue added in v1.2.1

func (mr *MockClientMockRecorder) GetMapValue(name, filters any) *gomock.Call

GetMapValue indicates an expected call of GetMapValue.

func (*MockClientMockRecorder) GetStringValue added in v1.2.1

func (mr *MockClientMockRecorder) GetStringValue(name, filters any) *gomock.Call

GetStringValue indicates an expected call of GetStringValue.

func (*MockClientMockRecorder) GetValue added in v1.2.1

func (mr *MockClientMockRecorder) GetValue(name any) *gomock.Call

GetValue indicates an expected call of GetValue.

func (*MockClientMockRecorder) GetValueWithFilters added in v1.2.1

func (mr *MockClientMockRecorder) GetValueWithFilters(name, filters any) *gomock.Call

GetValueWithFilters indicates an expected call of GetValueWithFilters.

func (*MockClientMockRecorder) ListValue added in v1.2.1

func (mr *MockClientMockRecorder) ListValue(name any) *gomock.Call

ListValue indicates an expected call of ListValue.

func (*MockClientMockRecorder) RestoreValue added in v1.2.1

func (mr *MockClientMockRecorder) RestoreValue(name, filters any) *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 any) *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