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 { FormatBindingRule(rule *api.ACLBindingRule) (string, error) FormatBindingRuleList(rules []*api.ACLBindingRule) (string, error) }
Formatter defines methods provided by bindingrule command output formatter
Click to show internal directories.
Click to hide internal directories.