setup

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrGitNotFound = errors.New("git not found on PATH")
	ErrNotInRepo   = errors.New("current directory is not a git repository")
	ErrDirtyGit    = errors.New("git is in a dirty state")
)

Errors for the setup stage.

Functions

This section is empty.

Types

type Stage

type Stage struct{}

Stage for the "setup" step of the update pipeline.

func (Stage) Name

func (Stage) Name() string

Name of the stage.

func (Stage) Run

func (Stage) Run(ctx *ctx.Context) error

Run the operations defined for the stage.

func (Stage) String

func (Stage) String() string

String describes what the stage does.

Jump to

Keyboard shortcuts

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