Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrettyFormat string = "pretty" JSONFormat string = "json" )
Variables ¶
This section is empty.
Functions ¶
func GetSupportedFormats ¶
func GetSupportedFormats() []string
GetSupportedFormats returns supported formats
Types ¶
type Formatter ¶
type Formatter interface {
FormatState(state *api.AutopilotState) (string, error)
}
Formatter defines methods provided by an autopilot state output formatter
func NewFormatter ¶
NewFormatter returns Formatter implementation
Click to show internal directories.
Click to hide internal directories.