constants

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2017 License: Apache-2.0 Imports: 4 Imported by: 92

Documentation

Index

Constants

View Source
const (
	DefaultMemory   = 2048
	DefaultCPUS     = 2
	DefaultDiskSize = "20g"
)
View Source
const APIServerPort = 8443

APIServerPort is the port that the API server should listen on.

View Source
const DefaultVMDriver = "kvm"
View Source
const MachineName = "minishift"

MachineName is the name to use for the VM.

View Source
const MinOpenshiftSuportedVersion = "v1.4.1"

Minimum Openshift supported version

View Source
const MiniShiftEnvPrefix = "MINISHIFT"

MiniShiftEnvPrefix is the prefix for the environmental variables

View Source
const MiniShiftHomeEnv = "MINISHIFT_HOME"

MiniShiftHomeEnv is the environment variable used to change the Minishift home directory

View Source
const OC_BINARY_NAME = "oc"
View Source
const VersionPrefix = "v"

Variables

View Source
var ConfigFile = MakeMiniPath("config", "config.json")
View Source
var DefaultIsoUrl = githubProject + "/releases/download/" + isoVersion + "/" + isoName
View Source
var KubeConfigPath = filepath.Join(Minipath, "machines", MachineName+"_kubeconfig")
View Source
var Minipath = getMinishiftHomeDir()

Fix for windows

View Source
var SupportedVMDrivers = [...]string{
	"virtualbox",
	"kvm",
}

Functions

func MakeMiniPath

func MakeMiniPath(fileName ...string) string

MakeMiniPath is a utility to calculate a relative path to our directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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