Versions in this module Expand all Collapse all v3 v3.1.2 Feb 5, 2024 Changes in this version + func ClearAllCountersForTesting() + func ClearCounterForTesting(clusterName, edsServiceName string) + func SetClient(state resolver.State, c XDSClient) resolver.State + type ClusterRequestsCounter struct + ClusterName string + EDSServiceName string + func GetClusterRequestsCounter(clusterName, edsServiceName string) *ClusterRequestsCounter + func (c *ClusterRequestsCounter) EndRequest() + func (c *ClusterRequestsCounter) StartRequest(max uint32) error + type XDSClient interface + BootstrapConfig func() *bootstrap.Config + Close func() + DumpCDS func() map[string]resource.UpdateWithMD + DumpEDS func() map[string]resource.UpdateWithMD + DumpLDS func() map[string]resource.UpdateWithMD + DumpRDS func() map[string]resource.UpdateWithMD + ReportLoad func(server string) (*load.Store, func()) + SetMetadata func(*_struct.Struct) error + WatchCluster func(string, func(resource.ClusterUpdate, error)) func() + WatchEndpoints func(clusterName string, edsCb func(resource.EndpointsUpdate, error)) (cancel func()) + WatchListener func(string, func(resource.ListenerUpdate, error)) func() + WatchRouteConfig func(string, func(resource.RouteConfigUpdate, error)) func() + func FromResolverState(state resolver.State) XDSClient + func New() (XDSClient, error) + func NewClientWithBootstrapContents(contents []byte) (XDSClient, error) + func NewWithConfig(config *bootstrap.Config) (XDSClient, error) + func NewWithConfigForTesting(config *bootstrap.Config, watchExpiryTimeout time.Duration) (XDSClient, error)