servicegroupservice

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

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) Serv

Jump to

Keyboard shortcuts

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