grpcplugin

package
v0.0.0-kmdagger1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackendPlugin

func NewBackendPlugin(pluginID, executablePath string) backendplugin.PluginFactoryFunc

NewBackendPlugin creates a new backend plugin factory used for registering a backend plugin.

func NewRendererPlugin

func NewRendererPlugin(pluginID, executablePath string, startFn StartRendererFunc) backendplugin.PluginFactoryFunc

NewRendererPlugin creates a new renderer plugin factory used for registering a backend renderer plugin.

func NewSecretsManagerPlugin

func NewSecretsManagerPlugin(pluginID, executablePath string, startFn StartSecretsManagerFunc) backendplugin.PluginFactoryFunc

NewSecetsManagerPlugin creates a new secrets manager plugin factory used for registering a backend secrets manager plugin.

func NewUnmanagedBackendPlugin

func NewUnmanagedBackendPlugin(pluginID, executablePath string) backendplugin.PluginFactoryFunc

NewUnmanagedBackendPlugin creates a new backend plugin factory used for registering an unmanaged backend plugin.

Types

type PluginDescriptor

type PluginDescriptor struct {
	// contains filtered or unexported fields
}

PluginDescriptor is a descriptor used for registering backend plugins.

type StartRendererFunc

type StartRendererFunc func(pluginID string, renderer pluginextensionv2.RendererPlugin, logger log.Logger) error

StartRendererFunc callback function called when a renderer plugin is started.

type StartSecretsManagerFunc

type StartSecretsManagerFunc func(pluginID string, secretsmanager secretsmanagerplugin.SecretsManagerPlugin, logger log.Logger) error

StartSecretsManagerFunc callback function called when a secrets manager plugin is started.

Jump to

Keyboard shortcuts

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