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 classstatic classData class containing the results of reading bootstrap.static classData class containing Certificate provider information: the plugin-name and an opaque Map that represents the config for that plugin.static classData 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.BootstrapInfoReturns 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
-