pgplugins

package
v0.0.0-...-5ba556e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func EnableDefaultPlugins

func EnableDefaultPlugins(ctx pgrest.OrgContext, connID, connName string, pluginList []string)

func New

func New() *plugins

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.

Jump to

Keyboard shortcuts

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