Documentation
¶
Overview ¶
Package execrelay connects interactive exec clients (dashboard terminal, synctl exec) to sessions on agents, multiplexed on the agent stream.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNodeOffline = errors.New("the task's node is not connected")
ErrNodeOffline means the task's node is not connected.
Functions ¶
This section is empty.
Types ¶
type Relay ¶
type Relay struct {
// contains filtered or unexported fields
}
type Session ¶
type Session struct {
ID string
// Out receives output; it is closed after the exit message.
Out chan *agentv1.ExecOutput
// contains filtered or unexported fields
}
Session is one exec on one node.
func (*Session) CloseStdin ¶
CloseStdin signals end of input to the command.