Documentation
¶
Index ¶
- func CreateSession(workspaceDir, configDir string) func(c *gin.Context)
- func DeleteSession(configDir string) func(c *gin.Context)
- func GetSessionCommandLogs(configDir string) func(c *gin.Context)
- func ListSessions(c *gin.Context)
- func SessionExecuteCommand(configDir string) func(c *gin.Context)
- type Command
- type CreateSessionRequest
- type Session
- type SessionExecuteRequest
- type SessionExecuteResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSession ¶
func DeleteSession ¶
func GetSessionCommandLogs ¶
func ListSessions ¶
func SessionExecuteCommand ¶
Types ¶
type Command ¶
type Command struct { Id string `json:"id" validate:"required"` Command string `json:"command" validate:"required"` ExitCode *int `json:"exitCode,omitempty" validate:"optional"` } // @name Command
func (*Command) LogFilePath ¶
type CreateSessionRequest ¶
type CreateSessionRequest struct { SessionId string `json:"sessionId" validate:"required"` } // @name CreateSessionRequest
type SessionExecuteRequest ¶
type SessionExecuteResponse ¶
Click to show internal directories.
Click to hide internal directories.