demo

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const Pause = 3 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoBranch

type RepoBranch string

type Script

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

Runs the demo script

func NewScript

func NewScript(upper engine.Upper, hud hud.HeadsUpDisplay, kClient k8s.Client,
	env k8s.Env, st *store.Store, branch RepoBranch) Script

func (Script) Run

func (s Script) Run(ctx context.Context) error

type Step

type Step struct {
	Narration         string
	Command           string
	ChangeBranch      bool
	CreateManifests   bool
	WaitForHealthy    bool
	WaitForBuildError bool
	WaitForPodRestart bool
}

Jump to

Keyboard shortcuts

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