File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
util/src/main/java/io/kubernetes/client Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ static int parseExitCode(ApiClient client, InputStream inputStream) {
349
349
return -1 ;
350
350
}
351
351
352
- protected static class ExecProcess extends Process {
352
+ public static class ExecProcess extends Process {
353
353
private final WebSocketStreamHandler streamHandler ;
354
354
private int statusCode = -1 ;
355
355
private boolean isAlive = true ;
@@ -425,6 +425,14 @@ public InputStream getErrorStream() {
425
425
return getInputStream (2 );
426
426
}
427
427
428
+ public InputStream getConnectionErrorStream () {
429
+ return getInputStream (3 );
430
+ }
431
+
432
+ public OutputStream getResizeStream () {
433
+ return streamHandler .getOutputStream (4 );
434
+ }
435
+
428
436
private synchronized InputStream getInputStream (int stream ) {
429
437
if (!input .containsKey (stream )) {
430
438
input .put (stream , streamHandler .getInputStream (stream ));
You can’t perform that action at this time.
0 commit comments