Package io.vertx.config.kubernetes
Class ConfigMapStore
- java.lang.Object
-
- io.vertx.config.kubernetes.ConfigMapStore
-
- All Implemented Interfaces:
ConfigStore
public class ConfigMapStore extends Object implements ConfigStore
An implementation of configuration store reading config map from Kubernetes.
-
-
Constructor Summary
Constructors Constructor Description ConfigMapStore(Vertx vertx, JsonObject configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Future<Void>
close()
Closes the configuration store.Future<Buffer>
get()
Retrieves the configuration store in this store.
-
-
-
Constructor Detail
-
ConfigMapStore
public ConfigMapStore(Vertx vertx, JsonObject configuration)
-
-
Method Detail
-
close
public Future<Void> close()
Description copied from interface:ConfigStore
Closes the configuration store.- Specified by:
close
in interfaceConfigStore
- Returns:
- a
Future
of the asynchronous result.
-
get
public Future<Buffer> get()
Description copied from interface:ConfigStore
Retrieves the configuration store in this store.- Specified by:
get
in interfaceConfigStore
- Returns:
- a
Future
of the asynchronous result.
-
-