cmdutil

package
v0.0.0-...-2e1cf37 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolFlag

func BoolFlag(dest *bool, name string, usage string) *cli.BoolFlag

func GetInstanceName

func GetInstanceName() string

GetInstanceName uses the provided instance name or returns a randomly generated one.

Calling it multiple times will return the same value

func InstanceNameFlag

func InstanceNameFlag() cli.Flag

func IntFlag

func IntFlag(dest *int, name string, usage string) *cli.IntFlag

func RunHTTPServer

func RunHTTPServer(parentCtx context.Context, h http.Handler, bind string) error

func StringFlag

func StringFlag(dest *string, name string, usage string) *cli.StringFlag

Types

This section is empty.

Jump to

Keyboard shortcuts

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