Package io.grpc.xds.client
Class Bootstrapper
java.lang.Object
io.grpc.xds.client.Bootstrapper
- Direct Known Subclasses:
BootstrapperImpl
Loads configuration information to bootstrap gRPC's integration of xDS protocol.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Data class containing the results of reading bootstrap.static class
Data class containing Certificate provider information: the plugin-name and an opaque Map that represents the config for that plugin.static class
Data class containing xDS server information, such as server URI and channel credentials to be used for communication. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Bootstrapper.BootstrapInfo
Returns system-loaded bootstrap configuration.Returns bootstrap configuration given by the raw data in JSON format.
-
Field Details
-
XDSTP_SCHEME
- See Also:
-
-
Constructor Details
-
Bootstrapper
public Bootstrapper()
-
-
Method Details
-
bootstrap
Returns system-loaded bootstrap configuration.- Throws:
XdsInitializationException
-
bootstrap
public Bootstrapper.BootstrapInfo bootstrap(Map<String, ?> rawData) throws XdsInitializationExceptionReturns bootstrap configuration given by the raw data in JSON format.- Throws:
XdsInitializationException
-