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 ¶
RunPostAttachHooks runs postAttachCommand only. These run after the IDE has been opened and can be long-running.
func RunPreAttachHooks ¶
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
}
Click to show internal directories.
Click to hide internal directories.