# Functions

ExtractManagerFromListener unmarshals manager configuration from listener.
No description provided by the author
NewSnapshotter needs a grpc server port and the allowed requests limits per server and stream per second.
NewServiceEnpointStore return a new ServiceEndpointStore.
NewXdsServiceStore return a new ServiceEndpointStore.
ParseClusterDiscoveryType returns the Cluster Discovery type based on: https://pkg.go.dev/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3#Cluster_DiscoveryType.
ParseClusterLbPolicy returns the Cluster load balancing policy based on: https://pkg.go.dev/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3#Cluster_LbPolicy.
ParseLbEndpointHealthStatus returns the Lb Endpoint Health Status based on: https://pkg.go.dev/github.com/envoyproxy/[email protected]/envoy/config/core/v3#HealthStatus.
ParseNumRetries parses the number of retries.
ParsePriorityStrategy parses priorityStrategy attribute.
ParseRetryBackOff parses the retry backoff values.
ParseRetryOn validates the retry_on value and returns it if valid.
parseToClusterLbPolicy is the reverse of the above.
PrioritizeLocal returns true if the strategy is set to local-first.
UnmarshalResourceToCluster parses configuration into a CLuster struct.
UnmarshalResourceToEndpoint parses configuration into a ClusterLoadAssignment.
UnmarshalResourceToListener parses a resource into a Listener.
UnmarshalResourceToRouteConfiguration parses a resource into RouteConfiguration.

# Constants

We use EmptyNodeID to create snapshots of kubernetes resources when there are no nodes registered with the server.

# Structs

EDSCluster holds the data to create an EDS cluster load assignment.
EdsClusterEndpoints will store EndpointSlice data needed in cluster creation.
Node keeps the info for a node.
NodeSnapshot keeps resources and versions to help snapshotting per node.
Service holds the data we need to represent a Kubernetes Service in xds configuration.
No description provided by the author
Stream will keep the peer address handy for logging and a rate limiter per stream.

# Interfaces

XdsEndpointStore is a store of xdsEndpoint objects.
XdsServiceStore is a store of xdsService objects.

# Type aliases

EdsClusters hold a map of EDS clusters.