SYMBOL INDEX (263 symbols across 34 files) FILE: backend/agent-manager.ts class AgentManager (line 14) | class AgentManager { method constructor (line 21) | constructor(socket: DockgeSocket) { method firstConnectTime (line 25) | get firstConnectTime() : Dayjs { method test (line 29) | test(url : string, username : string, password : string) : Promise { method getTimezone (line 477) | async getTimezone() { method getTimezoneOffset (line 526) | getTimezoneOffset() { method checkTimezone (line 536) | checkTimezone(timezone : string) { method initDataDir (line 547) | initDataDir() { method initJWTSecret (line 569) | async initJWTSecret() : Promise { method sendStackList (line 588) | async sendStackList(useCache = false) { method getDockerNetworkList (line 619) | async getDockerNetworkList() : Promise { method stackDirFullPath (line 640) | get stackDirFullPath() { method shutdownFunction (line 649) | async shutdownFunction(signal : string | undefined) { method finalFunction (line 662) | finalFunction() { method disconnectAllSocketClients (line 672) | disconnectAllSocketClients(userID: number | undefined, currentSocketID... method isSSL (line 686) | isSSL() { method getLocalWebSocketURL (line 690) | getLocalWebSocketURL() { FILE: backend/log.ts class Logger (line 60) | class Logger { method constructor (line 81) | constructor() { method log (line 105) | log(module: string, msg: unknown, level: string) { method info (line 164) | info(module: string, msg: unknown) { method warn (line 173) | warn(module: string, msg: unknown) { method error (line 182) | error(module: string, msg: unknown) { method debug (line 191) | debug(module: string, msg: unknown) { method exception (line 201) | exception(module: string, exception: unknown, msg: unknown) { FILE: backend/migrations/2023-10-20-0829-setting-table.ts function up (line 3) | async function up(knex: Knex): Promise { function down (line 12) | async function down(knex: Knex): Promise { FILE: backend/migrations/2023-10-20-0829-user-table.ts function up (line 3) | async function up(knex: Knex): Promise { function down (line 17) | async function down(knex: Knex): Promise { FILE: backend/migrations/2023-12-20-2117-agent-table.ts function up (line 3) | async function up(knex: Knex): Promise { function down (line 14) | async function down(knex: Knex): Promise { FILE: backend/models/agent.ts class Agent (line 5) | class Agent extends BeanModel { method getAgentList (line 7) | static async getAgentList() : Promise> { method endpoint (line 16) | get endpoint() : string { method toJSON (line 21) | toJSON() : LooseObject { FILE: backend/models/user.ts class User (line 6) | class User extends BeanModel { method resetPassword (line 14) | static async resetPassword(userID : number, newPassword : string) { method resetPassword (line 26) | async resetPassword(newPassword : string) { method createJWT (line 37) | static createJWT(user : User, jwtSecret : string) { FILE: backend/password-hash.ts function generatePasswordHash (line 10) | function generatePasswordHash(password : string) { function verifyPassword (line 20) | function verifyPassword(password : string, hash : string) { function needRehashPassword (line 29) | function needRehashPassword(hash : string) : boolean { constant SHAKE256_LENGTH (line 33) | const SHAKE256_LENGTH = 16; function shake256 (line 40) | function shake256(data : string, len : number) { FILE: backend/rate-limiter.ts type KumaRateLimiterOpts (line 6) | interface KumaRateLimiterOpts extends RateLimiterOpts { type KumaRateLimiterCallback (line 10) | type KumaRateLimiterCallback = (err : object) => void; class KumaRateLimiter (line 12) | class KumaRateLimiter { method constructor (line 20) | constructor(config : KumaRateLimiterOpts) { method pass (line 37) | async pass(callback : KumaRateLimiterCallback, num = 1) { method removeTokens (line 57) | async removeTokens(num = 1) { FILE: backend/routers/main-router.ts class MainRouter (line 5) | class MainRouter extends Router { method create (line 6) | create(app: Express, server: DockgeServer): ExpressRouter { FILE: backend/settings.ts class Settings (line 5) | class Settings { method get (line 31) | static async get(key : string) { method set (line 80) | static async set(key : string, value : object | string | number | bool... method getSettings (line 101) | static async getSettings(type : string) { method setSettings (line 125) | static async setSettings(type : string, data : LooseObject) { method deleteCache (line 157) | static deleteCache(keyList : string[]) { method stopCacheCleaner (line 167) | static stopCacheCleaner() { FILE: backend/socket-handlers/agent-proxy-socket-handler.ts class AgentProxySocketHandler (line 8) | class AgentProxySocketHandler extends SocketHandler { method create2 (line 10) | create2(socket : DockgeSocket, server : DockgeServer, agentSocket : Ag... method create (line 44) | create(socket : DockgeSocket, server : DockgeServer) { FILE: backend/socket-handlers/main-socket-handler.ts class MainSocketHandler (line 24) | class MainSocketHandler extends SocketHandler { method create (line 25) | create(socket : DockgeSocket, server : DockgeServer) { method login (line 348) | async login(username : string, password : string) : Promise { method toSimpleJSON (line 81) | toSimpleJSON(endpoint : string) : object { method ps (line 95) | async ps() : Promise { method isManagedByDockge (line 106) | get isManagedByDockge() : boolean { method status (line 110) | get status() : number { method validate (line 114) | validate() { method composeYAML (line 133) | get composeYAML() : string { method composeENV (line 144) | get composeENV() : string { method path (line 155) | get path() : string { method fullPath (line 159) | get fullPath() : string { method save (line 178) | async save(isAdd : boolean) { method deploy (line 209) | async deploy(socket : DockgeSocket) : Promise { method delete (line 218) | async delete(socket: DockgeSocket) : Promise { method updateStatus (line 234) | async updateStatus() { method composeFileExists (line 253) | static async composeFileExists(stacksDir : string, filename : string) ... method getStackList (line 265) | static async getStackList(server : DockgeServer, useCacheForManaged = ... method getStatusList (line 338) | static async getStatusList() : Promise> { method statusConvert (line 363) | static statusConvert(status : string) : number { method getStack (line 377) | static async getStack(server: DockgeServer, stackName: string, skipFSO... method getComposeOptions (line 410) | getComposeOptions(command : string, ...extraOptions : string[]) { method start (line 423) | async start(socket: DockgeSocket) { method stop (line 432) | async stop(socket: DockgeSocket) : Promise { method restart (line 441) | async restart(socket: DockgeSocket) : Promise { method down (line 450) | async down(socket: DockgeSocket) : Promise { method update (line 459) | async update(socket: DockgeSocket) { method joinCombinedTerminal (line 480) | async joinCombinedTerminal(socket: DockgeSocket) { method leaveCombinedTerminal (line 490) | async leaveCombinedTerminal(socket: DockgeSocket) { method joinContainerTerminal (line 498) | async joinContainerTerminal(socket: DockgeSocket, serviceName: string,... method getServiceStatusList (line 512) | async getServiceStatusList() { FILE: backend/terminal.ts class Terminal (line 17) | class Terminal { method constructor (line 39) | constructor(server : DockgeServer, name : string, file : string, args ... method rows (line 50) | get rows() { method rows (line 54) | set rows(rows : number) { method cols (line 65) | get cols() { method cols (line 69) | set cols(cols : number) { method start (line 81) | public start() { method onExit (line 171) | public onExit(callback : (exitCode : number) => void) { method join (line 175) | public join(socket : DockgeSocket) { method leave (line 179) | public leave(socket : DockgeSocket) { method ptyProcess (line 183) | public get ptyProcess() { method name (line 187) | public get name() { method getBuffer (line 194) | getBuffer() : string { method close (line 201) | close() { method getTerminal (line 211) | public static getTerminal(name : string) : Terminal | undefined { method getOrCreateTerminal (line 215) | public static getOrCreateTerminal(server : DockgeServer, name : string... method exec (line 224) | public static exec(server : DockgeServer, socket : DockgeSocket | unde... method getTerminalCount (line 246) | public static getTerminalCount() { class InteractiveTerminal (line 255) | class InteractiveTerminal extends Terminal { method write (line 256) | public write(input : string) { method resetCWD (line 260) | resetCWD() { class MainTerminal (line 269) | class MainTerminal extends InteractiveTerminal { method constructor (line 270) | constructor(server : DockgeServer, name : string) { method write (line 290) | public write(input : string) { FILE: backend/util-server.ts type JWTDecoded (line 11) | interface JWTDecoded { type DockgeSocket (line 16) | interface DockgeSocket extends Socket { type Arguments (line 25) | interface Arguments { type Config (line 37) | interface Config extends Arguments { function checkLogin (line 42) | function checkLogin(socket : DockgeSocket) { class ValidationError (line 48) | class ValidationError extends Error { method constructor (line 49) | constructor(message : string) { function callbackError (line 54) | function callbackError(error : unknown, callback : unknown) { function callbackResult (line 78) | function callbackResult(result : unknown, callback : unknown) { function doubleCheckPassword (line 86) | async function doubleCheckPassword(socket : DockgeSocket, currentPasswor... function fileExists (line 102) | function fileExists(file : string) { FILE: backend/utils/limit-queue.ts class LimitQueue (line 5) | class LimitQueue extends Array { method constructor (line 9) | constructor(limit: number) { method pushItem (line 14) | pushItem(value : T) { FILE: common/agent-socket.ts class AgentSocket (line 1) | class AgentSocket { method on (line 5) | on(event : string, callback : (...args : unknown[]) => void) { method call (line 9) | call(eventName : string, ...args : unknown[]) { FILE: common/util-common.ts type LooseObject (line 19) | interface LooseObject { type BaseRes (line 24) | interface BaseRes { function initRandomBytes (line 32) | async function initRandomBytes() { constant ALL_ENDPOINTS (line 46) | const ALL_ENDPOINTS = "##ALL_DOCKGE_ENDPOINTS##"; constant UNKNOWN (line 49) | const UNKNOWN = 0; constant CREATED_FILE (line 50) | const CREATED_FILE = 1; constant CREATED_STACK (line 51) | const CREATED_STACK = 2; constant RUNNING (line 52) | const RUNNING = 3; constant EXITED (line 53) | const EXITED = 4; function statusName (line 55) | function statusName(status : number) : string { function statusNameShort (line 70) | function statusNameShort(status : number) : string { function statusColor (line 85) | function statusColor(status : number) : string { constant TERMINAL_COLS (line 101) | const TERMINAL_COLS = 105; constant TERMINAL_ROWS (line 102) | const TERMINAL_ROWS = 10; constant PROGRESS_TERMINAL_ROWS (line 103) | const PROGRESS_TERMINAL_ROWS = 8; constant COMBINED_TERMINAL_COLS (line 105) | const COMBINED_TERMINAL_COLS = 58; constant COMBINED_TERMINAL_ROWS (line 106) | const COMBINED_TERMINAL_ROWS = 20; constant ERROR_TYPE_VALIDATION (line 108) | const ERROR_TYPE_VALIDATION = 1; function intHash (line 122) | function intHash(str : string, length = 10) : number { function sleep (line 136) | function sleep(ms: number) { function genSecret (line 145) | function genSecret(length = 64) { function getCryptoRandomInt (line 162) | function getCryptoRandomInt(min: number, max: number):number { function getComposeTerminalName (line 200) | function getComposeTerminalName(endpoint : string, stack : string) { function getCombinedTerminalName (line 204) | function getCombinedTerminalName(endpoint : string, stack : string) { function getContainerTerminalName (line 208) | function getContainerTerminalName(endpoint : string, container : string) { function getContainerExecTerminalName (line 212) | function getContainerExecTerminalName(endpoint : string, stackName : str... function copyYAMLComments (line 216) | function copyYAMLComments(doc : Document, src : Document) { function copyYAMLCommentsItems (line 231) | function copyYAMLCommentsItems(items: any, srcItems: any) { function parseDockerPort (line 307) | function parseDockerPort(input : string, hostname : string) { function envsubst (line 382) | function envsubst(string : string, variables : LooseObject) : string { function envsubstYAML (line 393) | function envsubstYAML(content : string, env : DotenvParseOutput) : string { function traverseYAML (line 409) | function traverseYAML(pair : Pair, env : DotenvParseOutput) : void { FILE: extra/healthcheck.go function main (line 17) | func main() { FILE: extra/reset-password.ts function question (line 79) | function question(question : string) : Promise { function disconnectAllSocketClients (line 87) | function disconnectAllSocketClients(username : string, password : string... FILE: extra/update-version.ts function commit (line 30) | function commit(version) { function tag (line 46) | function tag(version) { function tagExists (line 56) | function tagExists(version) { FILE: frontend/components.d.ts type GlobalComponents (line 9) | interface GlobalComponents { FILE: frontend/src/main.ts function rootApp (line 43) | function rootApp() { FILE: frontend/src/mixins/lang.ts method data (line 7) | data() { method language (line 14) | async language(lang) { method created (line 19) | async created() { method changeLang (line 31) | async changeLang(lang : string) { FILE: frontend/src/mixins/socket.ts method data (line 13) | data() { method agentCount (line 52) | agentCount() { method completeStackList (line 56) | completeStackList() { method usernameFirstChar (line 72) | usernameFirstChar() { method frontendVersion (line 86) | frontendVersion() { method isFrontendBackendVersionMatched (line 95) | isFrontendBackendVersionMatched() { method "socketIO.connected" (line 105) | "socketIO.connected"() { method remember (line 113) | remember() { method "info.version" (line 118) | "info.version"(to, from) { method created (line 124) | created() { method mounted (line 127) | mounted() { method endpointDisplayFunction (line 133) | endpointDisplayFunction(endpoint : string) { method initSocketIO (line 146) | initSocketIO(bypass = false) { method storage (line 296) | storage() : Storage { method getSocket (line 300) | getSocket() : Socket { method emitAgent (line 304) | emitAgent(endpoint : string, eventName : string, ...args : unknown[]) { method getJWTPayload (line 312) | getJWTPayload() { method login (line 329) | login(username : string, password : string, token : string, callback) { method loginByToken (line 360) | loginByToken(token : string) { method logout (line 378) | logout() { method clearData (line 390) | clearData() { method afterLogin (line 394) | afterLogin() { method bindTerminal (line 398) | bindTerminal(endpoint : string, terminalName : string, terminal : Termin... method unbindTerminal (line 410) | unbindTerminal(terminalName : string) { FILE: frontend/src/mixins/theme.ts method data (line 4) | data() { method theme (line 15) | theme() { method isDark (line 22) | isDark() { method "$route.fullPath" (line 28) | "$route.fullPath"(path) { method userTheme (line 32) | userTheme(to, from) { method styleElapsedTime (line 36) | styleElapsedTime(to, from) { method theme (line 40) | theme(to, from) { method userHeartbeatBar (line 46) | userHeartbeatBar(to, from) { method heartbeatBarTheme (line 50) | heartbeatBarTheme(to, from) { method mounted (line 56) | mounted() { method updateThemeColorMeta (line 71) | updateThemeColorMeta() { FILE: frontend/src/util-frontend.ts function getTimezoneOffset (line 13) | function getTimezoneOffset(timeZone : string) { function timezoneList (line 30) | function timezoneList() { function setPageLocale (line 66) | function setPageLocale() { function getResBaseURL (line 77) | function getResBaseURL() { function isDevContainer (line 92) | function isDevContainer() { function getDevContainerServerHostname (line 101) | function getDevContainerServerHostname() { function hostNameRegexPattern (line 116) | function hostNameRegexPattern(mqtt = false) { function loadToastSettings (line 131) | function loadToastSettings() { function getToastSuccessTimeout (line 151) | function getToastSuccessTimeout() { function getToastErrorTimeout (line 172) | function getToastErrorTimeout() {