Documentation ¶
Overview ¶
Package ocicnitypesmock is a generated GoMock package.
Index ¶
- type MockCNIPlugin
- func (m *MockCNIPlugin) EXPECT() *MockCNIPluginMockRecorder
- func (m *MockCNIPlugin) GetDefaultNetworkName() string
- func (m *MockCNIPlugin) GetPodNetworkStatus(arg0 ocicni.PodNetwork) ([]ocicni.NetResult, error)
- func (m *MockCNIPlugin) GetPodNetworkStatusWithContext(arg0 context.Context, arg1 ocicni.PodNetwork) ([]ocicni.NetResult, error)
- func (m *MockCNIPlugin) Name() string
- func (m *MockCNIPlugin) SetUpPod(arg0 ocicni.PodNetwork) ([]ocicni.NetResult, error)
- func (m *MockCNIPlugin) SetUpPodWithContext(arg0 context.Context, arg1 ocicni.PodNetwork) ([]ocicni.NetResult, error)
- func (m *MockCNIPlugin) Shutdown() error
- func (m *MockCNIPlugin) Status() error
- func (m *MockCNIPlugin) TearDownPod(arg0 ocicni.PodNetwork) error
- func (m *MockCNIPlugin) TearDownPodWithContext(arg0 context.Context, arg1 ocicni.PodNetwork) error
- type MockCNIPluginMockRecorder
- func (mr *MockCNIPluginMockRecorder) GetDefaultNetworkName() *gomock.Call
- func (mr *MockCNIPluginMockRecorder) GetPodNetworkStatus(arg0 interface{}) *gomock.Call
- func (mr *MockCNIPluginMockRecorder) GetPodNetworkStatusWithContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCNIPluginMockRecorder) Name() *gomock.Call
- func (mr *MockCNIPluginMockRecorder) SetUpPod(arg0 interface{}) *gomock.Call
- func (mr *MockCNIPluginMockRecorder) SetUpPodWithContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCNIPluginMockRecorder) Shutdown() *gomock.Call
- func (mr *MockCNIPluginMockRecorder) Status() *gomock.Call
- func (mr *MockCNIPluginMockRecorder) TearDownPod(arg0 interface{}) *gomock.Call
- func (mr *MockCNIPluginMockRecorder) TearDownPodWithContext(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCNIPlugin ¶
type MockCNIPlugin struct {
// contains filtered or unexported fields
}
MockCNIPlugin is a mock of CNIPlugin interface.
func NewMockCNIPlugin ¶
func NewMockCNIPlugin(ctrl *gomock.Controller) *MockCNIPlugin
NewMockCNIPlugin creates a new mock instance.
func (*MockCNIPlugin) EXPECT ¶
func (m *MockCNIPlugin) EXPECT() *MockCNIPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCNIPlugin) GetDefaultNetworkName ¶
func (m *MockCNIPlugin) GetDefaultNetworkName() string
GetDefaultNetworkName mocks base method.
func (*MockCNIPlugin) GetPodNetworkStatus ¶
func (m *MockCNIPlugin) GetPodNetworkStatus(arg0 ocicni.PodNetwork) ([]ocicni.NetResult, error)
GetPodNetworkStatus mocks base method.
func (*MockCNIPlugin) GetPodNetworkStatusWithContext ¶ added in v1.17.5
func (m *MockCNIPlugin) GetPodNetworkStatusWithContext(arg0 context.Context, arg1 ocicni.PodNetwork) ([]ocicni.NetResult, error)
GetPodNetworkStatusWithContext mocks base method.
func (*MockCNIPlugin) SetUpPod ¶
func (m *MockCNIPlugin) SetUpPod(arg0 ocicni.PodNetwork) ([]ocicni.NetResult, error)
SetUpPod mocks base method.
func (*MockCNIPlugin) SetUpPodWithContext ¶ added in v1.17.5
func (m *MockCNIPlugin) SetUpPodWithContext(arg0 context.Context, arg1 ocicni.PodNetwork) ([]ocicni.NetResult, error)
SetUpPodWithContext mocks base method.
func (*MockCNIPlugin) Shutdown ¶
func (m *MockCNIPlugin) Shutdown() error
Shutdown mocks base method.
func (*MockCNIPlugin) TearDownPod ¶
func (m *MockCNIPlugin) TearDownPod(arg0 ocicni.PodNetwork) error
TearDownPod mocks base method.
func (*MockCNIPlugin) TearDownPodWithContext ¶ added in v1.17.5
func (m *MockCNIPlugin) TearDownPodWithContext(arg0 context.Context, arg1 ocicni.PodNetwork) error
TearDownPodWithContext mocks base method.
type MockCNIPluginMockRecorder ¶
type MockCNIPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockCNIPluginMockRecorder is the mock recorder for MockCNIPlugin.
func (*MockCNIPluginMockRecorder) GetDefaultNetworkName ¶
func (mr *MockCNIPluginMockRecorder) GetDefaultNetworkName() *gomock.Call
GetDefaultNetworkName indicates an expected call of GetDefaultNetworkName.
func (*MockCNIPluginMockRecorder) GetPodNetworkStatus ¶
func (mr *MockCNIPluginMockRecorder) GetPodNetworkStatus(arg0 interface{}) *gomock.Call
GetPodNetworkStatus indicates an expected call of GetPodNetworkStatus.
func (*MockCNIPluginMockRecorder) GetPodNetworkStatusWithContext ¶ added in v1.17.5
func (mr *MockCNIPluginMockRecorder) GetPodNetworkStatusWithContext(arg0, arg1 interface{}) *gomock.Call
GetPodNetworkStatusWithContext indicates an expected call of GetPodNetworkStatusWithContext.
func (*MockCNIPluginMockRecorder) Name ¶
func (mr *MockCNIPluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockCNIPluginMockRecorder) SetUpPod ¶
func (mr *MockCNIPluginMockRecorder) SetUpPod(arg0 interface{}) *gomock.Call
SetUpPod indicates an expected call of SetUpPod.
func (*MockCNIPluginMockRecorder) SetUpPodWithContext ¶ added in v1.17.5
func (mr *MockCNIPluginMockRecorder) SetUpPodWithContext(arg0, arg1 interface{}) *gomock.Call
SetUpPodWithContext indicates an expected call of SetUpPodWithContext.
func (*MockCNIPluginMockRecorder) Shutdown ¶
func (mr *MockCNIPluginMockRecorder) Shutdown() *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*MockCNIPluginMockRecorder) Status ¶
func (mr *MockCNIPluginMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
func (*MockCNIPluginMockRecorder) TearDownPod ¶
func (mr *MockCNIPluginMockRecorder) TearDownPod(arg0 interface{}) *gomock.Call
TearDownPod indicates an expected call of TearDownPod.
func (*MockCNIPluginMockRecorder) TearDownPodWithContext ¶ added in v1.17.5
func (mr *MockCNIPluginMockRecorder) TearDownPodWithContext(arg0, arg1 interface{}) *gomock.Call
TearDownPodWithContext indicates an expected call of TearDownPodWithContext.