sharemockrepo

package
v0.1.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockShareRepository

type MockShareRepository struct {
	mock.Mock
}

func (*MockShareRepository) BulkUpdate added in v0.1.12

func (m *MockShareRepository) BulkUpdate(ctx context.Context, shrs []*share.Share) error

func (*MockShareRepository) Create

func (m *MockShareRepository) Create(ctx context.Context, shr *share.Share) error

func (*MockShareRepository) Delete

func (m *MockShareRepository) Delete(ctx context.Context, shareID string) error

func (*MockShareRepository) GetByUserID

func (m *MockShareRepository) GetByUserID(ctx context.Context, userID string) (*share.Share, error)

func (*MockShareRepository) ListProjectIDAndEntropy added in v0.1.12

func (m *MockShareRepository) ListProjectIDAndEntropy(ctx context.Context, projectID string, entropy share.Entropy) ([]*share.Share, error)

func (*MockShareRepository) Update

func (m *MockShareRepository) Update(ctx context.Context, shr *share.Share) error

func (*MockShareRepository) UpdateProjectEncryption

func (m *MockShareRepository) UpdateProjectEncryption(ctx context.Context, shareID string, encrypted string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL