agent

package
v0.0.0-...-87f958c Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2015 License: BSD-2-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:        "agent",
	Usage:       "Control Harpoon agents",
	Description: "Interact with Harpoon agents directly.",
	Subcommands: []cli.Command{
		resourcesCommand,
		psCommand,
		dumpCommand,
		createCommand,
		runCommand,
		replaceCommand,
		startCommand,
		stopCommand,
		destroyCommand,
		eventsCommand,
		logCommand,
	},
	Flags: []cli.Flag{
		cli.StringSliceFlag{
			Name:  "e, endpoint",
			Value: &cli.StringSlice{},
			Usage: "agent endpoint(s) (repeatable, overrides --cluster)",
		},
		cli.StringFlag{
			Name:  "c, cluster",
			Value: "default",
			Usage: "read agent endpoint(s) from " + clusterPath + "/default",
		},
	},
	Before:   parseEndpoints,
	HideHelp: true,
}

Command is the agent subcommand.

Functions

func WriteContainerPS

func WriteContainerPS(w writeFlusher, m map[string]map[string]agent.ContainerInstance, long bool)

WriteContainerPS writes a tab-delimited `ps` output for the containers to the passed writer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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