Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeprecationIfChanged ¶ added in v2.16.0
DeprecationIfChanged will print a deprecation warning on output.Info if the flag has changed.
Use this method instead of the standard pflag deprecation to ensure that the deprecation message doesn't clobber JSON output.
func GetUnparsedBoolean ¶ added in v2.13.0
GetUnparsedBoolean returns the value of a boolean flag that has been provided after a "--" on the command line, and hence hasn't been parsed as a normal flag. Typical use case is:
telepresence intercept --docker-run ... -- --rm
func GetUnparsedValue ¶
GetUnparsedValue returns the value of a flag that has been provided after a "--" on the command line, and hence hasn't been parsed as a normal flag. Typical use case is:
telepresence intercept --docker-run ... -- --name <name>
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.