Documentation
¶
Index ¶
Constants ¶
View Source
const ( PrettyFormat string = "pretty" JSONFormat string = "json" )
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 {
FormatAuthMethod(method *api.ACLAuthMethod) (string, error)
FormatAuthMethodList(methods []*api.ACLAuthMethodListEntry) (string, error)
}
Formatter defines methods provided by authmethod command output formatter
Click to show internal directories.
Click to hide internal directories.