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.
Index ¶
- type Auth
- type AuthMockRecorder
- type Crud
- func (m *Crud) Browser(arg0 http.ResponseWriter, arg1 provider.Request, arg2 provider.StorageItem, ...) (string, int, map[string]interface{}, 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) (string, int, map[string]interface{}, error)
- func (m *Crud) List(arg0 http.ResponseWriter, arg1 provider.Request, arg2 renderer.Message) (string, int, map[string]interface{}, 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 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 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 Share
- func (m *Share) Create(arg0 string, arg1 bool, arg2 string, arg3 bool, arg4 time.Duration) (string, error)
- func (m *Share) Delete(arg0 string) error
- func (m *Share) EXPECT() *ShareMockRecorder
- func (m *Share) Enabled() bool
- func (m *Share) Get(arg0 string) provider.Share
- func (m *Share) List() map[string]provider.Share
- type ShareMockRecorder
- func (mr *ShareMockRecorder) Create(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *ShareMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *ShareMockRecorder) Enabled() *gomock.Call
- func (mr *ShareMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *ShareMockRecorder) List() *gomock.Call
- type Storage
- func (m *Storage) CreateDir(arg0 string) error
- func (m *Storage) EXPECT() *StorageMockRecorder
- func (m *Storage) Info(arg0 string) (provider.StorageItem, error)
- func (m *Storage) List(arg0 string) ([]provider.StorageItem, error)
- func (m *Storage) ReaderFrom(arg0 string) (io.ReadSeekCloser, error)
- func (m *Storage) Remove(arg0 string) error
- func (m *Storage) Rename(arg0, arg1 string) error
- func (m *Storage) UpdateDate(arg0 string, arg1 time.Time) error
- func (m *Storage) Walk(arg0 string, arg1 func(provider.StorageItem, error) error) error
- func (m *Storage) WithIgnoreFn(arg0 func(provider.StorageItem) bool) provider.Storage
- func (m *Storage) WriterTo(arg0 string) (io.WriteCloser, error)
- type StorageMockRecorder
- func (mr *StorageMockRecorder) CreateDir(arg0 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Info(arg0 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) ReaderFrom(arg0 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) UpdateDate(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Walk(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) WithIgnoreFn(arg0 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) WriterTo(arg0 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 http.ResponseWriter, arg1 provider.Request, arg2 provider.StorageItem, arg3 renderer.Message) (string, int, map[string]interface{}, 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) (string, int, map[string]interface{}, error)
Get mocks base method.
func (*Crud) List ¶
func (m *Crud) List(arg0 http.ResponseWriter, arg1 provider.Request, arg2 renderer.Message) (string, int, map[string]interface{}, 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 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 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 Share ¶
type Share struct {
// contains filtered or unexported fields
}
Share is a mock of ShareManager interface.
func (*Share) Create ¶
func (m *Share) Create(arg0 string, arg1 bool, arg2 string, arg3 bool, arg4 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 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*ShareMockRecorder) Delete ¶
func (mr *ShareMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*ShareMockRecorder) Enabled ¶
func (mr *ShareMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
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) EXPECT ¶
func (m *Storage) EXPECT() *StorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Storage) Info ¶
func (m *Storage) Info(arg0 string) (provider.StorageItem, error)
Info mocks base method.
func (*Storage) List ¶
func (m *Storage) List(arg0 string) ([]provider.StorageItem, error)
List mocks base method.
func (*Storage) ReaderFrom ¶
func (m *Storage) ReaderFrom(arg0 string) (io.ReadSeekCloser, error)
ReaderFrom mocks base method.
func (*Storage) UpdateDate ¶
UpdateDate mocks base method.
func (*Storage) WithIgnoreFn ¶
WithIgnoreFn mocks base method.
type StorageMockRecorder ¶
type StorageMockRecorder struct {
// contains filtered or unexported fields
}
StorageMockRecorder is the mock recorder for Storage.
func (*StorageMockRecorder) CreateDir ¶
func (mr *StorageMockRecorder) CreateDir(arg0 interface{}) *gomock.Call
CreateDir indicates an expected call of CreateDir.
func (*StorageMockRecorder) Info ¶
func (mr *StorageMockRecorder) Info(arg0 interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*StorageMockRecorder) List ¶
func (mr *StorageMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*StorageMockRecorder) ReaderFrom ¶
func (mr *StorageMockRecorder) ReaderFrom(arg0 interface{}) *gomock.Call
ReaderFrom indicates an expected call of ReaderFrom.
func (*StorageMockRecorder) Remove ¶
func (mr *StorageMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*StorageMockRecorder) Rename ¶
func (mr *StorageMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
Rename indicates an expected call of Rename.
func (*StorageMockRecorder) UpdateDate ¶
func (mr *StorageMockRecorder) UpdateDate(arg0, arg1 interface{}) *gomock.Call
UpdateDate indicates an expected call of UpdateDate.
func (*StorageMockRecorder) Walk ¶
func (mr *StorageMockRecorder) Walk(arg0, arg1 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) WriterTo ¶
func (mr *StorageMockRecorder) WriterTo(arg0 interface{}) *gomock.Call
WriterTo indicates an expected call of WriterTo.
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 string, arg1 bool, arg2 string, arg3 []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 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*WebhookMockRecorder) Delete ¶
func (mr *WebhookMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*WebhookMockRecorder) Enabled ¶
func (mr *WebhookMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*WebhookMockRecorder) List ¶
func (mr *WebhookMockRecorder) List() *gomock.Call
List indicates an expected call of List.