constants

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2016 License: Apache-2.0 Imports: 4 Imported by: 15

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"
	RemoteOpenShiftCAPath  = "/var/lib/minishift/openshift.local.config/master/ca.crt"
)
View Source
const APIServerPort = 8443

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

View Source
const (
	DefaultVMDriver = "kvm"
)
View Source
const DockerAPIVersion = "1.23"

DockerAPIVersion is the API version implemented by Docker running in the minikube VM.

View Source
const MachineName = "minishift"

MachineName is the name to use for the VM.

View Source
const MiniShiftEnvPrefix = "MINISHIFT"

MiniShiftEnvPrefix is the prefix for the environmental variables

View Source
const MinikubeContext = "minishift"

MinikubeContext is the kubeconfig context name used for minishift

Variables

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