Versions in this module Expand all Collapse all v0 v0.1.0 May 30, 2022 Changes in this version + func Build(dockerClient *client.Client, stream proto.Agent_BuildAndStartDevEnvServer, ...) error + func EnsureDockerContainerRemoved(dockerClient *client.Client) error + func EnsureDockerContainerRunning(dockerClient *client.Client) error + func RunWorkspaceHooks(dockerClient *client.Client, stream proto.Agent_BuildAndStartDevEnvServer, ...) error + func SaveWorkspaceConfigAsFile(workspaceConfigFilePath string, workspaceConfig *WorkspaceConfig) error + type GRPCBuildAndStartDevEnvStreamWriter struct + Stream proto.Agent_BuildAndStartDevEnvServer + func NewGRPCBuildAndStartDevEnvStreamWriter(stream proto.Agent_BuildAndStartDevEnvServer) GRPCBuildAndStartDevEnvStreamWriter + func (g GRPCBuildAndStartDevEnvStreamWriter) Write(p []byte) (int, error) + type PreparedWorkspaceMetadata struct + DevEnvRepoHasDockerfile bool + TmpDevEnvRepoConfigDirPath string + TmpDevEnvRepoDirPath string + TmpDevEnvRepoDockerfilePath string + TmpUserConfigRepoDirPath string + func PrepareWorkspace(userConfigRepoOwner string, userConfigRepoName string, devEnvRepoOwner string, ...) (*PreparedWorkspaceMetadata, error) + type VSCodeWorkspaceConfig struct + Extensions VSCodeWorkspaceConfigExtensions + Folders []VSCodeWorkspaceConfigFolder + Settings map[string]interface{} + func LoadVSCodeWorkspaceConfig(vscodeWorkspaceConfigFilePath string) (*VSCodeWorkspaceConfig, error) + type VSCodeWorkspaceConfigExtensions struct + Recommendations []string + type VSCodeWorkspaceConfigFolder struct + Path string + type WorkspaceConfig struct + Repositories []WorkspaceConfigRepository + func LoadWorkspaceConfig(workspaceConfigFilePath string) (*WorkspaceConfig, error) + func NewWorkspaceConfig() *WorkspaceConfig + type WorkspaceConfigRepository struct + ConfigDirPath string + Hooks []WorkspaceConfigRepositoryHook + IsDevEnvRepo bool + Name string + Owner string + RootDirPath string + type WorkspaceConfigRepositoryHook struct + ScriptFilePath string + ScriptWorkingDirPath string