Documentation ¶
Index ¶
- func DirExistsInTGZArchive(dirToCheck string, archive string) (bool, error)
- func ExtractAppMetaFromAirgapBundle(airgapBundle string) (string, error)
- func ExtractTGZArchiveFromFile(tgzFile string, destDir string) error
- func ExtractTGZArchiveFromReader(tgzReader io.Reader, destDir string) error
- func FilterAirgapBundle(airgapBundle string, filesToKeep []string) (string, error)
- func GetFileContentFromTGZArchive(fileToGet string, archive string) ([]byte, error)
- func GetFileFromTGZArchive(fileToGet string, archive string) (string, error)
- func IsTGZ(b []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirExistsInTGZArchive ¶ added in v1.112.0
func ExtractAppMetaFromAirgapBundle ¶ added in v1.112.0
func ExtractTGZArchiveFromFile ¶
todo, figure out why this doesn't use the mholt tgz archiver that we use elsewhere in kots
func FilterAirgapBundle ¶ added in v1.112.0
func GetFileContentFromTGZArchive ¶ added in v1.112.0
func GetFileFromTGZArchive ¶ added in v1.112.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.