Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDetectors ¶
Types ¶
type Options ¶
type Options struct {
FieldTimeout time.Duration
RootDir string
// Source is borrowed; when set, it is the authority for local file reads.
Source *sourcefs.FS
OnLocalFile func(path string, contents []byte) error
// CheckRemote, when set, is called before each remote fetch. field names the
// config field as <Type>.<Field>. A non-nil error aborts the parse.
CheckRemote func(field, rawURL string) error
}
Click to show internal directories.
Click to hide internal directories.