edward

package
v0.0.0-...-48281b1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2017 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Logger *log.Logger

	Input  io.Reader
	Output io.Writer

	Config string

	ServiceChecks func([]services.ServiceOrGroup) error

	EdwardExecutable string

	Follower TaskFollower

	// Prevent build, launch and stop phases from running concurrently
	DisableConcurrentPhases bool
}

func NewClient

func NewClient() *Client

func (*Client) Generate

func (c *Client) Generate(names []string, force bool, group string, targets []string) error

func (*Client) List

func (c *Client) List() error

func (*Client) Log

func (c *Client) Log(names []string) error

func (*Client) Restart

func (c *Client) Restart(names []string, force bool, skipBuild bool, tail bool, noWatch bool, exclude []string) error

func (*Client) Start

func (c *Client) Start(names []string, skipBuild bool, tail bool, noWatch bool, exclude []string) error

func (*Client) Status

func (c *Client) Status(names []string) (string, error)

func (*Client) Stop

func (c *Client) Stop(names []string, force bool, exclude []string) error

func (*Client) Version

func (c *Client) Version() string

type TaskFollower

type TaskFollower interface {
	Handle(update tracker.Task)
	Done()
}

Jump to

Keyboard shortcuts

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