Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotMatch = errors.New("not match")
)
Functions ¶
This section is empty.
Types ¶
type EnumerateOptions ¶
type EnumerateOptions struct {
Templates []string
}
type Enumerator ¶
type Enumerator interface {
Enumerate(ctx context.Context, source expr.Source, options *EnumerateOptions) error
}
func Compile ¶
func Compile(templates ...string) (Enumerator, error)
type Metadata ¶
type Metadata struct {
Name string `yaml:"name"`
Value string `yaml:"value"`
Expr string `yaml:"expr"`
Exec string `yaml:"exec"`
Request *httpRequest `yaml:"http"`
Defaults []string `yaml:"defaults"` // defaults absolute file paths
Bases []string `yaml:"bases"` // defaults absolute base file paths, without filename
Files []string `yaml:"files"` // file paths, related to Bases or captured config path
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.