latticectl

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: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.RootCommand{
	Name: "latticectl",
	Command: &cli.Command{
		Short: "utility for interacting with lattices",
		Subcommands: map[string]*cli.Command{
			"build":     Build(),
			"builds":    Builds(),
			"context":   Context(),
			"deploy":    Deploy(),
			"deploys":   Deploys(),
			"secrets":   Secrets(),
			"services":  Services(),
			"systems":   Systems(),
			"teardown":  Teardown(),
			"teardowns": Teardowns(),
		},
	},
}

Functions

func Build

func Build() *cli.Command

func BuildPath

func BuildPath(
	client client.Interface,
	system v1.SystemID,
	path tree.Path,
	w io.Writer,
	f printer.Format,
	watch bool,
) error

func BuildVersion

func BuildVersion(
	client client.Interface,
	system v1.SystemID,
	version v1.Version,
	w io.Writer,
	f printer.Format,
	watch bool,
) error

func Builds

func Builds() *cli.Command

func Context

func Context() *cli.Command

func Deploy

func Deploy() *cli.Command

func DeployBuild

func DeployBuild(
	client client.Interface,
	system v1.SystemID,
	build v1.BuildID,
	w io.Writer,
	f printer.Format,
	watch bool,
) error

func DeployPath

func DeployPath(
	client client.Interface,
	system v1.SystemID,
	path tree.Path,
	w io.Writer,
	f printer.Format,
	watch bool,
) error

func DeployVersion

func DeployVersion(
	client client.Interface,
	system v1.SystemID,
	version v1.Version,
	w io.Writer,
	f printer.Format,
	watch bool,
) error

func Deploys

func Deploys() *cli.Command

func PrintBuilds

func PrintBuilds(client client.Interface, system v1.SystemID, format printer.Format, w io.Writer) error

PrintBuilds writes the current Systems to the supplied io.Writer in the given printer.Format.

func PrintContext

func PrintContext(ctx *command.Context, format printer.Format) error

func PrintDeploys

func PrintDeploys(client client.Interface, system v1.SystemID, format printer.Format, w io.Writer) error

PrintDeploys writes the current Systems to the supplied io.Writer in the given printer.Format.

func PrintServices

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

func PrintSystems

func PrintSystems(client client.Interface, format printer.Format, w io.Writer) error

PrintSystems writes the current Systems to the supplied io.Writer in the given printer.Format.

func PrintTeardowns

func PrintTeardowns(client client.Interface, system v1.SystemID, format printer.Format, w io.Writer) error

PrintTeardowns writes the current Systems to the supplied io.Writer in the given printer.Format.

func Secrets

func Secrets() *cli.Command

func Services

func Services() *cli.Command

func Systems

func Systems() *cli.Command

func Teardown

func Teardown() *cli.Command

func TeardownSystem

func TeardownSystem(
	client client.Interface,
	system v1.SystemID,
	w io.Writer,
	f printer.Format,
	watch bool,
) error

func Teardowns

func Teardowns() *cli.Command

func WatchBuilds

func WatchBuilds(client client.Interface, system v1.SystemID, format printer.Format, w io.Writer)

WatchBuilds polls the API for the current Systems, and writes out the Systems to the the supplied io.Writer in the given printer.Format, unless the printer.Format is printer.FormatTable, in which case it always writes to the terminal.

func WatchDeploys

func WatchDeploys(client client.Interface, system v1.SystemID, format printer.Format, w io.Writer)

WatchDeploys polls the API for the current Systems, and writes out the Systems to the the supplied io.Writer in the given printer.Format, unless the printer.Format is printer.FormatTable, in which case it always writes to the terminal.

func WatchServices

func WatchServices(client client.Interface, id v1.SystemID, w io.Writer, f printer.Format)

func WatchSystems

func WatchSystems(client client.Interface, format printer.Format, w io.Writer)

WatchSystems polls the API for the current Systems, and writes out the Systems to the the supplied io.Writer in the given printer.Format, unless the printer.Format is printer.FormatTable, in which case it always writes to the terminal.

func WatchTeardowns

func WatchTeardowns(client client.Interface, system v1.SystemID, format printer.Format, w io.Writer)

WatchTeardowns polls the API for the current Systems, and writes out the Systems to the the supplied io.Writer in the given printer.Format, unless the printer.Format is printer.FormatTable, in which case it always writes to the terminal.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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