MCPcopy Create free account
hub / github.com/Huawei/containerops / DownloadComponent

Function DownloadComponent

singular/module/tools/binary.go:36–57  ·  view source on GitHub ↗

DownloadComponents is download component binary file to the host. If the src is URL, execute curl command in the host. If the src is local file, execute scp command upload to the host.

(files []map[string]string, host, private, user string, stdout io.Writer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

uploadFlanneldFilesFunction · 0.92
uploadEtcdFilesFunction · 0.92
uploadKubeConfigFilesFunction · 0.92
uploadTokenFilesFunction · 0.92
uploadKubeSchedulerFilesFunction · 0.92
uploadBootstrapFileFunction · 0.92
uploadKubeletFileFunction · 0.92
uploadKubeProxyFilesFunction · 0.92
uploadDockerFilesFunction · 0.92
DownloadBinaryFileMethod · 0.92

Calls 3

IsFileExistFunction · 0.92
uploadBinaryFunction · 0.70
downloadBinaryFunction · 0.70

Tested by

no test coverage detected