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 ¶ added in v0.0.4
func RequestFromConfig ¶ added in v0.0.4
func RoundTripperFromConfig ¶ added in v0.0.4
func RoundTripperFromConfig(config *rest.Config, callback RoundTripCallback) (http.RoundTripper, error)
Types ¶
type RoundTripCallback ¶
func NewWebsocketCallback ¶ added in v0.0.4
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.