Documentation ¶
Index ¶
- type ConfigStore
- type ConfigStore_Expecter
- type ConfigStore_GetConfigValue_Call
- func (_c *ConfigStore_GetConfigValue_Call) Return(_a0 string, _a1 error) *ConfigStore_GetConfigValue_Call
- func (_c *ConfigStore_GetConfigValue_Call) Run(run func(ctx context.Context, key string)) *ConfigStore_GetConfigValue_Call
- func (_c *ConfigStore_GetConfigValue_Call) RunAndReturn(run func(context.Context, string) (string, error)) *ConfigStore_GetConfigValue_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigStore ¶
ConfigStore is an autogenerated mock type for the ConfigStore type
func NewConfigStore ¶
func NewConfigStore(t interface { mock.TestingT Cleanup(func()) }) *ConfigStore
NewConfigStore creates a new instance of ConfigStore. 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 (*ConfigStore) EXPECT ¶
func (_m *ConfigStore) EXPECT() *ConfigStore_Expecter
func (*ConfigStore) GetConfigValue ¶
GetConfigValue provides a mock function with given fields: ctx, key
type ConfigStore_Expecter ¶
type ConfigStore_Expecter struct {
// contains filtered or unexported fields
}
func (*ConfigStore_Expecter) GetConfigValue ¶
func (_e *ConfigStore_Expecter) GetConfigValue(ctx interface{}, key interface{}) *ConfigStore_GetConfigValue_Call
GetConfigValue is a helper method to define mock.On call
- ctx context.Context
- key string
type ConfigStore_GetConfigValue_Call ¶
ConfigStore_GetConfigValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConfigValue'
func (*ConfigStore_GetConfigValue_Call) Return ¶
func (_c *ConfigStore_GetConfigValue_Call) Return(_a0 string, _a1 error) *ConfigStore_GetConfigValue_Call
func (*ConfigStore_GetConfigValue_Call) Run ¶
func (_c *ConfigStore_GetConfigValue_Call) Run(run func(ctx context.Context, key string)) *ConfigStore_GetConfigValue_Call
func (*ConfigStore_GetConfigValue_Call) RunAndReturn ¶
func (_c *ConfigStore_GetConfigValue_Call) RunAndReturn(run func(context.Context, string) (string, error)) *ConfigStore_GetConfigValue_Call
Click to show internal directories.
Click to hide internal directories.