scan

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanEarthfiles

func ScanEarthfiles(rootPath string, walker w.Walker, logger *slog.Logger) (map[string]earthfile.Earthfile, error)

ScanEarthfiles scans the given root path for Earthfiles and returns a map that maps the path of the Earthfile to the targets defined in the Earthfile.

func ScanProjects

func ScanProjects(rootPath string, l project.ProjectLoader, w walker.Walker, logger *slog.Logger) (map[string]project.Project, error)

ScanProjects scans the given root path for projects and returns a map of project paths to the projects themselves.

Types

This section is empty.

Jump to

Keyboard shortcuts

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