injectpeertoken

package
v1.11.2-rc.3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package injectpeertoken provides chain elements that put peer token to gRPC metadata on Register and Unregister

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetworkServiceEndpointRegistryServer

func NewNetworkServiceEndpointRegistryServer(tokenGenerator token.GeneratorFunc) registry.NetworkServiceEndpointRegistryServer

NewNetworkServiceEndpointRegistryServer returns a server chain element putting peer token to context on Register and Unregister

func NewNetworkServiceRegistryServer

func NewNetworkServiceRegistryServer(tokenGenerator token.GeneratorFunc) registry.NetworkServiceRegistryServer

NewNetworkServiceRegistryServer returns a server chain element putting spiffeID to context on Register and Unregister

Types

This section is empty.

Jump to

Keyboard shortcuts

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