archives

package
v1.108.11 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExistsInAirgap added in v1.106.0

func DirExistsInAirgap(dirToCheck string, archive string) (bool, error)

func ExtractTGZArchiveFromFile

func ExtractTGZArchiveFromFile(tgzFile string, destDir string) error

todo, figure out why this doesn't use the mholt tgz archiver that we use elsewhere in kots

func ExtractTGZArchiveFromReader

func ExtractTGZArchiveFromReader(tgzReader io.Reader, destDir string) error

func GetFileFromAirgap

func GetFileFromAirgap(fileToGet string, archive string) ([]byte, error)

func IsTGZ added in v1.99.0

func IsTGZ(b []byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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