common

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindEnvFlags added in v0.4.0

func BindEnvFlags(cmd *cobra.Command)

BindEnvFlags used for bind env to flag.

func FlagHackLookup

func FlagHackLookup(flagName string) string

FlagHackLookup hack lookup function. Borrowed from https://github.com/docker/machine/blob/master/commands/create.go#L267.

func MakeSureCredentialFlag added in v0.3.0

func MakeSureCredentialFlag(flags *pflag.FlagSet, p providers.Provider) error

MakeSureCredentialFlag ensure credential is provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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