sshtunnel

package
v0.5.7-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommand

func ExecuteCommand(
	ctx context.Context,
	client client2.WorkspaceClient,
	agentInject AgentInjectFunc,
	sshCommand,
	command string,
	proxy,
	setupContainer,
	allowGitCredentials,
	allowDockerCredentials bool,
	mounts []*config2.Mount,
	gitUsername string,
	gitToken string,
	log log.Logger,
) (*config2.Result, error)

ExecuteCommand runs the command in an SSH Tunnel and returns the result.

Types

type AgentInjectFunc

type AgentInjectFunc func(context.Context, string, *os.File, *os.File, io.WriteCloser) error

Jump to

Keyboard shortcuts

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