Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatOneline ¶
FormatOneline returns a brief list of units and their subordinates. Subordinates will be indented 2 spaces and listed under their superiors.
func FormatOnelineV2 ¶
FormatOnelineV2 returns a brief list of units and their subordinates. Subordinates will be indented 2 spaces and listed under their superiors. This format works with version 2 of the CLI.
func FormatSummary ¶
FormatSummary returns a summary of the current environment including the following information: - Headers:
- All subnets the environment occupies.
- All ports the environment utilizes.
- Sections:
- Machines: Displays total #, and then the # in each state.
- Units: Displays total #, and then # in each state.
- Services: Displays total #, their names, and how many of each are exposed.
func FormatTabular ¶
FormatTabular returns a tabular summary of machines, services, and units. Any subordinate items are indented by two spaces beneath their superior.
Types ¶
type StatusCommand ¶
type StatusCommand struct { envcmd.EnvCommandBase // contains filtered or unexported fields }
func (*StatusCommand) Info ¶
func (c *StatusCommand) Info() *cmd.Info
func (*StatusCommand) Init ¶
func (c *StatusCommand) Init(args []string) error
func (*StatusCommand) SetFlags ¶
func (c *StatusCommand) SetFlags(f *gnuflag.FlagSet)
type StatusHistoryCommand ¶
type StatusHistoryCommand struct { envcmd.EnvCommandBase // contains filtered or unexported fields }
func (*StatusHistoryCommand) Info ¶
func (c *StatusHistoryCommand) Info() *cmd.Info
func (*StatusHistoryCommand) Init ¶
func (c *StatusHistoryCommand) Init(args []string) error
func (*StatusHistoryCommand) SetFlags ¶
func (c *StatusHistoryCommand) SetFlags(f *gnuflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.