download

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: Apache-2.0 Imports: 26 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// PreloadVersion is the current version of the preloaded tarball
	PreloadVersion = "v1"
	// PreloadBucket is the name of the GCS bucket where preloaded volume tarballs exist
	PreloadBucket = "minikube-preloaded-volume-tarballs"
)

Variables

View Source
var DefaultProgressBar getter.ProgressTracker = &progressBar{}

DefaultProgressBar is the default cheggaaa progress bar

Functions

func Binary

func Binary(binary, version, osName, archName string) (string, error)

Binary will download a binary onto the host

func DefaultISOURLs

func DefaultISOURLs() []string

DefaultISOURLs returns a list of ISO URL's to consult by default, in priority order

func Driver

func Driver(name string, destination string, v semver.Version) error

Driver downloads an arbitrary driver

func ISO

func ISO(urls []string, skipChecksum bool) (string, error)

ISO downloads and returns the path to the downloaded ISO

func LocalISOResource

func LocalISOResource(isoURL string) string

LocalISOResource returns a local file:// URI equivalent for a local or remote ISO path

func Preload

func Preload(k8sVersion, containerRuntime string) error

Preload caches the preloaded images tarball on the host machine

func PreloadChecksumPath

func PreloadChecksumPath(k8sVersion string) string

PreloadChecksumPath returns path to checksum file

func PreloadExists

func PreloadExists(k8sVersion, containerRuntime string) bool

PreloadExists returns true if there is a preloaded tarball that can be used

func TarballPath

func TarballPath(k8sVersion string) string

TarballPath returns the path to the preloaded tarball

Types

This section is empty.

Jump to

Keyboard shortcuts

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