sigs.k8s.io/cluster-api-provider-aws@v1.5.5/pkg/cloud/services/mock_services/network_interface_mock.go (about) 1 /* 2 Copyright The Kubernetes Authors. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 // Code generated by MockGen. DO NOT EDIT. 18 // Source: sigs.k8s.io/cluster-api-provider-aws/pkg/cloud/services (interfaces: NetworkInterface) 19 20 // Package mock_services is a generated GoMock package. 21 package mock_services 22 23 import ( 24 reflect "reflect" 25 26 gomock "github.com/golang/mock/gomock" 27 ) 28 29 // MockNetworkInterface is a mock of NetworkInterface interface. 30 type MockNetworkInterface struct { 31 ctrl *gomock.Controller 32 recorder *MockNetworkInterfaceMockRecorder 33 } 34 35 // MockNetworkInterfaceMockRecorder is the mock recorder for MockNetworkInterface. 36 type MockNetworkInterfaceMockRecorder struct { 37 mock *MockNetworkInterface 38 } 39 40 // NewMockNetworkInterface creates a new mock instance. 41 func NewMockNetworkInterface(ctrl *gomock.Controller) *MockNetworkInterface { 42 mock := &MockNetworkInterface{ctrl: ctrl} 43 mock.recorder = &MockNetworkInterfaceMockRecorder{mock} 44 return mock 45 } 46 47 // EXPECT returns an object that allows the caller to indicate expected use. 48 func (m *MockNetworkInterface) EXPECT() *MockNetworkInterfaceMockRecorder { 49 return m.recorder 50 } 51 52 // DeleteNetwork mocks base method. 53 func (m *MockNetworkInterface) DeleteNetwork() error { 54 m.ctrl.T.Helper() 55 ret := m.ctrl.Call(m, "DeleteNetwork") 56 ret0, _ := ret[0].(error) 57 return ret0 58 } 59 60 // DeleteNetwork indicates an expected call of DeleteNetwork. 61 func (mr *MockNetworkInterfaceMockRecorder) DeleteNetwork() *gomock.Call { 62 mr.mock.ctrl.T.Helper() 63 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNetwork", reflect.TypeOf((*MockNetworkInterface)(nil).DeleteNetwork)) 64 } 65 66 // ReconcileNetwork mocks base method. 67 func (m *MockNetworkInterface) ReconcileNetwork() error { 68 m.ctrl.T.Helper() 69 ret := m.ctrl.Call(m, "ReconcileNetwork") 70 ret0, _ := ret[0].(error) 71 return ret0 72 } 73 74 // ReconcileNetwork indicates an expected call of ReconcileNetwork. 75 func (mr *MockNetworkInterfaceMockRecorder) ReconcileNetwork() *gomock.Call { 76 mr.mock.ctrl.T.Helper() 77 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReconcileNetwork", reflect.TypeOf((*MockNetworkInterface)(nil).ReconcileNetwork)) 78 }