setup

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 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 added in v0.22.0

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 added in v0.22.0

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 added in v0.22.0

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

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

func SetupContainerPreAttach added in v0.22.0

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 added in v0.14.4

type ContainerSetupConfig struct {
	SetupInfo         *config.Result
	ExtraWorkspaceEnv []string
	ChownProjects     bool
	PlatformOptions   *devpod.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