constants

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMemory   = 1024
	DefaultCPUS     = 1
	DefaultDiskSize = "20g"
)
View Source
const (
	RemoteOpenShiftErrPath = "/var/lib/minishift/openshift.err"
	RemoteOpenShiftOutPath = "/var/lib/minishift/openshift.out"
)
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 = "minishiftVM"

MachineName is the name to use for the VM.

View Source
const MinikubeContext = "minishift"

MinikubeContext is the kubeconfig context name used for minishift

Variables

View Source
var ConfigFilePath = MakeMiniPath("config")
View Source
var DefaultIsoUrl = "https://github.com/jimmidyson/minishift/releases/download/v" + version.GetVersion() + "/boot2docker.iso"

TODO: Fix for windows KubeconfigPath is the path to the Kubernetes client config

View Source
var LogFlags = [...]string{
	"v",
	"vmodule",
}

Only pass along these flags to openshift.

View Source
var Minipath = filepath.Join(homedir.HomeDir(), ".minishift")

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