Connect to stdin/stdout?
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 716
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 10
Description
### Is your feature request related to a problem? Please describe.
To be able to build a buildkit frontend, we have to connect to a GRPC server over stdin/stdout
https://github.com/moby/buildkit/blob/914e64243dbaa2ccb8798d732c6f7bafbb708eaa/frontend/gateway/grpcclient/client.go#L390-L392
https://github.com/moby/buildkit/blob/914e64243dbaa2ccb8798d732c6f7bafbb708eaa/frontend/gateway/grpcclient/client.go#L406-L408
However, I don't see how this should work with `@grpc/grpc-js`. Is there an easy way to pass streams to a Client / Channel so they can be used instead of an url?
### Describe the solution you'd like
A way to pass streams / an option to use stdin&stdout for the client as a channel
### Describe alternatives you've considered
Extending a Channel and passing this to a client, but there doesn't seem an easy way to pass an input and output stream to
Contributor guide
Assessment
This issue has not been assessed yet.