constants

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MachineName                  = "minishift"      // Name to use for the VM
	APIServerPort                = 8443             // Port that the API server should listen on
	MiniShiftEnvPrefix           = "MINISHIFT"      // Prefix for the environmental variables
	MiniShiftHomeEnv             = "MINISHIFT_HOME" // Environment variable used to change the Minishift home directory
	VersionPrefix                = "v"
	MinOpenshiftSupportedVersion = "v1.4.1"
	DefaultMemory                = 2048
	DefaultCPUS                  = 2
	DefaultDiskSize              = "20g"
	UpdateMarkerFileName         = "updated"
)
View Source
const DefaultVMDriver = "kvm"
View Source
const OC_BINARY_NAME = "oc"

Variables

View Source
var (
	// Fix for windows
	Minipath = getMinishiftHomeDir()

	KubeConfigPath = filepath.Join(Minipath, "machines", MachineName+"_kubeconfig")
	ConfigFile     = MakeMiniPath("config", "config.json")

	DefaultB2dIsoUrl    = "https://github.com/minishift/minishift-b2d-iso/releases/download/" + version.GetB2dIsoVersion() + "/" + "minishift-b2d.iso"
	DefaultCentOsIsoUrl = "https://github.com/minishift/minishift-centos-iso/releases/download/" + version.GetCentOsIsoVersion() + "/" + "minishift-centos7.iso"
)
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