Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option is an autogenerated mock type for the Option type
func NewOption ¶
NewOption creates a new instance of Option. 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 (*Option) Apply ¶
func (_m *Option) Apply(disco *discoverynats.Discovery)
Apply provides a mock function with given fields: disco
func (*Option) EXPECT ¶
func (_m *Option) EXPECT() *Option_Expecter
type OptionFunc ¶
OptionFunc is an autogenerated mock type for the OptionFunc type
func NewOptionFunc ¶
func NewOptionFunc(t interface { mock.TestingT Cleanup(func()) }) *OptionFunc
NewOptionFunc creates a new instance of OptionFunc. 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 (*OptionFunc) EXPECT ¶
func (_m *OptionFunc) EXPECT() *OptionFunc_Expecter
func (*OptionFunc) Execute ¶
func (_m *OptionFunc) Execute(disco *discoverynats.Discovery)
Execute provides a mock function with given fields: disco
type OptionFunc_Execute_Call ¶
OptionFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*OptionFunc_Execute_Call) Return ¶
func (_c *OptionFunc_Execute_Call) Return() *OptionFunc_Execute_Call
func (*OptionFunc_Execute_Call) Run ¶
func (_c *OptionFunc_Execute_Call) Run(run func(disco *discoverynats.Discovery)) *OptionFunc_Execute_Call
func (*OptionFunc_Execute_Call) RunAndReturn ¶
func (_c *OptionFunc_Execute_Call) RunAndReturn(run func(*discoverynats.Discovery)) *OptionFunc_Execute_Call
type OptionFunc_Expecter ¶
type OptionFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*OptionFunc_Expecter) Execute ¶
func (_e *OptionFunc_Expecter) Execute(disco interface{}) *OptionFunc_Execute_Call
Execute is a helper method to define mock.On call
- disco *discoverynats.Discovery
type Option_Apply_Call ¶
Option_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*Option_Apply_Call) Return ¶
func (_c *Option_Apply_Call) Return() *Option_Apply_Call
func (*Option_Apply_Call) Run ¶
func (_c *Option_Apply_Call) Run(run func(disco *discoverynats.Discovery)) *Option_Apply_Call
func (*Option_Apply_Call) RunAndReturn ¶
func (_c *Option_Apply_Call) RunAndReturn(run func(*discoverynats.Discovery)) *Option_Apply_Call
type Option_Expecter ¶
type Option_Expecter struct {
// contains filtered or unexported fields
}
func (*Option_Expecter) Apply ¶
func (_e *Option_Expecter) Apply(disco interface{}) *Option_Apply_Call
Apply is a helper method to define mock.On call
- disco *discoverynats.Discovery