flagutil

package
v0.40.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagProvider is a flag representing an OCM provider ID
	FlagProvider = "provider"
	// FlagRegion is a flag representing an OCM region ID
	FlagRegion = "region"
)

Variables

This section is empty.

Functions

This section is empty.

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