public class io.vertx.config.kubernetes.ConfigMapStore implements io.vertx.config.spi.ConfigStore
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.config.kubernetes.ConfigMapStore
super_class: java.lang.Object
{
private static final java.lang.String KUBERNETES_NAMESPACE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Base64$Decoder DECODER;
descriptor: Ljava/util/Base64$Decoder;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.json.JsonObject configuration;
descriptor: Lio/vertx/core/json/JsonObject;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String namespace;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String key;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean secret;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean optional;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.Context ctx;
descriptor: Lio/vertx/core/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.ext.web.client.WebClient client;
descriptor: Lio/vertx/ext/web/client/WebClient;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String token;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "KUBERNETES_NAMESPACE"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
putstatic io.vertx.config.kubernetes.ConfigMapStore.KUBERNETES_NAMESPACE:Ljava/lang/String;
1: invokestatic java.util.Base64.getDecoder:()Ljava/util/Base64$Decoder;
putstatic io.vertx.config.kubernetes.ConfigMapStore.DECODER:Ljava/util/Base64$Decoder;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.Vertx, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/json/JsonObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.config.kubernetes.ConfigMapStore.vertx:Lio/vertx/core/Vertx;
2: aload 0
aload 2
putfield io.vertx.config.kubernetes.ConfigMapStore.configuration:Lio/vertx/core/json/JsonObject;
3: aload 0
aload 1
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
putfield io.vertx.config.kubernetes.ConfigMapStore.ctx:Lio/vertx/core/Context;
4: aload 2
ldc "namespace"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnonnull 10
6: getstatic io.vertx.config.kubernetes.ConfigMapStore.KUBERNETES_NAMESPACE:Ljava/lang/String;
ifnull 9
7: getstatic io.vertx.config.kubernetes.ConfigMapStore.KUBERNETES_NAMESPACE:Ljava/lang/String;
astore 3
8: goto 10
9: StackMap locals: io.vertx.config.kubernetes.ConfigMapStore io.vertx.core.Vertx io.vertx.core.json.JsonObject java.lang.String
StackMap stack:
ldc "default"
astore 3
10: StackMap locals:
StackMap stack:
aload 0
aload 2
ldc "optional"
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.getBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield io.vertx.config.kubernetes.ConfigMapStore.optional:Z
11: aload 0
aload 3
putfield io.vertx.config.kubernetes.ConfigMapStore.namespace:Ljava/lang/String;
12: aload 0
aload 2
ldc "name"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
putfield io.vertx.config.kubernetes.ConfigMapStore.name:Ljava/lang/String;
13: aload 0
aload 2
ldc "key"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
putfield io.vertx.config.kubernetes.ConfigMapStore.key:Ljava/lang/String;
14: aload 0
aload 2
ldc "secret"
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.getBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield io.vertx.config.kubernetes.ConfigMapStore.secret:Z
15: aload 2
ldc "port"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 4
start local 4 16: iload 4
ifne 21
17: aload 2
ldc "ssl"
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.getBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 20
18: sipush 443
istore 4
19: goto 21
20: StackMap locals: int
StackMap stack:
bipush 80
istore 4
21: StackMap locals:
StackMap stack:
ldc "KUBERNETES_SERVICE_PORT"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 22: aload 5
ifnull 24
23: aload 5
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 4
24: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "host"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 25: ldc "KUBERNETES_SERVICE_HOST"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 26: aload 7
ifnull 28
27: aload 7
astore 6
28: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 1
29: new io.vertx.ext.web.client.WebClientOptions
dup
invokespecial io.vertx.ext.web.client.WebClientOptions.<init>:()V
30: iconst_1
invokevirtual io.vertx.ext.web.client.WebClientOptions.setTrustAll:(Z)Lio/vertx/ext/web/client/WebClientOptions;
31: aload 2
ldc "ssl"
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.getBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.vertx.ext.web.client.WebClientOptions.setSsl:(Z)Lio/vertx/ext/web/client/WebClientOptions;
32: aload 6
invokevirtual io.vertx.ext.web.client.WebClientOptions.setDefaultHost:(Ljava/lang/String;)Lio/vertx/ext/web/client/WebClientOptions;
33: iload 4
invokevirtual io.vertx.ext.web.client.WebClientOptions.setDefaultPort:(I)Lio/vertx/ext/web/client/WebClientOptions;
34: iconst_1
invokevirtual io.vertx.ext.web.client.WebClientOptions.setFollowRedirects:(Z)Lio/vertx/ext/web/client/WebClientOptions;
35: invokestatic io.vertx.ext.web.client.WebClient.create:(Lio/vertx/core/Vertx;Lio/vertx/ext/web/client/WebClientOptions;)Lio/vertx/ext/web/client/WebClient;
putfield io.vertx.config.kubernetes.ConfigMapStore.client:Lio/vertx/ext/web/client/WebClient;
36: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.name:Ljava/lang/String;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
37: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 38 1 vertx Lio/vertx/core/Vertx;
0 38 2 configuration Lio/vertx/core/json/JsonObject;
5 38 3 ns Ljava/lang/String;
16 38 4 port I
22 38 5 p Ljava/lang/String;
25 38 6 host Ljava/lang/String;
26 38 7 h Ljava/lang/String;
MethodParameters:
Name Flags
vertx
configuration
public synchronized void close(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokedynamic handle(Lio/vertx/config/kubernetes/ConfigMapStore;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/config/kubernetes/ConfigMapStore.lambda$0(Lio/vertx/core/Handler;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokevirtual io.vertx.config.kubernetes.ConfigMapStore.runOnContext:(Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 2 1 completionHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
completionHandler
private synchronized void closeOnContext(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.client:Lio/vertx/ext/web/client/WebClient;
ifnull 2
1: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.client:Lio/vertx/ext/web/client/WebClient;
invokeinterface io.vertx.ext.web.client.WebClient.close:()V
2: StackMap locals:
StackMap stack:
aload 1
ifnull 4
3: aload 1
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 5 1 completionHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
completionHandler
private void runOnContext(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.ctx:Lio/vertx/core/Context;
if_acmpne 3
1: aload 1
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.ctx:Lio/vertx/core/Context;
aload 1
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 5 1 action Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
action
private io.vertx.core.Future<java.lang.String> getToken();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 1
start local 1 1: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.configuration:Lio/vertx/core/json/JsonObject;
ldc "token"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 6
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 6
3: aload 0
aload 2
putfield io.vertx.config.kubernetes.ConfigMapStore.token:Ljava/lang/String;
4: aload 1
aload 2
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
5: aload 1
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
6: StackMap locals: io.vertx.core.Promise java.lang.String
StackMap stack:
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
ldc "/var/run/secrets/kubernetes.io/serviceaccount/token"
aload 0
aload 1
invokedynamic handle(Lio/vertx/config/kubernetes/ConfigMapStore;Lio/vertx/core/Promise;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/config/kubernetes/ConfigMapStore.lambda$1(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.file.FileSystem.readFile:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/file/FileSystem;
pop
7: aload 1
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
1 8 1 result Lio/vertx/core/Promise<Ljava/lang/String;>;
2 8 2 token Ljava/lang/String;
Signature: ()Lio/vertx/core/Future<Ljava/lang/String;>;
public void get(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokedynamic handle(Lio/vertx/config/kubernetes/ConfigMapStore;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/config/kubernetes/ConfigMapStore.lambda$2(Lio/vertx/core/Handler;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokevirtual io.vertx.config.kubernetes.ConfigMapStore.runOnContext:(Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 2 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;)V
MethodParameters:
Name Flags
completionHandler
private synchronized void getOnContext(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.token:Ljava/lang/String;
ifnonnull 3
1: aload 0
invokevirtual io.vertx.config.kubernetes.ConfigMapStore.getToken:()Lio/vertx/core/Future;
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.token:Ljava/lang/String;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
astore 2
start local 2 4: StackMap locals: io.vertx.core.Future
StackMap stack:
aload 2
5: aload 0
aload 1
invokedynamic apply(Lio/vertx/config/kubernetes/ConfigMapStore;Lio/vertx/core/Handler;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/config/kubernetes/ConfigMapStore.lambda$3(Lio/vertx/core/Handler;Ljava/lang/String;)Lio/vertx/core/Future; (7)
(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
6: aload 1
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 8 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;
2 3 2 retrieveToken Lio/vertx/core/Future<Ljava/lang/String;>;
4 8 2 retrieveToken Lio/vertx/core/Future<Ljava/lang/String;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;)V
MethodParameters:
Name Flags
completionHandler
private static java.util.Map<java.lang.String, java.lang.Object> asObjectMap(java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/util/Map$Entry.getKey()Ljava/lang/Object; (9 itf)
(Ljava/util/Map$Entry;)Ljava/lang/String;
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/config/kubernetes/ConfigMapStore.lambda$6(Ljava/util/Map$Entry;)Ljava/lang/Object; (6)
(Ljava/util/Map$Entry;)Ljava/lang/Object;
4: invokestatic java.util.stream.Collectors.toMap:(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Map
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 source Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
source
private static java.util.Map<java.lang.String, java.lang.Object> asSecretObjectMap(java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/util/Map$Entry.getKey()Ljava/lang/Object; (9 itf)
(Ljava/util/Map$Entry;)Ljava/lang/String;
4: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/config/kubernetes/ConfigMapStore.lambda$8(Ljava/util/Map$Entry;)Ljava/lang/Object; (6)
(Ljava/util/Map$Entry;)Ljava/lang/Object;
5: invokestatic java.util.stream.Collectors.toMap:(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Map
6: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 source Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
source
private void lambda$0(io.vertx.core.Handler, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.config.kubernetes.ConfigMapStore.closeOnContext:(Lio/vertx/core/Handler;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 1 2 v Ljava/lang/Void;
private void lambda$1(io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 7
1: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.optional:Z
ifeq 5
2: aload 0
ldc ""
putfield io.vertx.config.kubernetes.ConfigMapStore.token:Ljava/lang/String;
3: aload 1
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.token:Ljava/lang/String;
invokeinterface io.vertx.core.Promise.tryComplete:(Ljava/lang/Object;)Z
pop
4: goto 9
5: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
pop
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.buffer.Buffer
invokeinterface io.vertx.core.buffer.Buffer.toString:()Ljava/lang/String;
putfield io.vertx.config.kubernetes.ConfigMapStore.token:Ljava/lang/String;
8: aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.buffer.Buffer
invokeinterface io.vertx.core.buffer.Buffer.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.Promise.tryComplete:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 10 2 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;
private void lambda$2(io.vertx.core.Handler, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.config.kubernetes.ConfigMapStore.getOnContext:(Lio/vertx/core/Handler;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 1 2 v Ljava/lang/Void;
private io.vertx.core.Future lambda$3(io.vertx.core.Handler, java.lang.String);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 2 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 3
start local 3 1: aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
2: aload 3
ldc "{}"
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
3: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
4: StackMap locals: io.vertx.core.Promise
StackMap stack:
new java.lang.StringBuilder
dup
ldc "/api/v1/namespaces/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.namespace:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 5: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.secret:Z
ifeq 8
6: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/secrets/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
7: goto 9
8: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/configmaps/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
9: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.client:Lio/vertx/ext/web/client/WebClient;
aload 4
invokeinterface io.vertx.ext.web.client.WebClient.get:(Ljava/lang/String;)Lio/vertx/ext/web/client/HttpRequest;
10: ldc "Authorization"
new java.lang.StringBuilder
dup
ldc "Bearer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.ext.web.client.HttpRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/ext/web/client/HttpRequest;
11: aload 0
aload 1
aload 3
invokedynamic handle(Lio/vertx/config/kubernetes/ConfigMapStore;Lio/vertx/core/Handler;Lio/vertx/core/Promise;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/config/kubernetes/ConfigMapStore.lambda$4(Lio/vertx/core/Handler;Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.ext.web.client.HttpRequest.send:(Lio/vertx/core/Handler;)V
12: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 13 2 token Ljava/lang/String;
1 13 3 promise Lio/vertx/core/Promise<Lio/vertx/core/buffer/Buffer;>;
5 13 4 path Ljava/lang/String;
private static java.lang.Object lambda$6(java.util.Map$Entry);
descriptor: (Ljava/util/Map$Entry;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic io.vertx.config.spi.utils.JsonObjectHelper.convert:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
private static java.lang.Object lambda$8(java.util.Map$Entry);
descriptor: (Ljava/util/Map$Entry;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 1
start local 1 1: new java.lang.String
dup
getstatic io.vertx.config.kubernetes.ConfigMapStore.DECODER:Ljava/util/Base64$Decoder;
aload 1
invokevirtual java.util.Base64$Decoder.decode:(Ljava/lang/String;)[B
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
astore 2
start local 2 2: aload 2
invokestatic io.vertx.config.spi.utils.JsonObjectHelper.convert:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
1 3 1 encodedString Ljava/lang/String;
2 3 2 decodedString Ljava/lang/String;
private void lambda$4(io.vertx.core.Handler, io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 1
aload 3
invokeinterface io.vertx.core.AsyncResult.mapEmpty:()Lio/vertx/core/AsyncResult;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.ext.web.client.HttpResponse
astore 4
start local 4 4: aload 4
invokeinterface io.vertx.ext.web.client.HttpResponse.statusCode:()I
sipush 404
if_icmpne 10
5: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.optional:Z
ifeq 8
6: aload 2
ldc "{}"
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
7: goto 44
8: StackMap locals: io.vertx.ext.web.client.HttpResponse
StackMap stack:
aload 2
new java.lang.StringBuilder
dup
ldc "Cannot find the config map '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' in '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.namespace:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/String;)V
9: goto 44
StackMap locals:
StackMap stack:
10: aload 4
invokeinterface io.vertx.ext.web.client.HttpResponse.statusCode:()I
sipush 403
if_icmpne 15
11: aload 1
new java.lang.StringBuilder
dup
ldc "Access denied to configmap or secret in namespace "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.namespace:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
14: goto 44
StackMap locals:
StackMap stack:
15: aload 4
invokeinterface io.vertx.ext.web.client.HttpResponse.statusCode:()I
sipush 200
if_icmpeq 24
16: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.optional:Z
ifeq 19
17: aload 2
ldc "{}"
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
18: goto 44
19: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "Cannot retrieve the configmap or secret in namespace "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
20: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.namespace:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", status code: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokeinterface io.vertx.ext.web.client.HttpResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", error: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: aload 4
invokeinterface io.vertx.ext.web.client.HttpResponse.bodyAsString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
23: goto 44
24: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.vertx.ext.web.client.HttpResponse.bodyAsJsonObject:()Lio/vertx/core/json/JsonObject;
ldc "data"
invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
astore 5
start local 5 25: aload 5
ifnonnull 30
26: aload 2
new java.lang.StringBuilder
dup
ldc "Invalid secret of configmap in namespace "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.namespace:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", the data "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: ldc "entry is empty"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/String;)V
29: return
30: StackMap locals: io.vertx.core.json.JsonObject
StackMap stack:
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.key:Ljava/lang/String;
ifnonnull 36
31: aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.secret:Z
ifeq 34
32: aload 2
new io.vertx.core.json.JsonObject
dup
aload 5
invokevirtual io.vertx.core.json.JsonObject.getMap:()Ljava/util/Map;
invokestatic io.vertx.config.kubernetes.ConfigMapStore.asSecretObjectMap:(Ljava/util/Map;)Ljava/util/Map;
invokespecial io.vertx.core.json.JsonObject.<init>:(Ljava/util/Map;)V
invokevirtual io.vertx.core.json.JsonObject.toBuffer:()Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
33: goto 44
34: StackMap locals:
StackMap stack:
aload 2
new io.vertx.core.json.JsonObject
dup
aload 5
invokevirtual io.vertx.core.json.JsonObject.getMap:()Ljava/util/Map;
invokestatic io.vertx.config.kubernetes.ConfigMapStore.asObjectMap:(Ljava/util/Map;)Ljava/util/Map;
invokespecial io.vertx.core.json.JsonObject.<init>:(Ljava/util/Map;)V
invokevirtual io.vertx.core.json.JsonObject.toBuffer:()Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
35: goto 44
36: StackMap locals:
StackMap stack:
aload 5
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.key:Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 37: aload 6
ifnonnull 40
38: aload 2
new java.lang.StringBuilder
dup
ldc "Cannot find key '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.key:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' in the configmap or secret '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/String;)V
39: goto 44
40: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield io.vertx.config.kubernetes.ConfigMapStore.secret:Z
ifeq 43
41: aload 2
getstatic io.vertx.config.kubernetes.ConfigMapStore.DECODER:Ljava/util/Base64$Decoder;
aload 6
invokevirtual java.util.Base64$Decoder.decode:(Ljava/lang/String;)[B
invokestatic io.vertx.core.buffer.Buffer.buffer:([B)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
42: goto 44
43: StackMap locals:
StackMap stack:
aload 2
aload 6
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
end local 6 end local 5 end local 4 44: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lio/vertx/config/kubernetes/ConfigMapStore;
0 45 3 ar Lio/vertx/core/AsyncResult<Lio/vertx/ext/web/client/HttpResponse<Lio/vertx/core/buffer/Buffer;>;>;
4 44 4 response Lio/vertx/ext/web/client/HttpResponse<Lio/vertx/core/buffer/Buffer;>;
25 44 5 data Lio/vertx/core/json/JsonObject;
37 44 6 string Ljava/lang/String;
}
SourceFile: "ConfigMapStore.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Decoder = java.util.Base64$Decoder of java.util.Base64
public abstract Entry = java.util.Map$Entry of java.util.Map