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

Make Keeper, Sentinel, Proxy public #915

Open
Smithx10 opened this issue Oct 4, 2023 · 0 comments
Open

Make Keeper, Sentinel, Proxy public #915

Smithx10 opened this issue Oct 4, 2023 · 0 comments

Comments

@Smithx10
Copy link

Smithx10 commented Oct 4, 2023

What would you like to be added:
We'd like to import and run Keeper, Sentinel, and Proxy in our go program.

Why is this needed:
Users may want to run these functions directly from a different go package. In our example, the manipulation of the clusters is being done via a server.

For example
https://github.com/sorintlab/stolon/blob/master/cmd/keeper/cmd/keeper.go#L507

NewPostgresKeeper is public, but config isn't.

Is there an example of how these packages should be used? Would it be welcome to break out running them under pkg and keep only input from CLI in cmd?

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

No branches or pull requests

1 participant