Documentation
¶
Index ¶
- func BuildEnv(cfg *config.Config) map[string]string
- func Connect(cfg *config.Config) (*ssh.Client, error)
- func EnsureRemoteDirs(client *ssh.Client, dirs []string) error
- func IsExcluded(rel string, patterns []string) bool
- func NewSFTPClient(client *ssh.Client) (*sftp.Client, error)
- func Pull(sc *sftp.Client, remotePath string, artifacts []string, localDir string, ...) error
- func RemotePathExists(client *ssh.Client, path string) (bool, error)
- func RemoveRemoteFiles(client *ssh.Client, files []string) error
- func RunCommand(client *ssh.Client, workDir, command string, stdout, stderr io.Writer, ...) error
- func Shellescape(s string) string
- type PortForward
- type PushStats
- type ToolStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExcluded ¶
func RunCommand ¶
func Shellescape ¶
Types ¶
type PortForward ¶
type PortForward struct {
// contains filtered or unexported fields
}
func StartPortForward ¶
func StartPortForward(client *ssh.Client, port int) (*PortForward, error)
func (*PortForward) Stop ¶
func (pf *PortForward) Stop()
type ToolStatus ¶
func VerifyTools ¶
func VerifyTools(client *ssh.Client, required, optional []string) ([]ToolStatus, error)
Click to show internal directories.
Click to hide internal directories.