github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/provider/oci/testing/mocks_firewall.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/juju/juju/provider/oci (interfaces: FirewallClient) 3 // 4 // Generated by this command: 5 // 6 // mockgen -package testing -destination testing/mocks_firewall.go -write_package_comment=false github.com/juju/juju/provider/oci FirewallClient 7 package testing 8 9 import ( 10 context "context" 11 reflect "reflect" 12 13 core "github.com/oracle/oci-go-sdk/v65/core" 14 gomock "go.uber.org/mock/gomock" 15 ) 16 17 // MockFirewallClient is a mock of FirewallClient interface. 18 type MockFirewallClient struct { 19 ctrl *gomock.Controller 20 recorder *MockFirewallClientMockRecorder 21 } 22 23 // MockFirewallClientMockRecorder is the mock recorder for MockFirewallClient. 24 type MockFirewallClientMockRecorder struct { 25 mock *MockFirewallClient 26 } 27 28 // NewMockFirewallClient creates a new mock instance. 29 func NewMockFirewallClient(ctrl *gomock.Controller) *MockFirewallClient { 30 mock := &MockFirewallClient{ctrl: ctrl} 31 mock.recorder = &MockFirewallClientMockRecorder{mock} 32 return mock 33 } 34 35 // EXPECT returns an object that allows the caller to indicate expected use. 36 func (m *MockFirewallClient) EXPECT() *MockFirewallClientMockRecorder { 37 return m.recorder 38 } 39 40 // CreateSecurityList mocks base method. 41 func (m *MockFirewallClient) CreateSecurityList(arg0 context.Context, arg1 core.CreateSecurityListRequest) (core.CreateSecurityListResponse, error) { 42 m.ctrl.T.Helper() 43 ret := m.ctrl.Call(m, "CreateSecurityList", arg0, arg1) 44 ret0, _ := ret[0].(core.CreateSecurityListResponse) 45 ret1, _ := ret[1].(error) 46 return ret0, ret1 47 } 48 49 // CreateSecurityList indicates an expected call of CreateSecurityList. 50 func (mr *MockFirewallClientMockRecorder) CreateSecurityList(arg0, arg1 any) *gomock.Call { 51 mr.mock.ctrl.T.Helper() 52 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSecurityList", reflect.TypeOf((*MockFirewallClient)(nil).CreateSecurityList), arg0, arg1) 53 } 54 55 // DeleteSecurityList mocks base method. 56 func (m *MockFirewallClient) DeleteSecurityList(arg0 context.Context, arg1 core.DeleteSecurityListRequest) (core.DeleteSecurityListResponse, error) { 57 m.ctrl.T.Helper() 58 ret := m.ctrl.Call(m, "DeleteSecurityList", arg0, arg1) 59 ret0, _ := ret[0].(core.DeleteSecurityListResponse) 60 ret1, _ := ret[1].(error) 61 return ret0, ret1 62 } 63 64 // DeleteSecurityList indicates an expected call of DeleteSecurityList. 65 func (mr *MockFirewallClientMockRecorder) DeleteSecurityList(arg0, arg1 any) *gomock.Call { 66 mr.mock.ctrl.T.Helper() 67 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecurityList", reflect.TypeOf((*MockFirewallClient)(nil).DeleteSecurityList), arg0, arg1) 68 } 69 70 // GetSecurityList mocks base method. 71 func (m *MockFirewallClient) GetSecurityList(arg0 context.Context, arg1 core.GetSecurityListRequest) (core.GetSecurityListResponse, error) { 72 m.ctrl.T.Helper() 73 ret := m.ctrl.Call(m, "GetSecurityList", arg0, arg1) 74 ret0, _ := ret[0].(core.GetSecurityListResponse) 75 ret1, _ := ret[1].(error) 76 return ret0, ret1 77 } 78 79 // GetSecurityList indicates an expected call of GetSecurityList. 80 func (mr *MockFirewallClientMockRecorder) GetSecurityList(arg0, arg1 any) *gomock.Call { 81 mr.mock.ctrl.T.Helper() 82 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecurityList", reflect.TypeOf((*MockFirewallClient)(nil).GetSecurityList), arg0, arg1) 83 } 84 85 // ListSecurityLists mocks base method. 86 func (m *MockFirewallClient) ListSecurityLists(arg0 context.Context, arg1, arg2 *string) ([]core.SecurityList, error) { 87 m.ctrl.T.Helper() 88 ret := m.ctrl.Call(m, "ListSecurityLists", arg0, arg1, arg2) 89 ret0, _ := ret[0].([]core.SecurityList) 90 ret1, _ := ret[1].(error) 91 return ret0, ret1 92 } 93 94 // ListSecurityLists indicates an expected call of ListSecurityLists. 95 func (mr *MockFirewallClientMockRecorder) ListSecurityLists(arg0, arg1, arg2 any) *gomock.Call { 96 mr.mock.ctrl.T.Helper() 97 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSecurityLists", reflect.TypeOf((*MockFirewallClient)(nil).ListSecurityLists), arg0, arg1, arg2) 98 }