Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PubKeyAuth ¶
func PubKeyAuth(privateKeyPath string) (ssh.AuthMethod, error)
Types ¶
type Client ¶
type Client struct { ID string // contains filtered or unexported fields }
func NewClient ¶
func NewClient(id, addr string, sshClientConfig *ssh.ClientConfig, opt ClientOption) (*Client, error)
type ClientOption ¶
func WithStandAloneMakefile ¶
func WithStandAloneMakefile(makeFile, remoteDir string) ClientOption
Click to show internal directories.
Click to hide internal directories.