Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type EnvironmentStorage ¶
type EnvironmentStorage interface { CreateEnvironment(ctx context.Context, e *domain.Environment) error UpdateEnvironment(ctx context.Context, e *domain.Environment) error GetEnvironment(ctx context.Context, id string) (*domain.Environment, error) GetEnvironmentByNamespace( ctx context.Context, namespace string, deleted bool, ) (*domain.Environment, error) ListEnvironments( ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int, ) ([]*proto.Environment, int, int64, error) }
func NewEnvironmentStorage ¶
func NewEnvironmentStorage(qe mysql.QueryExecer) EnvironmentStorage
type ProjectStorage ¶
type ProjectStorage interface { CreateProject(ctx context.Context, p *domain.Project) error UpdateProject(ctx context.Context, p *domain.Project) error GetProject(ctx context.Context, id string) (*domain.Project, error) GetTrialProjectByEmail( ctx context.Context, email string, disabled, trial bool, ) (*domain.Project, error) ListProjects( ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int, ) ([]*proto.Project, int, int64, error) }
func NewProjectStorage ¶
func NewProjectStorage(qe mysql.QueryExecer) ProjectStorage
Click to show internal directories.
Click to hide internal directories.