injectpeertoken

package
v1.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 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