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.
Index ¶
- type Auth
- type AuthMockRecorder
- type Crud
- 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) Post(arg0 http.ResponseWriter, arg1 *http.Request, arg2 provider.Request)
- func (m *Crud) Rename(arg0 http.ResponseWriter, arg1 *http.Request, arg2 provider.Request)
- type CrudMockRecorder
- func (mr *CrudMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call
- func (mr *CrudMockRecorder) Delete(arg0, arg1, arg2 any) *gomock.Call
- func (mr *CrudMockRecorder) Get(arg0, arg1, arg2 any) *gomock.Call
- func (mr *CrudMockRecorder) Post(arg0, arg1, arg2 any) *gomock.Call
- func (mr *CrudMockRecorder) Rename(arg0, arg1, arg2 any) *gomock.Call
- type MetadataManager
- func (m *MetadataManager) EXPECT() *MetadataManagerMockRecorder
- func (m *MetadataManager) GetAggregateFor(ctx context.Context, item model.Item) (provider.Aggregate, error)
- func (m *MetadataManager) GetAllAggregateFor(ctx context.Context, items ...model.Item) (map[string]provider.Aggregate, error)
- func (m *MetadataManager) GetAllMetadataFor(ctx context.Context, items ...model.Item) (map[string]provider.Metadata, error)
- func (m *MetadataManager) GetMetadataFor(ctx context.Context, item model.Item) (provider.Metadata, error)
- func (m *MetadataManager) ListDir(ctx context.Context, item model.Item) ([]model.Item, error)
- func (m *MetadataManager) SaveAggregateFor(ctx context.Context, item model.Item, aggregate provider.Aggregate) error
- func (m *MetadataManager) Update(ctx context.Context, item model.Item, opts ...provider.MetadataAction) (provider.Metadata, error)
- type MetadataManagerMockRecorder
- func (mr *MetadataManagerMockRecorder) GetAggregateFor(ctx, item any) *gomock.Call
- func (mr *MetadataManagerMockRecorder) GetAllAggregateFor(ctx any, items ...any) *gomock.Call
- func (mr *MetadataManagerMockRecorder) GetAllMetadataFor(ctx any, items ...any) *gomock.Call
- func (mr *MetadataManagerMockRecorder) GetMetadataFor(ctx, item any) *gomock.Call
- func (mr *MetadataManagerMockRecorder) ListDir(ctx, item any) *gomock.Call
- func (mr *MetadataManagerMockRecorder) SaveAggregateFor(ctx, item, aggregate any) *gomock.Call
- func (mr *MetadataManagerMockRecorder) Update(ctx, item any, opts ...any) *gomock.Call
- type RedisClient
- func (m *RedisClient) Close()
- func (m *RedisClient) Delete(arg0 context.Context, arg1 ...string) error
- func (m *RedisClient) DeletePattern(arg0 context.Context, arg1 string) error
- func (m *RedisClient) EXPECT() *RedisClientMockRecorder
- func (m *RedisClient) Enabled() bool
- func (m *RedisClient) Exclusive(arg0 context.Context, arg1 string, arg2 time.Duration, ...) (bool, error)
- func (m *RedisClient) Expire(arg0 context.Context, arg1 time.Duration, arg2 ...string) error
- func (m *RedisClient) FlushAll(arg0 context.Context) error
- func (m *RedisClient) Load(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *RedisClient) LoadMany(arg0 context.Context, arg1 ...string) ([]string, error)
- func (m *RedisClient) Ping(arg0 context.Context) error
- func (m *RedisClient) Pipeline() redis.Pipeliner
- func (m *RedisClient) Publish(arg0 context.Context, arg1 string, arg2 any) error
- func (m *RedisClient) PublishJSON(arg0 context.Context, arg1 string, arg2 any) error
- func (m *RedisClient) Pull(arg0 context.Context, arg1 string, arg2 func(string, error))
- func (m *RedisClient) Push(arg0 context.Context, arg1 string, arg2 any) error
- func (m *RedisClient) Scan(arg0 context.Context, arg1 string, arg2 chan<- string, arg3 int64) error
- func (m *RedisClient) Store(arg0 context.Context, arg1 string, arg2 any, arg3 time.Duration) error
- func (m *RedisClient) StoreMany(arg0 context.Context, arg1 map[string]any, arg2 time.Duration) error
- func (m *RedisClient) Subscribe(arg0 context.Context, arg1 string) (<-chan *redis.Message, func(context.Context))
- type RedisClientMockRecorder
- func (mr *RedisClientMockRecorder) Close() *gomock.Call
- func (mr *RedisClientMockRecorder) Delete(arg0 any, arg1 ...any) *gomock.Call
- func (mr *RedisClientMockRecorder) DeletePattern(arg0, arg1 any) *gomock.Call
- func (mr *RedisClientMockRecorder) Enabled() *gomock.Call
- func (mr *RedisClientMockRecorder) Exclusive(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *RedisClientMockRecorder) Expire(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *RedisClientMockRecorder) FlushAll(arg0 any) *gomock.Call
- func (mr *RedisClientMockRecorder) Load(arg0, arg1 any) *gomock.Call
- func (mr *RedisClientMockRecorder) LoadMany(arg0 any, arg1 ...any) *gomock.Call
- func (mr *RedisClientMockRecorder) Ping(arg0 any) *gomock.Call
- func (mr *RedisClientMockRecorder) Pipeline() *gomock.Call
- func (mr *RedisClientMockRecorder) Publish(arg0, arg1, arg2 any) *gomock.Call
- func (mr *RedisClientMockRecorder) PublishJSON(arg0, arg1, arg2 any) *gomock.Call
- func (mr *RedisClientMockRecorder) Pull(arg0, arg1, arg2 any) *gomock.Call
- func (mr *RedisClientMockRecorder) Push(arg0, arg1, arg2 any) *gomock.Call
- func (mr *RedisClientMockRecorder) Scan(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *RedisClientMockRecorder) Store(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *RedisClientMockRecorder) StoreMany(arg0, arg1, arg2 any) *gomock.Call
- func (mr *RedisClientMockRecorder) Subscribe(arg0, arg1 any) *gomock.Call
- type ShareManager
- func (m *ShareManager) Create(arg0 context.Context, arg1 string, arg2, arg3 bool, arg4 string, arg5 bool, ...) (string, error)
- func (m *ShareManager) Delete(arg0 context.Context, arg1 string) error
- func (m *ShareManager) EXPECT() *ShareManagerMockRecorder
- func (m *ShareManager) Get(arg0 string) provider.Share
- func (m *ShareManager) List() []provider.Share
- func (m *ShareManager) UpdatePassword(arg0 context.Context, arg1, arg2 string) error
- type ShareManagerMockRecorder
- func (mr *ShareManagerMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call
- func (mr *ShareManagerMockRecorder) Delete(arg0, arg1 any) *gomock.Call
- func (mr *ShareManagerMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *ShareManagerMockRecorder) List() *gomock.Call
- func (mr *ShareManagerMockRecorder) UpdatePassword(arg0, arg1, arg2 any) *gomock.Call
- type Storage
- func (m *Storage) ConvertError(arg0 error) error
- func (m *Storage) EXPECT() *StorageMockRecorder
- func (m *Storage) Enabled() bool
- func (m *Storage) List(arg0 context.Context, arg1 string) ([]model.Item, error)
- func (m *Storage) Mkdir(arg0 context.Context, arg1 string, arg2 fs.FileMode) error
- func (m *Storage) Name() string
- func (m *Storage) Path(arg0 string) string
- func (m *Storage) ReadFrom(arg0 context.Context, arg1 string) (model.ReadAtSeekCloser, error)
- func (m *Storage) RemoveAll(arg0 context.Context, arg1 string) error
- func (m *Storage) Rename(arg0 context.Context, arg1, arg2 string) error
- func (m *Storage) Stat(arg0 context.Context, arg1 string) (model.Item, 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) WriteTo(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 model.WriteOpts) error
- type StorageMockRecorder
- func (mr *StorageMockRecorder) ConvertError(arg0 any) *gomock.Call
- func (mr *StorageMockRecorder) Enabled() *gomock.Call
- func (mr *StorageMockRecorder) List(arg0, arg1 any) *gomock.Call
- func (mr *StorageMockRecorder) Mkdir(arg0, arg1, arg2 any) *gomock.Call
- func (mr *StorageMockRecorder) Name() *gomock.Call
- func (mr *StorageMockRecorder) Path(arg0 any) *gomock.Call
- func (mr *StorageMockRecorder) ReadFrom(arg0, arg1 any) *gomock.Call
- func (mr *StorageMockRecorder) RemoveAll(arg0, arg1 any) *gomock.Call
- func (mr *StorageMockRecorder) Rename(arg0, arg1, arg2 any) *gomock.Call
- func (mr *StorageMockRecorder) Stat(arg0, arg1 any) *gomock.Call
- func (mr *StorageMockRecorder) UpdateDate(arg0, arg1, arg2 any) *gomock.Call
- func (mr *StorageMockRecorder) Walk(arg0, arg1, arg2 any) *gomock.Call
- func (mr *StorageMockRecorder) WithIgnoreFn(arg0 any) *gomock.Call
- func (mr *StorageMockRecorder) WriteTo(arg0, arg1, arg2, arg3 any) *gomock.Call
- type WebhookManager
- func (m *WebhookManager) Create(arg0 context.Context, arg1 string, arg2 bool, arg3 provider.WebhookKind, ...) (string, error)
- func (m *WebhookManager) Delete(arg0 context.Context, arg1 string) error
- func (m *WebhookManager) EXPECT() *WebhookManagerMockRecorder
- func (m *WebhookManager) List() []provider.Webhook
- type WebhookManagerMockRecorder
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 any) *gomock.Call
IsAuthenticated indicates an expected call of IsAuthenticated.
func (*AuthMockRecorder) IsAuthorized ¶
func (mr *AuthMockRecorder) IsAuthorized(arg0, arg1 any) *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) 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.
type CrudMockRecorder ¶
type CrudMockRecorder struct {
// contains filtered or unexported fields
}
CrudMockRecorder is the mock recorder for Crud.
func (*CrudMockRecorder) Create ¶
func (mr *CrudMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call
Create indicates an expected call of Create.
func (*CrudMockRecorder) Delete ¶
func (mr *CrudMockRecorder) Delete(arg0, arg1, arg2 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*CrudMockRecorder) Get ¶
func (mr *CrudMockRecorder) Get(arg0, arg1, arg2 any) *gomock.Call
Get indicates an expected call of Get.
type MetadataManager ¶ added in v0.25.0
type MetadataManager struct {
// contains filtered or unexported fields
}
MetadataManager is a mock of MetadataManager interface.
func NewMetadataManager ¶ added in v0.25.0
func NewMetadataManager(ctrl *gomock.Controller) *MetadataManager
NewMetadataManager creates a new mock instance.
func (*MetadataManager) EXPECT ¶ added in v0.25.0
func (m *MetadataManager) EXPECT() *MetadataManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MetadataManager) GetAggregateFor ¶ added in v0.25.0
func (m *MetadataManager) GetAggregateFor(ctx context.Context, item model.Item) (provider.Aggregate, error)
GetAggregateFor mocks base method.
func (*MetadataManager) GetAllAggregateFor ¶ added in v0.25.0
func (m *MetadataManager) GetAllAggregateFor(ctx context.Context, items ...model.Item) (map[string]provider.Aggregate, error)
GetAllAggregateFor mocks base method.
func (*MetadataManager) GetAllMetadataFor ¶ added in v0.25.0
func (m *MetadataManager) GetAllMetadataFor(ctx context.Context, items ...model.Item) (map[string]provider.Metadata, error)
GetAllMetadataFor mocks base method.
func (*MetadataManager) GetMetadataFor ¶ added in v0.25.0
func (m *MetadataManager) GetMetadataFor(ctx context.Context, item model.Item) (provider.Metadata, error)
GetMetadataFor mocks base method.
func (*MetadataManager) SaveAggregateFor ¶ added in v0.25.0
func (m *MetadataManager) SaveAggregateFor(ctx context.Context, item model.Item, aggregate provider.Aggregate) error
SaveAggregateFor mocks base method.
type MetadataManagerMockRecorder ¶ added in v0.25.0
type MetadataManagerMockRecorder struct {
// contains filtered or unexported fields
}
MetadataManagerMockRecorder is the mock recorder for MetadataManager.
func (*MetadataManagerMockRecorder) GetAggregateFor ¶ added in v0.25.0
func (mr *MetadataManagerMockRecorder) GetAggregateFor(ctx, item any) *gomock.Call
GetAggregateFor indicates an expected call of GetAggregateFor.
func (*MetadataManagerMockRecorder) GetAllAggregateFor ¶ added in v0.25.0
func (mr *MetadataManagerMockRecorder) GetAllAggregateFor(ctx any, items ...any) *gomock.Call
GetAllAggregateFor indicates an expected call of GetAllAggregateFor.
func (*MetadataManagerMockRecorder) GetAllMetadataFor ¶ added in v0.25.0
func (mr *MetadataManagerMockRecorder) GetAllMetadataFor(ctx any, items ...any) *gomock.Call
GetAllMetadataFor indicates an expected call of GetAllMetadataFor.
func (*MetadataManagerMockRecorder) GetMetadataFor ¶ added in v0.25.0
func (mr *MetadataManagerMockRecorder) GetMetadataFor(ctx, item any) *gomock.Call
GetMetadataFor indicates an expected call of GetMetadataFor.
func (*MetadataManagerMockRecorder) ListDir ¶ added in v0.25.0
func (mr *MetadataManagerMockRecorder) ListDir(ctx, item any) *gomock.Call
ListDir indicates an expected call of ListDir.
func (*MetadataManagerMockRecorder) SaveAggregateFor ¶ added in v0.25.0
func (mr *MetadataManagerMockRecorder) SaveAggregateFor(ctx, item, aggregate any) *gomock.Call
SaveAggregateFor indicates an expected call of SaveAggregateFor.
type RedisClient ¶ added in v0.24.0
type RedisClient struct {
// contains filtered or unexported fields
}
RedisClient is a mock of Client interface.
func NewRedisClient ¶ added in v0.24.0
func NewRedisClient(ctrl *gomock.Controller) *RedisClient
NewRedisClient creates a new mock instance.
func (*RedisClient) Delete ¶ added in v0.24.0
func (m *RedisClient) Delete(arg0 context.Context, arg1 ...string) error
Delete mocks base method.
func (*RedisClient) DeletePattern ¶ added in v0.25.0
func (m *RedisClient) DeletePattern(arg0 context.Context, arg1 string) error
DeletePattern mocks base method.
func (*RedisClient) EXPECT ¶ added in v0.24.0
func (m *RedisClient) EXPECT() *RedisClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*RedisClient) Enabled ¶ added in v0.24.0
func (m *RedisClient) Enabled() bool
Enabled mocks base method.
func (*RedisClient) Exclusive ¶ added in v0.25.0
func (m *RedisClient) Exclusive(arg0 context.Context, arg1 string, arg2 time.Duration, arg3 func(context.Context) error) (bool, error)
Exclusive mocks base method.
func (*RedisClient) FlushAll ¶ added in v0.26.0
func (m *RedisClient) FlushAll(arg0 context.Context) error
FlushAll mocks base method.
func (*RedisClient) Ping ¶ added in v0.25.0
func (m *RedisClient) Ping(arg0 context.Context) error
Ping mocks base method.
func (*RedisClient) Pipeline ¶ added in v0.25.0
func (m *RedisClient) Pipeline() redis.Pipeliner
Pipeline mocks base method.
func (*RedisClient) PublishJSON ¶ added in v0.25.0
PublishJSON mocks base method.
type RedisClientMockRecorder ¶ added in v0.24.0
type RedisClientMockRecorder struct {
// contains filtered or unexported fields
}
RedisClientMockRecorder is the mock recorder for RedisClient.
func (*RedisClientMockRecorder) Close ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*RedisClientMockRecorder) Delete ¶ added in v0.24.0
func (mr *RedisClientMockRecorder) Delete(arg0 any, arg1 ...any) *gomock.Call
Delete indicates an expected call of Delete.
func (*RedisClientMockRecorder) DeletePattern ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) DeletePattern(arg0, arg1 any) *gomock.Call
DeletePattern indicates an expected call of DeletePattern.
func (*RedisClientMockRecorder) Enabled ¶ added in v0.24.0
func (mr *RedisClientMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*RedisClientMockRecorder) Exclusive ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) Exclusive(arg0, arg1, arg2, arg3 any) *gomock.Call
Exclusive indicates an expected call of Exclusive.
func (*RedisClientMockRecorder) Expire ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) Expire(arg0, arg1 any, arg2 ...any) *gomock.Call
Expire indicates an expected call of Expire.
func (*RedisClientMockRecorder) FlushAll ¶ added in v0.26.0
func (mr *RedisClientMockRecorder) FlushAll(arg0 any) *gomock.Call
FlushAll indicates an expected call of FlushAll.
func (*RedisClientMockRecorder) Load ¶ added in v0.24.0
func (mr *RedisClientMockRecorder) Load(arg0, arg1 any) *gomock.Call
Load indicates an expected call of Load.
func (*RedisClientMockRecorder) LoadMany ¶ added in v0.24.0
func (mr *RedisClientMockRecorder) LoadMany(arg0 any, arg1 ...any) *gomock.Call
LoadMany indicates an expected call of LoadMany.
func (*RedisClientMockRecorder) Ping ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) Ping(arg0 any) *gomock.Call
Ping indicates an expected call of Ping.
func (*RedisClientMockRecorder) Pipeline ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) Pipeline() *gomock.Call
Pipeline indicates an expected call of Pipeline.
func (*RedisClientMockRecorder) Publish ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) Publish(arg0, arg1, arg2 any) *gomock.Call
Publish indicates an expected call of Publish.
func (*RedisClientMockRecorder) PublishJSON ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) PublishJSON(arg0, arg1, arg2 any) *gomock.Call
PublishJSON indicates an expected call of PublishJSON.
func (*RedisClientMockRecorder) Pull ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) Pull(arg0, arg1, arg2 any) *gomock.Call
Pull indicates an expected call of Pull.
func (*RedisClientMockRecorder) Push ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) Push(arg0, arg1, arg2 any) *gomock.Call
Push indicates an expected call of Push.
func (*RedisClientMockRecorder) Scan ¶ added in v0.25.0
func (mr *RedisClientMockRecorder) Scan(arg0, arg1, arg2, arg3 any) *gomock.Call
Scan indicates an expected call of Scan.
func (*RedisClientMockRecorder) Store ¶ added in v0.24.0
func (mr *RedisClientMockRecorder) Store(arg0, arg1, arg2, arg3 any) *gomock.Call
Store indicates an expected call of Store.
type ShareManager ¶ added in v0.22.0
type ShareManager struct {
// contains filtered or unexported fields
}
ShareManager is a mock of ShareManager interface.
func NewShareManager ¶ added in v0.22.0
func NewShareManager(ctrl *gomock.Controller) *ShareManager
NewShareManager creates a new mock instance.
func (*ShareManager) Create ¶ added in v0.22.0
func (m *ShareManager) Create(arg0 context.Context, arg1 string, arg2, arg3 bool, arg4 string, arg5 bool, arg6 time.Duration) (string, error)
Create mocks base method.
func (*ShareManager) Delete ¶ added in v0.22.0
func (m *ShareManager) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*ShareManager) EXPECT ¶ added in v0.22.0
func (m *ShareManager) EXPECT() *ShareManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*ShareManager) Get ¶ added in v0.22.0
func (m *ShareManager) Get(arg0 string) provider.Share
Get mocks base method.
func (*ShareManager) List ¶ added in v0.22.0
func (m *ShareManager) List() []provider.Share
List mocks base method.
func (*ShareManager) UpdatePassword ¶ added in v0.26.0
func (m *ShareManager) UpdatePassword(arg0 context.Context, arg1, arg2 string) error
UpdatePassword mocks base method.
type ShareManagerMockRecorder ¶ added in v0.22.0
type ShareManagerMockRecorder struct {
// contains filtered or unexported fields
}
ShareManagerMockRecorder is the mock recorder for ShareManager.
func (*ShareManagerMockRecorder) Create ¶ added in v0.22.0
func (mr *ShareManagerMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call
Create indicates an expected call of Create.
func (*ShareManagerMockRecorder) Delete ¶ added in v0.22.0
func (mr *ShareManagerMockRecorder) Delete(arg0, arg1 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*ShareManagerMockRecorder) Get ¶ added in v0.22.0
func (mr *ShareManagerMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*ShareManagerMockRecorder) List ¶ added in v0.22.0
func (mr *ShareManagerMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*ShareManagerMockRecorder) UpdatePassword ¶ added in v0.26.0
func (mr *ShareManagerMockRecorder) UpdatePassword(arg0, arg1, arg2 any) *gomock.Call
UpdatePassword indicates an expected call of UpdatePassword.
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.
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 any) *gomock.Call
ConvertError indicates an expected call of ConvertError.
func (*StorageMockRecorder) Enabled ¶ added in v0.13.0
func (mr *StorageMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*StorageMockRecorder) List ¶
func (mr *StorageMockRecorder) List(arg0, arg1 any) *gomock.Call
List indicates an expected call of List.
func (*StorageMockRecorder) Mkdir ¶ added in v0.26.0
func (mr *StorageMockRecorder) Mkdir(arg0, arg1, arg2 any) *gomock.Call
Mkdir indicates an expected call of Mkdir.
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 any) *gomock.Call
Path indicates an expected call of Path.
func (*StorageMockRecorder) ReadFrom ¶ added in v0.14.0
func (mr *StorageMockRecorder) ReadFrom(arg0, arg1 any) *gomock.Call
ReadFrom indicates an expected call of ReadFrom.
func (*StorageMockRecorder) RemoveAll ¶ added in v0.26.0
func (mr *StorageMockRecorder) RemoveAll(arg0, arg1 any) *gomock.Call
RemoveAll indicates an expected call of RemoveAll.
func (*StorageMockRecorder) Rename ¶
func (mr *StorageMockRecorder) Rename(arg0, arg1, arg2 any) *gomock.Call
Rename indicates an expected call of Rename.
func (*StorageMockRecorder) Stat ¶ added in v0.26.0
func (mr *StorageMockRecorder) Stat(arg0, arg1 any) *gomock.Call
Stat indicates an expected call of Stat.
func (*StorageMockRecorder) UpdateDate ¶
func (mr *StorageMockRecorder) UpdateDate(arg0, arg1, arg2 any) *gomock.Call
UpdateDate indicates an expected call of UpdateDate.
func (*StorageMockRecorder) Walk ¶
func (mr *StorageMockRecorder) Walk(arg0, arg1, arg2 any) *gomock.Call
Walk indicates an expected call of Walk.
func (*StorageMockRecorder) WithIgnoreFn ¶
func (mr *StorageMockRecorder) WithIgnoreFn(arg0 any) *gomock.Call
WithIgnoreFn indicates an expected call of WithIgnoreFn.
type WebhookManager ¶ added in v0.22.0
type WebhookManager struct {
// contains filtered or unexported fields
}
WebhookManager is a mock of WebhookManager interface.
func NewWebhookManager ¶ added in v0.22.0
func NewWebhookManager(ctrl *gomock.Controller) *WebhookManager
NewWebhookManager creates a new mock instance.
func (*WebhookManager) Create ¶ added in v0.22.0
func (m *WebhookManager) Create(arg0 context.Context, arg1 string, arg2 bool, arg3 provider.WebhookKind, arg4 string, arg5 []provider.EventType) (string, error)
Create mocks base method.
func (*WebhookManager) Delete ¶ added in v0.22.0
func (m *WebhookManager) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*WebhookManager) EXPECT ¶ added in v0.22.0
func (m *WebhookManager) EXPECT() *WebhookManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*WebhookManager) List ¶ added in v0.22.0
func (m *WebhookManager) List() []provider.Webhook
List mocks base method.
type WebhookManagerMockRecorder ¶ added in v0.22.0
type WebhookManagerMockRecorder struct {
// contains filtered or unexported fields
}
WebhookManagerMockRecorder is the mock recorder for WebhookManager.
func (*WebhookManagerMockRecorder) Create ¶ added in v0.22.0
func (mr *WebhookManagerMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
Create indicates an expected call of Create.
func (*WebhookManagerMockRecorder) Delete ¶ added in v0.22.0
func (mr *WebhookManagerMockRecorder) Delete(arg0, arg1 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*WebhookManagerMockRecorder) List ¶ added in v0.22.0
func (mr *WebhookManagerMockRecorder) List() *gomock.Call
List indicates an expected call of List.