runner

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AttemptInterval = time.Second

Functions

func RunAtom

func RunAtom(atom CommandAtom, timeout time.Duration) (exit int)

func UpgradeToEphemeral

func UpgradeToEphemeral(e error) error

Types

type CommandAtom

type CommandAtom func() error

type EphemeralError

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

type ErrorClassifier

type ErrorClassifier struct {
}

func (ErrorClassifier) Classify

func (c ErrorClassifier) Classify(err error) retrier.Action

Jump to

Keyboard shortcuts

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