Package io.grpc.xds.client
Class Bootstrapper
- java.lang.Object
-
- io.grpc.xds.client.Bootstrapper
-
- Direct Known Subclasses:
BootstrapperImpl
@Internal public abstract class Bootstrapper extends java.lang.Object
Loads configuration information to bootstrap gRPC's integration of xDS protocol.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Bootstrapper.AuthorityInfo
static class
Bootstrapper.BootstrapInfo
Data class containing the results of reading bootstrap.static class
Bootstrapper.CertificateProviderInfo
Data class containing Certificate provider information: the plugin-name and an opaque Map that represents the config for that plugin.static class
Bootstrapper.ServerInfo
Data class containing xDS server information, such as server URI and channel credentials to be used for communication.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
XDSTP_SCHEME
-
Constructor Summary
Constructors Constructor Description Bootstrapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Bootstrapper.BootstrapInfo
bootstrap()
Returns system-loaded bootstrap configuration.Bootstrapper.BootstrapInfo
bootstrap(java.util.Map<java.lang.String,?> rawData)
Returns bootstrap configuration given by the raw data in JSON format.
-
-
-
Field Detail
-
XDSTP_SCHEME
public static final java.lang.String XDSTP_SCHEME
- See Also:
- Constant Field Values
-
-
Method Detail
-
bootstrap
public abstract Bootstrapper.BootstrapInfo bootstrap() throws XdsInitializationException
Returns system-loaded bootstrap configuration.- Throws:
XdsInitializationException
-
bootstrap
public Bootstrapper.BootstrapInfo bootstrap(java.util.Map<java.lang.String,?> rawData) throws XdsInitializationException
Returns bootstrap configuration given by the raw data in JSON format.- Throws:
XdsInitializationException
-
-