Skip to content

Commit

Permalink
Expose resize & connection-error stream for Attach
Browse files Browse the repository at this point in the history
  • Loading branch information
adralioh committed Oct 28, 2023
1 parent 20e24d3 commit c014e81
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions util/src/main/java/io/kubernetes/client/Attach.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,14 @@ public InputStream getErrorStream() {
return handler.getInputStream(2);
}

public InputStream getConnectionErrorStream() {
return handler.getInputStream(3);
}

public OutputStream getResizeStream() {
return handler.getOutputStream(4);
}

public void close() {
handler.close();
}
Expand Down

0 comments on commit c014e81

Please sign in to comment.