// Code generated by MockGen. DO NOT EDIT. // Source: git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/piwigo (interfaces: PiwigoCategoryApi,PiwigoImageApi) // Package images is a generated GoMock package. package images import ( piwigo "git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/piwigo" gomock "github.com/golang/mock/gomock" reflect "reflect" ) // MockPiwigoCategoryApi is a mock of PiwigoCategoryApi interface type MockPiwigoCategoryApi struct { ctrl *gomock.Controller recorder *MockPiwigoCategoryApiMockRecorder } // MockPiwigoCategoryApiMockRecorder is the mock recorder for MockPiwigoCategoryApi type MockPiwigoCategoryApiMockRecorder struct { mock *MockPiwigoCategoryApi } // NewMockPiwigoCategoryApi creates a new mock instance func NewMockPiwigoCategoryApi(ctrl *gomock.Controller) *MockPiwigoCategoryApi { mock := &MockPiwigoCategoryApi{ctrl: ctrl} mock.recorder = &MockPiwigoCategoryApiMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockPiwigoCategoryApi) EXPECT() *MockPiwigoCategoryApiMockRecorder { return m.recorder } // CreateCategory mocks base method func (m *MockPiwigoCategoryApi) CreateCategory(arg0 int, arg1 string) (int, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreateCategory", arg0, arg1) ret0, _ := ret[0].(int) ret1, _ := ret[1].(error) return ret0, ret1 } // CreateCategory indicates an expected call of CreateCategory func (mr *MockPiwigoCategoryApiMockRecorder) CreateCategory(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCategory", reflect.TypeOf((*MockPiwigoCategoryApi)(nil).CreateCategory), arg0, arg1) } // GetAllCategories mocks base method func (m *MockPiwigoCategoryApi) GetAllCategories() (map[string]*piwigo.Category, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetAllCategories") ret0, _ := ret[0].(map[string]*piwigo.Category) ret1, _ := ret[1].(error) return ret0, ret1 } // GetAllCategories indicates an expected call of GetAllCategories func (mr *MockPiwigoCategoryApiMockRecorder) GetAllCategories() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllCategories", reflect.TypeOf((*MockPiwigoCategoryApi)(nil).GetAllCategories)) } // MockPiwigoImageApi is a mock of PiwigoImageApi interface type MockPiwigoImageApi struct { ctrl *gomock.Controller recorder *MockPiwigoImageApiMockRecorder } // MockPiwigoImageApiMockRecorder is the mock recorder for MockPiwigoImageApi type MockPiwigoImageApiMockRecorder struct { mock *MockPiwigoImageApi } // NewMockPiwigoImageApi creates a new mock instance func NewMockPiwigoImageApi(ctrl *gomock.Controller) *MockPiwigoImageApi { mock := &MockPiwigoImageApi{ctrl: ctrl} mock.recorder = &MockPiwigoImageApiMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockPiwigoImageApi) EXPECT() *MockPiwigoImageApiMockRecorder { return m.recorder } // DeleteImages mocks base method func (m *MockPiwigoImageApi) DeleteImages(arg0 []int) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteImages", arg0) ret0, _ := ret[0].(error) return ret0 } // DeleteImages indicates an expected call of DeleteImages func (mr *MockPiwigoImageApiMockRecorder) DeleteImages(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteImages", reflect.TypeOf((*MockPiwigoImageApi)(nil).DeleteImages), arg0) } // ImageCheckFile mocks base method func (m *MockPiwigoImageApi) ImageCheckFile(arg0 int, arg1 string) (int, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ImageCheckFile", arg0, arg1) ret0, _ := ret[0].(int) ret1, _ := ret[1].(error) return ret0, ret1 } // ImageCheckFile indicates an expected call of ImageCheckFile func (mr *MockPiwigoImageApiMockRecorder) ImageCheckFile(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageCheckFile", reflect.TypeOf((*MockPiwigoImageApi)(nil).ImageCheckFile), arg0, arg1) } // ImagesExistOnPiwigo mocks base method func (m *MockPiwigoImageApi) ImagesExistOnPiwigo(arg0 []string) (map[string]int, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ImagesExistOnPiwigo", arg0) ret0, _ := ret[0].(map[string]int) ret1, _ := ret[1].(error) return ret0, ret1 } // ImagesExistOnPiwigo indicates an expected call of ImagesExistOnPiwigo func (mr *MockPiwigoImageApiMockRecorder) ImagesExistOnPiwigo(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImagesExistOnPiwigo", reflect.TypeOf((*MockPiwigoImageApi)(nil).ImagesExistOnPiwigo), arg0) } // UploadImage mocks base method func (m *MockPiwigoImageApi) UploadImage(arg0 int, arg1, arg2 string, arg3 int) (int, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "UploadImage", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(int) ret1, _ := ret[1].(error) return ret0, ret1 } // UploadImage indicates an expected call of UploadImage func (mr *MockPiwigoImageApiMockRecorder) UploadImage(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UploadImage", reflect.TypeOf((*MockPiwigoImageApi)(nil).UploadImage), arg0, arg1, arg2, arg3) }