Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RefMatches ¶
func SelectorMatches ¶
Types ¶
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 file 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" yaml:"selector" hcl:"selector"`
}
A Ref refers to a collected file
Click to show internal directories.
Click to hide internal directories.