Kube.Port_forwardSourceKubernetes Pod port forwarding over the WebSocket SPDY tunnel.
val connect :
?cancel:Cancel.t ->
?namespace:string ->
?ports:int list ->
?max_stream_buffer_bytes:int ->
Client.t ->
pod:string ->
unit ->
(t, error) resultOpen one multiplexed port-forward connection. ports is sent as repeated query parameters and should contain the remote ports that will be opened. Current Kubernetes API servers require the SPDY/3.1+portforward.k8s.io WebSocket subprotocol.
Open the error/data stream pair for one connection to port.
Half-close the data stream after all local input has been sent.