flagutil

package
v0.36.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterFlagName         = "cluster"
	TopicFlagName           = "topic"
	GroupFlagName           = "group"
	TransactionalIDFlagName = "transactional-id"
)

Variables

View Source
var ResourceTypeFlagEntries []*localize.TemplateEntry = []*localize.TemplateEntry{
	localize.NewEntry("ClusterFlag", ClusterFlagName),
	localize.NewEntry("TopicFlag", TopicFlagName),
	localize.NewEntry("TransactionalIDFlag", TransactionalIDFlagName),
	localize.NewEntry("GroupFlag", GroupFlagName),
}

Functions

func NewFlagSet

func NewFlagSet(cmd *cobra.Command, f *factory.Factory) *flagSet

NewFlagSet returns a new flag set with common Kafka ACL flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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