Documentation
¶
Index ¶
Constants ¶
View Source
const (
Name = "localfile"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
FilePath string `json:"file_path"`
FileType string `json:"file_type,omitempty"` // default "json"
Timeout string `json:"timeout,omitempty"` // no timeouts by default
Interval string `json:"polling_interval,omitempty"` // default 30s
ChangeDetectionStrategy string `json:"change_detection_strategy,omitempty"` // default "hash"
Path string `json:"path"`
RegoTransformRule string `json:"rego_transform"`
// contains filtered or unexported fields
}
Config represents the configuration of the localfile data plugin
Click to show internal directories.
Click to hide internal directories.