Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatadogYAMLCommandLoader ¶
func NewDatadogYAMLCommandLoader() loaders.CommandLoader
NewDatadogYAMLCommandLoader creates a new DatadogYAMLCommandLoader
Types ¶
type DatadogYAMLCommandLoader ¶
type DatadogYAMLCommandLoader struct{}
DatadogYAMLCommandLoader loads YAML files and converts them to DatadogQueryCommands
func (*DatadogYAMLCommandLoader) IsFileSupported ¶
func (d *DatadogYAMLCommandLoader) IsFileSupported(f fs.FS, fileName string) bool
IsFileSupported checks if the file is a supported YAML file
func (*DatadogYAMLCommandLoader) LoadCommands ¶
func (d *DatadogYAMLCommandLoader) LoadCommands( f fs.FS, entryName string, options []cmds.CommandDescriptionOption, aliasOptions []alias.Option, ) ([]cmds.Command, error)
LoadCommands loads Datadog query commands from YAML files
Click to show internal directories.
Click to hide internal directories.