Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirStream ¶
type DirStream struct {
// contains filtered or unexported fields
}
func NewDirStream ¶
type StaticStreamPackage ¶
type StaticStreamPackage struct {
// contains filtered or unexported fields
}
func NewStaticStreamPackage ¶
func NewStaticStreamPackage(streams ...Stream) *StaticStreamPackage
func (*StaticStreamPackage) Close ¶
func (self *StaticStreamPackage) Close() error
StreamPackage interface
func (*StaticStreamPackage) Next ¶
func (self *StaticStreamPackage) Next() (Stream, error)
StreamPackage interface
type StreamPackage ¶
func NewDirStreamPackage ¶
func NewDirStreamPackage(path string) (StreamPackage, error)
func NewStreamPackage ¶
func NewStreamPackage(context contextpkg.Context, url exturl.URL, unpack string) (StreamPackage, error)
`unpack` can be "tgz" or "zip"
type TarGZipStreamPackage ¶
type TarGZipStreamPackage struct {
// contains filtered or unexported fields
}
func NewTarGZipStreamPackage ¶
func NewTarGZipStreamPackage(context contextpkg.Context, url exturl.URL) (*TarGZipStreamPackage, error)
func (*TarGZipStreamPackage) Close ¶
func (self *TarGZipStreamPackage) Close() error
StreamPackage interface
func (*TarGZipStreamPackage) Next ¶
func (self *TarGZipStreamPackage) Next() (Stream, error)
StreamPackage interface
type TarStreamPackage ¶
type TarStreamPackage struct {
// contains filtered or unexported fields
}
func NewTarStreamPackage ¶
func NewTarStreamPackage(context contextpkg.Context, url exturl.URL) (*TarStreamPackage, error)
func (*TarStreamPackage) Close ¶
func (self *TarStreamPackage) Close() error
StreamPackage interface
func (*TarStreamPackage) Next ¶
func (self *TarStreamPackage) Next() (Stream, error)
StreamPackage interface
type URLStream ¶
type URLStream struct {
// contains filtered or unexported fields
}
func NewURLStream ¶
type ZipStream ¶
type ZipStream struct {
// contains filtered or unexported fields
}
func NewZipStream ¶
type ZipStreamPackage ¶
type ZipStreamPackage struct {
// contains filtered or unexported fields
}
func NewZipStreamPackage ¶
func NewZipStreamPackage(path string) (*ZipStreamPackage, error)
func (*ZipStreamPackage) Close ¶
func (self *ZipStreamPackage) Close() error
StreamPackage interface
func (*ZipStreamPackage) Next ¶
func (self *ZipStreamPackage) Next() (Stream, error)
StreamPackage interface
Click to show internal directories.
Click to hide internal directories.