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 ¶
WriteContainerPS writes a tab-delimited `ps` output for the containers to the passed writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.