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

Add example for using the exec endpoint with stdin #290

Closed
philipsd6 opened this issue Nov 10, 2023 · 3 comments · Fixed by #328
Closed

Add example for using the exec endpoint with stdin #290

philipsd6 opened this issue Nov 10, 2023 · 3 comments · Fixed by #328

Comments

@philipsd6
Copy link

As noted in #174, the synchronous version of this package has the pod_exec.py example, but only the non-interactive part of that is re-implemented in examples/example3.py.

Is it possible to implement the interactive version with this library as well? My use case is to start psql in the container and execute various ddl statements from an operator (based on kopf) and emit the responses.

@tomplus
Copy link
Owner

tomplus commented Nov 13, 2023

Sure, it's possible but it has to be implemented first #12

@herman-ai
Copy link

@tomplus is #12 being actively worked on? I would also like this feature for my project.

@tomplus
Copy link
Owner

tomplus commented Jan 22, 2024

@herman-ai I'm not working on it right now, feel free to contribute if you want.

@tomplus tomplus linked a pull request Aug 9, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants