package
0.0.0-20190319231021-e6272b887b81
Repository: https://github.com/marun/kubernetes.git
Documentation: pkg.go.dev

# Functions

AddCRISocketFlag adds the cri-socket flag to the supplied flagSet.
GetJoinControlPlaneCommand returns the kubeadm join command for a given token and and Kubernetes cluster (the current cluster in the kubeconfig file).
GetJoinWorkerCommand returns the kubeadm join command for a given token and and Kubernetes cluster (the current cluster in the kubeconfig file).
GetKubeConfigPath can be used to search for a kubeconfig in standard locations if and empty string is passed to the function.
SubCmdRunE returns a function that handles a case where a subcommand must be specified Without this callback, if a user runs just the command without a subcommand, or with an invalid subcommand, cobra will print usage information, but still exit cleanly.
ValidateExactArgNumber validates that the required top-level arguments are specified.

# Variables

AlphaDisclaimer to be places at the end of description of commands in alpha release.
MacroCommandLongDescription provide a standard description for "macro" commands.