import "k8s.io/kubernetes/staging/src/k8s.io/component-base/version/verflag"
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
const ( VersionFalse versionValue = 0 VersionTrue versionValue = 1 VersionRaw versionValue = 2 )
AddFlags registers this package's flags on arbitrary FlagSets, such that they point to the same value as the global flags.
func PrintAndExitIfRequested()
PrintAndExitIfRequested will check if the -version flag was passed and, if so, print the version and exit.
Package verflag imports 5 packages (graph). Updated 2020-05-08. Refresh now. Tools for package owners.