Documentation ¶
Index ¶
- type MockShareRepository
- func (m *MockShareRepository) BulkUpdate(ctx context.Context, shrs []*share.Share) error
- func (m *MockShareRepository) Create(ctx context.Context, shr *share.Share) error
- func (m *MockShareRepository) Delete(ctx context.Context, shareID string) error
- func (m *MockShareRepository) GetByUserID(ctx context.Context, userID string) (*share.Share, error)
- func (m *MockShareRepository) ListProjectIDAndEntropy(ctx context.Context, projectID string, entropy share.Entropy) ([]*share.Share, error)
- func (m *MockShareRepository) Update(ctx context.Context, shr *share.Share) error
- func (m *MockShareRepository) UpdateProjectEncryption(ctx context.Context, shareID string, encrypted string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockShareRepository ¶
type MockShareRepository struct {
}func (*MockShareRepository) BulkUpdate ¶ added in v0.1.12
func (*MockShareRepository) Delete ¶
func (m *MockShareRepository) Delete(ctx context.Context, shareID string) error
func (*MockShareRepository) GetByUserID ¶
func (*MockShareRepository) ListProjectIDAndEntropy ¶ added in v0.1.12
func (*MockShareRepository) UpdateProjectEncryption ¶
Click to show internal directories.
Click to hide internal directories.