localpath

package
v1.7.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const MinikubeHome = "MINIKUBE_HOME"

MinikubeHome is the name of the minikube home directory environment variable.

Variables

View Source
var ConfigFile = MakeMiniPath("config", "config.json")

ConfigFile is the path of the config file

Functions

func DstPath added in v1.7.0

func DstPath(dst string) (string, error)

DstPath returns an os specific

func MachinePath added in v1.6.0

func MachinePath(machine string, miniHome ...string) string

MachinePath returns the Minikube machine path of a machine

func MakeMiniPath

func MakeMiniPath(fileName ...string) string

MakeMiniPath is a utility to calculate a relative path to our directory.

func MiniPath

func MiniPath() string

MiniPath returns the path to the user's minikube dir

func SanitizeCacheDir added in v1.7.0

func SanitizeCacheDir(image string) string

SanitizeCacheDir returns a path without special characters

Types

This section is empty.

Jump to

Keyboard shortcuts

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