runbook

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dot

func Dot(sys *sys.IO, filename string, w io.Writer, splines string) error

Dot generates a GraphViz compatible description of a runbook's tasks

func Eval

func Eval(sys *sys.IO, filename string, w io.Writer, color bool) error

Eval converts a runbook to JSON and pretty prints it

func List

func List(sys *sys.IO, filename string) (map[TaskID]TargetID, error)

List enumerates a runbook's tasks and their targets

func Run

func Run(sys *sys.IO, filename string) error

Run executes the tasks in a runbook

Types

type TargetID

type TargetID string

TargetID uniquely identifies a target

type TaskID

type TaskID string

TaskID uniquely identifies a task

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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