Documentation
¶
Index ¶
- func CheckIfHostExistsAndLoad(api libmachine.API, machineName string) (*host.Host, error)
- func CreateSSHShell(api libmachine.API, args []string) error
- func DeleteHost(api libmachine.API) error
- func EnsureMinikubeRunningOrExit(api libmachine.API, exitStatus int)
- func GetHostDockerEnv(api libmachine.API) (map[string]string, error)
- func GetHostDriverIP(api libmachine.API, machineName string) (net.IP, error)
- func GetHostStatus(api libmachine.API) (string, error)
- func GetMountCleanupCommand(path string) string
- func GetMountCommand(ip net.IP, path, port, mountVersion string, uid, gid, msize int) (string, error)
- func GetVMHostIP(host *host.Host) (net.IP, error)
- func MountHost(api libmachine.API, ip net.IP, path, port, mountVersion string, ...) error
- func StartHost(api libmachine.API, config cfg.MachineConfig) (*host.Host, error)
- func StopHost(api libmachine.API) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfHostExistsAndLoad ¶ added in v0.31.0
func CreateSSHShell ¶ added in v0.2.0
func CreateSSHShell(api libmachine.API, args []string) error
func EnsureMinikubeRunningOrExit ¶ added in v0.8.0
func EnsureMinikubeRunningOrExit(api libmachine.API, exitStatus int)
EnsureMinikubeRunningOrExit checks that minikube has a status available and that the status is `Running`, otherwise it will exit
func GetHostDockerEnv ¶
func GetHostDockerEnv(api libmachine.API) (map[string]string, error)
GetHostDockerEnv gets the necessary docker env variables to allow the use of docker through minikube's vm
func GetHostDriverIP ¶ added in v0.20.0
GetHostDriverIP gets the ip address of the current minikube cluster
func GetHostStatus ¶
func GetHostStatus(api libmachine.API) (string, error)
GetHostStatus gets the status of the host VM.
func GetMountCleanupCommand ¶ added in v0.19.0
func GetMountCommand ¶ added in v0.19.0
func GetVMHostIP ¶ added in v0.19.0
GetVMHostIP gets the ip address to be used for mapping host -> VM and VM -> host
func MountHost ¶ added in v0.19.0
func MountHost(api libmachine.API, ip net.IP, path, port, mountVersion string, uid, gid, msize int) error
MountHost runs the mount command from the 9p client on the VM to the 9p server on the host
func StartHost ¶
func StartHost(api libmachine.API, config cfg.MachineConfig) (*host.Host, error)
StartHost starts a host VM.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.