github.com/almamedia/fargate@v0.2.4-0.20220704071213-7b5b3d27c5eb/acm/mock/client/client.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/almamedia/fargate/acm (interfaces: Client) 3 4 // Package client is a generated GoMock package. 5 package client 6 7 import ( 8 acm "github.com/almamedia/fargate/acm" 9 gomock "github.com/golang/mock/gomock" 10 reflect "reflect" 11 ) 12 13 // MockClient is a mock of Client interface 14 type MockClient struct { 15 ctrl *gomock.Controller 16 recorder *MockClientMockRecorder 17 } 18 19 // MockClientMockRecorder is the mock recorder for MockClient 20 type MockClientMockRecorder struct { 21 mock *MockClient 22 } 23 24 // NewMockClient creates a new mock instance 25 func NewMockClient(ctrl *gomock.Controller) *MockClient { 26 mock := &MockClient{ctrl: ctrl} 27 mock.recorder = &MockClientMockRecorder{mock} 28 return mock 29 } 30 31 // EXPECT returns an object that allows the caller to indicate expected use 32 func (m *MockClient) EXPECT() *MockClientMockRecorder { 33 return m.recorder 34 } 35 36 // DeleteCertificate mocks base method 37 func (m *MockClient) DeleteCertificate(arg0 string) error { 38 ret := m.ctrl.Call(m, "DeleteCertificate", arg0) 39 ret0, _ := ret[0].(error) 40 return ret0 41 } 42 43 // DeleteCertificate indicates an expected call of DeleteCertificate 44 func (mr *MockClientMockRecorder) DeleteCertificate(arg0 interface{}) *gomock.Call { 45 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCertificate", reflect.TypeOf((*MockClient)(nil).DeleteCertificate), arg0) 46 } 47 48 // ImportCertificate mocks base method 49 func (m *MockClient) ImportCertificate(arg0, arg1, arg2 []byte) (string, error) { 50 ret := m.ctrl.Call(m, "ImportCertificate", arg0, arg1, arg2) 51 ret0, _ := ret[0].(string) 52 ret1, _ := ret[1].(error) 53 return ret0, ret1 54 } 55 56 // ImportCertificate indicates an expected call of ImportCertificate 57 func (mr *MockClientMockRecorder) ImportCertificate(arg0, arg1, arg2 interface{}) *gomock.Call { 58 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImportCertificate", reflect.TypeOf((*MockClient)(nil).ImportCertificate), arg0, arg1, arg2) 59 } 60 61 // InflateCertificate mocks base method 62 func (m *MockClient) InflateCertificate(arg0 *acm.Certificate) error { 63 ret := m.ctrl.Call(m, "InflateCertificate", arg0) 64 ret0, _ := ret[0].(error) 65 return ret0 66 } 67 68 // InflateCertificate indicates an expected call of InflateCertificate 69 func (mr *MockClientMockRecorder) InflateCertificate(arg0 interface{}) *gomock.Call { 70 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InflateCertificate", reflect.TypeOf((*MockClient)(nil).InflateCertificate), arg0) 71 } 72 73 // ListCertificates mocks base method 74 func (m *MockClient) ListCertificates() (acm.Certificates, error) { 75 ret := m.ctrl.Call(m, "ListCertificates") 76 ret0, _ := ret[0].(acm.Certificates) 77 ret1, _ := ret[1].(error) 78 return ret0, ret1 79 } 80 81 // ListCertificates indicates an expected call of ListCertificates 82 func (mr *MockClientMockRecorder) ListCertificates() *gomock.Call { 83 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListCertificates", reflect.TypeOf((*MockClient)(nil).ListCertificates)) 84 } 85 86 // RequestCertificate mocks base method 87 func (m *MockClient) RequestCertificate(arg0 string, arg1 []string) (string, error) { 88 ret := m.ctrl.Call(m, "RequestCertificate", arg0, arg1) 89 ret0, _ := ret[0].(string) 90 ret1, _ := ret[1].(error) 91 return ret0, ret1 92 } 93 94 // RequestCertificate indicates an expected call of RequestCertificate 95 func (mr *MockClientMockRecorder) RequestCertificate(arg0, arg1 interface{}) *gomock.Call { 96 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RequestCertificate", reflect.TypeOf((*MockClient)(nil).RequestCertificate), arg0, arg1) 97 }