Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrettyFormat string = "pretty" JSONFormat string = "json" WHITESPACE_2 string = "\t" WHITESPACE_4 string = "\t\t" )
Variables ¶
This section is empty.
Functions ¶
func GetSupportedFormats ¶ added in v1.7.3
func GetSupportedFormats() []string
GetSupportedFormats returns supported formats
Types ¶
type Formatter ¶ added in v1.7.3
type Formatter interface { FormatToken(token *api.ACLToken) (string, error) FormatTokenExpanded(token *api.ACLTokenExpanded) (string, error) FormatTokenList(tokens []*api.ACLTokenListEntry) (string, error) }
Formatter defines methods provided by token command output formatter
Click to show internal directories.
Click to hide internal directories.