Documentation
¶
Index ¶
- func RunPostAttachHooks(ctx context.Context, setupInfo *config.Result, log log.Logger) error
- func RunPreAttachHooks(ctx context.Context, setupInfo *config.Result, log log.Logger) error
- func SetupContainerPostAttach(ctx context.Context, cfg *ContainerSetupConfig) error
- func SetupContainerPreAttach(ctx context.Context, cfg *ContainerSetupConfig) error
- type ContainerSetupConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunPostAttachHooks ¶ added in v0.22.0
RunPostAttachHooks runs postAttachCommand only. These run after the IDE has been opened and can be long-running.
func RunPreAttachHooks ¶ added in v0.22.0
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
}
Click to show internal directories.
Click to hide internal directories.