//
pkg.gl
Category
github.com/hashicorp/otto
appfile
detect
package
0.2.0
Repository:
https://github.com/hashicorp/otto.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
14
Files
236 SLOC
#
Packages
test-fixtures
No description provided by the author
#
Functions
App
App will detect the application type for the given directory.
Parse
Parse parses the detector config from the given io.Reader.
ParseDir
ParseDir parses all the files ending in ".hcl" in a directory, sorted alphabetically.
ParseFile
ParseFile parses the given path as a single detector config.
#
Structs
Config
Config is the format of the configuration files.
Detector
Detector is something that detects a single type.
#
Type aliases
DetectorList
DetectorList is a sortable slice of Detectors, and implements sort.Interface.