Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRedeployDisableGroup = errors.New("check_service group must first be disabled")
View Source
var ErrRedeployNotAllowed = errors.New("redeploy is not allowed when platform or queue are not specified")
Functions ¶
This section is empty.
Types ¶
type Serv ¶
type Serv interface {
Delete(ctx context.Context, id uuid.UUID) error
GetAll(ctx context.Context) ([]*servicegroup.ServiceGroup, error)
GetByID(ctx context.Context, id uuid.UUID) (*servicegroup.ServiceGroup, error)
Store(ctx context.Context, u *servicegroup.ServiceGroup) error
Update(ctx context.Context, u *servicegroup.ServiceGroup) error
Redeploy(ctx context.Context, id uuid.UUID) error
}
func NewServiceGroupServ ¶
func NewServiceGroupServ(repo repo2.Repo, plat platform.Platform, q queue.WorkerQueue, config config.StaticConfig) Serv
Click to show internal directories.
Click to hide internal directories.