package internal

import "google.golang.org/grpc/xds/internal/clients/xdsclient/internal"

Package internal contains functionality internal to the xdsclient package.

Index

Variables

var (
	// WatchExpiryTimeout is the watch expiry timeout for xDS client. It can be
	// overridden by tests to change the default watch expiry timeout.
	WatchExpiryTimeout time.Duration

	// StreamBackoff is the stream backoff for xDS client. It can be overridden
	// by tests to change the default backoff strategy.
	StreamBackoff func(int) time.Duration

	// ResourceWatchStateForTesting gets the watch state for the resource
	// identified by the given resource type and resource name. Returns a
	// non-nil error if there is no such resource being watched.
	ResourceWatchStateForTesting any // func(*xdsclient.XDSClient, xdsclient.ResourceType, string) error
)

Source Files

internal.go

Directories

PathSynopsis
xds/internal/clients/xdsclient/internal/xdsresourcePackage xdsresource defines constants to distinguish between supported xDS API versions.
Version
v1.74.0-dev
Published
May 15, 2025
Platform
darwin/amd64
Imports
1 packages
Last checked
1 hour ago

Tools for package owners.