mirror of https://github.com/k3s-io/k3s
18 lines
500 B
Go
18 lines
500 B
Go
package api
|
|
|
|
// ContainerConsoleControl represents a message on the container console "control" socket
|
|
//
|
|
// API extension: console
|
|
type ContainerConsoleControl struct {
|
|
Command string `json:"command" yaml:"command"`
|
|
Args map[string]string `json:"args" yaml:"args"`
|
|
}
|
|
|
|
// ContainerConsolePost represents a LXD container console request
|
|
//
|
|
// API extension: console
|
|
type ContainerConsolePost struct {
|
|
Width int `json:"width" yaml:"width"`
|
|
Height int `json:"height" yaml:"height"`
|
|
}
|