Documentation
¶
Overview ¶
Package mock_configs is a generated GoMock package.
Index ¶
- type MockIClient
- func (m *MockIClient) BatchGet(kind string, keys ...string) map[string]string
- func (m *MockIClient) EXPECT() *MockIClientMockRecorder
- func (m *MockIClient) Get(kind, key string) string
- func (m *MockIClient) MonitorChange(kind, key string, fn configs.ConfigChangeCallback)
- func (m *MockIClient) Name() string
- type MockIClientMockRecorder
- func (mr *MockIClientMockRecorder) BatchGet(kind interface{}, keys ...interface{}) *gomock.Call
- func (mr *MockIClientMockRecorder) Get(kind, key interface{}) *gomock.Call
- func (mr *MockIClientMockRecorder) MonitorChange(kind, key, fn interface{}) *gomock.Call
- func (mr *MockIClientMockRecorder) Name() *gomock.Call
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) MonitorChange ¶
func (m *MockIClient) MonitorChange(kind, key string, fn configs.ConfigChangeCallback)
MonitorChange 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.
Click to show internal directories.
Click to hide internal directories.