Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileDataSources ¶
func NewFileDataSources(path string) (datasource.CollectSource, error)
NewFileDataSources creates a datasource which gets its data sources from a configuration file. This configuration file is in YAML and follows the structure outlined in the FileFormat struct. An example is as follows:
sources.yaml ---- oci: - abc - def git: - git+https://github.com/...
Types ¶
type FileFormat ¶
Click to show internal directories.
Click to hide internal directories.