You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exec can return stdout data even after stdin is closed. (#1693)
* Exec can return stdout data even after stdin is closed. #1689
Signed-off-by: Eric Webster <[email protected]>
* Formatting fixes.
Signed-off-by: Eric Webster <[email protected]>
---------
Signed-off-by: Eric Webster <[email protected]>
// theses values come from here: https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/cri/streaming/remotecommand/websocket.go#L34
258
+
// theses values come from here: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/util/remotecommand/constants.go#L57
263
259
constSTDIN_CHANNEL:u8 = 0;
264
260
constSTDOUT_CHANNEL:u8 = 1;
265
261
constSTDERR_CHANNEL:u8 = 2;
266
262
// status channel receives `Status` object on exit.
267
263
constSTATUS_CHANNEL:u8 = 3;
268
264
// resize channel is use to send TerminalSize object to change the size of the terminal
269
265
constRESIZE_CHANNEL:u8 = 4;
266
+
/// Used to signal that a channel has reached EOF. Only works on V5 of the protocol.
0 commit comments