Documentation ¶
Index ¶
- type ConfLoader
- type ConfLoader_Expecter
- type ConfLoader_LoadConf_Call
- func (_c *ConfLoader_LoadConf_Call) Return(_a0 *types.NetConf, _a1 error) *ConfLoader_LoadConf_Call
- func (_c *ConfLoader_LoadConf_Call) Run(run func(args *skel.CmdArgs)) *ConfLoader_LoadConf_Call
- func (_c *ConfLoader_LoadConf_Call) RunAndReturn(run func(*skel.CmdArgs) (*types.NetConf, error)) *ConfLoader_LoadConf_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfLoader ¶
ConfLoader is an autogenerated mock type for the ConfLoader type
func NewConfLoader ¶
func NewConfLoader(t mockConstructorTestingTNewConfLoader) *ConfLoader
NewConfLoader creates a new instance of ConfLoader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConfLoader) EXPECT ¶
func (_m *ConfLoader) EXPECT() *ConfLoader_Expecter
type ConfLoader_Expecter ¶
type ConfLoader_Expecter struct {
// contains filtered or unexported fields
}
func (*ConfLoader_Expecter) LoadConf ¶
func (_e *ConfLoader_Expecter) LoadConf(args interface{}) *ConfLoader_LoadConf_Call
LoadConf is a helper method to define mock.On call
- args *skel.CmdArgs
type ConfLoader_LoadConf_Call ¶
ConfLoader_LoadConf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadConf'
func (*ConfLoader_LoadConf_Call) Return ¶
func (_c *ConfLoader_LoadConf_Call) Return(_a0 *types.NetConf, _a1 error) *ConfLoader_LoadConf_Call
func (*ConfLoader_LoadConf_Call) Run ¶
func (_c *ConfLoader_LoadConf_Call) Run(run func(args *skel.CmdArgs)) *ConfLoader_LoadConf_Call
func (*ConfLoader_LoadConf_Call) RunAndReturn ¶
func (_c *ConfLoader_LoadConf_Call) RunAndReturn(run func(*skel.CmdArgs) (*types.NetConf, error)) *ConfLoader_LoadConf_Call
Click to show internal directories.
Click to hide internal directories.