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 { 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.