Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RefMatches ¶
func SelectorMatches ¶
Types ¶
type Meta ¶
type Ref ¶
type Ref struct {
// Ref is how this referenced file can be described in a template function
// This can be used to support multiple files in a single analyzer
// Ref string `json:"ref,omitempty" yaml:"ref,omitempty" hcl:"ref,omitempty"`
// Name is a way to reference a collected file by name
Name string `json:"name,omitempty" yaml:"name,omitempty" hcl:"name,omitempty"`
// Selector is a way to reference a collected file by labels
Selector Selector `json:"selector,omitempty" yaml:"selector,omitempty" hcl:"selector,omitempty"`
}
Ref references a collected file by name or selector
Click to show internal directories.
Click to hide internal directories.