// Code generated by MockGen. DO NOT EDIT.
// Source: git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/file (interfaces: Storage)
//
// Generated by this command:
//
//	mockgen -destination=../../mocks/lib/file/file.go git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/file Storage
//

// Package mock_file is a generated GoMock package.
package mock_file

import (
	io "io"
	reflect "reflect"

	gomock "go.uber.org/mock/gomock"
)

// MockStorage is a mock of Storage interface.
type MockStorage struct {
	ctrl     *gomock.Controller
	recorder *MockStorageMockRecorder
	isgomock struct{}
}

// MockStorageMockRecorder is the mock recorder for MockStorage.
type MockStorageMockRecorder struct {
	mock *MockStorage
}

// NewMockStorage creates a new mock instance.
func NewMockStorage(ctrl *gomock.Controller) *MockStorage {
	mock := &MockStorage{ctrl: ctrl}
	mock.recorder = &MockStorageMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockStorage) EXPECT() *MockStorageMockRecorder {
	return m.recorder
}

// Copy mocks base method.
func (m *MockStorage) Copy(id, src string) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Copy", id, src)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Copy indicates an expected call of Copy.
func (mr *MockStorageMockRecorder) Copy(id, src any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Copy", reflect.TypeOf((*MockStorage)(nil).Copy), id, src)
}

// CopyReader mocks base method.
func (m *MockStorage) CopyReader(id string, src io.Reader) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CopyReader", id, src)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// CopyReader indicates an expected call of CopyReader.
func (mr *MockStorageMockRecorder) CopyReader(id, src any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyReader", reflect.TypeOf((*MockStorage)(nil).CopyReader), id, src)
}

// Delete mocks base method.
func (m *MockStorage) Delete(id, hashPath string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Delete", id, hashPath)
	ret0, _ := ret[0].(error)
	return ret0
}

// Delete indicates an expected call of Delete.
func (mr *MockStorageMockRecorder) Delete(id, hashPath any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockStorage)(nil).Delete), id, hashPath)
}

// DeleteByName mocks base method.
func (m *MockStorage) DeleteByName(name string) (bool, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteByName", name)
	ret0, _ := ret[0].(bool)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// DeleteByName indicates an expected call of DeleteByName.
func (mr *MockStorageMockRecorder) DeleteByName(name any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteByName", reflect.TypeOf((*MockStorage)(nil).DeleteByName), name)
}

// GetEtag mocks base method.
func (m *MockStorage) GetEtag(id, hashPath string) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetEtag", id, hashPath)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetEtag indicates an expected call of GetEtag.
func (mr *MockStorageMockRecorder) GetEtag(id, hashPath any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEtag", reflect.TypeOf((*MockStorage)(nil).GetEtag), id, hashPath)
}

// GetFilepath mocks base method.
func (m *MockStorage) GetFilepath(id, hashPath string) string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetFilepath", id, hashPath)
	ret0, _ := ret[0].(string)
	return ret0
}

// GetFilepath indicates an expected call of GetFilepath.
func (mr *MockStorageMockRecorder) GetFilepath(id, hashPath any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFilepath", reflect.TypeOf((*MockStorage)(nil).GetFilepath), id, hashPath)
}

// Move mocks base method.
func (m *MockStorage) Move(id, src string) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Move", id, src)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Move indicates an expected call of Move.
func (mr *MockStorageMockRecorder) Move(id, src any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Move", reflect.TypeOf((*MockStorage)(nil).Move), id, src)
}
