runner

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SkaffoldRunner

type SkaffoldRunner struct {
	build.Builder
	deploy.Deployer
	tag.Tagger
	watch.WatcherFactory
	// contains filtered or unexported fields
}

SkaffoldRunner is responsible for running the skaffold build and deploy pipeline.

func NewForConfig

func NewForConfig(opts *config.SkaffoldOptions, cfg *config.SkaffoldConfig, out io.Writer) (*SkaffoldRunner, error)

NewForConfig returns a new SkaffoldRunner for a SkaffoldConfig

func (*SkaffoldRunner) Build added in v0.6.0

func (r *SkaffoldRunner) Build(ctx context.Context) error

Build builds the artifacts.

func (*SkaffoldRunner) Dev added in v0.6.0

func (r *SkaffoldRunner) Dev(ctx context.Context) error

Dev watches for changes and runs the skaffold build and deploy pipeline until interrrupted by the user.

func (*SkaffoldRunner) Run

func (r *SkaffoldRunner) Run(ctx context.Context) error

Run runs the skaffold build and deploy pipeline.

Jump to

Keyboard shortcuts

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