archives

package
v1.115.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExistsInTGZArchive added in v1.112.0

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

func ExtractAppMetaFromAirgapBundle added in v1.112.0

func ExtractAppMetaFromAirgapBundle(airgapBundle string) (string, 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 FilterAirgapBundle added in v1.112.0

func FilterAirgapBundle(airgapBundle string, filesToKeep []string) (string, error)

func GetFileContentFromTGZArchive added in v1.112.0

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

func GetFileFromTGZArchive added in v1.112.0

func GetFileFromTGZArchive(fileToGet string, archive string) (string, 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