garm/vendor/github.com/lxc/lxd/shared/api/container_console.go
Gabriel Adrian Samfira c61b7fd268
Update go modules
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-03-12 16:22:37 +02:00

17 lines
502 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"`
}