Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoPrintVersion ¶
NoPrintVersion is used as an empty PersistentPreRun function so we don't print version info for some commands.
func PrintVersion ¶
PrintVersion is used as a PersistentPreRun function to ensure we always print the version.
func RequireClusterAccess ¶
RequireClusterAccess can be used as a PreRunE to ensure there's a valid kubeconfig available. It emits a user-friendly error message, since the upstream kube one is confusing. e2e.LoadConfig falls back to trying to find in-cluster service account creds, but this isn't even a way we support running origin. Give the user a nicer error telling them we expect to find a kubeconfig.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.