Documentation ¶
Index ¶
- type Config
- func (_m *Config) AllKeys() []string
- func (_m *Config) AllSettings() map[string]interface{}
- func (_m *Config) EXPECT() *Config_Expecter
- func (_m *Config) Get(key string, optionalDefault ...interface{}) interface{}
- func (_m *Config) GetBool(key string, optionalDefault ...bool) bool
- func (_m *Config) GetDuration(key string, optionalDefault ...time.Duration) time.Duration
- func (_m *Config) GetFloat64(key string, optionalDefault ...float64) float64
- func (_m *Config) GetInt(key string, optionalDefault ...int) int
- func (_m *Config) GetIntSlice(key string, optionalDefault ...[]int) []int
- func (_m *Config) GetMsiSlice(key string, optionalDefault ...[]map[string]interface{}) []map[string]interface{}
- func (_m *Config) GetString(key string, optionalDefault ...string) string
- func (_m *Config) GetStringMap(key string, optionalDefault ...map[string]interface{}) map[string]interface{}
- func (_m *Config) GetStringMapString(key string, optionalDefault ...map[string]string) map[string]string
- func (_m *Config) GetStringSlice(key string, optionalDefault ...[]string) []string
- func (_m *Config) GetTime(key string, optionalDefault ...time.Time) time.Time
- func (_m *Config) HasPrefix(prefix string) bool
- func (_m *Config) IsSet(_a0 string) bool
- func (_m *Config) UnmarshalDefaults(val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)
- func (_m *Config) UnmarshalKey(key string, val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)
- type Config_AllKeys_Call
- type Config_AllSettings_Call
- type Config_Expecter
- func (_e *Config_Expecter) AllKeys() *Config_AllKeys_Call
- func (_e *Config_Expecter) AllSettings() *Config_AllSettings_Call
- func (_e *Config_Expecter) Get(key interface{}, optionalDefault ...interface{}) *Config_Get_Call
- func (_e *Config_Expecter) GetBool(key interface{}, optionalDefault ...interface{}) *Config_GetBool_Call
- func (_e *Config_Expecter) GetDuration(key interface{}, optionalDefault ...interface{}) *Config_GetDuration_Call
- func (_e *Config_Expecter) GetFloat64(key interface{}, optionalDefault ...interface{}) *Config_GetFloat64_Call
- func (_e *Config_Expecter) GetInt(key interface{}, optionalDefault ...interface{}) *Config_GetInt_Call
- func (_e *Config_Expecter) GetIntSlice(key interface{}, optionalDefault ...interface{}) *Config_GetIntSlice_Call
- func (_e *Config_Expecter) GetMsiSlice(key interface{}, optionalDefault ...interface{}) *Config_GetMsiSlice_Call
- func (_e *Config_Expecter) GetString(key interface{}, optionalDefault ...interface{}) *Config_GetString_Call
- func (_e *Config_Expecter) GetStringMap(key interface{}, optionalDefault ...interface{}) *Config_GetStringMap_Call
- func (_e *Config_Expecter) GetStringMapString(key interface{}, optionalDefault ...interface{}) *Config_GetStringMapString_Call
- func (_e *Config_Expecter) GetStringSlice(key interface{}, optionalDefault ...interface{}) *Config_GetStringSlice_Call
- func (_e *Config_Expecter) GetTime(key interface{}, optionalDefault ...interface{}) *Config_GetTime_Call
- func (_e *Config_Expecter) HasPrefix(prefix interface{}) *Config_HasPrefix_Call
- func (_e *Config_Expecter) IsSet(_a0 interface{}) *Config_IsSet_Call
- func (_e *Config_Expecter) UnmarshalDefaults(val interface{}, additionalDefaults ...interface{}) *Config_UnmarshalDefaults_Call
- func (_e *Config_Expecter) UnmarshalKey(key interface{}, val interface{}, additionalDefaults ...interface{}) *Config_UnmarshalKey_Call
- type Config_GetBool_Call
- type Config_GetDuration_Call
- func (_c *Config_GetDuration_Call) Return(_a0 time.Duration) *Config_GetDuration_Call
- func (_c *Config_GetDuration_Call) Run(run func(key string, optionalDefault ...time.Duration)) *Config_GetDuration_Call
- func (_c *Config_GetDuration_Call) RunAndReturn(run func(string, ...time.Duration) time.Duration) *Config_GetDuration_Call
- type Config_GetFloat64_Call
- type Config_GetIntSlice_Call
- type Config_GetInt_Call
- type Config_GetMsiSlice_Call
- func (_c *Config_GetMsiSlice_Call) Return(_a0 []map[string]interface{}) *Config_GetMsiSlice_Call
- func (_c *Config_GetMsiSlice_Call) Run(run func(key string, optionalDefault ...[]map[string]interface{})) *Config_GetMsiSlice_Call
- func (_c *Config_GetMsiSlice_Call) RunAndReturn(run func(string, ...[]map[string]interface{}) []map[string]interface{}) *Config_GetMsiSlice_Call
- type Config_GetStringMapString_Call
- func (_c *Config_GetStringMapString_Call) Return(_a0 map[string]string) *Config_GetStringMapString_Call
- func (_c *Config_GetStringMapString_Call) Run(run func(key string, optionalDefault ...map[string]string)) *Config_GetStringMapString_Call
- func (_c *Config_GetStringMapString_Call) RunAndReturn(run func(string, ...map[string]string) map[string]string) *Config_GetStringMapString_Call
- type Config_GetStringMap_Call
- func (_c *Config_GetStringMap_Call) Return(_a0 map[string]interface{}) *Config_GetStringMap_Call
- func (_c *Config_GetStringMap_Call) Run(run func(key string, optionalDefault ...map[string]interface{})) *Config_GetStringMap_Call
- func (_c *Config_GetStringMap_Call) RunAndReturn(run func(string, ...map[string]interface{}) map[string]interface{}) *Config_GetStringMap_Call
- type Config_GetStringSlice_Call
- func (_c *Config_GetStringSlice_Call) Return(_a0 []string) *Config_GetStringSlice_Call
- func (_c *Config_GetStringSlice_Call) Run(run func(key string, optionalDefault ...[]string)) *Config_GetStringSlice_Call
- func (_c *Config_GetStringSlice_Call) RunAndReturn(run func(string, ...[]string) []string) *Config_GetStringSlice_Call
- type Config_GetString_Call
- type Config_GetTime_Call
- type Config_Get_Call
- type Config_HasPrefix_Call
- type Config_IsSet_Call
- type Config_UnmarshalDefaults_Call
- func (_c *Config_UnmarshalDefaults_Call) Return() *Config_UnmarshalDefaults_Call
- func (_c *Config_UnmarshalDefaults_Call) Run(run func(val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)) *Config_UnmarshalDefaults_Call
- func (_c *Config_UnmarshalDefaults_Call) RunAndReturn(run func(interface{}, ...cfg.UnmarshalDefaults)) *Config_UnmarshalDefaults_Call
- type Config_UnmarshalKey_Call
- type GosoConf
- func (_m *GosoConf) AllKeys() []string
- func (_m *GosoConf) AllSettings() map[string]interface{}
- func (_m *GosoConf) EXPECT() *GosoConf_Expecter
- func (_m *GosoConf) Get(key string, optionalDefault ...interface{}) interface{}
- func (_m *GosoConf) GetBool(key string, optionalDefault ...bool) bool
- func (_m *GosoConf) GetDuration(key string, optionalDefault ...time.Duration) time.Duration
- func (_m *GosoConf) GetFloat64(key string, optionalDefault ...float64) float64
- func (_m *GosoConf) GetInt(key string, optionalDefault ...int) int
- func (_m *GosoConf) GetIntSlice(key string, optionalDefault ...[]int) []int
- func (_m *GosoConf) GetMsiSlice(key string, optionalDefault ...[]map[string]interface{}) []map[string]interface{}
- func (_m *GosoConf) GetString(key string, optionalDefault ...string) string
- func (_m *GosoConf) GetStringMap(key string, optionalDefault ...map[string]interface{}) map[string]interface{}
- func (_m *GosoConf) GetStringMapString(key string, optionalDefault ...map[string]string) map[string]string
- func (_m *GosoConf) GetStringSlice(key string, optionalDefault ...[]string) []string
- func (_m *GosoConf) GetTime(key string, optionalDefault ...time.Time) time.Time
- func (_m *GosoConf) HasPrefix(prefix string) bool
- func (_m *GosoConf) IsSet(_a0 string) bool
- func (_m *GosoConf) Option(options ...cfg.Option) error
- func (_m *GosoConf) UnmarshalDefaults(val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)
- func (_m *GosoConf) UnmarshalKey(key string, val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)
- type GosoConf_AllKeys_Call
- type GosoConf_AllSettings_Call
- type GosoConf_Expecter
- func (_e *GosoConf_Expecter) AllKeys() *GosoConf_AllKeys_Call
- func (_e *GosoConf_Expecter) AllSettings() *GosoConf_AllSettings_Call
- func (_e *GosoConf_Expecter) Get(key interface{}, optionalDefault ...interface{}) *GosoConf_Get_Call
- func (_e *GosoConf_Expecter) GetBool(key interface{}, optionalDefault ...interface{}) *GosoConf_GetBool_Call
- func (_e *GosoConf_Expecter) GetDuration(key interface{}, optionalDefault ...interface{}) *GosoConf_GetDuration_Call
- func (_e *GosoConf_Expecter) GetFloat64(key interface{}, optionalDefault ...interface{}) *GosoConf_GetFloat64_Call
- func (_e *GosoConf_Expecter) GetInt(key interface{}, optionalDefault ...interface{}) *GosoConf_GetInt_Call
- func (_e *GosoConf_Expecter) GetIntSlice(key interface{}, optionalDefault ...interface{}) *GosoConf_GetIntSlice_Call
- func (_e *GosoConf_Expecter) GetMsiSlice(key interface{}, optionalDefault ...interface{}) *GosoConf_GetMsiSlice_Call
- func (_e *GosoConf_Expecter) GetString(key interface{}, optionalDefault ...interface{}) *GosoConf_GetString_Call
- func (_e *GosoConf_Expecter) GetStringMap(key interface{}, optionalDefault ...interface{}) *GosoConf_GetStringMap_Call
- func (_e *GosoConf_Expecter) GetStringMapString(key interface{}, optionalDefault ...interface{}) *GosoConf_GetStringMapString_Call
- func (_e *GosoConf_Expecter) GetStringSlice(key interface{}, optionalDefault ...interface{}) *GosoConf_GetStringSlice_Call
- func (_e *GosoConf_Expecter) GetTime(key interface{}, optionalDefault ...interface{}) *GosoConf_GetTime_Call
- func (_e *GosoConf_Expecter) HasPrefix(prefix interface{}) *GosoConf_HasPrefix_Call
- func (_e *GosoConf_Expecter) IsSet(_a0 interface{}) *GosoConf_IsSet_Call
- func (_e *GosoConf_Expecter) Option(options ...interface{}) *GosoConf_Option_Call
- func (_e *GosoConf_Expecter) UnmarshalDefaults(val interface{}, additionalDefaults ...interface{}) *GosoConf_UnmarshalDefaults_Call
- func (_e *GosoConf_Expecter) UnmarshalKey(key interface{}, val interface{}, additionalDefaults ...interface{}) *GosoConf_UnmarshalKey_Call
- type GosoConf_GetBool_Call
- type GosoConf_GetDuration_Call
- func (_c *GosoConf_GetDuration_Call) Return(_a0 time.Duration) *GosoConf_GetDuration_Call
- func (_c *GosoConf_GetDuration_Call) Run(run func(key string, optionalDefault ...time.Duration)) *GosoConf_GetDuration_Call
- func (_c *GosoConf_GetDuration_Call) RunAndReturn(run func(string, ...time.Duration) time.Duration) *GosoConf_GetDuration_Call
- type GosoConf_GetFloat64_Call
- func (_c *GosoConf_GetFloat64_Call) Return(_a0 float64) *GosoConf_GetFloat64_Call
- func (_c *GosoConf_GetFloat64_Call) Run(run func(key string, optionalDefault ...float64)) *GosoConf_GetFloat64_Call
- func (_c *GosoConf_GetFloat64_Call) RunAndReturn(run func(string, ...float64) float64) *GosoConf_GetFloat64_Call
- type GosoConf_GetIntSlice_Call
- func (_c *GosoConf_GetIntSlice_Call) Return(_a0 []int) *GosoConf_GetIntSlice_Call
- func (_c *GosoConf_GetIntSlice_Call) Run(run func(key string, optionalDefault ...[]int)) *GosoConf_GetIntSlice_Call
- func (_c *GosoConf_GetIntSlice_Call) RunAndReturn(run func(string, ...[]int) []int) *GosoConf_GetIntSlice_Call
- type GosoConf_GetInt_Call
- type GosoConf_GetMsiSlice_Call
- func (_c *GosoConf_GetMsiSlice_Call) Return(_a0 []map[string]interface{}) *GosoConf_GetMsiSlice_Call
- func (_c *GosoConf_GetMsiSlice_Call) Run(run func(key string, optionalDefault ...[]map[string]interface{})) *GosoConf_GetMsiSlice_Call
- func (_c *GosoConf_GetMsiSlice_Call) RunAndReturn(run func(string, ...[]map[string]interface{}) []map[string]interface{}) *GosoConf_GetMsiSlice_Call
- type GosoConf_GetStringMapString_Call
- func (_c *GosoConf_GetStringMapString_Call) Return(_a0 map[string]string) *GosoConf_GetStringMapString_Call
- func (_c *GosoConf_GetStringMapString_Call) Run(run func(key string, optionalDefault ...map[string]string)) *GosoConf_GetStringMapString_Call
- func (_c *GosoConf_GetStringMapString_Call) RunAndReturn(run func(string, ...map[string]string) map[string]string) *GosoConf_GetStringMapString_Call
- type GosoConf_GetStringMap_Call
- func (_c *GosoConf_GetStringMap_Call) Return(_a0 map[string]interface{}) *GosoConf_GetStringMap_Call
- func (_c *GosoConf_GetStringMap_Call) Run(run func(key string, optionalDefault ...map[string]interface{})) *GosoConf_GetStringMap_Call
- func (_c *GosoConf_GetStringMap_Call) RunAndReturn(run func(string, ...map[string]interface{}) map[string]interface{}) *GosoConf_GetStringMap_Call
- type GosoConf_GetStringSlice_Call
- func (_c *GosoConf_GetStringSlice_Call) Return(_a0 []string) *GosoConf_GetStringSlice_Call
- func (_c *GosoConf_GetStringSlice_Call) Run(run func(key string, optionalDefault ...[]string)) *GosoConf_GetStringSlice_Call
- func (_c *GosoConf_GetStringSlice_Call) RunAndReturn(run func(string, ...[]string) []string) *GosoConf_GetStringSlice_Call
- type GosoConf_GetString_Call
- func (_c *GosoConf_GetString_Call) Return(_a0 string) *GosoConf_GetString_Call
- func (_c *GosoConf_GetString_Call) Run(run func(key string, optionalDefault ...string)) *GosoConf_GetString_Call
- func (_c *GosoConf_GetString_Call) RunAndReturn(run func(string, ...string) string) *GosoConf_GetString_Call
- type GosoConf_GetTime_Call
- func (_c *GosoConf_GetTime_Call) Return(_a0 time.Time) *GosoConf_GetTime_Call
- func (_c *GosoConf_GetTime_Call) Run(run func(key string, optionalDefault ...time.Time)) *GosoConf_GetTime_Call
- func (_c *GosoConf_GetTime_Call) RunAndReturn(run func(string, ...time.Time) time.Time) *GosoConf_GetTime_Call
- type GosoConf_Get_Call
- type GosoConf_HasPrefix_Call
- type GosoConf_IsSet_Call
- type GosoConf_Option_Call
- type GosoConf_UnmarshalDefaults_Call
- func (_c *GosoConf_UnmarshalDefaults_Call) Return() *GosoConf_UnmarshalDefaults_Call
- func (_c *GosoConf_UnmarshalDefaults_Call) Run(run func(val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)) *GosoConf_UnmarshalDefaults_Call
- func (_c *GosoConf_UnmarshalDefaults_Call) RunAndReturn(run func(interface{}, ...cfg.UnmarshalDefaults)) *GosoConf_UnmarshalDefaults_Call
- type GosoConf_UnmarshalKey_Call
- type Sentry
- type Sentry_CaptureException_Call
- func (_c *Sentry_CaptureException_Call) Return(_a0 *sentry.EventID) *Sentry_CaptureException_Call
- func (_c *Sentry_CaptureException_Call) Run(run func(exception error, hint *sentry.EventHint, scope sentry.EventModifier)) *Sentry_CaptureException_Call
- func (_c *Sentry_CaptureException_Call) RunAndReturn(run func(error, *sentry.EventHint, sentry.EventModifier) *sentry.EventID) *Sentry_CaptureException_Call
- type Sentry_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is an autogenerated mock type for the Config type
func NewConfig ¶
NewConfig creates a new instance of Config. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Config) AllSettings ¶
AllSettings provides a mock function with given fields:
func (*Config) EXPECT ¶
func (_m *Config) EXPECT() *Config_Expecter
func (*Config) GetDuration ¶
GetDuration provides a mock function with given fields: key, optionalDefault
func (*Config) GetFloat64 ¶
GetFloat64 provides a mock function with given fields: key, optionalDefault
func (*Config) GetIntSlice ¶
GetIntSlice provides a mock function with given fields: key, optionalDefault
func (*Config) GetMsiSlice ¶
func (_m *Config) GetMsiSlice(key string, optionalDefault ...[]map[string]interface{}) []map[string]interface{}
GetMsiSlice provides a mock function with given fields: key, optionalDefault
func (*Config) GetString ¶
GetString provides a mock function with given fields: key, optionalDefault
func (*Config) GetStringMap ¶
func (_m *Config) GetStringMap(key string, optionalDefault ...map[string]interface{}) map[string]interface{}
GetStringMap provides a mock function with given fields: key, optionalDefault
func (*Config) GetStringMapString ¶
func (_m *Config) GetStringMapString(key string, optionalDefault ...map[string]string) map[string]string
GetStringMapString provides a mock function with given fields: key, optionalDefault
func (*Config) GetStringSlice ¶
GetStringSlice provides a mock function with given fields: key, optionalDefault
func (*Config) UnmarshalDefaults ¶
func (_m *Config) UnmarshalDefaults(val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)
UnmarshalDefaults provides a mock function with given fields: val, additionalDefaults
func (*Config) UnmarshalKey ¶
func (_m *Config) UnmarshalKey(key string, val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)
UnmarshalKey provides a mock function with given fields: key, val, additionalDefaults
type Config_AllKeys_Call ¶
Config_AllKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllKeys'
func (*Config_AllKeys_Call) Return ¶
func (_c *Config_AllKeys_Call) Return(_a0 []string) *Config_AllKeys_Call
func (*Config_AllKeys_Call) Run ¶
func (_c *Config_AllKeys_Call) Run(run func()) *Config_AllKeys_Call
func (*Config_AllKeys_Call) RunAndReturn ¶
func (_c *Config_AllKeys_Call) RunAndReturn(run func() []string) *Config_AllKeys_Call
type Config_AllSettings_Call ¶
Config_AllSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllSettings'
func (*Config_AllSettings_Call) Return ¶
func (_c *Config_AllSettings_Call) Return(_a0 map[string]interface{}) *Config_AllSettings_Call
func (*Config_AllSettings_Call) Run ¶
func (_c *Config_AllSettings_Call) Run(run func()) *Config_AllSettings_Call
func (*Config_AllSettings_Call) RunAndReturn ¶
func (_c *Config_AllSettings_Call) RunAndReturn(run func() map[string]interface{}) *Config_AllSettings_Call
type Config_Expecter ¶
type Config_Expecter struct {
// contains filtered or unexported fields
}
func (*Config_Expecter) AllKeys ¶
func (_e *Config_Expecter) AllKeys() *Config_AllKeys_Call
AllKeys is a helper method to define mock.On call
func (*Config_Expecter) AllSettings ¶
func (_e *Config_Expecter) AllSettings() *Config_AllSettings_Call
AllSettings is a helper method to define mock.On call
func (*Config_Expecter) Get ¶
func (_e *Config_Expecter) Get(key interface{}, optionalDefault ...interface{}) *Config_Get_Call
Get is a helper method to define mock.On call
- key string
- optionalDefault ...interface{}
func (*Config_Expecter) GetBool ¶
func (_e *Config_Expecter) GetBool(key interface{}, optionalDefault ...interface{}) *Config_GetBool_Call
GetBool is a helper method to define mock.On call
- key string
- optionalDefault ...bool
func (*Config_Expecter) GetDuration ¶
func (_e *Config_Expecter) GetDuration(key interface{}, optionalDefault ...interface{}) *Config_GetDuration_Call
GetDuration is a helper method to define mock.On call
- key string
- optionalDefault ...time.Duration
func (*Config_Expecter) GetFloat64 ¶
func (_e *Config_Expecter) GetFloat64(key interface{}, optionalDefault ...interface{}) *Config_GetFloat64_Call
GetFloat64 is a helper method to define mock.On call
- key string
- optionalDefault ...float64
func (*Config_Expecter) GetInt ¶
func (_e *Config_Expecter) GetInt(key interface{}, optionalDefault ...interface{}) *Config_GetInt_Call
GetInt is a helper method to define mock.On call
- key string
- optionalDefault ...int
func (*Config_Expecter) GetIntSlice ¶
func (_e *Config_Expecter) GetIntSlice(key interface{}, optionalDefault ...interface{}) *Config_GetIntSlice_Call
GetIntSlice is a helper method to define mock.On call
- key string
- optionalDefault ...[]int
func (*Config_Expecter) GetMsiSlice ¶
func (_e *Config_Expecter) GetMsiSlice(key interface{}, optionalDefault ...interface{}) *Config_GetMsiSlice_Call
GetMsiSlice is a helper method to define mock.On call
- key string
- optionalDefault ...[]map[string]interface{}
func (*Config_Expecter) GetString ¶
func (_e *Config_Expecter) GetString(key interface{}, optionalDefault ...interface{}) *Config_GetString_Call
GetString is a helper method to define mock.On call
- key string
- optionalDefault ...string
func (*Config_Expecter) GetStringMap ¶
func (_e *Config_Expecter) GetStringMap(key interface{}, optionalDefault ...interface{}) *Config_GetStringMap_Call
GetStringMap is a helper method to define mock.On call
- key string
- optionalDefault ...map[string]interface{}
func (*Config_Expecter) GetStringMapString ¶
func (_e *Config_Expecter) GetStringMapString(key interface{}, optionalDefault ...interface{}) *Config_GetStringMapString_Call
GetStringMapString is a helper method to define mock.On call
- key string
- optionalDefault ...map[string]string
func (*Config_Expecter) GetStringSlice ¶
func (_e *Config_Expecter) GetStringSlice(key interface{}, optionalDefault ...interface{}) *Config_GetStringSlice_Call
GetStringSlice is a helper method to define mock.On call
- key string
- optionalDefault ...[]string
func (*Config_Expecter) GetTime ¶
func (_e *Config_Expecter) GetTime(key interface{}, optionalDefault ...interface{}) *Config_GetTime_Call
GetTime is a helper method to define mock.On call
- key string
- optionalDefault ...time.Time
func (*Config_Expecter) HasPrefix ¶
func (_e *Config_Expecter) HasPrefix(prefix interface{}) *Config_HasPrefix_Call
HasPrefix is a helper method to define mock.On call
- prefix string
func (*Config_Expecter) IsSet ¶
func (_e *Config_Expecter) IsSet(_a0 interface{}) *Config_IsSet_Call
IsSet is a helper method to define mock.On call
- _a0 string
func (*Config_Expecter) UnmarshalDefaults ¶
func (_e *Config_Expecter) UnmarshalDefaults(val interface{}, additionalDefaults ...interface{}) *Config_UnmarshalDefaults_Call
UnmarshalDefaults is a helper method to define mock.On call
- val interface{}
- additionalDefaults ...cfg.UnmarshalDefaults
func (*Config_Expecter) UnmarshalKey ¶
func (_e *Config_Expecter) UnmarshalKey(key interface{}, val interface{}, additionalDefaults ...interface{}) *Config_UnmarshalKey_Call
UnmarshalKey is a helper method to define mock.On call
- key string
- val interface{}
- additionalDefaults ...cfg.UnmarshalDefaults
type Config_GetBool_Call ¶
Config_GetBool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBool'
func (*Config_GetBool_Call) Return ¶
func (_c *Config_GetBool_Call) Return(_a0 bool) *Config_GetBool_Call
func (*Config_GetBool_Call) Run ¶
func (_c *Config_GetBool_Call) Run(run func(key string, optionalDefault ...bool)) *Config_GetBool_Call
func (*Config_GetBool_Call) RunAndReturn ¶
func (_c *Config_GetBool_Call) RunAndReturn(run func(string, ...bool) bool) *Config_GetBool_Call
type Config_GetDuration_Call ¶
Config_GetDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDuration'
func (*Config_GetDuration_Call) Return ¶
func (_c *Config_GetDuration_Call) Return(_a0 time.Duration) *Config_GetDuration_Call
func (*Config_GetDuration_Call) Run ¶
func (_c *Config_GetDuration_Call) Run(run func(key string, optionalDefault ...time.Duration)) *Config_GetDuration_Call
func (*Config_GetDuration_Call) RunAndReturn ¶
func (_c *Config_GetDuration_Call) RunAndReturn(run func(string, ...time.Duration) time.Duration) *Config_GetDuration_Call
type Config_GetFloat64_Call ¶
Config_GetFloat64_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFloat64'
func (*Config_GetFloat64_Call) Return ¶
func (_c *Config_GetFloat64_Call) Return(_a0 float64) *Config_GetFloat64_Call
func (*Config_GetFloat64_Call) Run ¶
func (_c *Config_GetFloat64_Call) Run(run func(key string, optionalDefault ...float64)) *Config_GetFloat64_Call
func (*Config_GetFloat64_Call) RunAndReturn ¶
func (_c *Config_GetFloat64_Call) RunAndReturn(run func(string, ...float64) float64) *Config_GetFloat64_Call
type Config_GetIntSlice_Call ¶
Config_GetIntSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIntSlice'
func (*Config_GetIntSlice_Call) Return ¶
func (_c *Config_GetIntSlice_Call) Return(_a0 []int) *Config_GetIntSlice_Call
func (*Config_GetIntSlice_Call) Run ¶
func (_c *Config_GetIntSlice_Call) Run(run func(key string, optionalDefault ...[]int)) *Config_GetIntSlice_Call
func (*Config_GetIntSlice_Call) RunAndReturn ¶
func (_c *Config_GetIntSlice_Call) RunAndReturn(run func(string, ...[]int) []int) *Config_GetIntSlice_Call
type Config_GetInt_Call ¶
Config_GetInt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInt'
func (*Config_GetInt_Call) Return ¶
func (_c *Config_GetInt_Call) Return(_a0 int) *Config_GetInt_Call
func (*Config_GetInt_Call) Run ¶
func (_c *Config_GetInt_Call) Run(run func(key string, optionalDefault ...int)) *Config_GetInt_Call
func (*Config_GetInt_Call) RunAndReturn ¶
func (_c *Config_GetInt_Call) RunAndReturn(run func(string, ...int) int) *Config_GetInt_Call
type Config_GetMsiSlice_Call ¶
Config_GetMsiSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMsiSlice'
func (*Config_GetMsiSlice_Call) Return ¶
func (_c *Config_GetMsiSlice_Call) Return(_a0 []map[string]interface{}) *Config_GetMsiSlice_Call
func (*Config_GetMsiSlice_Call) Run ¶
func (_c *Config_GetMsiSlice_Call) Run(run func(key string, optionalDefault ...[]map[string]interface{})) *Config_GetMsiSlice_Call
func (*Config_GetMsiSlice_Call) RunAndReturn ¶
func (_c *Config_GetMsiSlice_Call) RunAndReturn(run func(string, ...[]map[string]interface{}) []map[string]interface{}) *Config_GetMsiSlice_Call
type Config_GetStringMapString_Call ¶
Config_GetStringMapString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringMapString'
func (*Config_GetStringMapString_Call) Return ¶
func (_c *Config_GetStringMapString_Call) Return(_a0 map[string]string) *Config_GetStringMapString_Call
func (*Config_GetStringMapString_Call) Run ¶
func (_c *Config_GetStringMapString_Call) Run(run func(key string, optionalDefault ...map[string]string)) *Config_GetStringMapString_Call
func (*Config_GetStringMapString_Call) RunAndReturn ¶
func (_c *Config_GetStringMapString_Call) RunAndReturn(run func(string, ...map[string]string) map[string]string) *Config_GetStringMapString_Call
type Config_GetStringMap_Call ¶
Config_GetStringMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringMap'
func (*Config_GetStringMap_Call) Return ¶
func (_c *Config_GetStringMap_Call) Return(_a0 map[string]interface{}) *Config_GetStringMap_Call
func (*Config_GetStringMap_Call) Run ¶
func (_c *Config_GetStringMap_Call) Run(run func(key string, optionalDefault ...map[string]interface{})) *Config_GetStringMap_Call
func (*Config_GetStringMap_Call) RunAndReturn ¶
func (_c *Config_GetStringMap_Call) RunAndReturn(run func(string, ...map[string]interface{}) map[string]interface{}) *Config_GetStringMap_Call
type Config_GetStringSlice_Call ¶
Config_GetStringSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringSlice'
func (*Config_GetStringSlice_Call) Return ¶
func (_c *Config_GetStringSlice_Call) Return(_a0 []string) *Config_GetStringSlice_Call
func (*Config_GetStringSlice_Call) Run ¶
func (_c *Config_GetStringSlice_Call) Run(run func(key string, optionalDefault ...[]string)) *Config_GetStringSlice_Call
func (*Config_GetStringSlice_Call) RunAndReturn ¶
func (_c *Config_GetStringSlice_Call) RunAndReturn(run func(string, ...[]string) []string) *Config_GetStringSlice_Call
type Config_GetString_Call ¶
Config_GetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetString'
func (*Config_GetString_Call) Return ¶
func (_c *Config_GetString_Call) Return(_a0 string) *Config_GetString_Call
func (*Config_GetString_Call) Run ¶
func (_c *Config_GetString_Call) Run(run func(key string, optionalDefault ...string)) *Config_GetString_Call
func (*Config_GetString_Call) RunAndReturn ¶
func (_c *Config_GetString_Call) RunAndReturn(run func(string, ...string) string) *Config_GetString_Call
type Config_GetTime_Call ¶
Config_GetTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTime'
func (*Config_GetTime_Call) Return ¶
func (_c *Config_GetTime_Call) Return(_a0 time.Time) *Config_GetTime_Call
func (*Config_GetTime_Call) Run ¶
func (_c *Config_GetTime_Call) Run(run func(key string, optionalDefault ...time.Time)) *Config_GetTime_Call
func (*Config_GetTime_Call) RunAndReturn ¶
func (_c *Config_GetTime_Call) RunAndReturn(run func(string, ...time.Time) time.Time) *Config_GetTime_Call
type Config_Get_Call ¶
Config_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Config_Get_Call) Return ¶
func (_c *Config_Get_Call) Return(_a0 interface{}) *Config_Get_Call
func (*Config_Get_Call) Run ¶
func (_c *Config_Get_Call) Run(run func(key string, optionalDefault ...interface{})) *Config_Get_Call
func (*Config_Get_Call) RunAndReturn ¶
func (_c *Config_Get_Call) RunAndReturn(run func(string, ...interface{}) interface{}) *Config_Get_Call
type Config_HasPrefix_Call ¶
Config_HasPrefix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasPrefix'
func (*Config_HasPrefix_Call) Return ¶
func (_c *Config_HasPrefix_Call) Return(_a0 bool) *Config_HasPrefix_Call
func (*Config_HasPrefix_Call) Run ¶
func (_c *Config_HasPrefix_Call) Run(run func(prefix string)) *Config_HasPrefix_Call
func (*Config_HasPrefix_Call) RunAndReturn ¶
func (_c *Config_HasPrefix_Call) RunAndReturn(run func(string) bool) *Config_HasPrefix_Call
type Config_IsSet_Call ¶
Config_IsSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSet'
func (*Config_IsSet_Call) Return ¶
func (_c *Config_IsSet_Call) Return(_a0 bool) *Config_IsSet_Call
func (*Config_IsSet_Call) Run ¶
func (_c *Config_IsSet_Call) Run(run func(_a0 string)) *Config_IsSet_Call
func (*Config_IsSet_Call) RunAndReturn ¶
func (_c *Config_IsSet_Call) RunAndReturn(run func(string) bool) *Config_IsSet_Call
type Config_UnmarshalDefaults_Call ¶
Config_UnmarshalDefaults_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnmarshalDefaults'
func (*Config_UnmarshalDefaults_Call) Return ¶
func (_c *Config_UnmarshalDefaults_Call) Return() *Config_UnmarshalDefaults_Call
func (*Config_UnmarshalDefaults_Call) Run ¶
func (_c *Config_UnmarshalDefaults_Call) Run(run func(val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)) *Config_UnmarshalDefaults_Call
func (*Config_UnmarshalDefaults_Call) RunAndReturn ¶
func (_c *Config_UnmarshalDefaults_Call) RunAndReturn(run func(interface{}, ...cfg.UnmarshalDefaults)) *Config_UnmarshalDefaults_Call
type Config_UnmarshalKey_Call ¶
Config_UnmarshalKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnmarshalKey'
func (*Config_UnmarshalKey_Call) Return ¶
func (_c *Config_UnmarshalKey_Call) Return() *Config_UnmarshalKey_Call
func (*Config_UnmarshalKey_Call) Run ¶
func (_c *Config_UnmarshalKey_Call) Run(run func(key string, val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)) *Config_UnmarshalKey_Call
func (*Config_UnmarshalKey_Call) RunAndReturn ¶
func (_c *Config_UnmarshalKey_Call) RunAndReturn(run func(string, interface{}, ...cfg.UnmarshalDefaults)) *Config_UnmarshalKey_Call
type GosoConf ¶
GosoConf is an autogenerated mock type for the GosoConf type
func NewGosoConf ¶
NewGosoConf creates a new instance of GosoConf. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GosoConf) AllSettings ¶
AllSettings provides a mock function with given fields:
func (*GosoConf) EXPECT ¶
func (_m *GosoConf) EXPECT() *GosoConf_Expecter
func (*GosoConf) GetDuration ¶
GetDuration provides a mock function with given fields: key, optionalDefault
func (*GosoConf) GetFloat64 ¶
GetFloat64 provides a mock function with given fields: key, optionalDefault
func (*GosoConf) GetIntSlice ¶
GetIntSlice provides a mock function with given fields: key, optionalDefault
func (*GosoConf) GetMsiSlice ¶
func (_m *GosoConf) GetMsiSlice(key string, optionalDefault ...[]map[string]interface{}) []map[string]interface{}
GetMsiSlice provides a mock function with given fields: key, optionalDefault
func (*GosoConf) GetString ¶
GetString provides a mock function with given fields: key, optionalDefault
func (*GosoConf) GetStringMap ¶
func (_m *GosoConf) GetStringMap(key string, optionalDefault ...map[string]interface{}) map[string]interface{}
GetStringMap provides a mock function with given fields: key, optionalDefault
func (*GosoConf) GetStringMapString ¶
func (_m *GosoConf) GetStringMapString(key string, optionalDefault ...map[string]string) map[string]string
GetStringMapString provides a mock function with given fields: key, optionalDefault
func (*GosoConf) GetStringSlice ¶
GetStringSlice provides a mock function with given fields: key, optionalDefault
func (*GosoConf) UnmarshalDefaults ¶
func (_m *GosoConf) UnmarshalDefaults(val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)
UnmarshalDefaults provides a mock function with given fields: val, additionalDefaults
func (*GosoConf) UnmarshalKey ¶
func (_m *GosoConf) UnmarshalKey(key string, val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)
UnmarshalKey provides a mock function with given fields: key, val, additionalDefaults
type GosoConf_AllKeys_Call ¶
GosoConf_AllKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllKeys'
func (*GosoConf_AllKeys_Call) Return ¶
func (_c *GosoConf_AllKeys_Call) Return(_a0 []string) *GosoConf_AllKeys_Call
func (*GosoConf_AllKeys_Call) Run ¶
func (_c *GosoConf_AllKeys_Call) Run(run func()) *GosoConf_AllKeys_Call
func (*GosoConf_AllKeys_Call) RunAndReturn ¶
func (_c *GosoConf_AllKeys_Call) RunAndReturn(run func() []string) *GosoConf_AllKeys_Call
type GosoConf_AllSettings_Call ¶
GosoConf_AllSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllSettings'
func (*GosoConf_AllSettings_Call) Return ¶
func (_c *GosoConf_AllSettings_Call) Return(_a0 map[string]interface{}) *GosoConf_AllSettings_Call
func (*GosoConf_AllSettings_Call) Run ¶
func (_c *GosoConf_AllSettings_Call) Run(run func()) *GosoConf_AllSettings_Call
func (*GosoConf_AllSettings_Call) RunAndReturn ¶
func (_c *GosoConf_AllSettings_Call) RunAndReturn(run func() map[string]interface{}) *GosoConf_AllSettings_Call
type GosoConf_Expecter ¶
type GosoConf_Expecter struct {
// contains filtered or unexported fields
}
func (*GosoConf_Expecter) AllKeys ¶
func (_e *GosoConf_Expecter) AllKeys() *GosoConf_AllKeys_Call
AllKeys is a helper method to define mock.On call
func (*GosoConf_Expecter) AllSettings ¶
func (_e *GosoConf_Expecter) AllSettings() *GosoConf_AllSettings_Call
AllSettings is a helper method to define mock.On call
func (*GosoConf_Expecter) Get ¶
func (_e *GosoConf_Expecter) Get(key interface{}, optionalDefault ...interface{}) *GosoConf_Get_Call
Get is a helper method to define mock.On call
- key string
- optionalDefault ...interface{}
func (*GosoConf_Expecter) GetBool ¶
func (_e *GosoConf_Expecter) GetBool(key interface{}, optionalDefault ...interface{}) *GosoConf_GetBool_Call
GetBool is a helper method to define mock.On call
- key string
- optionalDefault ...bool
func (*GosoConf_Expecter) GetDuration ¶
func (_e *GosoConf_Expecter) GetDuration(key interface{}, optionalDefault ...interface{}) *GosoConf_GetDuration_Call
GetDuration is a helper method to define mock.On call
- key string
- optionalDefault ...time.Duration
func (*GosoConf_Expecter) GetFloat64 ¶
func (_e *GosoConf_Expecter) GetFloat64(key interface{}, optionalDefault ...interface{}) *GosoConf_GetFloat64_Call
GetFloat64 is a helper method to define mock.On call
- key string
- optionalDefault ...float64
func (*GosoConf_Expecter) GetInt ¶
func (_e *GosoConf_Expecter) GetInt(key interface{}, optionalDefault ...interface{}) *GosoConf_GetInt_Call
GetInt is a helper method to define mock.On call
- key string
- optionalDefault ...int
func (*GosoConf_Expecter) GetIntSlice ¶
func (_e *GosoConf_Expecter) GetIntSlice(key interface{}, optionalDefault ...interface{}) *GosoConf_GetIntSlice_Call
GetIntSlice is a helper method to define mock.On call
- key string
- optionalDefault ...[]int
func (*GosoConf_Expecter) GetMsiSlice ¶
func (_e *GosoConf_Expecter) GetMsiSlice(key interface{}, optionalDefault ...interface{}) *GosoConf_GetMsiSlice_Call
GetMsiSlice is a helper method to define mock.On call
- key string
- optionalDefault ...[]map[string]interface{}
func (*GosoConf_Expecter) GetString ¶
func (_e *GosoConf_Expecter) GetString(key interface{}, optionalDefault ...interface{}) *GosoConf_GetString_Call
GetString is a helper method to define mock.On call
- key string
- optionalDefault ...string
func (*GosoConf_Expecter) GetStringMap ¶
func (_e *GosoConf_Expecter) GetStringMap(key interface{}, optionalDefault ...interface{}) *GosoConf_GetStringMap_Call
GetStringMap is a helper method to define mock.On call
- key string
- optionalDefault ...map[string]interface{}
func (*GosoConf_Expecter) GetStringMapString ¶
func (_e *GosoConf_Expecter) GetStringMapString(key interface{}, optionalDefault ...interface{}) *GosoConf_GetStringMapString_Call
GetStringMapString is a helper method to define mock.On call
- key string
- optionalDefault ...map[string]string
func (*GosoConf_Expecter) GetStringSlice ¶
func (_e *GosoConf_Expecter) GetStringSlice(key interface{}, optionalDefault ...interface{}) *GosoConf_GetStringSlice_Call
GetStringSlice is a helper method to define mock.On call
- key string
- optionalDefault ...[]string
func (*GosoConf_Expecter) GetTime ¶
func (_e *GosoConf_Expecter) GetTime(key interface{}, optionalDefault ...interface{}) *GosoConf_GetTime_Call
GetTime is a helper method to define mock.On call
- key string
- optionalDefault ...time.Time
func (*GosoConf_Expecter) HasPrefix ¶
func (_e *GosoConf_Expecter) HasPrefix(prefix interface{}) *GosoConf_HasPrefix_Call
HasPrefix is a helper method to define mock.On call
- prefix string
func (*GosoConf_Expecter) IsSet ¶
func (_e *GosoConf_Expecter) IsSet(_a0 interface{}) *GosoConf_IsSet_Call
IsSet is a helper method to define mock.On call
- _a0 string
func (*GosoConf_Expecter) Option ¶
func (_e *GosoConf_Expecter) Option(options ...interface{}) *GosoConf_Option_Call
Option is a helper method to define mock.On call
- options ...cfg.Option
func (*GosoConf_Expecter) UnmarshalDefaults ¶
func (_e *GosoConf_Expecter) UnmarshalDefaults(val interface{}, additionalDefaults ...interface{}) *GosoConf_UnmarshalDefaults_Call
UnmarshalDefaults is a helper method to define mock.On call
- val interface{}
- additionalDefaults ...cfg.UnmarshalDefaults
func (*GosoConf_Expecter) UnmarshalKey ¶
func (_e *GosoConf_Expecter) UnmarshalKey(key interface{}, val interface{}, additionalDefaults ...interface{}) *GosoConf_UnmarshalKey_Call
UnmarshalKey is a helper method to define mock.On call
- key string
- val interface{}
- additionalDefaults ...cfg.UnmarshalDefaults
type GosoConf_GetBool_Call ¶
GosoConf_GetBool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBool'
func (*GosoConf_GetBool_Call) Return ¶
func (_c *GosoConf_GetBool_Call) Return(_a0 bool) *GosoConf_GetBool_Call
func (*GosoConf_GetBool_Call) Run ¶
func (_c *GosoConf_GetBool_Call) Run(run func(key string, optionalDefault ...bool)) *GosoConf_GetBool_Call
func (*GosoConf_GetBool_Call) RunAndReturn ¶
func (_c *GosoConf_GetBool_Call) RunAndReturn(run func(string, ...bool) bool) *GosoConf_GetBool_Call
type GosoConf_GetDuration_Call ¶
GosoConf_GetDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDuration'
func (*GosoConf_GetDuration_Call) Return ¶
func (_c *GosoConf_GetDuration_Call) Return(_a0 time.Duration) *GosoConf_GetDuration_Call
func (*GosoConf_GetDuration_Call) Run ¶
func (_c *GosoConf_GetDuration_Call) Run(run func(key string, optionalDefault ...time.Duration)) *GosoConf_GetDuration_Call
func (*GosoConf_GetDuration_Call) RunAndReturn ¶
func (_c *GosoConf_GetDuration_Call) RunAndReturn(run func(string, ...time.Duration) time.Duration) *GosoConf_GetDuration_Call
type GosoConf_GetFloat64_Call ¶
GosoConf_GetFloat64_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFloat64'
func (*GosoConf_GetFloat64_Call) Return ¶
func (_c *GosoConf_GetFloat64_Call) Return(_a0 float64) *GosoConf_GetFloat64_Call
func (*GosoConf_GetFloat64_Call) Run ¶
func (_c *GosoConf_GetFloat64_Call) Run(run func(key string, optionalDefault ...float64)) *GosoConf_GetFloat64_Call
func (*GosoConf_GetFloat64_Call) RunAndReturn ¶
func (_c *GosoConf_GetFloat64_Call) RunAndReturn(run func(string, ...float64) float64) *GosoConf_GetFloat64_Call
type GosoConf_GetIntSlice_Call ¶
GosoConf_GetIntSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIntSlice'
func (*GosoConf_GetIntSlice_Call) Return ¶
func (_c *GosoConf_GetIntSlice_Call) Return(_a0 []int) *GosoConf_GetIntSlice_Call
func (*GosoConf_GetIntSlice_Call) Run ¶
func (_c *GosoConf_GetIntSlice_Call) Run(run func(key string, optionalDefault ...[]int)) *GosoConf_GetIntSlice_Call
func (*GosoConf_GetIntSlice_Call) RunAndReturn ¶
func (_c *GosoConf_GetIntSlice_Call) RunAndReturn(run func(string, ...[]int) []int) *GosoConf_GetIntSlice_Call
type GosoConf_GetInt_Call ¶
GosoConf_GetInt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInt'
func (*GosoConf_GetInt_Call) Return ¶
func (_c *GosoConf_GetInt_Call) Return(_a0 int) *GosoConf_GetInt_Call
func (*GosoConf_GetInt_Call) Run ¶
func (_c *GosoConf_GetInt_Call) Run(run func(key string, optionalDefault ...int)) *GosoConf_GetInt_Call
func (*GosoConf_GetInt_Call) RunAndReturn ¶
func (_c *GosoConf_GetInt_Call) RunAndReturn(run func(string, ...int) int) *GosoConf_GetInt_Call
type GosoConf_GetMsiSlice_Call ¶
GosoConf_GetMsiSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMsiSlice'
func (*GosoConf_GetMsiSlice_Call) Return ¶
func (_c *GosoConf_GetMsiSlice_Call) Return(_a0 []map[string]interface{}) *GosoConf_GetMsiSlice_Call
func (*GosoConf_GetMsiSlice_Call) Run ¶
func (_c *GosoConf_GetMsiSlice_Call) Run(run func(key string, optionalDefault ...[]map[string]interface{})) *GosoConf_GetMsiSlice_Call
func (*GosoConf_GetMsiSlice_Call) RunAndReturn ¶
func (_c *GosoConf_GetMsiSlice_Call) RunAndReturn(run func(string, ...[]map[string]interface{}) []map[string]interface{}) *GosoConf_GetMsiSlice_Call
type GosoConf_GetStringMapString_Call ¶
GosoConf_GetStringMapString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringMapString'
func (*GosoConf_GetStringMapString_Call) Return ¶
func (_c *GosoConf_GetStringMapString_Call) Return(_a0 map[string]string) *GosoConf_GetStringMapString_Call
func (*GosoConf_GetStringMapString_Call) Run ¶
func (_c *GosoConf_GetStringMapString_Call) Run(run func(key string, optionalDefault ...map[string]string)) *GosoConf_GetStringMapString_Call
func (*GosoConf_GetStringMapString_Call) RunAndReturn ¶
func (_c *GosoConf_GetStringMapString_Call) RunAndReturn(run func(string, ...map[string]string) map[string]string) *GosoConf_GetStringMapString_Call
type GosoConf_GetStringMap_Call ¶
GosoConf_GetStringMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringMap'
func (*GosoConf_GetStringMap_Call) Return ¶
func (_c *GosoConf_GetStringMap_Call) Return(_a0 map[string]interface{}) *GosoConf_GetStringMap_Call
func (*GosoConf_GetStringMap_Call) Run ¶
func (_c *GosoConf_GetStringMap_Call) Run(run func(key string, optionalDefault ...map[string]interface{})) *GosoConf_GetStringMap_Call
func (*GosoConf_GetStringMap_Call) RunAndReturn ¶
func (_c *GosoConf_GetStringMap_Call) RunAndReturn(run func(string, ...map[string]interface{}) map[string]interface{}) *GosoConf_GetStringMap_Call
type GosoConf_GetStringSlice_Call ¶
GosoConf_GetStringSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringSlice'
func (*GosoConf_GetStringSlice_Call) Return ¶
func (_c *GosoConf_GetStringSlice_Call) Return(_a0 []string) *GosoConf_GetStringSlice_Call
func (*GosoConf_GetStringSlice_Call) Run ¶
func (_c *GosoConf_GetStringSlice_Call) Run(run func(key string, optionalDefault ...[]string)) *GosoConf_GetStringSlice_Call
func (*GosoConf_GetStringSlice_Call) RunAndReturn ¶
func (_c *GosoConf_GetStringSlice_Call) RunAndReturn(run func(string, ...[]string) []string) *GosoConf_GetStringSlice_Call
type GosoConf_GetString_Call ¶
GosoConf_GetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetString'
func (*GosoConf_GetString_Call) Return ¶
func (_c *GosoConf_GetString_Call) Return(_a0 string) *GosoConf_GetString_Call
func (*GosoConf_GetString_Call) Run ¶
func (_c *GosoConf_GetString_Call) Run(run func(key string, optionalDefault ...string)) *GosoConf_GetString_Call
func (*GosoConf_GetString_Call) RunAndReturn ¶
func (_c *GosoConf_GetString_Call) RunAndReturn(run func(string, ...string) string) *GosoConf_GetString_Call
type GosoConf_GetTime_Call ¶
GosoConf_GetTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTime'
func (*GosoConf_GetTime_Call) Return ¶
func (_c *GosoConf_GetTime_Call) Return(_a0 time.Time) *GosoConf_GetTime_Call
func (*GosoConf_GetTime_Call) Run ¶
func (_c *GosoConf_GetTime_Call) Run(run func(key string, optionalDefault ...time.Time)) *GosoConf_GetTime_Call
func (*GosoConf_GetTime_Call) RunAndReturn ¶
func (_c *GosoConf_GetTime_Call) RunAndReturn(run func(string, ...time.Time) time.Time) *GosoConf_GetTime_Call
type GosoConf_Get_Call ¶
GosoConf_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*GosoConf_Get_Call) Return ¶
func (_c *GosoConf_Get_Call) Return(_a0 interface{}) *GosoConf_Get_Call
func (*GosoConf_Get_Call) Run ¶
func (_c *GosoConf_Get_Call) Run(run func(key string, optionalDefault ...interface{})) *GosoConf_Get_Call
func (*GosoConf_Get_Call) RunAndReturn ¶
func (_c *GosoConf_Get_Call) RunAndReturn(run func(string, ...interface{}) interface{}) *GosoConf_Get_Call
type GosoConf_HasPrefix_Call ¶
GosoConf_HasPrefix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasPrefix'
func (*GosoConf_HasPrefix_Call) Return ¶
func (_c *GosoConf_HasPrefix_Call) Return(_a0 bool) *GosoConf_HasPrefix_Call
func (*GosoConf_HasPrefix_Call) Run ¶
func (_c *GosoConf_HasPrefix_Call) Run(run func(prefix string)) *GosoConf_HasPrefix_Call
func (*GosoConf_HasPrefix_Call) RunAndReturn ¶
func (_c *GosoConf_HasPrefix_Call) RunAndReturn(run func(string) bool) *GosoConf_HasPrefix_Call
type GosoConf_IsSet_Call ¶
GosoConf_IsSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSet'
func (*GosoConf_IsSet_Call) Return ¶
func (_c *GosoConf_IsSet_Call) Return(_a0 bool) *GosoConf_IsSet_Call
func (*GosoConf_IsSet_Call) Run ¶
func (_c *GosoConf_IsSet_Call) Run(run func(_a0 string)) *GosoConf_IsSet_Call
func (*GosoConf_IsSet_Call) RunAndReturn ¶
func (_c *GosoConf_IsSet_Call) RunAndReturn(run func(string) bool) *GosoConf_IsSet_Call
type GosoConf_Option_Call ¶
GosoConf_Option_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Option'
func (*GosoConf_Option_Call) Return ¶
func (_c *GosoConf_Option_Call) Return(_a0 error) *GosoConf_Option_Call
func (*GosoConf_Option_Call) Run ¶
func (_c *GosoConf_Option_Call) Run(run func(options ...cfg.Option)) *GosoConf_Option_Call
func (*GosoConf_Option_Call) RunAndReturn ¶
func (_c *GosoConf_Option_Call) RunAndReturn(run func(...cfg.Option) error) *GosoConf_Option_Call
type GosoConf_UnmarshalDefaults_Call ¶
GosoConf_UnmarshalDefaults_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnmarshalDefaults'
func (*GosoConf_UnmarshalDefaults_Call) Return ¶
func (_c *GosoConf_UnmarshalDefaults_Call) Return() *GosoConf_UnmarshalDefaults_Call
func (*GosoConf_UnmarshalDefaults_Call) Run ¶
func (_c *GosoConf_UnmarshalDefaults_Call) Run(run func(val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)) *GosoConf_UnmarshalDefaults_Call
func (*GosoConf_UnmarshalDefaults_Call) RunAndReturn ¶
func (_c *GosoConf_UnmarshalDefaults_Call) RunAndReturn(run func(interface{}, ...cfg.UnmarshalDefaults)) *GosoConf_UnmarshalDefaults_Call
type GosoConf_UnmarshalKey_Call ¶
GosoConf_UnmarshalKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnmarshalKey'
func (*GosoConf_UnmarshalKey_Call) Return ¶
func (_c *GosoConf_UnmarshalKey_Call) Return() *GosoConf_UnmarshalKey_Call
func (*GosoConf_UnmarshalKey_Call) Run ¶
func (_c *GosoConf_UnmarshalKey_Call) Run(run func(key string, val interface{}, additionalDefaults ...cfg.UnmarshalDefaults)) *GosoConf_UnmarshalKey_Call
func (*GosoConf_UnmarshalKey_Call) RunAndReturn ¶
func (_c *GosoConf_UnmarshalKey_Call) RunAndReturn(run func(string, interface{}, ...cfg.UnmarshalDefaults)) *GosoConf_UnmarshalKey_Call
type Sentry ¶
Sentry is an autogenerated mock type for the Sentry type
func NewSentry ¶
NewSentry creates a new instance of Sentry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Sentry) CaptureException ¶
func (_m *Sentry) CaptureException(exception error, hint *sentry.EventHint, scope sentry.EventModifier) *sentry.EventID
CaptureException provides a mock function with given fields: exception, hint, scope
func (*Sentry) EXPECT ¶
func (_m *Sentry) EXPECT() *Sentry_Expecter
type Sentry_CaptureException_Call ¶
Sentry_CaptureException_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CaptureException'
func (*Sentry_CaptureException_Call) Return ¶
func (_c *Sentry_CaptureException_Call) Return(_a0 *sentry.EventID) *Sentry_CaptureException_Call
func (*Sentry_CaptureException_Call) Run ¶
func (_c *Sentry_CaptureException_Call) Run(run func(exception error, hint *sentry.EventHint, scope sentry.EventModifier)) *Sentry_CaptureException_Call
func (*Sentry_CaptureException_Call) RunAndReturn ¶
func (_c *Sentry_CaptureException_Call) RunAndReturn(run func(error, *sentry.EventHint, sentry.EventModifier) *sentry.EventID) *Sentry_CaptureException_Call
type Sentry_Expecter ¶
type Sentry_Expecter struct {
// contains filtered or unexported fields
}
func (*Sentry_Expecter) CaptureException ¶
func (_e *Sentry_Expecter) CaptureException(exception interface{}, hint interface{}, scope interface{}) *Sentry_CaptureException_Call
CaptureException is a helper method to define mock.On call
- exception error
- hint *sentry.EventHint
- scope sentry.EventModifier