Documentation
¶
Index ¶
- func DownloadProcessor(processor string, processorDir string) error
- func KnownProcessors() map[string]ProcessorFile
- func ProcessorExists(processorFile string) bool
- func ProcessorFilename(processor, processorDir string) string
- func ProcessorWellKnown(processor string) bool
- type Module
- type ProcessorFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadProcessor ¶
func KnownProcessors ¶
func KnownProcessors() map[string]ProcessorFile
func ProcessorExists ¶
ProcessorExists checks if the processor file name with full path exists.
func ProcessorFilename ¶
ProcessorFilename returns the full path to the processor file. It checks if the processor is a well-known processor or if it exists in the specified processor directory. If it is a well-known processor, it returns the path to the processor file in the processor directory. If it is not a well-known processor, it returns the processor file name as is.
func ProcessorWellKnown ¶
ProcessorWellKnown checks if the processor is a well-known processor. A well-known processor is one that is listed in the knownProcessors map. It returns true if the processor is well-known, false otherwise.
Types ¶
type ProcessorFile ¶
Click to show internal directories.
Click to hide internal directories.