client-native
client-native copied to clipboard
Manage certificates via clientnative.HAProxyClient, how?
If I understand correctly, clientnative.HAProxyClient
is the interface that is used to manage HAProxy instance in this library.
I can see that, an operation like AddMapEntry
is available via both *SingleRuntime.AddMapEntry
and clientnative.HAProxyClient
, link, hence a map entry can be added via clientnative.HAProxyClient
.
How are we supposed to perform an operation like SetCertEntry
from clientnative.HAProxyClient
? link
Another observation is that runtimes
is a private field, hence we can't directly access a SingleRuntime
from clientnative.HAProxyClient
. Is there a way that I overlooked? The end goal is to update certificates by using this library.