servicegroupservice

package
v0.3.8-alpha1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: Apache-2.0 Imports: 14 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 queue is 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

Jump to

Keyboard shortcuts

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