agent

package
v0.0.0-...-300c85a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	ModeInstall  = "install"
	ModeEndpoint = "endpoint"
	ModeVersion  = "version"
	ModeLegal    = "legal"
)
View Source
const (
	BundleName = "doppelganger-agents.tar.gz"
)

Variables

This section is empty.

Functions

func CopyBundleForTesting

func CopyBundleForTesting() error

func Dial

func Dial(
	transport Transport,
	prompter,
	root,
	session string,
	version session.Version,
	configuration *session.Configuration,
	alpha bool,
) (session.Endpoint, error)

func Housekeep

func Housekeep()

func Install

func Install() error

Types

type Transport

type Transport interface {
	Copy(localPath, remoteName string) error

	Command(command string) gosh.Command
}

Jump to

Keyboard shortcuts

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