vflag

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultStorageNodeID      = types.StorageNodeID(1)
	DefaultTelemetryCollector = "nop"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FlagDescriptor

type FlagDescriptor struct {
	Name        string
	Aliases     []string
	EnvVars     []string
	Description string
	Required    bool
}

func (*FlagDescriptor) BoolFlag

func (fd *FlagDescriptor) BoolFlag() *cli.BoolFlag

func (*FlagDescriptor) DurationFlag

func (fd *FlagDescriptor) DurationFlag() *cli.DurationFlag

func (*FlagDescriptor) IntFlag

func (fd *FlagDescriptor) IntFlag() *cli.IntFlag

func (*FlagDescriptor) IntFlagV

func (fd *FlagDescriptor) IntFlagV(defaultValue int) *cli.IntFlag

func (*FlagDescriptor) StringFlag

func (fd *FlagDescriptor) StringFlag() *cli.StringFlag

func (*FlagDescriptor) StringFlagV

func (fd *FlagDescriptor) StringFlagV(defaultValue string) *cli.StringFlag

func (*FlagDescriptor) StringSliceFlag

func (fd *FlagDescriptor) StringSliceFlag() *cli.StringSliceFlag

func (*FlagDescriptor) StringSliceFlagV

func (fd *FlagDescriptor) StringSliceFlagV(defaultValue []string) *cli.StringSliceFlag

Jump to

Keyboard shortcuts

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