File tree Expand file tree Collapse file tree
util/src/main/java/io/kubernetes/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ static int parseExitCode(ApiClient client, InputStream inputStream) {
349349 return -1 ;
350350 }
351351
352- protected static class ExecProcess extends Process {
352+ public static class ExecProcess extends Process {
353353 private final WebSocketStreamHandler streamHandler ;
354354 private int statusCode = -1 ;
355355 private boolean isAlive = true ;
@@ -425,6 +425,14 @@ public InputStream getErrorStream() {
425425 return getInputStream (2 );
426426 }
427427
428+ public InputStream getConnectionErrorStream () {
429+ return getInputStream (3 );
430+ }
431+
432+ public OutputStream getResizeStream () {
433+ return streamHandler .getOutputStream (4 );
434+ }
435+
428436 private synchronized InputStream getInputStream (int stream ) {
429437 if (!input .containsKey (stream )) {
430438 input .put (stream , streamHandler .getInputStream (stream ));
You can’t perform that action at this time.
0 commit comments