Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type Auth
- type AuthMockRecorder
- type Crud
- func (m *Crud) Browser(arg0 context.Context, arg1 http.ResponseWriter, arg2 provider.Request, ...) (renderer.Page, error)
- func (m *Crud) Create(arg0 http.ResponseWriter, arg1 *http.Request, arg2 provider.Request)
- func (m *Crud) Delete(arg0 http.ResponseWriter, arg1 *http.Request, arg2 provider.Request)
- func (m *Crud) EXPECT() *CrudMockRecorder
- func (m *Crud) Get(arg0 http.ResponseWriter, arg1 *http.Request, arg2 provider.Request) (renderer.Page, error)
- func (m *Crud) List(arg0 context.Context, arg1 provider.Request, arg2 renderer.Message, ...) (renderer.Page, error)
- func (m *Crud) Post(arg0 http.ResponseWriter, arg1 *http.Request, arg2 provider.Request)
- func (m *Crud) Rename(arg0 http.ResponseWriter, arg1 *http.Request, arg2 provider.Request)
- func (m *Crud) Start(arg0 <-chan struct{})
- func (m *Crud) Upload(arg0 http.ResponseWriter, arg1 *http.Request, arg2 provider.Request, ...)
- type CrudMockRecorder
- func (mr *CrudMockRecorder) Browser(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *CrudMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *CrudMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *CrudMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *CrudMockRecorder) List(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *CrudMockRecorder) Post(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *CrudMockRecorder) Rename(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *CrudMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *CrudMockRecorder) Upload(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type Exif
- func (m *Exif) EXPECT() *ExifMockRecorder
- func (m *Exif) GetAggregateFor(arg0 context.Context, arg1 model.Item) (provider.Aggregate, error)
- func (m *Exif) GetExifFor(arg0 context.Context, arg1 model.Item) (model0.Exif, error)
- func (m *Exif) ListDir(arg0 context.Context, arg1 model.Item) ([]model.Item, error)
- func (m *Exif) SaveExifFor(arg0 context.Context, arg1 model.Item, arg2 model0.Exif) error
- type ExifMockRecorder
- func (mr *ExifMockRecorder) GetAggregateFor(arg0, arg1 interface{}) *gomock.Call
- func (mr *ExifMockRecorder) GetExifFor(arg0, arg1 interface{}) *gomock.Call
- func (mr *ExifMockRecorder) ListDir(arg0, arg1 interface{}) *gomock.Call
- func (mr *ExifMockRecorder) SaveExifFor(arg0, arg1, arg2 interface{}) *gomock.Call
- type Share
- func (m *Share) Create(arg0 context.Context, arg1 string, arg2 bool, arg3 string, arg4 bool, ...) (string, error)
- func (m *Share) Delete(arg0 context.Context, arg1 string) error
- func (m *Share) EXPECT() *ShareMockRecorder
- func (m *Share) Get(arg0 string) provider.Share
- func (m *Share) List() []provider.Share
- type ShareMockRecorder
- type Storage
- func (m *Storage) ConvertError(arg0 error) error
- func (m *Storage) CreateDir(arg0 context.Context, arg1 string) error
- func (m *Storage) EXPECT() *StorageMockRecorder
- func (m *Storage) Enabled() bool
- func (m *Storage) Info(arg0 context.Context, arg1 string) (model.Item, error)
- func (m *Storage) List(arg0 context.Context, arg1 string) ([]model.Item, error)
- func (m *Storage) Name() string
- func (m *Storage) Path(arg0 string) string
- func (m *Storage) ReadFrom(arg0 context.Context, arg1 string) (io.ReadSeekCloser, error)
- func (m *Storage) Remove(arg0 context.Context, arg1 string) error
- func (m *Storage) Rename(arg0 context.Context, arg1, arg2 string) error
- func (m *Storage) UpdateDate(arg0 context.Context, arg1 string, arg2 time.Time) error
- func (m *Storage) Walk(arg0 context.Context, arg1 string, arg2 func(model.Item) error) error
- func (m *Storage) WithIgnoreFn(arg0 func(model.Item) bool) model.Storage
- func (m *Storage) WriteSizedTo(arg0 context.Context, arg1 string, arg2 int64, arg3 io.Reader) error
- func (m *Storage) WriteTo(arg0 context.Context, arg1 string, arg2 io.Reader) error
- type StorageMockRecorder
- func (mr *StorageMockRecorder) ConvertError(arg0 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) CreateDir(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Enabled() *gomock.Call
- func (mr *StorageMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Name() *gomock.Call
- func (mr *StorageMockRecorder) Path(arg0 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) ReadFrom(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Rename(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) UpdateDate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Walk(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) WithIgnoreFn(arg0 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) WriteSizedTo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) WriteTo(arg0, arg1, arg2 interface{}) *gomock.Call
- type Webhook
- type WebhookMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
Auth is a mock of Auth interface.
func (*Auth) EXPECT ¶
func (m *Auth) EXPECT() *AuthMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Auth) IsAuthenticated ¶
IsAuthenticated mocks base method.
type AuthMockRecorder ¶
type AuthMockRecorder struct {
// contains filtered or unexported fields
}
AuthMockRecorder is the mock recorder for Auth.
func (*AuthMockRecorder) IsAuthenticated ¶
func (mr *AuthMockRecorder) IsAuthenticated(arg0 interface{}) *gomock.Call
IsAuthenticated indicates an expected call of IsAuthenticated.
func (*AuthMockRecorder) IsAuthorized ¶
func (mr *AuthMockRecorder) IsAuthorized(arg0, arg1 interface{}) *gomock.Call
IsAuthorized indicates an expected call of IsAuthorized.
type Crud ¶
type Crud struct {
// contains filtered or unexported fields
}
Crud is a mock of Crud interface.
func (*Crud) Browser ¶
func (m *Crud) Browser(arg0 context.Context, arg1 http.ResponseWriter, arg2 provider.Request, arg3 model.Item, arg4 renderer.Message) (renderer.Page, error)
Browser mocks base method.
func (*Crud) EXPECT ¶
func (m *Crud) EXPECT() *CrudMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Crud) Get ¶
func (m *Crud) Get(arg0 http.ResponseWriter, arg1 *http.Request, arg2 provider.Request) (renderer.Page, error)
Get mocks base method.
func (*Crud) List ¶
func (m *Crud) List(arg0 context.Context, arg1 provider.Request, arg2 renderer.Message, arg3 model.Item, arg4 []model.Item) (renderer.Page, error)
List mocks base method.
type CrudMockRecorder ¶
type CrudMockRecorder struct {
// contains filtered or unexported fields
}
CrudMockRecorder is the mock recorder for Crud.
func (*CrudMockRecorder) Browser ¶
func (mr *CrudMockRecorder) Browser(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Browser indicates an expected call of Browser.
func (*CrudMockRecorder) Create ¶
func (mr *CrudMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*CrudMockRecorder) Delete ¶
func (mr *CrudMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*CrudMockRecorder) Get ¶
func (mr *CrudMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*CrudMockRecorder) List ¶
func (mr *CrudMockRecorder) List(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
List indicates an expected call of List.
func (*CrudMockRecorder) Post ¶
func (mr *CrudMockRecorder) Post(arg0, arg1, arg2 interface{}) *gomock.Call
Post indicates an expected call of Post.
func (*CrudMockRecorder) Rename ¶
func (mr *CrudMockRecorder) Rename(arg0, arg1, arg2 interface{}) *gomock.Call
Rename indicates an expected call of Rename.
func (*CrudMockRecorder) Start ¶
func (mr *CrudMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*CrudMockRecorder) Upload ¶
func (mr *CrudMockRecorder) Upload(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Upload indicates an expected call of Upload.
type Exif ¶ added in v0.16.0
type Exif struct {
// contains filtered or unexported fields
}
Exif is a mock of ExifManager interface.
func NewExif ¶ added in v0.16.0
func NewExif(ctrl *gomock.Controller) *Exif
NewExif creates a new mock instance.
func (*Exif) EXPECT ¶ added in v0.16.0
func (m *Exif) EXPECT() *ExifMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Exif) GetAggregateFor ¶ added in v0.16.0
GetAggregateFor mocks base method.
func (*Exif) GetExifFor ¶ added in v0.16.0
GetExifFor mocks base method.
type ExifMockRecorder ¶ added in v0.16.0
type ExifMockRecorder struct {
// contains filtered or unexported fields
}
ExifMockRecorder is the mock recorder for Exif.
func (*ExifMockRecorder) GetAggregateFor ¶ added in v0.16.0
func (mr *ExifMockRecorder) GetAggregateFor(arg0, arg1 interface{}) *gomock.Call
GetAggregateFor indicates an expected call of GetAggregateFor.
func (*ExifMockRecorder) GetExifFor ¶ added in v0.16.0
func (mr *ExifMockRecorder) GetExifFor(arg0, arg1 interface{}) *gomock.Call
GetExifFor indicates an expected call of GetExifFor.
func (*ExifMockRecorder) ListDir ¶ added in v0.18.0
func (mr *ExifMockRecorder) ListDir(arg0, arg1 interface{}) *gomock.Call
ListDir indicates an expected call of ListDir.
func (*ExifMockRecorder) SaveExifFor ¶ added in v0.16.0
func (mr *ExifMockRecorder) SaveExifFor(arg0, arg1, arg2 interface{}) *gomock.Call
SaveExifFor indicates an expected call of SaveExifFor.
type Share ¶
type Share struct {
// contains filtered or unexported fields
}
Share is a mock of ShareManager interface.
func (*Share) Create ¶
func (m *Share) Create(arg0 context.Context, arg1 string, arg2 bool, arg3 string, arg4 bool, arg5 time.Duration) (string, error)
Create mocks base method.
func (*Share) EXPECT ¶
func (m *Share) EXPECT() *ShareMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type ShareMockRecorder ¶
type ShareMockRecorder struct {
// contains filtered or unexported fields
}
ShareMockRecorder is the mock recorder for Share.
func (*ShareMockRecorder) Create ¶
func (mr *ShareMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*ShareMockRecorder) Delete ¶
func (mr *ShareMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*ShareMockRecorder) Get ¶
func (mr *ShareMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*ShareMockRecorder) List ¶
func (mr *ShareMockRecorder) List() *gomock.Call
List indicates an expected call of List.
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is a mock of Storage interface.
func NewStorage ¶
func NewStorage(ctrl *gomock.Controller) *Storage
NewStorage creates a new mock instance.
func (*Storage) ConvertError ¶ added in v0.18.0
ConvertError mocks base method.
func (*Storage) EXPECT ¶
func (m *Storage) EXPECT() *StorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Storage) UpdateDate ¶
UpdateDate mocks base method.
func (*Storage) WithIgnoreFn ¶
WithIgnoreFn mocks base method.
func (*Storage) WriteSizedTo ¶ added in v0.18.0
WriteSizedTo mocks base method.
type StorageMockRecorder ¶
type StorageMockRecorder struct {
// contains filtered or unexported fields
}
StorageMockRecorder is the mock recorder for Storage.
func (*StorageMockRecorder) ConvertError ¶ added in v0.18.0
func (mr *StorageMockRecorder) ConvertError(arg0 interface{}) *gomock.Call
ConvertError indicates an expected call of ConvertError.
func (*StorageMockRecorder) CreateDir ¶
func (mr *StorageMockRecorder) CreateDir(arg0, arg1 interface{}) *gomock.Call
CreateDir indicates an expected call of CreateDir.
func (*StorageMockRecorder) Enabled ¶ added in v0.13.0
func (mr *StorageMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*StorageMockRecorder) Info ¶
func (mr *StorageMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*StorageMockRecorder) List ¶
func (mr *StorageMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*StorageMockRecorder) Name ¶ added in v0.13.0
func (mr *StorageMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*StorageMockRecorder) Path ¶ added in v0.13.0
func (mr *StorageMockRecorder) Path(arg0 interface{}) *gomock.Call
Path indicates an expected call of Path.
func (*StorageMockRecorder) ReadFrom ¶ added in v0.14.0
func (mr *StorageMockRecorder) ReadFrom(arg0, arg1 interface{}) *gomock.Call
ReadFrom indicates an expected call of ReadFrom.
func (*StorageMockRecorder) Remove ¶
func (mr *StorageMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*StorageMockRecorder) Rename ¶
func (mr *StorageMockRecorder) Rename(arg0, arg1, arg2 interface{}) *gomock.Call
Rename indicates an expected call of Rename.
func (*StorageMockRecorder) UpdateDate ¶
func (mr *StorageMockRecorder) UpdateDate(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateDate indicates an expected call of UpdateDate.
func (*StorageMockRecorder) Walk ¶
func (mr *StorageMockRecorder) Walk(arg0, arg1, arg2 interface{}) *gomock.Call
Walk indicates an expected call of Walk.
func (*StorageMockRecorder) WithIgnoreFn ¶
func (mr *StorageMockRecorder) WithIgnoreFn(arg0 interface{}) *gomock.Call
WithIgnoreFn indicates an expected call of WithIgnoreFn.
func (*StorageMockRecorder) WriteSizedTo ¶ added in v0.18.0
func (mr *StorageMockRecorder) WriteSizedTo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WriteSizedTo indicates an expected call of WriteSizedTo.
func (*StorageMockRecorder) WriteTo ¶ added in v0.14.0
func (mr *StorageMockRecorder) WriteTo(arg0, arg1, arg2 interface{}) *gomock.Call
WriteTo indicates an expected call of WriteTo.
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
Webhook is a mock of WebhookManager interface.
func NewWebhook ¶
func NewWebhook(ctrl *gomock.Controller) *Webhook
NewWebhook creates a new mock instance.
func (*Webhook) Create ¶
func (m *Webhook) Create(arg0 context.Context, arg1 string, arg2 bool, arg3 provider.WebhookKind, arg4 string, arg5 []provider.EventType) (string, error)
Create mocks base method.
func (*Webhook) EXPECT ¶
func (m *Webhook) EXPECT() *WebhookMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type WebhookMockRecorder ¶
type WebhookMockRecorder struct {
// contains filtered or unexported fields
}
WebhookMockRecorder is the mock recorder for Webhook.
func (*WebhookMockRecorder) Create ¶
func (mr *WebhookMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*WebhookMockRecorder) Delete ¶
func (mr *WebhookMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*WebhookMockRecorder) List ¶
func (mr *WebhookMockRecorder) List() *gomock.Call
List indicates an expected call of List.