flagutil

package
v0.52.2-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNameFlagCompletionFunc added in v0.42.0

func RegisterNameFlagCompletionFunc(cmd *cobra.Command, f *factory.Factory) error

RegisterNameFlagCompletionFunc adds dynamic completion for the --name flag

Types

type FlagSet added in v0.40.0

type FlagSet struct {
	*flagutil.FlagSet
	// contains filtered or unexported fields
}

func NewFlagSet

func NewFlagSet(cmd *cobra.Command, localizer localize.Localizer) *FlagSet

NewFlagSet returns a new flag set for creating common Kafka-command flags

func (*FlagSet) AddInstanceID added in v0.40.0

func (fs *FlagSet) AddInstanceID(instanceID *string)

AddInstanceID adds a flag for setting the Kafka instance ID

Jump to

Keyboard shortcuts

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