Documentation ¶
Index ¶
- func GetCPUTemp(ctx context.Context, client *ssh.Client) (string, error)
- func GetFileSystemVersion(ctx context.Context, client *ssh.Client) (string, error)
- func GetHostname(ctx context.Context, client *ssh.Client) (string, error)
- func GetIPAddr(ctx context.Context, client *ssh.Client) (string, error)
- func GetKernelVersion(ctx context.Context, client *ssh.Client) (string, error)
- func GetMacAddr(ctx context.Context, client *ssh.Client) (string, error)
- func GetUptimeSeconds(ctx context.Context, client *ssh.Client) (string, error)
- func OutputMinerRPC(ctx context.Context, d Dialer, command, argument string) ([]byte, error)
- func OutputRemoteShell(ctx context.Context, client *ssh.Client, in string) ([]byte, error)
- func RunRemoteShell(ctx context.Context, client *ssh.Client, in string) error
- type Client
- type Dialer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileSystemVersion ¶
func GetKernelVersion ¶
func GetUptimeSeconds ¶
func OutputMinerRPC ¶
func OutputRemoteShell ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.