console

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 26 Imported by: 1

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 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

func GetConfigDirectory() (string, error)

GetConfigDirectory returns pull secret file saving path Defaults to ~/.kube/ocm-pull-secret

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL