// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may // not use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" file accompanying this file. This file is distributed // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either // express or implied. See the License for the specific language governing // permissions and limitations under the License. // // Code generated by MockGen. DO NOT EDIT. // Source: github.com/aws/amazon-vpc-cni-k8s/cmd/routed-eni-cni-plugin/driver (interfaces: NetworkAPIs) // Package mock_driver is a generated GoMock package. package mock_driver import ( net "net" reflect "reflect" sgpp "github.com/aws/amazon-vpc-cni-k8s/pkg/sgpp" logger "github.com/aws/amazon-vpc-cni-k8s/pkg/utils/logger" gomock "github.com/golang/mock/gomock" ) // MockNetworkAPIs is a mock of NetworkAPIs interface. type MockNetworkAPIs struct { ctrl *gomock.Controller recorder *MockNetworkAPIsMockRecorder } // MockNetworkAPIsMockRecorder is the mock recorder for MockNetworkAPIs. type MockNetworkAPIsMockRecorder struct { mock *MockNetworkAPIs } // NewMockNetworkAPIs creates a new mock instance. func NewMockNetworkAPIs(ctrl *gomock.Controller) *MockNetworkAPIs { mock := &MockNetworkAPIs{ctrl: ctrl} mock.recorder = &MockNetworkAPIsMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockNetworkAPIs) EXPECT() *MockNetworkAPIsMockRecorder { return m.recorder } // SetupBranchENIPodNetwork mocks base method. func (m *MockNetworkAPIs) SetupBranchENIPodNetwork(arg0, arg1, arg2 string, arg3, arg4 *net.IPNet, arg5 int, arg6, arg7 string, arg8, arg9 int, arg10 sgpp.EnforcingMode, arg11 logger.Logger) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetupBranchENIPodNetwork", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ret0, _ := ret[0].(error) return ret0 } // SetupBranchENIPodNetwork indicates an expected call of SetupBranchENIPodNetwork. func (mr *MockNetworkAPIsMockRecorder) SetupBranchENIPodNetwork(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetupBranchENIPodNetwork", reflect.TypeOf((*MockNetworkAPIs)(nil).SetupBranchENIPodNetwork), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) } // SetupPodNetwork mocks base method. func (m *MockNetworkAPIs) SetupPodNetwork(arg0, arg1, arg2 string, arg3, arg4 *net.IPNet, arg5, arg6 int, arg7 logger.Logger) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetupPodNetwork", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ret0, _ := ret[0].(error) return ret0 } // SetupPodNetwork indicates an expected call of SetupPodNetwork. func (mr *MockNetworkAPIsMockRecorder) SetupPodNetwork(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetupPodNetwork", reflect.TypeOf((*MockNetworkAPIs)(nil).SetupPodNetwork), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) } // TeardownBranchENIPodNetwork mocks base method. func (m *MockNetworkAPIs) TeardownBranchENIPodNetwork(arg0 *net.IPNet, arg1 int, arg2 sgpp.EnforcingMode, arg3 logger.Logger) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "TeardownBranchENIPodNetwork", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(error) return ret0 } // TeardownBranchENIPodNetwork indicates an expected call of TeardownBranchENIPodNetwork. func (mr *MockNetworkAPIsMockRecorder) TeardownBranchENIPodNetwork(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TeardownBranchENIPodNetwork", reflect.TypeOf((*MockNetworkAPIs)(nil).TeardownBranchENIPodNetwork), arg0, arg1, arg2, arg3) } // TeardownPodNetwork mocks base method. func (m *MockNetworkAPIs) TeardownPodNetwork(arg0 *net.IPNet, arg1 int, arg2 logger.Logger) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "TeardownPodNetwork", arg0, arg1, arg2) ret0, _ := ret[0].(error) return ret0 } // TeardownPodNetwork indicates an expected call of TeardownPodNetwork. func (mr *MockNetworkAPIsMockRecorder) TeardownPodNetwork(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TeardownPodNetwork", reflect.TypeOf((*MockNetworkAPIs)(nil).TeardownPodNetwork), arg0, arg1, arg2) }