terminal

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type UserTerminalAccessRestHandler

type UserTerminalAccessRestHandler interface {
	StartTerminalSession(w http.ResponseWriter, r *http.Request)
	UpdateTerminalSession(w http.ResponseWriter, r *http.Request)
	UpdateTerminalShellSession(w http.ResponseWriter, r *http.Request)
	FetchTerminalStatus(w http.ResponseWriter, r *http.Request)
	StopTerminalSession(w http.ResponseWriter, r *http.Request)
	DisconnectTerminalSession(w http.ResponseWriter, r *http.Request)
	DisconnectAllTerminalSessionAndRetry(w http.ResponseWriter, r *http.Request)
	FetchTerminalPodEvents(w http.ResponseWriter, r *http.Request)
	FetchTerminalPodManifest(w http.ResponseWriter, r *http.Request)
	ValidateShell(w http.ResponseWriter, r *http.Request)
	EditPodManifest(w http.ResponseWriter, r *http.Request)
}

type UserTerminalAccessRestHandlerImpl

type UserTerminalAccessRestHandlerImpl struct {
	Logger                    *zap.SugaredLogger
	UserTerminalAccessService clusterTerminalAccess.UserTerminalAccessService

	Enforcer    casbin.Enforcer
	UserService user.UserService
	// contains filtered or unexported fields
}

func NewUserTerminalAccessRestHandlerImpl

func NewUserTerminalAccessRestHandlerImpl(logger *zap.SugaredLogger, userTerminalAccessService clusterTerminalAccess.UserTerminalAccessService, Enforcer casbin.Enforcer,
	UserService user.UserService, validator *validator.Validate,
	clusterRbacService rbac.ClusterRbacService) *UserTerminalAccessRestHandlerImpl

func (UserTerminalAccessRestHandlerImpl) DisconnectAllTerminalSessionAndRetry

func (handler UserTerminalAccessRestHandlerImpl) DisconnectAllTerminalSessionAndRetry(w http.ResponseWriter, r *http.Request)

func (UserTerminalAccessRestHandlerImpl) DisconnectTerminalSession

func (handler UserTerminalAccessRestHandlerImpl) DisconnectTerminalSession(w http.ResponseWriter, r *http.Request)

func (UserTerminalAccessRestHandlerImpl) EditPodManifest added in v0.6.19

func (handler UserTerminalAccessRestHandlerImpl) EditPodManifest(w http.ResponseWriter, r *http.Request)

func (UserTerminalAccessRestHandlerImpl) FetchTerminalPodEvents

func (handler UserTerminalAccessRestHandlerImpl) FetchTerminalPodEvents(w http.ResponseWriter, r *http.Request)

func (UserTerminalAccessRestHandlerImpl) FetchTerminalPodManifest

func (handler UserTerminalAccessRestHandlerImpl) FetchTerminalPodManifest(w http.ResponseWriter, r *http.Request)

func (UserTerminalAccessRestHandlerImpl) FetchTerminalStatus

func (handler UserTerminalAccessRestHandlerImpl) FetchTerminalStatus(w http.ResponseWriter, r *http.Request)

func (UserTerminalAccessRestHandlerImpl) StartTerminalSession

func (handler UserTerminalAccessRestHandlerImpl) StartTerminalSession(w http.ResponseWriter, r *http.Request)

func (UserTerminalAccessRestHandlerImpl) StopTerminalSession

func (handler UserTerminalAccessRestHandlerImpl) StopTerminalSession(w http.ResponseWriter, r *http.Request)

func (UserTerminalAccessRestHandlerImpl) UpdateTerminalSession

func (handler UserTerminalAccessRestHandlerImpl) UpdateTerminalSession(w http.ResponseWriter, r *http.Request)

func (UserTerminalAccessRestHandlerImpl) UpdateTerminalShellSession

func (handler UserTerminalAccessRestHandlerImpl) UpdateTerminalShellSession(w http.ResponseWriter, r *http.Request)

func (UserTerminalAccessRestHandlerImpl) ValidateShell added in v0.6.15

func (handler UserTerminalAccessRestHandlerImpl) ValidateShell(w http.ResponseWriter, r *http.Request)

type UserTerminalAccessRouter

type UserTerminalAccessRouter interface {
	InitTerminalAccessRouter(userTerminalAccessRouter *mux.Router)
}

type UserTerminalAccessRouterImpl

type UserTerminalAccessRouterImpl struct {
	// contains filtered or unexported fields
}

func NewUserTerminalAccessRouterImpl

func NewUserTerminalAccessRouterImpl(userTerminalAccessRestHandler UserTerminalAccessRestHandler) *UserTerminalAccessRouterImpl

func (UserTerminalAccessRouterImpl) InitTerminalAccessRouter

func (router UserTerminalAccessRouterImpl) InitTerminalAccessRouter(userTerminalAccessRouter *mux.Router)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL