agent

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package agent provides facilities for extracting, installing, and connecting to agent binaries.

Index

Constants

View Source
const (
	// ModeInstall is the agent command to invoke for installation.
	ModeInstall = "install"
	// ModeEndpoint is the agent command to invoke for running as an endpoint.
	ModeEndpoint = "endpoint"
	// ModeVersion is the agent command to invoke to print version information.
	ModeVersion = "version"
	// ModeLegal is the agent command to invoke to print legal information.
	ModeLegal = "legal"
)

Variables

This section is empty.

Functions

func CopyBundleForTesting

func CopyBundleForTesting() error

CopyBundleForTesting copies the agent bundle from it's build path alongside the current executable. It is useful for copying the agent bundle next to the current test executable.

func DialSSH

func DialSSH(remote *url.URL, prompter, mode string) (net.Conn, error)

func Housekeep

func Housekeep()

Housekeep performs housekeeping of agent binaries.

func Install

func Install() error

Install installs the current binary to the appropriate location for an agent binary with the current Mutagen version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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