mocks

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfLoader

type ConfLoader struct {
	mock.Mock
}

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

func (*ConfLoader) LoadConf

func (_m *ConfLoader) LoadConf(args *skel.CmdArgs) (*types.NetConf, error)

LoadConf provides a mock function with given fields: args

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

type ConfLoader_LoadConf_Call struct {
	*mock.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 (*ConfLoader_LoadConf_Call) Run

func (*ConfLoader_LoadConf_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL