Documentation
¶
Index ¶
- Constants
- Variables
- func Binary(binary, version, osName, archName string) (string, error)
- func DefaultISOURLs() []string
- func Driver(name string, destination string, v semver.Version) error
- func EnableMock(b bool)
- func ISO(urls []string, skipChecksum bool) (string, error)
- func LocalISOResource(isoURL string) string
- func Preload(k8sVersion, containerRuntime string) error
- func PreloadChecksumPath(k8sVersion, containerRuntime string) string
- func PreloadExists(k8sVersion, containerRuntime string, forcePreload ...bool) bool
- func TarballName(k8sVersion, containerRuntime string) string
- func TarballPath(k8sVersion, containerRuntime string) string
Constants ¶
View Source
const ( // PreloadVersion is the current version of the preloaded tarball // // NOTE: You may need to bump this version up when upgrading auxiliary docker images PreloadVersion = "v8" // PreloadBucket is the name of the GCS bucket where preloaded volume tarballs exist PreloadBucket = "minikube-preloaded-volume-tarballs" )
Variables ¶
View Source
var DefaultJSONOutput getter.ProgressTracker = &jsonOutput{}
DefaultJSONOutput is a progress tracker with JSON output
View Source
var DefaultProgressBar getter.ProgressTracker = &progressBar{}
DefaultProgressBar is the default cheggaaa progress bar
Functions ¶
func DefaultISOURLs ¶
func DefaultISOURLs() []string
DefaultISOURLs returns a list of ISO URL's to consult by default, in priority order
func EnableMock ¶ added in v1.10.0
func EnableMock(b bool)
EnableMock allows tests to selectively enable if downloads are mocked
func LocalISOResource ¶
LocalISOResource returns a local file:// URI equivalent for a local or remote ISO path
func PreloadChecksumPath ¶
PreloadChecksumPath returns the local path to the cached checksum file
func PreloadExists ¶
PreloadExists returns true if there is a preloaded tarball that can be used
func TarballName ¶ added in v1.9.0
TarballName returns name of the tarball
func TarballPath ¶
TarballPath returns the local path to the cached preload tarball
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.