remoteagent

package
v0.101.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFailed = errors.New("remote agent failed")

Functions

func TimeSyncCommand

func TimeSyncCommand(t time.Time) string

func WaitForAgent

func WaitForAgent(
	ctx context.Context,
	logger logger.Lightweight,
	ip string,
	sshUser string,
	sshPassword string,
	agentOS string,
	agentArchitecture string,
	config *runconfig.RunConfig,
	synchronizeTime bool,
	hooks []WaitForAgentHook,
	preCreatedWorkingDir string,
) error

Types

type WaitForAgentHook added in v0.77.1

type WaitForAgentHook func(ctx context.Context, sshClient *ssh.Client) error

Jump to

Keyboard shortcuts

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