Documentation ¶
Index ¶
- type MockProjectRepository
- func (m *MockProjectRepository) Create(ctx context.Context, proj *project.Project) error
- func (m *MockProjectRepository) CreateMigration(ctx context.Context, projectID string, success bool) error
- func (m *MockProjectRepository) Delete(ctx context.Context, projectID string) error
- func (m *MockProjectRepository) Get(ctx context.Context, projectID string) (*project.Project, error)
- func (m *MockProjectRepository) GetByAPIKey(ctx context.Context, apiKey string) (*project.Project, error)
- func (m *MockProjectRepository) GetEncryptionPart(ctx context.Context, projectID string) (string, error)
- func (m *MockProjectRepository) HasSuccessfulMigration(ctx context.Context, projectID string) (bool, error)
- func (m *MockProjectRepository) SetEncryptionPart(ctx context.Context, projectID, part string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProjectRepository ¶
func (*MockProjectRepository) CreateMigration ¶ added in v0.1.12
func (*MockProjectRepository) Delete ¶
func (m *MockProjectRepository) Delete(ctx context.Context, projectID string) error
func (*MockProjectRepository) GetByAPIKey ¶
func (*MockProjectRepository) GetEncryptionPart ¶
func (*MockProjectRepository) HasSuccessfulMigration ¶ added in v0.1.12
func (*MockProjectRepository) SetEncryptionPart ¶
func (m *MockProjectRepository) SetEncryptionPart(ctx context.Context, projectID, part string) error
Click to show internal directories.
Click to hide internal directories.