deployer

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployJob

type DeployJob interface {
	Type() string
	Deploy(logger util.FriendlyLogger, pctx *project.Context) error
}

func NewK8sDeployJob

func NewK8sDeployJob(repo, branch, domain string, updateTemplates bool) DeployJob

NewK8sDeployJob creates a new deploy job.

type Deployer

type Deployer struct {
	// contains filtered or unexported fields
}

func New

func New(log util.FriendlyLogger) *Deployer

New creates a new Deployer.

func (*Deployer) Deploy

func (d *Deployer) Deploy(ctx *project.Context, job DeployJob) error

Deploy executes a DeployJob.

type K8sDeployJob

type K8sDeployJob struct {
	// contains filtered or unexported fields
}

K8sDeployJob represents a deployment job.

func (*K8sDeployJob) Deploy

func (k *K8sDeployJob) Deploy(log util.FriendlyLogger, ctx *project.Context) error

Deploy executes the deployment.

func (*K8sDeployJob) Type

func (k *K8sDeployJob) Type() string

Typw returns the deploy job typw.

Jump to

Keyboard shortcuts

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