Help us shape the future of Go! Take the 2026 Go Developer Survey

setup

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MPL-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunPostAttachHooks

func RunPostAttachHooks(ctx context.Context, setupInfo *config.Result, log log.Logger) error

RunPostAttachHooks runs postAttachCommand only. These run after the IDE has been opened and can be long-running.

func RunPreAttachHooks

func RunPreAttachHooks(ctx context.Context, setupInfo *config.Result, log log.Logger) error

RunPreAttachHooks runs lifecycle hooks up to and including postStartCommand. These must complete before the IDE can be opened.

func SetupContainerPostAttach

func SetupContainerPostAttach(ctx context.Context, cfg *ContainerSetupConfig) error

SetupContainerPostAttach runs postAttachCommand only. Called after the IDE has been opened.

func SetupContainerPreAttach

func SetupContainerPreAttach(ctx context.Context, cfg *ContainerSetupConfig) error

SetupContainerPreAttach runs container setup up to and including postStartCommand. After this returns, the workspace is ready for IDE access.

Types

type ContainerSetupConfig

type ContainerSetupConfig struct {
	SetupInfo         *config.Result
	ExtraWorkspaceEnv []string
	ChownProjects     bool
	PlatformOptions   *devsy.PlatformOptions
	TunnelClient      tunnel.TunnelClient
	Log               log.Logger
}

Jump to

Keyboard shortcuts

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