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 ¶ added in v0.8.1
type Extractor interface { ExtractZip(sourceFile afero.File, targetDir string) error ExtractGzip(sourceFilePath, targetDir string) error }
func NewOneAgentExtractor ¶ added in v0.8.1
func NewOneAgentExtractor(fs afero.Fs, pathResolver metadata.PathResolver) Extractor
type OneAgentExtractor ¶ added in v0.8.1
type OneAgentExtractor struct {
// contains filtered or unexported fields
}
func (OneAgentExtractor) ExtractGzip ¶ added in v0.8.1
func (extractor OneAgentExtractor) ExtractGzip(sourceFilePath, targetDir string) error
func (OneAgentExtractor) ExtractZip ¶ added in v0.8.1
func (extractor OneAgentExtractor) ExtractZip(sourceFile afero.File, targetDir string) error
Click to show internal directories.
Click to hide internal directories.