reader

package
v0.23.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	Fs   afero.Fs
	Path string
	// contains filtered or unexported fields
}

func (*Bundle) GetErrorIndex

func (b *Bundle) GetErrorIndex() []collecttypes.Result

func (*Bundle) GetIndex

func (b *Bundle) GetIndex() []collecttypes.Result

func (*Bundle) Open

func (b *Bundle) Open(name string) (io.ReadCloser, error)

func (*Bundle) ReaderFromRef

func (b *Bundle) ReaderFromRef(ref meta.Ref) (io.ReadCloser, error)

type BundleReader

type BundleReader interface {
	ReaderFromRef(ref meta.Ref) (io.ReadCloser, error)
	Open(name string) (io.ReadCloser, error)
	GetIndex() []collecttypes.Result
	GetErrorIndex() []collecttypes.Result
}

func NewBundle

func NewBundle(fs afero.Fs, path string) (BundleReader, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL