Documentation ¶
Index ¶
- Variables
- func GetLocalPlugins(pluginDir string) []models.InstalledPlugin
- func Init(version string, skipTLSVerify bool)
- func ReadPlugin(pluginDir, pluginName string) (models.InstalledPlugin, error)
- func RemoveInstalledPlugin(pluginPath, pluginName string) error
- type BadRequestError
- type GrafargComClient
- func (client *GrafargComClient) DownloadFile(pluginName string, tmpFile *os.File, url string, checksum string) (err error)
- func (client *GrafargComClient) GetPlugin(pluginId, repoUrl string) (models.Plugin, error)
- func (client *GrafargComClient) ListAllPlugins(repoUrl string) (models.PluginRepo, error)
- type IoUtilImp
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetLocalPlugins ¶
func GetLocalPlugins(pluginDir string) []models.InstalledPlugin
func ReadPlugin ¶
func ReadPlugin(pluginDir, pluginName string) (models.InstalledPlugin, error)
func RemoveInstalledPlugin ¶
Types ¶
type BadRequestError ¶
func (*BadRequestError) Error ¶
func (e *BadRequestError) Error() string
type GrafargComClient ¶
type GrafargComClient struct {
// contains filtered or unexported fields
}
func (*GrafargComClient) DownloadFile ¶
func (*GrafargComClient) GetPlugin ¶
func (client *GrafargComClient) GetPlugin(pluginId, repoUrl string) (models.Plugin, error)
func (*GrafargComClient) ListAllPlugins ¶
func (client *GrafargComClient) ListAllPlugins(repoUrl string) (models.PluginRepo, error)
Click to show internal directories.
Click to hide internal directories.