drain

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const StepName = "drain"

Variables

This section is empty.

Functions

func Init

func Init()

Types

type Step

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

func New

func New(script *template.Template) *Step

func (*Step) Depends

func (s *Step) Depends() []string

func (*Step) Description

func (s *Step) Description() string

func (*Step) Name

func (s *Step) Name() string

func (*Step) Rollback

func (s *Step) Rollback(context.Context, io.Writer, *steps.Config) error

func (*Step) Run

func (s *Step) Run(ctx context.Context, out io.Writer, config *steps.Config) error

Jump to

Keyboard shortcuts

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