package
0.6.1
Repository: https://github.com/nutanix/go-control-plane.git
Documentation: pkg.go.dev

# 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).
IndexResourcesByName creates a map from the resource name to the resource.
NewResources creates a new resource group.
NewSnapshot creates a snapshot from response types and a version.
NewSnapshotCache initializes a simple cache.

# Constants

AnyType is used only by ADS.
Resource types in xDS v2.
Resource types in xDS v2.
Resource types in xDS v2.
Resource types in xDS v2.

# Variables

ResponseTypes are supported response types.

# Structs

Resources is a versioned group of resources.
Response is a pre-serialized xDS response.
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.

# Interfaces

Cache is a generic config cache with a watcher.
ConfigWatcher requests watches for configuration resources by a node, last applied version identifier, and resource names hint.
NodeHash computes string identifiers for Envoy nodes.
Resource is the base interface for the xDS payload.
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

Request is an alias for the discovery request type.