Documentation
¶
Overview ¶
Package watchmux serves multiple Kubernetes watch streams over one browser WebSocket connection.
Index ¶
Constants ¶
View Source
const ( // Path is the browser WebSocket endpoint. It is a non-resource path so the // outer authorization layer can admit the handshake before each logical // resource watch is authorized. Path = "/console/watch" // Protocol is the negotiated WebSocket subprotocol. Protocol = "apoxy.watch.v1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Delegate http.Handler
RequestInfoResolver apirequest.RequestInfoResolver
Authorizer authorizer.Authorizer
}
Config supplies the API server components needed to dispatch and authorize logical watch requests.
Click to show internal directories.
Click to hide internal directories.