Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DOCKER binary name of docker DOCKER = "docker" // PODMAN binary name of podman PODMAN = "podman" )
View Source
const EnvBrowserDefault = "BACKPLANE_DEFAULT_OPEN_BROWSER"
Environment variable that indicates if open by browser is set as default
Variables ¶
View Source
var ConsoleCmd = &cobra.Command{ Use: "console", Short: "Launch OpenShift web console for the current cluster", Long: `console will start the Openshift console application locally for the currently logged in cluster. Default behaviour is to run the same console image as the cluster. Clusters below 4.8 will not display metrics, alerts, or dashboards. If you need to view metrics, alerts, or dashboards use the latest console image with --image=quay.io/openshift/origin-console . You can specify container engine with -c. If not specified, it will lookup the PATH in the order of podman and docker. `, RunE: runConsole, SilenceUsage: true, }
ConsoleCmd represents the console command
Functions ¶
func GetConfigDirectory ¶ added in v0.1.4
GetConfigDirectory returns pull secret file saving path Defaults to ~/.kube/ocm-pull-secret
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.