Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDialer = websocket.DefaultDialer
View Source
var SIGWINCH *regexp.Regexp
SIGWINCH is the regex to match window change (resize) codes
Functions ¶
Types ¶
type InputWrapper ¶
type InputWrapper struct {
// contains filtered or unexported fields
}
type Service ¶
type Service struct { Name string `json:"name"` HasWebinterface bool `json:"hasWebinterface"` Port int `json:"port"` Path string `json:"path"` HasOwnTab bool `json:"hasOwnTab"` NoRewriteRootPath bool `json:"noRewriteRootPath"` RewriteHostHeader bool `json:"rewriteHostHeader"` RewriteOriginHeader bool `json:"rewriteOriginHeader"` }
type ShellProxy ¶
type ShellProxy struct {
// contains filtered or unexported fields
}
func NewShellProxy ¶
func NewShellProxy(authnClient authn.AuthNClient, authrClient authr.AuthRClient, vmClient *vmclient.VirtualMachineClient, hfClientSet hfClientset.Interface, kubeClient kubernetes.Interface, ctx context.Context) (*ShellProxy, error)
func (ShellProxy) ConnectGuacFunc ¶
func (sp ShellProxy) ConnectGuacFunc(w http.ResponseWriter, r *http.Request)
* This is used for all connections made via the guacamole client * Currently supported protocols are: rdp, vnc, telnet, ssh
func (ShellProxy) ConnectSSHFunc ¶
func (sp ShellProxy) ConnectSSHFunc(w http.ResponseWriter, r *http.Request)
* This is mainly used for SSH Connections to VMs
func (ShellProxy) SetupRoutes ¶
func (sp ShellProxy) SetupRoutes(r *mux.Router)
type WSWrapper ¶
type WSWrapper struct { io.ReadWriteCloser // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.