package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Packages

Package tlscreds implements mTLS Credentials in xDS Bootstrap File.

# Functions

GetConfiguration returns the bootstrap configuration initialized by reading the bootstrap file found at ${GRPC_XDS_BOOTSTRAP} or bootstrap contents specified at ${GRPC_XDS_BOOTSTRAP_CONFIG}.
NewConfigFromContents creates a new bootstrap configuration from the provided contents.
NewContentsForTesting creates a new bootstrap configuration from the passed in options, for testing purposes.
PopulateResourceTemplate populates the given template using the target string.
ServerConfigForTesting creates a new ServerConfig from the passed in options, for testing purposes.

# Structs

Authority contains configuration for an xDS control plane authority.
ChannelCreds contains the credentials to be used while communicating with an xDS server.
Config is the internal representation of the bootstrap configuration provided to the xDS client.
ConfigOptionsForTesting specifies options for creating a new bootstrap configuration for testing purposes.
ServerConfig contains the configuration to connect to a server.
ServerConfigTestingOptions specifies options for creating a new ServerConfig for testing purposes.

# Type aliases

ServerConfigs represents a collection of server configurations.