Documentation ¶
Overview ¶
Package mock_config is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AllSettings() map[string]interface{}
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Get(key string) interface{}
- func (m *MockInterface) GetBool(key string) bool
- func (m *MockInterface) GetInt(key string) int
- func (m *MockInterface) GetString(key string) string
- func (m *MockInterface) GetStringSlice(key string) []string
- func (m *MockInterface) Init() error
- func (m *MockInterface) IsSet(key string) bool
- func (m *MockInterface) MergeConfigMap(cfg map[string]interface{}) error
- func (m *MockInterface) ReadConfig(configFilePath string) error
- func (m *MockInterface) Set(key string, value interface{})
- func (m *MockInterface) SetDefault(key string, value interface{})
- func (m *MockInterface) UnmarshalKey(key string, rawVal interface{}, decoder ...viper.DecoderConfigOption) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AllSettings() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetBool(key interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetInt(key interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetString(key interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetStringSlice(key interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Init() *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsSet(key interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) MergeConfigMap(cfg interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ReadConfig(configFilePath interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Set(key, value interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetDefault(key, value interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UnmarshalKey(key, rawVal interface{}, decoder ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) AllSettings ¶
func (m *MockInterface) AllSettings() map[string]interface{}
AllSettings mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Get ¶
func (m *MockInterface) Get(key string) interface{}
Get mocks base method.
func (*MockInterface) GetBool ¶
func (m *MockInterface) GetBool(key string) bool
GetBool mocks base method.
func (*MockInterface) GetInt ¶
func (m *MockInterface) GetInt(key string) int
GetInt mocks base method.
func (*MockInterface) GetString ¶
func (m *MockInterface) GetString(key string) string
GetString mocks base method.
func (*MockInterface) GetStringSlice ¶
func (m *MockInterface) GetStringSlice(key string) []string
GetStringSlice mocks base method.
func (*MockInterface) IsSet ¶
func (m *MockInterface) IsSet(key string) bool
IsSet mocks base method.
func (*MockInterface) MergeConfigMap ¶
func (m *MockInterface) MergeConfigMap(cfg map[string]interface{}) error
MergeConfigMap mocks base method.
func (*MockInterface) ReadConfig ¶
func (m *MockInterface) ReadConfig(configFilePath string) error
ReadConfig mocks base method.
func (*MockInterface) Set ¶
func (m *MockInterface) Set(key string, value interface{})
Set mocks base method.
func (*MockInterface) SetDefault ¶
func (m *MockInterface) SetDefault(key string, value interface{})
SetDefault mocks base method.
func (*MockInterface) UnmarshalKey ¶
func (m *MockInterface) UnmarshalKey(key string, rawVal interface{}, decoder ...viper.DecoderConfigOption) error
UnmarshalKey mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) AllSettings ¶
func (mr *MockInterfaceMockRecorder) AllSettings() *gomock.Call
AllSettings indicates an expected call of AllSettings.
func (*MockInterfaceMockRecorder) Get ¶
func (mr *MockInterfaceMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockInterfaceMockRecorder) GetBool ¶
func (mr *MockInterfaceMockRecorder) GetBool(key interface{}) *gomock.Call
GetBool indicates an expected call of GetBool.
func (*MockInterfaceMockRecorder) GetInt ¶
func (mr *MockInterfaceMockRecorder) GetInt(key interface{}) *gomock.Call
GetInt indicates an expected call of GetInt.
func (*MockInterfaceMockRecorder) GetString ¶
func (mr *MockInterfaceMockRecorder) GetString(key interface{}) *gomock.Call
GetString indicates an expected call of GetString.
func (*MockInterfaceMockRecorder) GetStringSlice ¶
func (mr *MockInterfaceMockRecorder) GetStringSlice(key interface{}) *gomock.Call
GetStringSlice indicates an expected call of GetStringSlice.
func (*MockInterfaceMockRecorder) Init ¶
func (mr *MockInterfaceMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init.
func (*MockInterfaceMockRecorder) IsSet ¶
func (mr *MockInterfaceMockRecorder) IsSet(key interface{}) *gomock.Call
IsSet indicates an expected call of IsSet.
func (*MockInterfaceMockRecorder) MergeConfigMap ¶
func (mr *MockInterfaceMockRecorder) MergeConfigMap(cfg interface{}) *gomock.Call
MergeConfigMap indicates an expected call of MergeConfigMap.
func (*MockInterfaceMockRecorder) ReadConfig ¶
func (mr *MockInterfaceMockRecorder) ReadConfig(configFilePath interface{}) *gomock.Call
ReadConfig indicates an expected call of ReadConfig.
func (*MockInterfaceMockRecorder) Set ¶
func (mr *MockInterfaceMockRecorder) Set(key, value interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockInterfaceMockRecorder) SetDefault ¶
func (mr *MockInterfaceMockRecorder) SetDefault(key, value interface{}) *gomock.Call
SetDefault indicates an expected call of SetDefault.
func (*MockInterfaceMockRecorder) UnmarshalKey ¶
func (mr *MockInterfaceMockRecorder) UnmarshalKey(key, rawVal interface{}, decoder ...interface{}) *gomock.Call
UnmarshalKey indicates an expected call of UnmarshalKey.