- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for readChannel (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go
channels[constants.StreamStdIn] = readChannel(opts.Stdin) channels[constants.StreamStdOut] = writeChannel(opts.Stdout) channels[constants.StreamStdErr] = writeChannel(opts.Stderr) channels[constants.StreamErr] = wsstream.WriteChannel channels[constants.StreamResize] = wsstream.ReadChannel return channels } // readChannel returns wsstream.ReadChannel if real is true, or wsstream.IgnoreChannel.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 6.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/wsstream/legacy.go
) type ChannelType = apimachinerywsstream.ChannelType const ( IgnoreChannel = apimachinerywsstream.IgnoreChannel ReadChannel = apimachinerywsstream.ReadChannel WriteChannel = apimachinerywsstream.WriteChannel ReadWriteChannel = apimachinerywsstream.ReadWriteChannel ) type ChannelProtocolConfig = apimachinerywsstream.ChannelProtocolConfig var (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 18:21:43 UTC 2023 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go
type codecType int const ( rawCodec codecType = iota base64Codec ) type ChannelType int const ( IgnoreChannel ChannelType = iota ReadChannel WriteChannel ReadWriteChannel ) // IsWebSocketRequest returns true if the incoming request contains connection upgrade headers // for WebSockets. func IsWebSocketRequest(req *http.Request) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:10:30 UTC 2024 - 14.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn_test.go
serverAddr := server.Listener.Addr().String() return server, serverAddr } func TestRawConn(t *testing.T) { channels := []ChannelType{ReadWriteChannel, ReadWriteChannel, IgnoreChannel, ReadChannel, WriteChannel} conn := NewConn(NewDefaultChannelProtocols(channels)) s, addr := newServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { conn.Open(w, req) })) defer s.Close()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 11.4K bytes - Viewed (0)