Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: src/assistant/configuration/global-config.go
Generated by this command:
mockgen -destination src/assistant/mocks/mock-global-viper-config.go -package mocks -source src/assistant/configuration/global-config.go -mock_names ViperConfig=MockViperConfig
Package mocks is a generated GoMock package.
Index ¶
- type MockViperConfig
- func (m *MockViperConfig) AddConfigPath(in string)
- func (m *MockViperConfig) AutomaticEnv()
- func (m *MockViperConfig) BindFlagValue(key string, flag viper.FlagValue) error
- func (m *MockViperConfig) BindFlagValues(flags viper.FlagValueSet) error
- func (m *MockViperConfig) BindPFlag(key string, flag *pflag.Flag) error
- func (m *MockViperConfig) ConfigFileUsed() string
- func (m *MockViperConfig) EXPECT() *MockViperConfigMockRecorder
- func (m *MockViperConfig) Get(key string) any
- func (m *MockViperConfig) GetBool(key string) bool
- func (m *MockViperConfig) GetDuration(key string) time.Duration
- func (m *MockViperConfig) GetFloat64(key string) float64
- func (m *MockViperConfig) GetInt(key string) int
- func (m *MockViperConfig) GetInt32(key string) int32
- func (m *MockViperConfig) GetInt64(key string) int64
- func (m *MockViperConfig) GetIntSlice(key string) []int
- func (m *MockViperConfig) GetSizeInBytes(key string) uint
- func (m *MockViperConfig) GetString(key string) string
- func (m *MockViperConfig) GetStringMap(key string) map[string]any
- func (m *MockViperConfig) GetStringMapString(key string) map[string]string
- func (m *MockViperConfig) GetStringMapStringSlice(key string) map[string][]string
- func (m *MockViperConfig) GetStringSlice(key string) []string
- func (m *MockViperConfig) GetTime(key string) time.Time
- func (m *MockViperConfig) GetUint(key string) uint
- func (m *MockViperConfig) GetUint16(key string) uint16
- func (m *MockViperConfig) GetUint32(key string) uint32
- func (m *MockViperConfig) GetUint64(key string) uint64
- func (m *MockViperConfig) InConfig(key string) bool
- func (m *MockViperConfig) ReadInConfig() error
- func (m *MockViperConfig) SetConfigFile(in string)
- func (m *MockViperConfig) SetConfigName(in string)
- func (m *MockViperConfig) SetConfigType(in string)
- func (m *MockViperConfig) SetTypeByDefaultValue(enable bool)
- func (m *MockViperConfig) Sub(key string) *viper.Viper
- func (m *MockViperConfig) Unmarshal(rawVal any, opts ...viper.DecoderConfigOption) error
- func (m *MockViperConfig) UnmarshalExact(rawVal any, opts ...viper.DecoderConfigOption) error
- func (m *MockViperConfig) UnmarshalKey(key string, rawVal any, opts ...viper.DecoderConfigOption) error
- type MockViperConfigMockRecorder
- func (mr *MockViperConfigMockRecorder) AddConfigPath(in any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) AutomaticEnv() *gomock.Call
- func (mr *MockViperConfigMockRecorder) BindFlagValue(key, flag any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) BindFlagValues(flags any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) BindPFlag(key, flag any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) ConfigFileUsed() *gomock.Call
- func (mr *MockViperConfigMockRecorder) Get(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetBool(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetDuration(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetFloat64(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetInt(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetInt32(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetInt64(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetIntSlice(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetSizeInBytes(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetString(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetStringMap(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetStringMapString(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetStringMapStringSlice(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetStringSlice(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetTime(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetUint(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetUint16(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetUint32(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) GetUint64(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) InConfig(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) ReadInConfig() *gomock.Call
- func (mr *MockViperConfigMockRecorder) SetConfigFile(in any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) SetConfigName(in any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) SetConfigType(in any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) SetTypeByDefaultValue(enable any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) Sub(key any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) Unmarshal(rawVal any, opts ...any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) UnmarshalExact(rawVal any, opts ...any) *gomock.Call
- func (mr *MockViperConfigMockRecorder) UnmarshalKey(key, rawVal any, opts ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockViperConfig ¶
type MockViperConfig struct {
// contains filtered or unexported fields
}
MockViperConfig is a mock of ViperConfig interface.
func NewMockViperConfig ¶
func NewMockViperConfig(ctrl *gomock.Controller) *MockViperConfig
NewMockViperConfig creates a new mock instance.
func (*MockViperConfig) AddConfigPath ¶
func (m *MockViperConfig) AddConfigPath(in string)
AddConfigPath mocks base method.
func (*MockViperConfig) AutomaticEnv ¶
func (m *MockViperConfig) AutomaticEnv()
AutomaticEnv mocks base method.
func (*MockViperConfig) BindFlagValue ¶
func (m *MockViperConfig) BindFlagValue(key string, flag viper.FlagValue) error
BindFlagValue mocks base method.
func (*MockViperConfig) BindFlagValues ¶
func (m *MockViperConfig) BindFlagValues(flags viper.FlagValueSet) error
BindFlagValues mocks base method.
func (*MockViperConfig) BindPFlag ¶
func (m *MockViperConfig) BindPFlag(key string, flag *pflag.Flag) error
BindPFlag mocks base method.
func (*MockViperConfig) ConfigFileUsed ¶
func (m *MockViperConfig) ConfigFileUsed() string
ConfigFileUsed mocks base method.
func (*MockViperConfig) EXPECT ¶
func (m *MockViperConfig) EXPECT() *MockViperConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockViperConfig) GetBool ¶
func (m *MockViperConfig) GetBool(key string) bool
GetBool mocks base method.
func (*MockViperConfig) GetDuration ¶
func (m *MockViperConfig) GetDuration(key string) time.Duration
GetDuration mocks base method.
func (*MockViperConfig) GetFloat64 ¶
func (m *MockViperConfig) GetFloat64(key string) float64
GetFloat64 mocks base method.
func (*MockViperConfig) GetInt ¶
func (m *MockViperConfig) GetInt(key string) int
GetInt mocks base method.
func (*MockViperConfig) GetInt32 ¶
func (m *MockViperConfig) GetInt32(key string) int32
GetInt32 mocks base method.
func (*MockViperConfig) GetInt64 ¶
func (m *MockViperConfig) GetInt64(key string) int64
GetInt64 mocks base method.
func (*MockViperConfig) GetIntSlice ¶
func (m *MockViperConfig) GetIntSlice(key string) []int
GetIntSlice mocks base method.
func (*MockViperConfig) GetSizeInBytes ¶
func (m *MockViperConfig) GetSizeInBytes(key string) uint
GetSizeInBytes mocks base method.
func (*MockViperConfig) GetString ¶
func (m *MockViperConfig) GetString(key string) string
GetString mocks base method.
func (*MockViperConfig) GetStringMap ¶
func (m *MockViperConfig) GetStringMap(key string) map[string]any
GetStringMap mocks base method.
func (*MockViperConfig) GetStringMapString ¶
func (m *MockViperConfig) GetStringMapString(key string) map[string]string
GetStringMapString mocks base method.
func (*MockViperConfig) GetStringMapStringSlice ¶
func (m *MockViperConfig) GetStringMapStringSlice(key string) map[string][]string
GetStringMapStringSlice mocks base method.
func (*MockViperConfig) GetStringSlice ¶
func (m *MockViperConfig) GetStringSlice(key string) []string
GetStringSlice mocks base method.
func (*MockViperConfig) GetTime ¶
func (m *MockViperConfig) GetTime(key string) time.Time
GetTime mocks base method.
func (*MockViperConfig) GetUint ¶
func (m *MockViperConfig) GetUint(key string) uint
GetUint mocks base method.
func (*MockViperConfig) GetUint16 ¶
func (m *MockViperConfig) GetUint16(key string) uint16
GetUint16 mocks base method.
func (*MockViperConfig) GetUint32 ¶
func (m *MockViperConfig) GetUint32(key string) uint32
GetUint32 mocks base method.
func (*MockViperConfig) GetUint64 ¶
func (m *MockViperConfig) GetUint64(key string) uint64
GetUint64 mocks base method.
func (*MockViperConfig) InConfig ¶
func (m *MockViperConfig) InConfig(key string) bool
InConfig mocks base method.
func (*MockViperConfig) ReadInConfig ¶
func (m *MockViperConfig) ReadInConfig() error
ReadInConfig mocks base method.
func (*MockViperConfig) SetConfigFile ¶
func (m *MockViperConfig) SetConfigFile(in string)
SetConfigFile mocks base method.
func (*MockViperConfig) SetConfigName ¶
func (m *MockViperConfig) SetConfigName(in string)
SetConfigName mocks base method.
func (*MockViperConfig) SetConfigType ¶
func (m *MockViperConfig) SetConfigType(in string)
SetConfigType mocks base method.
func (*MockViperConfig) SetTypeByDefaultValue ¶
func (m *MockViperConfig) SetTypeByDefaultValue(enable bool)
SetTypeByDefaultValue mocks base method.
func (*MockViperConfig) Sub ¶
func (m *MockViperConfig) Sub(key string) *viper.Viper
Sub mocks base method.
func (*MockViperConfig) Unmarshal ¶
func (m *MockViperConfig) Unmarshal(rawVal any, opts ...viper.DecoderConfigOption) error
Unmarshal mocks base method.
func (*MockViperConfig) UnmarshalExact ¶
func (m *MockViperConfig) UnmarshalExact(rawVal any, opts ...viper.DecoderConfigOption) error
UnmarshalExact mocks base method.
func (*MockViperConfig) UnmarshalKey ¶
func (m *MockViperConfig) UnmarshalKey(key string, rawVal any, opts ...viper.DecoderConfigOption) error
UnmarshalKey mocks base method.
type MockViperConfigMockRecorder ¶
type MockViperConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockViperConfigMockRecorder is the mock recorder for MockViperConfig.
func (*MockViperConfigMockRecorder) AddConfigPath ¶
func (mr *MockViperConfigMockRecorder) AddConfigPath(in any) *gomock.Call
AddConfigPath indicates an expected call of AddConfigPath.
func (*MockViperConfigMockRecorder) AutomaticEnv ¶
func (mr *MockViperConfigMockRecorder) AutomaticEnv() *gomock.Call
AutomaticEnv indicates an expected call of AutomaticEnv.
func (*MockViperConfigMockRecorder) BindFlagValue ¶
func (mr *MockViperConfigMockRecorder) BindFlagValue(key, flag any) *gomock.Call
BindFlagValue indicates an expected call of BindFlagValue.
func (*MockViperConfigMockRecorder) BindFlagValues ¶
func (mr *MockViperConfigMockRecorder) BindFlagValues(flags any) *gomock.Call
BindFlagValues indicates an expected call of BindFlagValues.
func (*MockViperConfigMockRecorder) BindPFlag ¶
func (mr *MockViperConfigMockRecorder) BindPFlag(key, flag any) *gomock.Call
BindPFlag indicates an expected call of BindPFlag.
func (*MockViperConfigMockRecorder) ConfigFileUsed ¶
func (mr *MockViperConfigMockRecorder) ConfigFileUsed() *gomock.Call
ConfigFileUsed indicates an expected call of ConfigFileUsed.
func (*MockViperConfigMockRecorder) Get ¶
func (mr *MockViperConfigMockRecorder) Get(key any) *gomock.Call
Get indicates an expected call of Get.
func (*MockViperConfigMockRecorder) GetBool ¶
func (mr *MockViperConfigMockRecorder) GetBool(key any) *gomock.Call
GetBool indicates an expected call of GetBool.
func (*MockViperConfigMockRecorder) GetDuration ¶
func (mr *MockViperConfigMockRecorder) GetDuration(key any) *gomock.Call
GetDuration indicates an expected call of GetDuration.
func (*MockViperConfigMockRecorder) GetFloat64 ¶
func (mr *MockViperConfigMockRecorder) GetFloat64(key any) *gomock.Call
GetFloat64 indicates an expected call of GetFloat64.
func (*MockViperConfigMockRecorder) GetInt ¶
func (mr *MockViperConfigMockRecorder) GetInt(key any) *gomock.Call
GetInt indicates an expected call of GetInt.
func (*MockViperConfigMockRecorder) GetInt32 ¶
func (mr *MockViperConfigMockRecorder) GetInt32(key any) *gomock.Call
GetInt32 indicates an expected call of GetInt32.
func (*MockViperConfigMockRecorder) GetInt64 ¶
func (mr *MockViperConfigMockRecorder) GetInt64(key any) *gomock.Call
GetInt64 indicates an expected call of GetInt64.
func (*MockViperConfigMockRecorder) GetIntSlice ¶
func (mr *MockViperConfigMockRecorder) GetIntSlice(key any) *gomock.Call
GetIntSlice indicates an expected call of GetIntSlice.
func (*MockViperConfigMockRecorder) GetSizeInBytes ¶
func (mr *MockViperConfigMockRecorder) GetSizeInBytes(key any) *gomock.Call
GetSizeInBytes indicates an expected call of GetSizeInBytes.
func (*MockViperConfigMockRecorder) GetString ¶
func (mr *MockViperConfigMockRecorder) GetString(key any) *gomock.Call
GetString indicates an expected call of GetString.
func (*MockViperConfigMockRecorder) GetStringMap ¶
func (mr *MockViperConfigMockRecorder) GetStringMap(key any) *gomock.Call
GetStringMap indicates an expected call of GetStringMap.
func (*MockViperConfigMockRecorder) GetStringMapString ¶
func (mr *MockViperConfigMockRecorder) GetStringMapString(key any) *gomock.Call
GetStringMapString indicates an expected call of GetStringMapString.
func (*MockViperConfigMockRecorder) GetStringMapStringSlice ¶
func (mr *MockViperConfigMockRecorder) GetStringMapStringSlice(key any) *gomock.Call
GetStringMapStringSlice indicates an expected call of GetStringMapStringSlice.
func (*MockViperConfigMockRecorder) GetStringSlice ¶
func (mr *MockViperConfigMockRecorder) GetStringSlice(key any) *gomock.Call
GetStringSlice indicates an expected call of GetStringSlice.
func (*MockViperConfigMockRecorder) GetTime ¶
func (mr *MockViperConfigMockRecorder) GetTime(key any) *gomock.Call
GetTime indicates an expected call of GetTime.
func (*MockViperConfigMockRecorder) GetUint ¶
func (mr *MockViperConfigMockRecorder) GetUint(key any) *gomock.Call
GetUint indicates an expected call of GetUint.
func (*MockViperConfigMockRecorder) GetUint16 ¶
func (mr *MockViperConfigMockRecorder) GetUint16(key any) *gomock.Call
GetUint16 indicates an expected call of GetUint16.
func (*MockViperConfigMockRecorder) GetUint32 ¶
func (mr *MockViperConfigMockRecorder) GetUint32(key any) *gomock.Call
GetUint32 indicates an expected call of GetUint32.
func (*MockViperConfigMockRecorder) GetUint64 ¶
func (mr *MockViperConfigMockRecorder) GetUint64(key any) *gomock.Call
GetUint64 indicates an expected call of GetUint64.
func (*MockViperConfigMockRecorder) InConfig ¶
func (mr *MockViperConfigMockRecorder) InConfig(key any) *gomock.Call
InConfig indicates an expected call of InConfig.
func (*MockViperConfigMockRecorder) ReadInConfig ¶
func (mr *MockViperConfigMockRecorder) ReadInConfig() *gomock.Call
ReadInConfig indicates an expected call of ReadInConfig.
func (*MockViperConfigMockRecorder) SetConfigFile ¶
func (mr *MockViperConfigMockRecorder) SetConfigFile(in any) *gomock.Call
SetConfigFile indicates an expected call of SetConfigFile.
func (*MockViperConfigMockRecorder) SetConfigName ¶
func (mr *MockViperConfigMockRecorder) SetConfigName(in any) *gomock.Call
SetConfigName indicates an expected call of SetConfigName.
func (*MockViperConfigMockRecorder) SetConfigType ¶
func (mr *MockViperConfigMockRecorder) SetConfigType(in any) *gomock.Call
SetConfigType indicates an expected call of SetConfigType.
func (*MockViperConfigMockRecorder) SetTypeByDefaultValue ¶
func (mr *MockViperConfigMockRecorder) SetTypeByDefaultValue(enable any) *gomock.Call
SetTypeByDefaultValue indicates an expected call of SetTypeByDefaultValue.
func (*MockViperConfigMockRecorder) Sub ¶
func (mr *MockViperConfigMockRecorder) Sub(key any) *gomock.Call
Sub indicates an expected call of Sub.
func (*MockViperConfigMockRecorder) Unmarshal ¶
func (mr *MockViperConfigMockRecorder) Unmarshal(rawVal any, opts ...any) *gomock.Call
Unmarshal indicates an expected call of Unmarshal.
func (*MockViperConfigMockRecorder) UnmarshalExact ¶
func (mr *MockViperConfigMockRecorder) UnmarshalExact(rawVal any, opts ...any) *gomock.Call
UnmarshalExact indicates an expected call of UnmarshalExact.
func (*MockViperConfigMockRecorder) UnmarshalKey ¶
func (mr *MockViperConfigMockRecorder) UnmarshalKey(key, rawVal any, opts ...any) *gomock.Call
UnmarshalKey indicates an expected call of UnmarshalKey.