Documentation ¶
Overview ¶
Package mock_libcni is a generated GoMock package.
Index ¶
- type MockCNI
- func (m *MockCNI) AddNetwork(arg0 *libcni.NetworkConfig, arg1 *libcni.RuntimeConf) (types.Result, error)
- func (m *MockCNI) AddNetworkList(arg0 *libcni.NetworkConfigList, arg1 *libcni.RuntimeConf) (types.Result, error)
- func (m *MockCNI) DelNetwork(arg0 *libcni.NetworkConfig, arg1 *libcni.RuntimeConf) error
- func (m *MockCNI) DelNetworkList(arg0 *libcni.NetworkConfigList, arg1 *libcni.RuntimeConf) error
- func (m *MockCNI) EXPECT() *MockCNIMockRecorder
- type MockCNIMockRecorder
- func (mr *MockCNIMockRecorder) AddNetwork(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCNIMockRecorder) AddNetworkList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCNIMockRecorder) DelNetwork(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCNIMockRecorder) DelNetworkList(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCNI ¶
type MockCNI struct {
// contains filtered or unexported fields
}
MockCNI is a mock of CNI interface
func NewMockCNI ¶
func NewMockCNI(ctrl *gomock.Controller) *MockCNI
NewMockCNI creates a new mock instance
func (*MockCNI) AddNetwork ¶
func (m *MockCNI) AddNetwork(arg0 *libcni.NetworkConfig, arg1 *libcni.RuntimeConf) (types.Result, error)
AddNetwork mocks base method
func (*MockCNI) AddNetworkList ¶
func (m *MockCNI) AddNetworkList(arg0 *libcni.NetworkConfigList, arg1 *libcni.RuntimeConf) (types.Result, error)
AddNetworkList mocks base method
func (*MockCNI) DelNetwork ¶
func (m *MockCNI) DelNetwork(arg0 *libcni.NetworkConfig, arg1 *libcni.RuntimeConf) error
DelNetwork mocks base method
func (*MockCNI) DelNetworkList ¶
func (m *MockCNI) DelNetworkList(arg0 *libcni.NetworkConfigList, arg1 *libcni.RuntimeConf) error
DelNetworkList mocks base method
func (*MockCNI) EXPECT ¶
func (m *MockCNI) EXPECT() *MockCNIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCNIMockRecorder ¶ added in v1.17.3
type MockCNIMockRecorder struct {
// contains filtered or unexported fields
}
MockCNIMockRecorder is the mock recorder for MockCNI
func (*MockCNIMockRecorder) AddNetwork ¶ added in v1.17.3
func (mr *MockCNIMockRecorder) AddNetwork(arg0, arg1 interface{}) *gomock.Call
AddNetwork indicates an expected call of AddNetwork
func (*MockCNIMockRecorder) AddNetworkList ¶ added in v1.17.3
func (mr *MockCNIMockRecorder) AddNetworkList(arg0, arg1 interface{}) *gomock.Call
AddNetworkList indicates an expected call of AddNetworkList
func (*MockCNIMockRecorder) DelNetwork ¶ added in v1.17.3
func (mr *MockCNIMockRecorder) DelNetwork(arg0, arg1 interface{}) *gomock.Call
DelNetwork indicates an expected call of DelNetwork
func (*MockCNIMockRecorder) DelNetworkList ¶ added in v1.17.3
func (mr *MockCNIMockRecorder) DelNetworkList(arg0, arg1 interface{}) *gomock.Call
DelNetworkList indicates an expected call of DelNetworkList
Click to show internal directories.
Click to hide internal directories.