client-go: update documentation for remotecommand.StreamOptions

The ability to explicitly define the supported protocols was removed in commit 12c7874c0d88e9099ab2a29915d26751f0d23c2a
Adjust documentation accordingly.

Kubernetes-commit: f77060aa8da8256fa48412e7a0d9523245017dcb
This commit is contained in:
Yann Hodique 2018-07-16 14:43:54 -07:00 committed by Kubernetes Publisher
parent 5e5e185a9e
commit 58a34f32bd

View File

@ -30,8 +30,8 @@ import (
spdy "k8s.io/client-go/transport/spdy" spdy "k8s.io/client-go/transport/spdy"
) )
// StreamOptions holds information pertaining to the current streaming session: supported stream // StreamOptions holds information pertaining to the current streaming session:
// protocols, input/output streams, if the client is requesting a TTY, and a terminal size queue to // input/output streams, if the client is requesting a TTY, and a terminal size queue to
// support terminal resizing. // support terminal resizing.
type StreamOptions struct { type StreamOptions struct {
Stdin io.Reader Stdin io.Reader