minikube

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 8 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCpus

func SetCpus(cpus int) func(*Minikube)

func SetDriver

func SetDriver(driver string) func(*Minikube)

func SetMemory

func SetMemory(memory int) func(*Minikube)

func SetProfile

func SetProfile(profile string) func(*Minikube)

func SetkubeVersion

func SetkubeVersion(kubeVersion string) func(*Minikube)

func Start

func Start(profile string) error

func Stop

func Stop(profile string) error

Types

type Minikube

type Minikube struct {
	// contains filtered or unexported fields
}

func NewMinikube

func NewMinikube(opts ...func(*Minikube)) (*Minikube, error)

func (*Minikube) ClusterName

func (minikube *Minikube) ClusterName() string

func (*Minikube) ConfigureSqlInstance

func (minikube *Minikube) ConfigureSqlInstance() (runtime.MysqlDb, error)

func (*Minikube) CreateK8sCluster

func (minikube *Minikube) CreateK8sCluster() (string, error)

func (*Minikube) CreateNfs

func (minikube *Minikube) CreateNfs() (runtime.Nfs, error)

func (*Minikube) CreateStorage

func (minikube *Minikube) CreateStorage() error

func (*Minikube) RemoveCluster

func (minikube *Minikube) RemoveCluster() error

func (*Minikube) RemoveFileSystem

func (minikube *Minikube) RemoveFileSystem() error

func (*Minikube) RemoveSqlInstance

func (minikube *Minikube) RemoveSqlInstance() error

func (*Minikube) RemoveStorage

func (minikube *Minikube) RemoveStorage() error

func (*Minikube) UpdateKubeConfig

func (minikube *Minikube) UpdateKubeConfig() error

type Status

type Status int
const (
	MinikubeCommandNotFound Status = iota
	NonExisting
	Running
	Stopped
)

func ClusterStatus

func ClusterStatus(profile string) (Status, error)

Jump to

Keyboard shortcuts

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