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

Expose stdin For Exec'd Processes #205

Open
gilday opened this issue Jul 15, 2022 · 1 comment
Open

Expose stdin For Exec'd Processes #205

gilday opened this issue Jul 15, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@gilday
Copy link

gilday commented Jul 15, 2022

Is your feature request related to a problem? Please describe.

I need to be able to send a stream of characters to the stdin belonging to a process started by ddClient.extension.host?.cli.exec.

For example, an extension author may need to emulate the given shell script:

kubectl apply -f - <<EOF
YAML...
EOF

Describe the solution you'd like

A stdin property on the ExecProcess type analogous to Process.stdin.

Describe alternatives you've considered

Alternatively, the extensions SDK could expose an API for creating (temporary) files on the host. Such files could typically be used as arguments to commands started with ddClient.extension.host?.cli.exec instead of exposing stdin.

@gilday gilday added the enhancement New feature or request label Jul 15, 2022
@felipecruz91
Copy link
Contributor

Hi @gilday, thank you for your feedback. We're considering adding a new API endpoint to create files on host, see:

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

No branches or pull requests

2 participants