scanners

package
v0.0.0-...-4d5db17 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileScanner

type FileScanner struct {
	// contains filtered or unexported fields
}

FileScanner is an interface that can scan for Earthfiles at the given paths.

func NewFileScanner

func NewFileScanner(
	paths []string,
	parser pkg.EarthfileParser,
	fs afero.Fs,
) *FileScanner

NewFileScanner creates a new FileScanner.

func (*FileScanner) Scan

func (f *FileScanner) Scan() ([]pkg.Earthfile, error)

func (*FileScanner) ScanForTarget

func (f *FileScanner) ScanForTarget(target string) ([]pkg.Earthfile, error)

Jump to

Keyboard shortcuts

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