flagutil

package
v0.52.2-alpha1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: Apache-2.0 Imports: 6 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.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