Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Hash = xds.ConstantHashV3{}
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 ¶
RegisterServer registers the given xDS protocol Server with the gRPC runtime.
Types ¶
type Server ¶
type Server interface { envoy_service_cluster_v3.ClusterDiscoveryServiceServer envoy_service_endpoint_v3.EndpointDiscoveryServiceServer envoy_service_listener_v3.ListenerDiscoveryServiceServer envoy_service_route_v3.RouteDiscoveryServiceServer envoy_service_discovery_v3.AggregatedDiscoveryServiceServer envoy_service_secret_v3.SecretDiscoveryServiceServer envoy_service_runtime_v3.RuntimeDiscoveryServiceServer }
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
Click to show internal directories.
Click to hide internal directories.