Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSSHArgs ¶
BuildSSHArgs constructs the standard argument slice for ssh command execution.
Types ¶
type Executor ¶
type Executor struct{}
Executor implements models.SSHExecutor.
func (*Executor) FetchStats ¶
func (e *Executor) FetchStats(ctx context.Context, server *models.Server) (*models.ServerStats, error)
FetchStats connects non-interactively via SSH to fetch lightweight system metrics.
Click to show internal directories.
Click to hide internal directories.