projectmockrepo

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 23, 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 MockProjectRepository

type MockProjectRepository struct {
	mock.Mock
}

func (*MockProjectRepository) Create

func (m *MockProjectRepository) Create(ctx context.Context, proj *project.Project) error

func (*MockProjectRepository) Delete

func (m *MockProjectRepository) Delete(ctx context.Context, projectID string) error

func (*MockProjectRepository) Get

func (m *MockProjectRepository) Get(ctx context.Context, projectID string) (*project.Project, error)

func (*MockProjectRepository) GetByAPIKey

func (m *MockProjectRepository) GetByAPIKey(ctx context.Context, apiKey string) (*project.Project, error)

func (*MockProjectRepository) GetEncryptionPart

func (m *MockProjectRepository) GetEncryptionPart(ctx context.Context, projectID string) (string, error)

func (*MockProjectRepository) SetEncryptionPart

func (m *MockProjectRepository) SetEncryptionPart(ctx context.Context, projectID, part string) error

Jump to

Keyboard shortcuts

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