config

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WantUpdateNotification                  = "WantUpdateNotification"
	ReminderWaitPeriodInHours               = "ReminderWaitPeriodInHours"
	WantReportError                         = "WantReportError"
	WantReportErrorPrompt                   = "WantReportErrorPrompt"
	WantKubectlDownloadMsg                  = "WantKubectlDownloadMsg"
	WantNoneDriverWarning                   = "WantNoneDriverWarning"
	MachineProfile                          = "profile"
	ShowDriverDeprecationNotification       = "ShowDriverDeprecationNotification"
	ShowBootstrapperDeprecationNotification = "ShowBootstrapperDeprecationNotification"
)

Variables

This section is empty.

Functions

func Get added in v0.12.0

func Get(name string) (string, error)

func GetMachineName added in v0.19.0

func GetMachineName() string

GetMachineName gets the machine name for the VM

Types

type Config added in v0.26.0

type Config struct {
	MachineConfig    MachineConfig
	KubernetesConfig KubernetesConfig
}

Config contains machine and k8s config

type KubernetesConfig added in v0.26.0

type KubernetesConfig struct {
	KubernetesVersion string
	NodeIP            string
	NodeName          string
	APIServerName     string
	APIServerNames    []string
	APIServerIPs      []net.IP
	DNSDomain         string
	ContainerRuntime  string
	NetworkPlugin     string
	FeatureGates      string
	ServiceCIDR       string
	ExtraOptions      util.ExtraOptionSlice

	ShouldLoadCachedImages bool
}

KubernetesConfig contains the parameters used to configure the VM Kubernetes.

type MachineConfig added in v0.26.0

type MachineConfig struct {
	MinikubeISO         string
	Memory              int
	CPUs                int
	DiskSize            int
	VMDriver            string
	XhyveDiskDriver     string   // Only used by the xhyve driver
	DockerEnv           []string // Each entry is formatted as KEY=VALUE.
	InsecureRegistry    []string
	RegistryMirror      []string
	HostOnlyCIDR        string // Only used by the virtualbox driver
	HypervVirtualSwitch string
	KvmNetwork          string             // Only used by the KVM driver
	Downloader          util.ISODownloader `json:"-"`
	DockerOpt           []string           // Each entry is formatted as KEY=VALUE.
	DisableDriverMounts bool               // Only used by virtualbox and xhyve
	NFSShare            []string
	NFSSharesRoot       string
	UUID                string // Only used by hyperkit to restore the mac address
}

MachineConfig contains the parameters used to start a cluster.

type MinikubeConfig added in v0.12.0

type MinikubeConfig map[string]interface{}

func ReadConfig added in v0.12.0

func ReadConfig() (MinikubeConfig, error)

ReadConfig reads in the JSON minikube config

Jump to

Keyboard shortcuts

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