download

package
v0.0.0-...-566b0a1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Etcd = func(url string) flow.Action {
		return download("etcd", url,
			fetch.UnTar(config.DefaultBinDir, etcdFilter),
		)
	}
	KubeApiserver = func(url string) flow.Action {
		name := "kube-apiserver"
		return download(name, url, toFile(name))
	}
	KubeControllerManager = func(url string) flow.Action {
		name := "kube-controller-manager"
		return download(name, url, toFile(name))
	}
	KubeScheduler = func(url string) flow.Action {
		name := "kube-scheduler"
		return download(name, url, toFile(name))
	}
	Kubelet = func(url string) flow.Action {
		name := "kubelet"
		return download(name, url, toFile(name))
	}
	Coredns = func(url string) flow.Action {
		name := "coredns"
		return download(name, url,
			fetch.UnTar(config.DefaultBinDir),
		)
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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