Repository navigation
stdio dialer support - #3265
stdio dialer support#3265aluzzardi wants to merge 3 commits into
Conversation
38bf3fa to
da83121
Compare
Sorry, I'm missing some context.
|
Yep.
Not really. As part of
Ouch. Yeah this PR is not ready |
da83121 to
b587c2d
Compare
Signed-off-by: Andrea Luzzardi <[email protected]>
b587c2d to
befa888
Compare
Signed-off-by: Andrea Luzzardi <[email protected]>
| ) | ||
|
|
||
| func init() { | ||
| engineconn.Register("bin", New) |
There was a problem hiding this comment.
Why bin?
Why not stdio? (is that what would be the defined scheme? (xxx://)
| } | ||
|
|
||
| func New(u *url.URL) (engineconn.EngineConn, error) { | ||
| return &Bin{ |
There was a problem hiding this comment.
Shouldn't we check that the scheme is valid here as well?
| @@ -0,0 +1,131 @@ | |||
| package main | |||
There was a problem hiding this comment.
should this be under cmd/cloak now?
| // Return stdio connection ONLY on the first `Accept()` | ||
| // since we can't multiplex on stdio. |
There was a problem hiding this comment.
Are there any immediate needs for multiplexing? I think there may be in the future w/ services and/or filesync stuff, just wondering if I'm not thinking of already existing needs.
| devCmd.Flags().IntVar(&devServerPort, "port", 8080, "dev server port") | ||
| devCmd.Flags().StringSliceVarP(&localDirsInput, "local-dir", "l", []string{}, "local directory to import") | ||
|
|
||
| dialStdioCmd.Flags().StringSliceVarP(&localDirsInput, "local-dir", "l", []string{}, "local directory to import") |
| @@ -0,0 +1,54 @@ | |||
| package embedded | |||
Signed-off-by: Andrea Luzzardi <[email protected]>
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
|
This PR was closed because it has been stalled for 7 days with no activity. |
dagger dial-stdiocommand)NOTE: Go SDK still uses the embedded engine. the stdio dialer is for testing purposes, the real user are going to be the TS/Python SDKs.
In action:
/cc @helderco