Documentation ¶
Index ¶
- Constants
- func ConvertPageValueToInt32(s string) int32
- func ConvertSizeValueToInt32(s string) int32
- func FilterValidConsumerGroupIDs(f *factory.Factory, toComplete string) (validIDs []string, directive cobra.ShellCompDirective)
- func FilterValidTopicNameArgs(f *factory.Factory, toComplete string) (validNames []string, directive cobra.ShellCompDirective)
Constants ¶
View Source
const ( // The default indentation to use when printing data to stdout DefaultJSONIndent = " " // DefaultPollTime is the default interval to wait when polling a network request DefaultPollTime = time.Millisecond * 5000 )
Variables ¶
This section is empty.
Functions ¶
func ConvertPageValueToInt32 ¶ added in v0.27.0
func ConvertSizeValueToInt32 ¶ added in v0.27.0
func FilterValidConsumerGroupIDs ¶
func FilterValidConsumerGroupIDs(f *factory.Factory, toComplete string) (validIDs []string, directive cobra.ShellCompDirective)
FilterValidConsumerGroups returns the list of consumer group IDs from the API
func FilterValidTopicNameArgs ¶
func FilterValidTopicNameArgs(f *factory.Factory, toComplete string) (validNames []string, directive cobra.ShellCompDirective)
FilterValidTopicNameArgs filters topics from the API and returns the names This is used in the cobra.ValidArgsFunction for dynamic completion of topic names
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.