Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPluginNames = []string{ plugintypes.PluginAuditName, plugintypes.PluginEditorName, plugintypes.PluginSlackName, plugintypes.PluginRunbooksName, }
Functions ¶
func EnableDefaultPlugins ¶
func EnableDefaultPlugins(ctx pgrest.OrgContext, connID, connName string, pluginList []string)
func UpdatePlugin ¶
func UpdatePlugin(ctx pgrest.OrgContext, pl *types.Plugin) error
func UpsertPluginConnection ¶
func UpsertPluginConnection(ctx pgrest.OrgContext, pluginName string, pluginConn *types.PluginConnection)
UpsertPluginConnection will create or update the plugin connection for the target plugin if the plugin does not exist it will be created. this function shouldn't be used if the plugin uses the config field (e.g.: slack)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.