mock_configs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_configs is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIClient

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

MockIClient is a mock of IClient interface.

func NewMockIClient

func NewMockIClient(ctrl *gomock.Controller) *MockIClient

NewMockIClient creates a new mock instance.

func (*MockIClient) BatchGet

func (m *MockIClient) BatchGet(kind string, keys ...string) map[string]string

BatchGet mocks base method.

func (*MockIClient) EXPECT

func (m *MockIClient) EXPECT() *MockIClientMockRecorder

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

func (*MockIClient) Get

func (m *MockIClient) Get(kind, key string) string

Get mocks base method.

func (*MockIClient) MonitorChange

func (m *MockIClient) MonitorChange(kind, key string, fn configs.ConfigChangeCallback)

MonitorChange mocks base method.

func (*MockIClient) Name

func (m *MockIClient) Name() string

Name mocks base method.

type MockIClientMockRecorder

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

MockIClientMockRecorder is the mock recorder for MockIClient.

func (*MockIClientMockRecorder) BatchGet

func (mr *MockIClientMockRecorder) BatchGet(kind interface{}, keys ...interface{}) *gomock.Call

BatchGet indicates an expected call of BatchGet.

func (*MockIClientMockRecorder) Get

func (mr *MockIClientMockRecorder) Get(kind, key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIClientMockRecorder) MonitorChange

func (mr *MockIClientMockRecorder) MonitorChange(kind, key, fn interface{}) *gomock.Call

MonitorChange indicates an expected call of MonitorChange.

func (*MockIClientMockRecorder) Name

func (mr *MockIClientMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

Jump to

Keyboard shortcuts

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