Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readChannel (0.32 sec)

  1. 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)
  2. 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)
Back to top