pluginmain

package
v0.0.0-...-3c09771 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(pluginServer pluginsdk.PluginServer, serviceServers ...pluginsdk.ServiceServer)

Serve serves the plugin using the given plugin/service servers. It does not return. It is intended to be called from main(). For example:

func main() {
    plugin := new(Plugin)
    pluginmain.Serve(
         keymanagerv1.KeyManagerPluginServer(plugin),
         configv1.ConfigPluginServer(plugin),
    )
}

Types

This section is empty.

Jump to

Keyboard shortcuts

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