internal

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientHandshakeConfig

func ClientHandshakeConfig(pluginClient pluginsdk.PluginClient) goplugin.HandshakeConfig

ClientHandshakeConfig returns the handshake configuration for the given client implementation.

func NewLogger

func NewLogger() hclog.Logger

NewLogger returns a new default logger that emits logs in a format compatible with SPIRE.

func Serve

func Serve(serverLogger, pluginLogger hclog.Logger, pluginServer pluginsdk.PluginServer, serviceServers []pluginsdk.ServiceServer, testConfig *goplugin.ServeTestConfig)

Serve serves the plugin with the given loggers and plugin/service servers and an optional test configuration.

func ServerHandshakeConfig

func ServerHandshakeConfig(pluginServer pluginsdk.PluginServer) goplugin.HandshakeConfig

ServerHandshakeConfig returns the handshake configuration for the given server implementation.

Types

This section is empty.

Directories

Path Synopsis
proto

Jump to

Keyboard shortcuts

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