import "github.com/wallyworld/juju/cmd/juju/status"
formatted.go formatter.go history.go output_oneline.go output_summary.go output_tabular.go status.go utils.go
FormatMachineTabular writes a tabular summary of machine
FormatOneline writes 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.
FormatSummary writes 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. - Applications: Displays total #, their names, and how many of each are exposed. - RemoteApplications: Displays total #, their names and URLs.
FormatTabular writes a tabular summary of machines, applications, and units. Any subordinate items are indented by two spaces beneath their superior.
NewStatusCommand returns a new command, which reports on the runtime state of various system entities.
func NewStatusFormatter(status *params.FullStatus, isoTime bool) *statusFormatter
NewStatusFormatter takes stored model information (params.FullStatus) and populates the statusFormatter struct used in various status formatting methods
NewStatusHistoryCommand returns a command that reports the history of status changes for the specified unit.
Clock defines the methods needed for the status command.
type HistoryAPI interface { StatusHistory(kind status.HistoryKind, tag names.Tag, filter status.StatusHistoryFilter) (status.History, error) Close() error }
HistoryAPI is the API surface for the show-status-log command.
Package status imports 40 packages (graph). Updated 2020-08-06. Refresh now. Tools for package owners.