Documentation
¶
Index ¶
- Variables
- func BindPodLogOptions(c *gin.Context, containerName string) (*v1.PodLogOptions, error)
- func DeleteFile(c *gin.Context)
- func DownloadFile(c *gin.Context)
- func DownloadLogs(c *gin.Context)
- func DownloadPodLogsBySelector(c *gin.Context, ns string, containerName string, options metav1.ListOptions)
- func Exec(c *gin.Context)
- func FileList(c *gin.Context)
- func SaveFile(c *gin.Context)
- func ShowFile(c *gin.Context)
- func StreamLogs(c *gin.Context)
- func StreamPodLogsBySelector(c *gin.Context, ns string, containerName string, options metav1.ListOptions)
- func UploadFile(c *gin.Context)
- func Usage(c *gin.Context)
- func WsExec(c *gin.Context)
- func Xterm(c *gin.Context)
- type LogQueryParams
- type TTYSize
- type TerminalSizeQueue
Constants ¶
This section is empty.
Variables ¶
View Source
var WebsocketMessageType = map[int]string{ websocket.BinaryMessage: "binary", websocket.TextMessage: "text", websocket.CloseMessage: "close", websocket.PingMessage: "ping", websocket.PongMessage: "pong", }
Functions ¶
func BindPodLogOptions ¶
func DeleteFile ¶ added in v0.0.5
func DownloadLogs ¶
func StreamLogs ¶
func StreamPodLogsBySelector ¶
Types ¶
type LogQueryParams ¶
type TerminalSizeQueue ¶ added in v0.0.36
TerminalSizeQueue 维护 TTY 终端大小
func (*TerminalSizeQueue) Next ¶ added in v0.0.36
func (t *TerminalSizeQueue) Next() *remotecommand.TerminalSize
func (*TerminalSizeQueue) Push ¶ added in v0.0.36
func (t *TerminalSizeQueue) Push(cols, rows uint16)
Click to show internal directories.
Click to hide internal directories.