Class ContinuumCloudFactory
java.lang.Object
com.cockroachlabs.crdb.continuum.cloud.ContinuumCloudFactory
Factory for
CloudClient: returns a SimulatedCloudClient when the
client is disabled or has no API key, otherwise an HttpCloudClient.-
Method Summary
Modifier and TypeMethodDescriptionstatic CloudClientmake(CloudClient.Config config) Creates a client using the default JDK transport.static CloudClientmake(CloudClient.Config config, HttpCloudClient.Transport transport) Creates a client, overriding the HTTP transport (e.g.
-
Method Details
-
make
Creates a client using the default JDK transport. -
make
Creates a client, overriding the HTTP transport (e.g. for tests).
-