Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadPlugins ¶
func DownloadPlugins(fd FileDownloader) error
DownloadPlugins this function downloads and/or checks that a plugin executable exits on the filesystem
func GetPluginLocation ¶
GetPluginLocation returns the location of the plugin on the filesystem via plugin name. If the plugin is not configured in the configmap, an error is returned.
Types ¶
type FileDownloader ¶
FileDownloader is an interface that allows us to mock the http.Get function
type FileDownloaderImpl ¶
type FileDownloaderImpl struct { }
FileDownloaderImpl is the default/real implementation of the FileDownloader interface
Click to show internal directories.
Click to hide internal directories.