client-native icon indicating copy to clipboard operation
client-native copied to clipboard

Manage certificates via clientnative.HAProxyClient, how?

Open shadyabhi opened this issue 1 year ago • 0 comments

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.

shadyabhi avatar Nov 12 '23 07:11 shadyabhi