Documentation ¶
Overview ¶
package ddcbinary is responsible for extracting the DDC binaries to the target directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnzipAndRemoveZip ¶ added in v3.3.0
UnzipAndRemoveZip a file to a target directory.
Types ¶
type BinaryInfo ¶ added in v3.3.0
type BinaryInfo struct { IntelBinaryLocation string // location to find DDC x86_64 binary ArmBinaryLocation string // location to find DDC aarch64 binary }
BinaryInfo provides location of ddc binaries
func WriteOutDDC ¶
func WriteOutDDC(targetDir string) (BinaryInfo, error)
WriteOutDDC extracts the DDC binaries to the target directory for both x86_64 and aarch64 architectures. It returns the location of the extracted binaries. The correct binary is later used to copy DDC to matching architecture target machines.
Click to show internal directories.
Click to hide internal directories.