Discover Packages
github.com/chengtiesheng/docker2aci
tarball
package
Version:
v0.0.0-...-d05ea2d
Opens a new window with list of versions in this module.
Published: Aug 28, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Walk walks through the files in the tarball represented by tarstream and
passes each of them to the WalkFunc provided as an argument
type TarFile struct {
TarStream io .Reader
}
TarFile is a representation of a file in a tarball. It consists of two parts,
the Header and the Stream. The Header is a regular tar header, the Stream
is a byte stream that can be used to read the file's contents
Linkname returns the Linkname of the file as reported by the header
Name returns the name of the file as reported by the header
WalkFunc is a func for handling each file (header and byte stream) in a tarball
Source Files
¶
Click to show internal directories.
Click to hide internal directories.