v3

package
v1.29.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const CONSTANT_HASH_VALUE = "contour"

nolint:revive

Variables

View Source
var Hash = ConstantHash{}

Functions

func NewRequestLoggingCallbacks added in v1.11.0

func NewRequestLoggingCallbacks(log logrus.FieldLogger) envoy_server_v3.Callbacks

NewRequestLoggingCallbacks returns an implementation of the Envoy xDS server callbacks for use when Contour is run in Envoy xDS server mode to provide request detail logging. Currently only the xDS State of the World callback OnStreamRequest is implemented.

func RegisterServer

func RegisterServer(srv Server, g *grpc.Server)

RegisterServer registers the given xDS protocol Server with the gRPC runtime.

Types

type ConstantHash added in v1.28.0

type ConstantHash struct{}

ConstantHash is a specialized node ID hasher used to allow any instance of Envoy to connect to Contour regardless of the service-node flag configured on Envoy.

func (ConstantHash) ID added in v1.28.0

func (ConstantHash) String added in v1.28.0

func (c ConstantHash) String() string

type Server

Server is a collection of handlers for streaming discovery requests.

func NewContourServer

func NewContourServer(log logrus.FieldLogger, resources ...xds.Resource) Server

NewContourServer creates an internally implemented Server that streams the provided set of Resource objects. The returned Server implements the xDS State of the World (SotW) variant.

Jump to

Keyboard shortcuts

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