deploymentservice

package
v0.0.5-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDisabled = errors.New("deployment is disabled")
	ErrCanceled = errors.New("deploymentservice: canceled by context")
)

Functions

This section is empty.

Types

type DeploymentService

type DeploymentService struct {
	Mailer *mailer.Mailer
}

func (*DeploymentService) DoEmailDeployment

func (dpl *DeploymentService) DoEmailDeployment(ctx context.Context, deployment *entity.EmailDeployment, repoName string, build *builder.Build) error

func (*DeploymentService) DoLocalDeployment

func (dpl *DeploymentService) DoLocalDeployment(ctx context.Context, deployment *entity.LocalDeployment, build *builder.Build) error

func (*DeploymentService) DoRemoteDeployment

func (dpl *DeploymentService) DoRemoteDeployment(ctx context.Context, deployment *entity.RemoteDeployment, build *builder.Build) error

Jump to

Keyboard shortcuts

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