Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage certificates via clientnative.HAProxyClient, how? #98

Open
shadyabhi opened this issue Nov 12, 2023 · 1 comment
Open

Manage certificates via clientnative.HAProxyClient, how? #98

shadyabhi opened this issue Nov 12, 2023 · 1 comment

Comments

@shadyabhi
Copy link

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
Copy link
Author

Related: 983614e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant