build

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build interface {
	Run() error
	Name() string
	Images() []string
}

type BuildContext

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

type BuildSteps

type BuildSteps struct {
	Steps []*BuildContext
}

func NewBuildSteps

func NewBuildSteps(steps ...Build) *BuildSteps

func (*BuildSteps) Add

func (bs *BuildSteps) Add(step Build)

func (*BuildSteps) AddAsync

func (bs *BuildSteps) AddAsync(step Build)

func (*BuildSteps) Images

func (bs *BuildSteps) Images(step ...string) []string

func (*BuildSteps) PrintSteps

func (bs *BuildSteps) PrintSteps()

func (*BuildSteps) Run

func (bs *BuildSteps) Run(step ...string) error

func (*BuildSteps) String

func (bs *BuildSteps) String() string

type RunFunc

type RunFunc func() error

Jump to

Keyboard shortcuts

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