client

package
v0.0.0-...-dfb17e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2022 License: MIT Imports: 8 Imported by: 0

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)

func (*Client) RemoteMake

func (c *Client) RemoteMake(task string, envVars map[string]string) (<-chan string, <-chan string, error)

type ClientOption

type ClientOption func(*Client) error

func WithStandAloneMakefile

func WithStandAloneMakefile(makeFile, remoteDir string) ClientOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL