devcontainer

package
v0.0.0-...-4c964c4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RootUser = "root"

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

type Exec struct {
	ContainerName  string
	DockerClient   *client.Client
	HomeDir        string
	UserIdentifier string
	AccessKey      string
	AccessType     enum.GitspaceAccessType
}

func (*Exec) ExecuteCommand

func (e *Exec) ExecuteCommand(
	ctx context.Context,
	command string,
	root bool,
	detach bool,
	workingDir string,
) ([]byte, error)

func (*Exec) ExecuteCommandInHomeDirectory

func (e *Exec) ExecuteCommandInHomeDirectory(
	ctx context.Context,
	command string,
	root bool,
	detach bool,
) ([]byte, error)

Jump to

Keyboard shortcuts

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