Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigBuilder ¶
ConfigBuilder is an autogenerated mock type for the ConfigBuilder type
func NewConfigBuilder ¶
func NewConfigBuilder(t interface { mock.TestingT Cleanup(func()) }) *ConfigBuilder
NewConfigBuilder creates a new instance of ConfigBuilder. 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 (*ConfigBuilder) EXPECT ¶
func (_m *ConfigBuilder) EXPECT() *ConfigBuilder_Expecter
func (*ConfigBuilder) Reads ¶
func (_m *ConfigBuilder) Reads() []database.FullConfig
Reads provides a mock function with no fields
func (*ConfigBuilder) Writes ¶
func (_m *ConfigBuilder) Writes() []database.FullConfig
Writes provides a mock function with no fields
type ConfigBuilder_Expecter ¶
type ConfigBuilder_Expecter struct {
// contains filtered or unexported fields
}
func (*ConfigBuilder_Expecter) Reads ¶
func (_e *ConfigBuilder_Expecter) Reads() *ConfigBuilder_Reads_Call
Reads is a helper method to define mock.On call
func (*ConfigBuilder_Expecter) Writes ¶
func (_e *ConfigBuilder_Expecter) Writes() *ConfigBuilder_Writes_Call
Writes is a helper method to define mock.On call
type ConfigBuilder_Reads_Call ¶
ConfigBuilder_Reads_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reads'
func (*ConfigBuilder_Reads_Call) Return ¶
func (_c *ConfigBuilder_Reads_Call) Return(_a0 []database.FullConfig) *ConfigBuilder_Reads_Call
func (*ConfigBuilder_Reads_Call) Run ¶
func (_c *ConfigBuilder_Reads_Call) Run(run func()) *ConfigBuilder_Reads_Call
func (*ConfigBuilder_Reads_Call) RunAndReturn ¶
func (_c *ConfigBuilder_Reads_Call) RunAndReturn(run func() []database.FullConfig) *ConfigBuilder_Reads_Call
type ConfigBuilder_Writes_Call ¶
ConfigBuilder_Writes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Writes'
func (*ConfigBuilder_Writes_Call) Return ¶
func (_c *ConfigBuilder_Writes_Call) Return(_a0 []database.FullConfig) *ConfigBuilder_Writes_Call
func (*ConfigBuilder_Writes_Call) Run ¶
func (_c *ConfigBuilder_Writes_Call) Run(run func()) *ConfigBuilder_Writes_Call
func (*ConfigBuilder_Writes_Call) RunAndReturn ¶
func (_c *ConfigBuilder_Writes_Call) RunAndReturn(run func() []database.FullConfig) *ConfigBuilder_Writes_Call
type Configs ¶
Configs is an autogenerated mock type for the Configs type
func NewConfigs ¶
NewConfigs creates a new instance of Configs. 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 (*Configs) EXPECT ¶
func (_m *Configs) EXPECT() *Configs_Expecter
func (*Configs) Reads ¶
func (_m *Configs) Reads() []database.FullConfig
Reads provides a mock function with given fields:
func (*Configs) Writes ¶
func (_m *Configs) Writes() []database.FullConfig
Writes provides a mock function with given fields:
type Configs_Expecter ¶
type Configs_Expecter struct {
// contains filtered or unexported fields
}
func (*Configs_Expecter) Reads ¶
func (_e *Configs_Expecter) Reads() *Configs_Reads_Call
Reads is a helper method to define mock.On call
func (*Configs_Expecter) Writes ¶
func (_e *Configs_Expecter) Writes() *Configs_Writes_Call
Writes is a helper method to define mock.On call
type Configs_Reads_Call ¶
Configs_Reads_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reads'
func (*Configs_Reads_Call) Return ¶
func (_c *Configs_Reads_Call) Return(_a0 []database.FullConfig) *Configs_Reads_Call
func (*Configs_Reads_Call) Run ¶
func (_c *Configs_Reads_Call) Run(run func()) *Configs_Reads_Call
func (*Configs_Reads_Call) RunAndReturn ¶
func (_c *Configs_Reads_Call) RunAndReturn(run func() []database.FullConfig) *Configs_Reads_Call
type Configs_Writes_Call ¶
Configs_Writes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Writes'
func (*Configs_Writes_Call) Return ¶
func (_c *Configs_Writes_Call) Return(_a0 []database.FullConfig) *Configs_Writes_Call
func (*Configs_Writes_Call) Run ¶
func (_c *Configs_Writes_Call) Run(run func()) *Configs_Writes_Call
func (*Configs_Writes_Call) RunAndReturn ¶
func (_c *Configs_Writes_Call) RunAndReturn(run func() []database.FullConfig) *Configs_Writes_Call
type Replacer ¶
Replacer is an autogenerated mock type for the Replacer type
func NewReplacer ¶
NewReplacer creates a new instance of Replacer. 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 (*Replacer) EXPECT ¶
func (_m *Replacer) EXPECT() *Replacer_Expecter
type Replacer_Expecter ¶
type Replacer_Expecter struct {
// contains filtered or unexported fields
}
func (*Replacer_Expecter) Replace ¶
func (_e *Replacer_Expecter) Replace(name interface{}) *Replacer_Replace_Call
Replace is a helper method to define mock.On call
- name string
type Replacer_Replace_Call ¶
Replacer_Replace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Replace'
func (*Replacer_Replace_Call) Return ¶
func (_c *Replacer_Replace_Call) Return(_a0 string) *Replacer_Replace_Call
func (*Replacer_Replace_Call) Run ¶
func (_c *Replacer_Replace_Call) Run(run func(name string)) *Replacer_Replace_Call
func (*Replacer_Replace_Call) RunAndReturn ¶
func (_c *Replacer_Replace_Call) RunAndReturn(run func(string) string) *Replacer_Replace_Call