Documentation ¶
Overview ¶
Package mock_cfg is a generated GoMock package.
Index ¶
- type MockBuilder
- func (m *MockBuilder) AddExtraConfigFile(path string) cfg.Builder
- func (m *MockBuilder) Build() (cfg.Config, error)
- func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder
- func (m *MockBuilder) SetConfigFile(path string) cfg.Builder
- func (m *MockBuilder) SetEnvDelimiterReplacer(from, to string) cfg.Builder
- type MockBuilderMockRecorder
- func (mr *MockBuilderMockRecorder) AddExtraConfigFile(path interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) Build() *gomock.Call
- func (mr *MockBuilderMockRecorder) SetConfigFile(path interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) SetEnvDelimiterReplacer(from, to interface{}) *gomock.Call
- type MockConfig
- type MockConfigMockRecorder
- type MockValue
- func (m *MockValue) Bool() bool
- func (m *MockValue) Duration() time.Duration
- func (m *MockValue) EXPECT() *MockValueMockRecorder
- func (m *MockValue) Float64() float64
- func (m *MockValue) Int() int
- func (m *MockValue) Int32() int32
- func (m *MockValue) Int64() int64
- func (m *MockValue) IntSlice() []int
- func (m *MockValue) IsSet() bool
- func (m *MockValue) Raw() interface{}
- func (m *MockValue) String() string
- func (m *MockValue) StringMap() map[string]interface{}
- func (m *MockValue) StringMapString() map[string]string
- func (m *MockValue) StringMapStringSlice() map[string][]string
- func (m *MockValue) StringSlice() []string
- func (m *MockValue) Time() time.Time
- func (m *MockValue) Uint() uint
- func (m *MockValue) Uint32() uint32
- func (m *MockValue) Uint64() uint64
- func (m *MockValue) Unmarshal(result interface{}) error
- type MockValueMockRecorder
- func (mr *MockValueMockRecorder) Bool() *gomock.Call
- func (mr *MockValueMockRecorder) Duration() *gomock.Call
- func (mr *MockValueMockRecorder) Float64() *gomock.Call
- func (mr *MockValueMockRecorder) Int() *gomock.Call
- func (mr *MockValueMockRecorder) Int32() *gomock.Call
- func (mr *MockValueMockRecorder) Int64() *gomock.Call
- func (mr *MockValueMockRecorder) IntSlice() *gomock.Call
- func (mr *MockValueMockRecorder) IsSet() *gomock.Call
- func (mr *MockValueMockRecorder) Raw() *gomock.Call
- func (mr *MockValueMockRecorder) String() *gomock.Call
- func (mr *MockValueMockRecorder) StringMap() *gomock.Call
- func (mr *MockValueMockRecorder) StringMapString() *gomock.Call
- func (mr *MockValueMockRecorder) StringMapStringSlice() *gomock.Call
- func (mr *MockValueMockRecorder) StringSlice() *gomock.Call
- func (mr *MockValueMockRecorder) Time() *gomock.Call
- func (mr *MockValueMockRecorder) Uint() *gomock.Call
- func (mr *MockValueMockRecorder) Uint32() *gomock.Call
- func (mr *MockValueMockRecorder) Uint64() *gomock.Call
- func (mr *MockValueMockRecorder) Unmarshal(result interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBuilder ¶
type MockBuilder struct {
// contains filtered or unexported fields
}
MockBuilder is a mock of Builder interface.
func NewMockBuilder ¶
func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder
NewMockBuilder creates a new mock instance.
func (*MockBuilder) AddExtraConfigFile ¶
func (m *MockBuilder) AddExtraConfigFile(path string) cfg.Builder
AddExtraConfigFile mocks base method.
func (*MockBuilder) Build ¶
func (m *MockBuilder) Build() (cfg.Config, error)
Build mocks base method.
func (*MockBuilder) EXPECT ¶
func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBuilder) SetConfigFile ¶
func (m *MockBuilder) SetConfigFile(path string) cfg.Builder
SetConfigFile mocks base method.
func (*MockBuilder) SetEnvDelimiterReplacer ¶
func (m *MockBuilder) SetEnvDelimiterReplacer(from, to string) cfg.Builder
SetEnvDelimiterReplacer mocks base method.
type MockBuilderMockRecorder ¶
type MockBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockBuilderMockRecorder is the mock recorder for MockBuilder.
func (*MockBuilderMockRecorder) AddExtraConfigFile ¶
func (mr *MockBuilderMockRecorder) AddExtraConfigFile(path interface{}) *gomock.Call
AddExtraConfigFile indicates an expected call of AddExtraConfigFile.
func (*MockBuilderMockRecorder) Build ¶
func (mr *MockBuilderMockRecorder) Build() *gomock.Call
Build indicates an expected call of Build.
func (*MockBuilderMockRecorder) SetConfigFile ¶
func (mr *MockBuilderMockRecorder) SetConfigFile(path interface{}) *gomock.Call
SetConfigFile indicates an expected call of SetConfigFile.
func (*MockBuilderMockRecorder) SetEnvDelimiterReplacer ¶
func (mr *MockBuilderMockRecorder) SetEnvDelimiterReplacer(from, to interface{}) *gomock.Call
SetEnvDelimiterReplacer indicates an expected call of SetEnvDelimiterReplacer.
type MockConfig ¶
type MockConfig struct {
// contains filtered or unexported fields
}
MockConfig is a mock of Config interface.
func NewMockConfig ¶
func NewMockConfig(ctrl *gomock.Controller) *MockConfig
NewMockConfig creates a new mock instance.
func (*MockConfig) EXPECT ¶
func (m *MockConfig) EXPECT() *MockConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfig) Implementation ¶
func (m *MockConfig) Implementation() interface{}
Implementation mocks base method.
func (*MockConfig) Set ¶
func (m *MockConfig) Set(key string, value interface{})
Set mocks base method.
type MockConfigMockRecorder ¶
type MockConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigMockRecorder is the mock recorder for MockConfig.
func (*MockConfigMockRecorder) Get ¶
func (mr *MockConfigMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockConfigMockRecorder) Implementation ¶
func (mr *MockConfigMockRecorder) Implementation() *gomock.Call
Implementation indicates an expected call of Implementation.
func (*MockConfigMockRecorder) Map ¶
func (mr *MockConfigMockRecorder) Map() *gomock.Call
Map indicates an expected call of Map.
func (*MockConfigMockRecorder) Set ¶
func (mr *MockConfigMockRecorder) Set(key, value interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockValue ¶
type MockValue struct {
// contains filtered or unexported fields
}
MockValue is a mock of Value interface.
func NewMockValue ¶
func NewMockValue(ctrl *gomock.Controller) *MockValue
NewMockValue creates a new mock instance.
func (*MockValue) EXPECT ¶
func (m *MockValue) EXPECT() *MockValueMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValue) StringMapString ¶
StringMapString mocks base method.
func (*MockValue) StringMapStringSlice ¶
StringMapStringSlice mocks base method.
func (*MockValue) StringSlice ¶
StringSlice mocks base method.
type MockValueMockRecorder ¶
type MockValueMockRecorder struct {
// contains filtered or unexported fields
}
MockValueMockRecorder is the mock recorder for MockValue.
func (*MockValueMockRecorder) Bool ¶
func (mr *MockValueMockRecorder) Bool() *gomock.Call
Bool indicates an expected call of Bool.
func (*MockValueMockRecorder) Duration ¶
func (mr *MockValueMockRecorder) Duration() *gomock.Call
Duration indicates an expected call of Duration.
func (*MockValueMockRecorder) Float64 ¶
func (mr *MockValueMockRecorder) Float64() *gomock.Call
Float64 indicates an expected call of Float64.
func (*MockValueMockRecorder) Int ¶
func (mr *MockValueMockRecorder) Int() *gomock.Call
Int indicates an expected call of Int.
func (*MockValueMockRecorder) Int32 ¶
func (mr *MockValueMockRecorder) Int32() *gomock.Call
Int32 indicates an expected call of Int32.
func (*MockValueMockRecorder) Int64 ¶
func (mr *MockValueMockRecorder) Int64() *gomock.Call
Int64 indicates an expected call of Int64.
func (*MockValueMockRecorder) IntSlice ¶
func (mr *MockValueMockRecorder) IntSlice() *gomock.Call
IntSlice indicates an expected call of IntSlice.
func (*MockValueMockRecorder) IsSet ¶
func (mr *MockValueMockRecorder) IsSet() *gomock.Call
IsSet indicates an expected call of IsSet.
func (*MockValueMockRecorder) Raw ¶
func (mr *MockValueMockRecorder) Raw() *gomock.Call
Raw indicates an expected call of Raw.
func (*MockValueMockRecorder) String ¶
func (mr *MockValueMockRecorder) String() *gomock.Call
String indicates an expected call of String.
func (*MockValueMockRecorder) StringMap ¶
func (mr *MockValueMockRecorder) StringMap() *gomock.Call
StringMap indicates an expected call of StringMap.
func (*MockValueMockRecorder) StringMapString ¶
func (mr *MockValueMockRecorder) StringMapString() *gomock.Call
StringMapString indicates an expected call of StringMapString.
func (*MockValueMockRecorder) StringMapStringSlice ¶
func (mr *MockValueMockRecorder) StringMapStringSlice() *gomock.Call
StringMapStringSlice indicates an expected call of StringMapStringSlice.
func (*MockValueMockRecorder) StringSlice ¶
func (mr *MockValueMockRecorder) StringSlice() *gomock.Call
StringSlice indicates an expected call of StringSlice.
func (*MockValueMockRecorder) Time ¶
func (mr *MockValueMockRecorder) Time() *gomock.Call
Time indicates an expected call of Time.
func (*MockValueMockRecorder) Uint ¶
func (mr *MockValueMockRecorder) Uint() *gomock.Call
Uint indicates an expected call of Uint.
func (*MockValueMockRecorder) Uint32 ¶
func (mr *MockValueMockRecorder) Uint32() *gomock.Call
Uint32 indicates an expected call of Uint32.
func (*MockValueMockRecorder) Uint64 ¶
func (mr *MockValueMockRecorder) Uint64() *gomock.Call
Uint64 indicates an expected call of Uint64.
func (*MockValueMockRecorder) Unmarshal ¶
func (mr *MockValueMockRecorder) Unmarshal(result interface{}) *gomock.Call
Unmarshal indicates an expected call of Unmarshal.