Documentation ¶
Index ¶
Constants ¶
View Source
const ( TestZipDirName = "test" TestZipFilename = "test.txt" TestRawZip = `` /* 2052-byte string literal not displayed */ TestRawGzip = `` /* 896-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Extractor ¶
type Extractor interface { ExtractZip(sourceFile afero.File, targetDir string) error ExtractGzip(sourceFilePath, targetDir string) error }
func NewOneAgentExtractor ¶
func NewOneAgentExtractor(fs afero.Fs, pathResolver metadata.PathResolver) Extractor
type OneAgentExtractor ¶
type OneAgentExtractor struct {
// contains filtered or unexported fields
}
func (OneAgentExtractor) ExtractGzip ¶
func (extractor OneAgentExtractor) ExtractGzip(sourceFilePath, targetDir string) error
func (OneAgentExtractor) ExtractZip ¶
func (extractor OneAgentExtractor) ExtractZip(sourceFile afero.File, targetDir string) error
Click to show internal directories.
Click to hide internal directories.