ddcbinary

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

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

func UnzipAndRemoveZip(src string) error

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.

Jump to

Keyboard shortcuts

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