builds

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLogs

func BuildLogs(
	client client.Interface,
	system v1.SystemID,
	id v1.BuildID,
	path tree.Path,
	sidecar *string,
	follow bool,
	previous bool,
	timestamps bool,
	since string,
	tail int64,
	w io.Writer,
) error

func Logs

func Logs() *cli.Command

func PrintBuild

func PrintBuild(client client.Interface, system v1.SystemID, id v1.BuildID, w io.Writer, f printer.Format) error

func Status

func Status() *cli.Command

func WatchBuild

func WatchBuild(client client.Interface, system v1.SystemID, id v1.BuildID, w io.Writer, f printer.Format) error

Types

type BuildCommandContext

type BuildCommandContext struct {
	*command.SystemCommandContext
	Build v1.BuildID
}

type Command

type Command struct {
	Name                   string
	Short                  string
	Args                   cli.Args
	Flags                  cli.Flags
	Run                    func(ctx *BuildCommandContext, args []string, flags cli.Flags) error
	MutuallyExclusiveFlags [][]string
	RequiredFlagSet        [][]string
	Subcommands            map[string]*cli.Command
}

func (*Command) Command

func (c *Command) Command() *cli.Command

Jump to

Keyboard shortcuts

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