added kubernetes - NOT TESTED
This commit is contained in:
@@ -16,6 +16,11 @@ type Server struct {
|
||||
Domain string
|
||||
}
|
||||
|
||||
type TerminalConnection struct {
|
||||
Conn net.Conn
|
||||
ResizerFunc func(width uint, height uint) error
|
||||
}
|
||||
|
||||
type Port struct {
|
||||
Number uint16
|
||||
Protocol models.PortProtocol
|
||||
@@ -48,8 +53,7 @@ type InstanceManager interface {
|
||||
// Terminal
|
||||
|
||||
// Status Changing
|
||||
InteractiveTerminal(ctx context.Context, serverId string) (*net.Conn, error)
|
||||
ResizeTerminal(ctx context.Context, serverId string, width uint, height uint) error
|
||||
InteractiveTerminal(ctx context.Context, serverId string) (*TerminalConnection, error)
|
||||
|
||||
// File Browser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user