Documentation
¶
Index ¶
- func ConnectToConsole(config *rest.Config, namespace string, name string, console string, ...) error
- func RequestFromConfig(config *rest.Config, vm string, namespace string, device string) (*http.Request, error)
- func RoundTripperFromConfig(config *rest.Config, callback RoundTripCallback) (http.RoundTripper, error)
- func TerminalWebsocketCallback(ws *websocket.Conn, resp *http.Response, connErr error) error
- type Console
- type RoundTripCallback
- type WebsocketRoundTripper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToConsole ¶
func RequestFromConfig ¶
func RoundTripperFromConfig ¶
func RoundTripperFromConfig(config *rest.Config, callback RoundTripCallback) (http.RoundTripper, error)
Types ¶
type RoundTripCallback ¶
func NewWebsocketCallback ¶
func NewWebsocketCallback(in io.ReadCloser, out io.WriteCloser, stopChan chan struct{}) RoundTripCallback
type WebsocketRoundTripper ¶
type WebsocketRoundTripper struct {
Dialer *websocket.Dialer
Do RoundTripCallback
}
Click to show internal directories.
Click to hide internal directories.