Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PathTrimPrefix ¶ added in v0.25.0
func PathsMatch ¶ added in v0.25.0
Types ¶
type Bundle ¶
type Bundle struct { Fs afero.Fs Path string Prefix 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) NewScanner ¶ added in v0.25.0
type BundleReader ¶
type BundleReader interface { GetIndex() []collecttypes.Result GetErrorIndex() []collecttypes.Result NewScanner() (Scanner, error) }
type BundleScanner ¶ added in v0.25.0
type BundleScanner struct { Prefix string // contains filtered or unexported fields }
func (*BundleScanner) Close ¶ added in v0.25.0
func (s *BundleScanner) Close() error
func (*BundleScanner) Err ¶ added in v0.25.0
func (s *BundleScanner) Err() error
func (*BundleScanner) Next ¶ added in v0.25.0
func (s *BundleScanner) Next() (*ScannerFile, error)
type MultiBundle ¶ added in v0.25.0
func (*MultiBundle) GetBundles ¶ added in v0.25.0
func (b *MultiBundle) GetBundles() map[string]BundleReader
type MultiBundleReader ¶ added in v0.25.0
type MultiBundleReader interface {
GetBundles() map[string]BundleReader
}
func NewMultiBundle ¶ added in v0.25.0
func NewMultiBundle(fs afero.Fs, path string) (MultiBundleReader, error)
type Piper ¶ added in v0.25.0
type Piper struct { Name string W *io.PipeWriter }
type Scanner ¶ added in v0.25.0
type Scanner interface { Next() (*ScannerFile, error) Close() error Err() error }
type ScannerFile ¶ added in v0.25.0
Click to show internal directories.
Click to hide internal directories.