v3

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 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.

type Snapshotter

type Snapshotter interface {
	xdscache.Snapshotter
	envoy_cache_v3.SnapshotCache
}

Snapshotter is a v3 Snapshot cache that implements the xds.Snapshotter interface.

func NewSnapshotCache

func NewSnapshotCache(ads bool, logger envoy_log.Logger) Snapshotter

Jump to

Keyboard shortcuts

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