Documentation
¶
Overview ¶
Package mock_config is a generated GoMock package.
Index ¶
- type MockIConfig
- func (m *MockIConfig) AddParser(ext string, parser config.IConfigParser)
- func (m *MockIConfig) AddPath(path string)
- func (m *MockIConfig) CheckPath() error
- func (m *MockIConfig) EXPECT() *MockIConfigMockRecorder
- func (m *MockIConfig) Get(key string) interface{}
- func (m *MockIConfig) GetBool(key string, dft bool) bool
- func (m *MockIConfig) GetFloat(key string, dft float64) float64
- func (m *MockIConfig) GetInt(key string, dft int) int
- func (m *MockIConfig) GetSliceBool(key string) []bool
- func (m *MockIConfig) GetSliceFloat(key string) []float64
- func (m *MockIConfig) GetSliceInt(key string) []int
- func (m *MockIConfig) GetSliceString(key string) []string
- func (m *MockIConfig) GetString(key, dft string) string
- func (m *MockIConfig) Set(key string, val interface{})
- type MockIConfigMockRecorder
- func (mr *MockIConfigMockRecorder) AddParser(ext, parser interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) AddPath(path interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) CheckPath() *gomock.Call
- func (mr *MockIConfigMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) GetBool(key, dft interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) GetFloat(key, dft interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) GetInt(key, dft interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) GetSliceBool(key interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) GetSliceFloat(key interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) GetSliceInt(key interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) GetSliceString(key interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) GetString(key, dft interface{}) *gomock.Call
- func (mr *MockIConfigMockRecorder) Set(key, val interface{}) *gomock.Call
- type MockIConfigParser
- type MockIConfigParserMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIConfig ¶
type MockIConfig struct {
// contains filtered or unexported fields
}
MockIConfig is a mock of IConfig interface
func NewMockIConfig ¶
func NewMockIConfig(ctrl *gomock.Controller) *MockIConfig
NewMockIConfig creates a new mock instance
func (*MockIConfig) AddParser ¶
func (m *MockIConfig) AddParser(ext string, parser config.IConfigParser)
AddParser mocks base method
func (*MockIConfig) EXPECT ¶
func (m *MockIConfig) EXPECT() *MockIConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIConfig) GetBool ¶
func (m *MockIConfig) GetBool(key string, dft bool) bool
GetBool mocks base method
func (*MockIConfig) GetFloat ¶
func (m *MockIConfig) GetFloat(key string, dft float64) float64
GetFloat mocks base method
func (*MockIConfig) GetInt ¶
func (m *MockIConfig) GetInt(key string, dft int) int
GetInt mocks base method
func (*MockIConfig) GetSliceBool ¶
func (m *MockIConfig) GetSliceBool(key string) []bool
GetSliceBool mocks base method
func (*MockIConfig) GetSliceFloat ¶
func (m *MockIConfig) GetSliceFloat(key string) []float64
GetSliceFloat mocks base method
func (*MockIConfig) GetSliceInt ¶
func (m *MockIConfig) GetSliceInt(key string) []int
GetSliceInt mocks base method
func (*MockIConfig) GetSliceString ¶
func (m *MockIConfig) GetSliceString(key string) []string
GetSliceString mocks base method
func (*MockIConfig) GetString ¶
func (m *MockIConfig) GetString(key, dft string) string
GetString mocks base method
func (*MockIConfig) Set ¶
func (m *MockIConfig) Set(key string, val interface{})
Set mocks base method
type MockIConfigMockRecorder ¶
type MockIConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockIConfigMockRecorder is the mock recorder for MockIConfig
func (*MockIConfigMockRecorder) AddParser ¶
func (mr *MockIConfigMockRecorder) AddParser(ext, parser interface{}) *gomock.Call
AddParser indicates an expected call of AddParser
func (*MockIConfigMockRecorder) AddPath ¶
func (mr *MockIConfigMockRecorder) AddPath(path interface{}) *gomock.Call
AddPath indicates an expected call of AddPath
func (*MockIConfigMockRecorder) CheckPath ¶
func (mr *MockIConfigMockRecorder) CheckPath() *gomock.Call
CheckPath indicates an expected call of CheckPath
func (*MockIConfigMockRecorder) Get ¶
func (mr *MockIConfigMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockIConfigMockRecorder) GetBool ¶
func (mr *MockIConfigMockRecorder) GetBool(key, dft interface{}) *gomock.Call
GetBool indicates an expected call of GetBool
func (*MockIConfigMockRecorder) GetFloat ¶
func (mr *MockIConfigMockRecorder) GetFloat(key, dft interface{}) *gomock.Call
GetFloat indicates an expected call of GetFloat
func (*MockIConfigMockRecorder) GetInt ¶
func (mr *MockIConfigMockRecorder) GetInt(key, dft interface{}) *gomock.Call
GetInt indicates an expected call of GetInt
func (*MockIConfigMockRecorder) GetSliceBool ¶
func (mr *MockIConfigMockRecorder) GetSliceBool(key interface{}) *gomock.Call
GetSliceBool indicates an expected call of GetSliceBool
func (*MockIConfigMockRecorder) GetSliceFloat ¶
func (mr *MockIConfigMockRecorder) GetSliceFloat(key interface{}) *gomock.Call
GetSliceFloat indicates an expected call of GetSliceFloat
func (*MockIConfigMockRecorder) GetSliceInt ¶
func (mr *MockIConfigMockRecorder) GetSliceInt(key interface{}) *gomock.Call
GetSliceInt indicates an expected call of GetSliceInt
func (*MockIConfigMockRecorder) GetSliceString ¶
func (mr *MockIConfigMockRecorder) GetSliceString(key interface{}) *gomock.Call
GetSliceString indicates an expected call of GetSliceString
func (*MockIConfigMockRecorder) GetString ¶
func (mr *MockIConfigMockRecorder) GetString(key, dft interface{}) *gomock.Call
GetString indicates an expected call of GetString
func (*MockIConfigMockRecorder) Set ¶
func (mr *MockIConfigMockRecorder) Set(key, val interface{}) *gomock.Call
Set indicates an expected call of Set
type MockIConfigParser ¶
type MockIConfigParser struct {
// contains filtered or unexported fields
}
MockIConfigParser is a mock of IConfigParser interface
func NewMockIConfigParser ¶
func NewMockIConfigParser(ctrl *gomock.Controller) *MockIConfigParser
NewMockIConfigParser creates a new mock instance
func (*MockIConfigParser) EXPECT ¶
func (m *MockIConfigParser) EXPECT() *MockIConfigParserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockIConfigParserMockRecorder ¶
type MockIConfigParserMockRecorder struct {
// contains filtered or unexported fields
}
MockIConfigParserMockRecorder is the mock recorder for MockIConfigParser
func (*MockIConfigParserMockRecorder) Parse ¶
func (mr *MockIConfigParserMockRecorder) Parse(path interface{}) *gomock.Call
Parse indicates an expected call of Parse