cmdutil

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The default indentation to use when printing data to stdout
	DefaultJSONIndent = "    "

	// DefaultPageSize is the default number of items per page when using list commands
	DefaultPageSize = 10

	// DefaultPageNumber is the default page number when using list commands
	DefaultPageNumber = 1
)

Variables

This section is empty.

Functions

func CheckSurveyError

func CheckSurveyError(err error) error

CheckSurveyError checks the error from AlecAivazis/survey if the error is from SIGINT, force exit the program quietly

func FetchCloudProviders

func FetchCloudProviders(f *factory.Factory) (validProviders []string, directive cobra.ShellCompDirective)

FetchCloudProviders returns the list of supported cloud providers for creating a Kafka instance This is used in the cmd.RegisterFlagCompletionFunc for dynamic completion of --provider

Types

This section is empty.

Directories

Path Synopsis
flags package is a helper package for processing and interactive command line flags
flags package is a helper package for processing and interactive command line flags

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL