# Functions
GetResourceName returns the resource name for a valid xDS response type.
GetResourceReferences returns the names for dependent resources (EDS cluster names for CDS, RDS routes names for LDS).
GetResponseType returns the enumeration for a valid xDS type URL.
GetResponseTypeURL returns the type url for a valid enum.
HashResource will take a resource and create a SHA256 hash sum out of the marshaled bytes.
IndexRawResourcesByName creates a map from the resource name to the resource.
IndexResourcesByName creates a map from the resource name to the resource.
MarshalResource converts the Resource to MarshaledResource.
NewLinearCache creates a new cache.
NewResources creates a new resource group.
NewResources creates a new resource group.
NewSnapshot creates a snapshot from response types and a version.
NewSnapshotCache initializes a simple cache.
NewSnapshotCacheWithHeartbeating initializes a simple cache that sends periodic heartbeat responses for resources with a TTL.
NewSnapshotWithResources creates a snapshot from response types and a version.
No description provided by the author
WithInitialResources initializes the initial set of resources.
WithVersionPrefix sets a version prefix of the form "prefixN" in the version info.
# Structs
DeltaPassthroughResponse is a pre constructed xDS response that need not go through marshalling transformations.
DeltaResources is a versioned group of resources which also contains individual resource versions per the incremental xDS protocol.
DeltaResponseWatch is a watch record keeping both the delta request and an open channel for the delta response.
IDHash uses ID field as the node hash.
LinearCache supports collectons of opaque resources.
MuxCache multiplexes across several caches using a classification function.
PassthroughResponse is a pre constructed xDS response that need not go through marshalling transformations.
RawDeltaResponse is a pre-serialized xDS response that utilizes the delta discovery request/response objects.
RawResponse is a pre-serialized xDS response containing the raw resources to be included in the final Discovery Response.
Resources is a versioned group of resources.
No description provided by the author
ResponseWatch is a watch record keeping both the request and an open channel for the response.
Snapshot is an internally consistent snapshot of xDS resources.
SnapshotResources contains the resources to construct a snapshot from.
# Interfaces
Cache is a generic config cache with a watcher.
ConfigFetcher fetches configuration resources from cache.
ConfigWatcher requests watches for configuration resources by a node, last applied version identifier, and resource names hint.
DeltaResponse is a wrapper around Envoy's DeltaDiscoveryResponse.
NodeHash computes string identifiers for Envoy nodes.
Response is a wrapper around Envoy's DiscoveryResponse.
SnapshotCache is a snapshot-based cache that maintains a single versioned snapshot of responses per node.
StatusInfo tracks the server state for the remote Envoy node.
# Type aliases
DeltaRequest is an alias for the delta discovery request type.
Options for modifying the behavior of the linear cache.
Request is an alias for the discovery request type.