Versions in this module Expand all Collapse all v0 v0.2.1 Feb 9, 2024 Changes in this version + const CLEAR_UNUSED_CACHE_TIMEOUT + const CREATE_DIR_METHOD + const CREATE_PROJECT_METHOD + const CURRENT_PROJECT_CTX_DATA_PATH + const ConsoleDebugEvent + const DEBUG_CONFIG_DONE_METHOD + const DEBUG_CONTINUE_METHOD + const DEBUG_DISCONNECT_METHOD + const DEBUG_LAUNCH_METHOD + const DEBUG_NEXT_METHOD + const DEBUG_PAUSE_METHOD + const DEBUG_STEP_IN_METHOD + const DEBUG_STEP_OUT_METHOD + const DEFAULT_DEBUG_COMMAND_TIMEOUT + const DEFAULT_LOG_LEVEL + const DEFAULT_MAX_IN_MEM_FS_STORAGE_SIZE + const DEFAULT_MAX_SESSION_COUNT + const DEFAULT_PROJECT_SERVER_PORT + const DELETE_FILE_METHOD + const DELETE_SECRET_METHOD + const DEPLOY_PROD_APP_METHOD + const ENABLE_TEST_DISCOVERY_METHOD + const EXCEPTION_ERROR_FILTER + const FILE_STAT_METHOD + const FS_EVENT_BATCH_NOTIF_INTERVAL + const FS_STRUCTURE_EVENT_NOTIF_METHOD + const FsDir + const FsFile + const FsSymLink + const GET_LEARN_INFO_METHOD + const GET_SCOPES_METHOD + const GET_STACK_TRACE_METHOD + const GET_THREADS_METHOD + const GET_TUTORIAL_SERIES_METHOD + const GET_VARIABLES_METHOD + const INITIALIZE_DEBUG_METHOD + const INOX_FS_SCHEME + const ImportantDebugEvent + const LIST_APPLICATION_STATUSES_METHOD + const LIST_SECRETS_METHOD + const LSP_FS_CTX_DATA_PATH + const LSP_LOG_SRC + const MAX_PREPARATION_DEPTH + const MIN_LAST_CHANGE_AGE_FOR_UNSAVED_DOC_SYNC + const MIN_LAST_FILE_WRITE_AGE_FOR_UNSAVED_DOC_SYNC_REVERSING + const OPEN_PROJECT_METHOD + const POST_DONE_DEBUGGED_PROGRAM_DELAY + const PROJECT_FILE_STATE_CLEANUP_TIMEOUT + const READ_DIR_METHOD + const READ_FILE_METHOD + const REGISTER_APPLICATION_METHOD + const REMOVE_UNUSED_CACHE_ENTRY_TIMEOUT + const RENAME_FILE_METHOD + const SERVER_API_UPDATE_DEBOUNCE_DURATION + const SET_BREAKPOINTS_METHOD + const SET_EXCEPTION_BREAKPOINTS_METHOD + const START_UPLOAD_METHOD + const STOP_PROD_APP_METHOD + const STOP_TEST_RUN_METHOD + const StdoutDebugEvent + const TEST_FILE_METHOD + const TEST_OUTPUT_EVENT_METHOD + const TEST_RUN_FINISHED_METHOD + const UPSERT_SECRET_METHOD + const UnknownFsFile + const VERY_RECENT_ACTIVITY_DELTA + const WRITE_FILE_METHOD + const WRITE_UPLOAD_PART_METHOD + var CACHE_CLEARING_INTERVAL = 100 * time.Millisecond + var DEFAULT_PROJECT_SERVER_PORT_INT = utils.Must(strconv.Atoi(DEFAULT_PROJECT_SERVER_PORT)) + var ErrFileBeingCreatedBySameSession = errors.New("file is being created by the same session") + var ErrFileBeingCreatedOrModifiedByAnotherSession = errors.New("file is being created or edited by another session") + var ErrFileURIExpected = errors.New("a file: URI was expected") + var ErrInoxURIExpected = errors.New("a inox: URI was expected") + var ErrMaxParallelDebugSessionReached = errors.New("the maximum number of parallel debug sessions is already reached") + var ErrSessionAlreadyExists = errors.New("session already exists") + var ErrUnknowSessionId = errors.New("unknown session id") + var False = false + var HOVER_PRETTY_PRINT_CONFIG = &pprint.PrettyPrintConfig + var True = true + func MakeProjectServerCmd(args ProjectServerCmdParams) *exec.Cmd + func NewShowMessage(typ defines.MessageType, text string) jsonrpc.NotificationMessage + func StartLSPServer(ctx *core.Context, serverConfig LSPServerConfiguration) (finalErr error) + type CreateProjectParams struct + AddTutFile bool + Name string + Template string + type DebugConfigurationDoneParams struct + Request dap.ConfigurationDoneRequest + SessionId string + type DebugContinueParams struct + Request dap.ContinueRequest + SessionId string + type DebugDisconnectParams struct + Request dap.DisconnectRequest + SessionId string + type DebugEventCategory string + type DebugInitializeParams struct + Request dap.InitializeRequest + SessionId string + type DebugLaunchArgs struct + LogLevels map[string]any + Program string + type DebugLaunchRequestParams struct + Request dap.LaunchRequest + SessionId string + type DebugNextParams struct + Request dap.ContinueRequest + SessionId string + type DebugPauseParams struct + Request dap.PauseRequest + SessionId string + type DebugScopesParams struct + Request dap.ScopesRequest + SessionId string + type DebugSecondaryEvent struct + Body any + type DebugSession struct + func (s *DebugSession) NextSeq() int + type DebugSessions struct + func (sessions *DebugSessions) AddSession(s *DebugSession) + func (sessions *DebugSessions) GetSession(sessionId string) (*DebugSession, bool) + func (sessions *DebugSessions) RemoveSession(s *DebugSession) + type DebugSetBreakpointsParams struct + Request dap.SetBreakpointsRequest + SessionId string + type DebugSetExceptionBreakpointsParams struct + Request dap.SetExceptionBreakpointsRequest + SessionId string + type DebugStackTraceParams struct + Request dap.StackTraceRequest + SessionId string + type DebugStepInParams struct + Request dap.ContinueRequest + SessionId string + type DebugStepOutParams struct + Request dap.ContinueRequest + SessionId string + type DebugThreadsParams struct + Request dap.ThreadsRequest + SessionId string + type DebugVariablesParams struct + Request dap.VariablesRequest + SessionId string + type DeleteSecretParams struct + Name string + type DeployAppParams struct + AppName string + UpdateRunningApp bool + type DeployAppResponse struct + Error string + type EnableContinuousTestDiscoveryParams struct + type Filesystem struct + func NewDefaultFilesystem() *Filesystem + func NewFilesystem(base afs.Filesystem, unsavedDocumentFs afs.Filesystem) *Filesystem + func (fs *Filesystem) Close(ctx *core.Context) error + func (fs *Filesystem) Events() *memds.TSArrayQueue[fs_ns.Event] + func (fs *Filesystem) GetWatchers() []*fs_ns.VirtualFilesystemWatcher + func (fs *Filesystem) OpenFile(filename string, flag int, perm os.FileMode) (billy.File, error) + func (fs *Filesystem) Watcher(evs *fs_ns.FilesystemEventSource) *fs_ns.VirtualFilesystemWatcher + type FsCreateDirParams struct + DirURI defines.URI + type FsDeleteFileParams struct + FileURI defines.URI + Recursive bool + type FsDirEntries []FsDirEntry + type FsDirEntry struct + FileType FsFileType + ModificationTime int64 + Name string + type FsFileContentBase64 struct + Content string + type FsFileStat struct + CreationTime int64 + FileType FsFileType + ModificationTime int64 + Size int64 + type FsFileStatParams struct + FileURI defines.URI + type FsFileType int + func FileTypeFromInfo(i fs.FileInfo) FsFileType + type FsNonCriticalError string + const FsFileExists + const FsFileIsDir + const FsFileIsNotDir + const FsFileNotFound + const FsNoFilesystem + type FsReadFileParams struct + FileURI defines.URI + type FsReadirParams struct + DirURI defines.URI + type FsRenameFileParams struct + FileURI defines.URI + NewFileURI defines.URI + Overwrite bool + type FsStartUploadParams struct + Create bool + FileURI defines.URI + Last bool + Overwrite bool + PartContentBase64 string + type FsStartUploadResponse struct + Done bool + UploadId uploadId + type FsStructureEvent struct + ChmodOp bool + CreateOp bool + DateTime time.Time + Path string + RemoveOp bool + RenameOp bool + type FsWriteFileParams struct + ContentBase64 string + Create bool + FileURI defines.URI + Overwrite bool + type FsWriteUploadPartParams struct + FileURI defines.URI + Last bool + PartContentBase64 string + UploadId uploadId + type GetLearnInfoParams struct + type GetTutorialSeriesParamss struct + type IndividualServerConfig struct + AllowBrowserAutomation bool + BehindCloudProxy bool + BindToAllInterfaces bool + ExposeWebServers bool + IgnoreInstalledBrowser bool + MaxWebSocketPerIp int + Port int + ProdDir string + ProjectsDir string + type InternalStdio struct + StdioInput io.Reader + StdioOutput io.Writer + type LSPServerConfiguration struct + ExposeWebServers bool + InternalStdio *InternalStdio + MessageReaderWriter jsonrpc.MessageReaderWriter + OnSession jsonrpc.SessionCreationCallbackFn + ProdDir core.Path + ProjectMode bool + ProjectsDir core.Path + ProjectsDirFilesystem afs.Filesystem + UseContextLogger bool + Websocket *WebsocketServerConfiguration + type LearnInfo struct + type ListApplicationStatusesParams struct + type ListApplicationStatusesResponse struct + Statuses map[node.ApplicationName]string + type ListSecretsParams struct + type ListSecretsResponse struct + Secrets []core.ProjectSecretInfo + type OpenProjectParams struct + DevSideConfig project.DevSideProjectConfig + ProjectId core.ProjectID + TempTokens *project.TempProjectTokens + type OpenProjectResponse struct + CanBeDeployedInProd bool + type ProjectServerCmdParams struct + Config IndividualServerConfig + GoCtx context.Context + InoxBinaryPath string + Logger zerolog.Logger + type RegisterApplicationParams struct + ModulePath string + Name string + type RegisterApplicationResponse struct + Error string + type RunFinishedParams struct + type StopAppParams struct + AppName string + type StopAppResponse struct + Error string + type StopTestRunParams struct + TestRunId TestRunId + type TestFileParams struct + Path string + PositiveFilters []TestFilter + func (p TestFileParams) Filters() core.TestFilters + type TestFileResponse struct + TestRunId TestRunId + type TestFilter struct + AbsolutePath string + NodeSpan parse.NodeSpan + Regex string + func (f TestFilter) Filter() core.TestFilter + type TestItem struct + type TestItemKind int8 + const DirTestItem + const ModuleTestItem + const TestCase + const TestSuite + type TestOutputEvent struct + DataBase64 string + type TestRun struct + type TestRunId string + type TestingController struct + func (c *TestingController) DoContinuousDiscovery() + type TutorialSeriesList struct + TutorialSeries []learn.TutorialSeries + type UpsertSecretParams struct + Name string + Value string + type WebsocketServerConfiguration struct + Addr string + BehindCloudProxy bool + Certificate string + CertificatePrivateKey string + MaxWebsocketPerIp int