Documentation
¶
Index ¶
- Variables
- func Build() *cli.Command
- func BuildPath(client client.Interface, system v1.SystemID, path tree.Path, w io.Writer, ...) error
- func BuildVersion(client client.Interface, system v1.SystemID, version v1.Version, w io.Writer, ...) error
- func Builds() *cli.Command
- func Context() *cli.Command
- func Deploy() *cli.Command
- func DeployBuild(client client.Interface, system v1.SystemID, build v1.BuildID, w io.Writer, ...) error
- func DeployPath(client client.Interface, system v1.SystemID, path tree.Path, w io.Writer, ...) error
- func DeployVersion(client client.Interface, system v1.SystemID, version v1.Version, w io.Writer, ...) error
- func Deploys() *cli.Command
- func PrintBuilds(client client.Interface, system v1.SystemID, format printer.Format, ...) error
- func PrintContext(ctx *command.Context, format printer.Format) error
- func PrintDeploys(client client.Interface, system v1.SystemID, format printer.Format, ...) error
- func PrintServices(client client.Interface, id v1.SystemID, w io.Writer, f printer.Format) error
- func PrintSystems(client client.Interface, format printer.Format, w io.Writer) error
- func PrintTeardowns(client client.Interface, system v1.SystemID, format printer.Format, ...) error
- func Secrets() *cli.Command
- func Services() *cli.Command
- func Systems() *cli.Command
- func Teardown() *cli.Command
- func TeardownSystem(client client.Interface, system v1.SystemID, w io.Writer, f printer.Format, ...) error
- func Teardowns() *cli.Command
- func WatchBuilds(client client.Interface, system v1.SystemID, format printer.Format, ...)
- func WatchDeploys(client client.Interface, system v1.SystemID, format printer.Format, ...)
- func WatchServices(client client.Interface, id v1.SystemID, w io.Writer, f printer.Format)
- func WatchSystems(client client.Interface, format printer.Format, w io.Writer)
- func WatchTeardowns(client client.Interface, system v1.SystemID, format printer.Format, ...)
Constants ¶
This section is empty.
Variables ¶
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 BuildVersion ¶
func DeployBuild ¶
func DeployPath ¶
func DeployVersion ¶
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 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 PrintSystems ¶
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 TeardownSystem ¶
func WatchBuilds ¶
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 ¶
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 WatchSystems ¶
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.