Documentation ¶
Index ¶
- func Equal(a, b []string) bool
- type CloudShellSSHSessionOauthHandler
- func (g *CloudShellSSHSessionOauthHandler) DefaultCommand() []string
- func (g *CloudShellSSHSessionOauthHandler) HandleAuth(w http.ResponseWriter, r *http.Request)
- func (g *CloudShellSSHSessionOauthHandler) HandleAuthCallback(w http.ResponseWriter, r *http.Request)
- func (g *CloudShellSSHSessionOauthHandler) HandleUser(w http.ResponseWriter, r *http.Request)
- func (g *CloudShellSSHSessionOauthHandler) SSHSessionCommandHandler(session ssh.Session, cmd *exec.Cmd) error
- func (g *CloudShellSSHSessionOauthHandler) SessionHandler(session ssh.Session)
- type CloudShellSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloudShellSSHSessionOauthHandler ¶
type CloudShellSSHSessionOauthHandler struct { ShellUrl string OAuthConfig *o2.Config OAuth2TokenStore types.OAuth2TokenStore SessionEmails types.TokenStore }
func NewCloudShellSSHSessionOauthHandler ¶
func NewCloudShellSSHSessionOauthHandler(shellUrl string, defaultCommand []string) *CloudShellSSHSessionOauthHandler
func (*CloudShellSSHSessionOauthHandler) DefaultCommand ¶
func (g *CloudShellSSHSessionOauthHandler) DefaultCommand() []string
func (*CloudShellSSHSessionOauthHandler) HandleAuth ¶
func (g *CloudShellSSHSessionOauthHandler) HandleAuth(w http.ResponseWriter, r *http.Request)
func (*CloudShellSSHSessionOauthHandler) HandleAuthCallback ¶
func (g *CloudShellSSHSessionOauthHandler) HandleAuthCallback(w http.ResponseWriter, r *http.Request)
func (*CloudShellSSHSessionOauthHandler) HandleUser ¶
func (g *CloudShellSSHSessionOauthHandler) HandleUser(w http.ResponseWriter, r *http.Request)
func (*CloudShellSSHSessionOauthHandler) SSHSessionCommandHandler ¶
func (*CloudShellSSHSessionOauthHandler) SessionHandler ¶
func (g *CloudShellSSHSessionOauthHandler) SessionHandler(session ssh.Session)
type CloudShellSession ¶
func NewCloudShellSession ¶
func NewCloudShellSession(casedShellSession ssh.Session, tokenSource o2.TokenSource) (CloudShellSession, error)
Click to show internal directories.
Click to hide internal directories.