controller

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvPrefix = "VARIANT_CONTROLLER_"
)

Variables

This section is empty.

Functions

func CaptureOutput

func CaptureOutput(f func(io.Writer, io.Writer) error) (string, error)

func Run

func Run(run func([]string) (string, error)) (finalErr error)

func RunRequested

func RunRequested() bool

func StateHandlerFunc

func StateHandlerFunc(f func(*state.State) error) handler.StateHandler

Types

type Config

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

Jump to

Keyboard shortcuts

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