Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewRequestLoggingCallbacks

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