plugin_service

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteTraefikConfig

func DeleteTraefikConfig(tx *gorm.DB, appID string) error

func Get

func Get(tx *gorm.DB, pluginName string) (*models.Plugin, error)

func GetAppPlugins

func GetAppPlugins(tx *gorm.DB, appID string) (*server_models.AppPlugins, error)

func Install

func Install(tx *gorm.DB, pluginName string) (plugin *models.Plugin, pluginDetails *server_models.AppDetails, err error)

func IsInstalled

func IsInstalled(tx *gorm.DB, pluginName string) bool

func List

func List(tx *gorm.DB) []*models.Plugin

func Uninstall

func Uninstall(tx *gorm.DB, pluginName string) (plugin *models.Plugin, pluginApp *models.App, err error)

func UpdatePluginInstalled

func UpdatePluginInstalled(tx *gorm.DB, pluginName string, installed bool) error

func UpsertTraefikConfig

func UpsertTraefikConfig(tx *gorm.DB, config *models.TraefikPluginConfig) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL