SYMBOL INDEX (5898 symbols across 580 files) FILE: backend/main.go function main (line 7) | func main() { FILE: core/apps/api_v2.go function init (line 18) | func init() { type ApiV2 (line 27) | type ApiV2 struct method Init (line 38) | func (app *ApiV2) Init() { method Start (line 46) | func (app *ApiV2) Start() { method Wait (line 76) | func (app *ApiV2) Wait() { method Stop (line 80) | func (app *ApiV2) Stop() { method GetGinEngine (line 89) | func (app *ApiV2) GetGinEngine() *gin.Engine { method GetHttpServer (line 93) | func (app *ApiV2) GetHttpServer() *http.Server { method Ready (line 97) | func (app *ApiV2) Ready() (ok bool) { method initModuleWithApp (line 101) | func (app *ApiV2) initModuleWithApp(name string, fn func(app *gin.Engi... function NewApiV2 (line 107) | func NewApiV2() *ApiV2 { function GetApiV2 (line 117) | func GetApiV2() *ApiV2 { FILE: core/apps/docker.go type Docker (line 18) | type Docker struct method Init (line 31) | func (app *Docker) Init() { method Start (line 50) | func (app *Docker) Start() { method Wait (line 57) | func (app *Docker) Wait() { method Stop (line 61) | func (app *Docker) Stop() { method GetParent (line 64) | func (app *Docker) GetParent() (parent ServerApp) { method SetParent (line 68) | func (app *Docker) SetParent(parent ServerApp) { method Ready (line 72) | func (app *Docker) Ready() (ok bool) { method replacePaths (line 77) | func (app *Docker) replacePaths() (err error) { method _replacePath (line 116) | func (app *Docker) _replacePath(text, path, baseUrl string) (res strin... method startNginx (line 121) | func (app *Docker) startNginx() { method startSeaweedFs (line 134) | func (app *Docker) startSeaweedFs() { method importDemo (line 170) | func (app *Docker) importDemo() { function NewDocker (line 180) | func NewDocker(svr ServerApp) *Docker { function GetDocker (line 193) | func GetDocker(svr ServerApp) *Docker { FILE: core/apps/interfaces.go type App (line 9) | type App interface type ApiApp (line 16) | type ApiApp interface type NodeApp (line 23) | type NodeApp interface type ServerApp (line 28) | type ServerApp interface type DockerApp (line 34) | type DockerApp interface FILE: core/apps/server_v2.go type ServerV2 (line 15) | type ServerV2 struct method Init (line 31) | func (app *ServerV2) Init() { method Start (line 39) | func (app *ServerV2) Start() { method Wait (line 54) | func (app *ServerV2) Wait() { method Stop (line 58) | func (app *ServerV2) Stop() { method GetApi (line 63) | func (app *ServerV2) GetApi() ApiApp { method GetNodeService (line 67) | func (app *ServerV2) GetNodeService() interfaces.NodeService { method logNodeInfo (line 71) | func (app *ServerV2) logNodeInfo() { method initPprof (line 78) | func (app *ServerV2) initPprof() { function NewServerV2 (line 86) | func NewServerV2() (app NodeApp) { function GetServerV2 (line 120) | func GetServerV2() NodeApp { FILE: core/apps/utils.go function Start (line 10) | func Start(app App) { function start (line 14) | func start(app App) { function DefaultWait (line 21) | func DefaultWait() { function initModule (line 25) | func initModule(name string, fn func() error) (err error) { FILE: core/cmd/root.go function Execute (line 22) | func Execute() error { function init (line 26) | func init() { FILE: core/cmd/server.go function init (line 8) | func init() { FILE: core/cmd/server_test.go function TestCmdServer (line 9) | func TestCmdServer(t *testing.T) { FILE: core/color/service.go function NewService (line 16) | func NewService() (svc interfaces.ColorService, err error) { type Service (line 34) | type Service struct method Inject (line 39) | func (svc *Service) Inject() (err error) { method GetByName (line 43) | func (svc *Service) GetByName(name string) (res interfaces.Color, err ... method GetRandom (line 51) | func (svc *Service) GetRandom() (res interfaces.Color, err error) { method getRandomColorHex (line 64) | func (svc *Service) getRandomColorHex() (res string, err error) { method getRandomHexChar (line 76) | func (svc *Service) getRandomHexChar() (res string, err error) { FILE: core/config/base.go constant configDirName (line 11) | configDirName = ".crawlab" constant configName (line 13) | configName = "config.json" function GetConfigPath (line 15) | func GetConfigPath() string { FILE: core/config/config.go function init (line 11) | func init() { type Config (line 28) | type Config struct method WatchConfig (line 36) | func (c *Config) WatchConfig() { method Init (line 43) | func (c *Config) Init() (err error) { method initLogLevel (line 75) | func (c *Config) initLogLevel() { type InitConfigOptions (line 32) | type InitConfigOptions struct FILE: core/config/config_test.go function TestInitConfig (line 8) | func TestInitConfig(t *testing.T) { FILE: core/config/path.go type PathService (line 7) | type PathService struct method GetConfigPath (line 11) | func (svc *PathService) GetConfigPath() (path string) { method SetConfigPath (line 15) | func (svc *PathService) SetConfigPath(path string) { function NewConfigPathService (line 19) | func NewConfigPathService() (svc interfaces.WithConfigPath) { FILE: core/constants/action.go constant ActionTypeVisit (line 4) | ActionTypeVisit = "visit" constant ActionTypeInstallDep (line 5) | ActionTypeInstallDep = "install_dep" constant ActionTypeInstallLang (line 6) | ActionTypeInstallLang = "install_lang" constant ActionTypeViewDisclaimer (line 7) | ActionTypeViewDisclaimer = "view_disclaimer" FILE: core/constants/anchor.go constant AnchorStartStage (line 4) | AnchorStartStage = "START_STAGE" constant AnchorStartUrl (line 5) | AnchorStartUrl = "START_URL" constant AnchorItems (line 6) | AnchorItems = "ITEMS" constant AnchorParsers (line 7) | AnchorParsers = "PARSERS" FILE: core/constants/auth.go constant OwnerTypeAll (line 4) | OwnerTypeAll = "all" constant OwnerTypeMe (line 5) | OwnerTypeMe = "me" constant OwnerTypePublic (line 6) | OwnerTypePublic = "public" FILE: core/constants/cache.go constant CacheColName (line 4) | CacheColName = "cache" constant CacheColKey (line 5) | CacheColKey = "k" constant CacheColValue (line 6) | CacheColValue = "v" constant CacheColTime (line 7) | CacheColTime = "t" FILE: core/constants/channels.go constant ChannelAllNode (line 4) | ChannelAllNode = "nodes:public" constant ChannelWorkerNode (line 6) | ChannelWorkerNode = "nodes:" constant ChannelMasterNode (line 8) | ChannelMasterNode = "nodes:master" FILE: core/constants/common.go constant ASCENDING (line 4) | ASCENDING = "asc" constant DESCENDING (line 5) | DESCENDING = "dsc" FILE: core/constants/config_spider.go constant EngineScrapy (line 4) | EngineScrapy = "scrapy" constant EngineColly (line 5) | EngineColly = "colly" FILE: core/constants/data_collection.go constant DataCollectionKey (line 4) | DataCollectionKey = "_col" FILE: core/constants/data_field.go constant DataFieldTypeGeneral (line 4) | DataFieldTypeGeneral = "general" constant DataFieldTypeNumeric (line 5) | DataFieldTypeNumeric = "numeric" constant DataFieldTypeDate (line 6) | DataFieldTypeDate = "date" constant DataFieldTypeCurrency (line 7) | DataFieldTypeCurrency = "currency" constant DataFieldTypeUrl (line 8) | DataFieldTypeUrl = "url" constant DataFieldTypeImage (line 9) | DataFieldTypeImage = "image" constant DataFieldTypeAudio (line 10) | DataFieldTypeAudio = "audio" constant DataFieldTypeVideo (line 11) | DataFieldTypeVideo = "video" FILE: core/constants/database.go constant ColJob (line 4) | ColJob = "jobs" FILE: core/constants/ds.go constant DataSourceTypeMongo (line 4) | DataSourceTypeMongo = "mongo" constant DataSourceTypeMysql (line 5) | DataSourceTypeMysql = "mysql" constant DataSourceTypePostgresql (line 6) | DataSourceTypePostgresql = "postgresql" constant DataSourceTypeMssql (line 7) | DataSourceTypeMssql = "mssql" constant DataSourceTypeSqlite (line 8) | DataSourceTypeSqlite = "sqlite" constant DataSourceTypeCockroachdb (line 9) | DataSourceTypeCockroachdb = "cockroachdb" constant DataSourceTypeElasticSearch (line 10) | DataSourceTypeElasticSearch = "elasticsearch" constant DataSourceTypeKafka (line 11) | DataSourceTypeKafka = "kafka" constant DefaultHost (line 15) | DefaultHost = "localhost" constant DefaultMongoPort (line 19) | DefaultMongoPort = 27017 constant DefaultMysqlPort (line 20) | DefaultMysqlPort = 3306 constant DefaultPostgresqlPort (line 21) | DefaultPostgresqlPort = 5432 constant DefaultMssqlPort (line 22) | DefaultMssqlPort = 1433 constant DefaultCockroachdbPort (line 23) | DefaultCockroachdbPort = 26257 constant DefaultElasticsearchPort (line 24) | DefaultElasticsearchPort = 9200 constant DefaultKafkaPort (line 25) | DefaultKafkaPort = 9092 constant DataSourceStatusOnline (line 29) | DataSourceStatusOnline = "on" constant DataSourceStatusOffline (line 30) | DataSourceStatusOffline = "off" FILE: core/constants/encrypt.go constant DefaultEncryptServerKey (line 4) | DefaultEncryptServerKey = "0123456789abcdef" FILE: core/constants/event.go constant GrpcEventServiceTypeRegister (line 4) | GrpcEventServiceTypeRegister = "register" constant GrpcEventServiceTypeSend (line 5) | GrpcEventServiceTypeSend = "send" FILE: core/constants/export.go constant ExportTypeCsv (line 4) | ExportTypeCsv = "csv" constant ExportTypeJson (line 5) | ExportTypeJson = "json" FILE: core/constants/file.go constant EmptyFileData (line 3) | EmptyFileData = " " constant FsKeepFileName (line 5) | FsKeepFileName = ".gitkeep" FILE: core/constants/filer.go constant DefaultFilerAuthKey (line 4) | DefaultFilerAuthKey = "Crawlab2021!" FILE: core/constants/filter.go constant FilterQueryFieldConditions (line 4) | FilterQueryFieldConditions = "conditions" constant FilterQueryFieldAll (line 5) | FilterQueryFieldAll = "all" constant FilterObjectTypeString (line 9) | FilterObjectTypeString = "string" constant FilterObjectTypeNumber (line 10) | FilterObjectTypeNumber = "number" constant FilterObjectTypeBoolean (line 11) | FilterObjectTypeBoolean = "boolean" constant FilterOpNotSet (line 15) | FilterOpNotSet = "ns" constant FilterOpContains (line 16) | FilterOpContains = "c" constant FilterOpNotContains (line 17) | FilterOpNotContains = "nc" constant FilterOpRegex (line 18) | FilterOpRegex = "r" constant FilterOpEqual (line 19) | FilterOpEqual = "eq" constant FilterOpNotEqual (line 20) | FilterOpNotEqual = "ne" constant FilterOpIn (line 21) | FilterOpIn = "in" constant FilterOpNotIn (line 22) | FilterOpNotIn = "nin" constant FilterOpGreaterThan (line 23) | FilterOpGreaterThan = "gt" constant FilterOpLessThan (line 24) | FilterOpLessThan = "lt" constant FilterOpGreaterThanEqual (line 25) | FilterOpGreaterThanEqual = "gte" constant FilterOpLessThanEqual (line 26) | FilterOpLessThanEqual = "lte" constant FilterOpSearch (line 27) | FilterOpSearch = "s" FILE: core/constants/git.go constant GitAuthTypeHttp (line 4) | GitAuthTypeHttp = "http" constant GitAuthTypeSsh (line 5) | GitAuthTypeSsh = "ssh" constant GitRemoteNameUpstream (line 9) | GitRemoteNameUpstream = "upstream" constant GitRemoteNameOrigin (line 10) | GitRemoteNameOrigin = "origin" constant GitBranchMaster (line 14) | GitBranchMaster = "master" constant GitBranchMain (line 15) | GitBranchMain = "main" FILE: core/constants/grpc.go constant DefaultGrpcServerHost (line 4) | DefaultGrpcServerHost = "" constant DefaultGrpcServerPort (line 5) | DefaultGrpcServerPort = "9666" constant DefaultGrpcClientRemoteHost (line 6) | DefaultGrpcClientRemoteHost = "localhost" constant DefaultGrpcClientRemotePort (line 7) | DefaultGrpcClientRemotePort = DefaultGrpcServerPort constant DefaultGrpcAuthKey (line 8) | DefaultGrpcAuthKey = "Crawlab2021!" constant GrpcHeaderAuthorization (line 12) | GrpcHeaderAuthorization = "authorization" constant GrpcSubscribeTypeNode (line 16) | GrpcSubscribeTypeNode = "node" FILE: core/constants/http.go constant HttpResponseStatusOk (line 4) | HttpResponseStatusOk = "ok" constant HttpResponseMessageSuccess (line 5) | HttpResponseMessageSuccess = "success" constant HttpResponseMessageError (line 6) | HttpResponseMessageError = "error" constant HttpContentTypeApplicationJson (line 10) | HttpContentTypeApplicationJson = "application/json" FILE: core/constants/log.go constant ErrorRegexPattern (line 4) | ErrorRegexPattern = "(?:[ :,.]|^)((?:error|exception|traceback)s?)(?:[ :... FILE: core/constants/message.go constant MsgTypeGetLog (line 4) | MsgTypeGetLog = "get-log" constant MsgTypeGetSystemInfo (line 5) | MsgTypeGetSystemInfo = "get-sys-info" constant MsgTypeCancelTask (line 6) | MsgTypeCancelTask = "cancel-task" constant MsgTypeRemoveLog (line 7) | MsgTypeRemoveLog = "remove-log" constant MsgTypeRemoveSpider (line 8) | MsgTypeRemoveSpider = "remove-spider" FILE: core/constants/node.go constant NodeStatusUnregistered (line 4) | NodeStatusUnregistered = "u" constant NodeStatusRegistered (line 5) | NodeStatusRegistered = "r" constant NodeStatusOnline (line 6) | NodeStatusOnline = "on" constant NodeStatusOffline (line 7) | NodeStatusOffline = "off" FILE: core/constants/notification.go constant NotificationTriggerPatternTask (line 4) | NotificationTriggerPatternTask = "^task" constant NotificationTriggerPatternNode (line 5) | NotificationTriggerPatternNode = "^node" constant NotificationTriggerTaskFinish (line 9) | NotificationTriggerTaskFinish = "task_finish" constant NotificationTriggerTaskError (line 10) | NotificationTriggerTaskError = "task_error" constant NotificationTriggerTaskEmptyResults (line 11) | NotificationTriggerTaskEmptyResults = "task_empty_results" constant NotificationTriggerNodeStatusChange (line 12) | NotificationTriggerNodeStatusChange = "node_status_change" constant NotificationTriggerNodeOnline (line 13) | NotificationTriggerNodeOnline = "node_online" constant NotificationTriggerNodeOffline (line 14) | NotificationTriggerNodeOffline = "node_offline" constant NotificationTriggerAlert (line 15) | NotificationTriggerAlert = "alert" constant NotificationTemplateModeRichText (line 19) | NotificationTemplateModeRichText = "rich-text" constant NotificationTemplateModeMarkdown (line 20) | NotificationTemplateModeMarkdown = "markdown" FILE: core/constants/register.go constant RegisterTypeMac (line 4) | RegisterTypeMac = "mac" constant RegisterTypeIp (line 5) | RegisterTypeIp = "ip" constant RegisterTypeHostname (line 6) | RegisterTypeHostname = "hostname" constant RegisterTypeCustomName (line 7) | RegisterTypeCustomName = "customName" FILE: core/constants/results.go constant HashKey (line 4) | HashKey = "_h" constant DedupTypeIgnore (line 8) | DedupTypeIgnore = "ignore" constant DedupTypeOverwrite (line 9) | DedupTypeOverwrite = "overwrite" FILE: core/constants/rpc.go constant RpcInstallLang (line 4) | RpcInstallLang = "install_lang" constant RpcInstallDep (line 5) | RpcInstallDep = "install_dep" constant RpcUninstallDep (line 6) | RpcUninstallDep = "uninstall_dep" constant RpcGetInstalledDepList (line 7) | RpcGetInstalledDepList = "get_installed_dep_list" constant RpcGetLang (line 8) | RpcGetLang = "get_lang" constant RpcCancelTask (line 9) | RpcCancelTask = "cancel_task" constant RpcGetSystemInfoService (line 10) | RpcGetSystemInfoService = "get_system_info" constant RpcRemoveSpider (line 11) | RpcRemoveSpider = "remove_spider" FILE: core/constants/schedule.go constant ScheduleStatusStop (line 4) | ScheduleStatusStop = "stopped" constant ScheduleStatusRunning (line 5) | ScheduleStatusRunning = "running" constant ScheduleStatusError (line 6) | ScheduleStatusError = "error" constant ScheduleStatusErrorNotFoundNode (line 8) | ScheduleStatusErrorNotFoundNode = "Not Found Node" constant ScheduleStatusErrorNotFoundSpider (line 9) | ScheduleStatusErrorNotFoundSpider = "Not Found Spider" FILE: core/constants/scrapy.go constant ScrapyProtectedStageNames (line 3) | ScrapyProtectedStageNames = "" constant ScrapyProtectedFieldNames (line 5) | ScrapyProtectedFieldNames = "_id,task_id,ts" FILE: core/constants/signal.go constant SignalQuit (line 4) | SignalQuit = iota FILE: core/constants/sort.go constant SortQueryField (line 4) | SortQueryField = "sort" FILE: core/constants/system.go constant Windows (line 4) | Windows = "windows" constant Linux (line 5) | Linux = "linux" constant Darwin (line 6) | Darwin = "darwin" constant Python (line 10) | Python = "python" constant Nodejs (line 11) | Nodejs = "node" constant Java (line 12) | Java = "java" constant InstallStatusNotInstalled (line 16) | InstallStatusNotInstalled = "not-installed" constant InstallStatusInstalling (line 17) | InstallStatusInstalling = "installing" constant InstallStatusInstallingOther (line 18) | InstallStatusInstallingOther = "installing-other" constant InstallStatusInstalled (line 19) | InstallStatusInstalled = "installed" constant LangTypeLang (line 23) | LangTypeLang = "lang" constant LangTypeWebDriver (line 24) | LangTypeWebDriver = "webdriver" FILE: core/constants/task.go constant TaskStatusPending (line 4) | TaskStatusPending = "pending" constant TaskStatusRunning (line 5) | TaskStatusRunning = "running" constant TaskStatusFinished (line 6) | TaskStatusFinished = "finished" constant TaskStatusError (line 7) | TaskStatusError = "error" constant TaskStatusCancelled (line 8) | TaskStatusCancelled = "cancelled" constant TaskStatusAbnormal (line 9) | TaskStatusAbnormal = "abnormal" constant RunTypeAllNodes (line 13) | RunTypeAllNodes = "all-nodes" constant RunTypeRandom (line 14) | RunTypeRandom = "random" constant RunTypeSelectedNodes (line 15) | RunTypeSelectedNodes = "selected-nodes" constant TaskTypeSpider (line 19) | TaskTypeSpider = "spider" constant TaskTypeSystem (line 20) | TaskTypeSystem = "system" type TaskSignal (line 23) | type TaskSignal constant TaskSignalFinish (line 26) | TaskSignalFinish TaskSignal = iota constant TaskSignalCancel (line 27) | TaskSignalCancel constant TaskSignalError (line 28) | TaskSignalError constant TaskSignalLost (line 29) | TaskSignalLost constant TaskListQueuePrefixPublic (line 33) | TaskListQueuePrefixPublic = "tasks:public" constant TaskListQueuePrefixNodes (line 34) | TaskListQueuePrefixNodes = "tasks:nodes" constant TaskKey (line 38) | TaskKey = "_tid" FILE: core/constants/user.go constant RoleAdmin (line 4) | RoleAdmin = "admin" constant RoleNormal (line 5) | RoleNormal = "normal" constant DefaultAdminUsername (line 9) | DefaultAdminUsername = "admin" constant DefaultAdminPassword (line 10) | DefaultAdminPassword = "admin" constant UserContextKey (line 14) | UserContextKey = "user" FILE: core/constants/variable.go constant String (line 4) | String = "string" constant Number (line 5) | Number = "number" constant Boolean (line 6) | Boolean = "boolean" constant Array (line 7) | Array = "array" constant Object (line 8) | Object = "object" FILE: core/container/container.go function GetContainer (line 9) | func GetContainer() *dig.Container { FILE: core/controllers/base_file_v2.go function GetBaseFileListDir (line 17) | func GetBaseFileListDir(rootPath string, c *gin.Context) { function GetBaseFileFile (line 37) | func GetBaseFileFile(rootPath string, c *gin.Context) { function GetBaseFileFileInfo (line 55) | func GetBaseFileFileInfo(rootPath string, c *gin.Context) { function PostBaseFileSaveFile (line 73) | func PostBaseFileSaveFile(rootPath string, c *gin.Context) { function PostBaseFileSaveFiles (line 123) | func PostBaseFileSaveFiles(rootPath string, c *gin.Context) { function PostBaseFileSaveDir (line 174) | func PostBaseFileSaveDir(rootPath string, c *gin.Context) { function PostBaseFileRenameFile (line 199) | func PostBaseFileRenameFile(rootPath string, c *gin.Context) { function DeleteBaseFileFile (line 221) | func DeleteBaseFileFile(rootPath string, c *gin.Context) { function PostBaseFileCopyFile (line 251) | func PostBaseFileCopyFile(rootPath string, c *gin.Context) { function PostBaseFileExport (line 275) | func PostBaseFileExport(rootPath string, c *gin.Context) { function GetBaseFileFsSvc (line 294) | func GetBaseFileFsSvc(rootPath string) (svc interfaces.FsServiceV2, err ... function getBaseFileFsSvc (line 298) | func getBaseFileFsSvc(rootPath string) (svc interfaces.FsServiceV2, err ... FILE: core/controllers/base_v2.go type Action (line 14) | type Action struct type BaseControllerV2 (line 20) | type BaseControllerV2 struct method GetById (line 25) | func (ctr *BaseControllerV2[T]) GetById(c *gin.Context) { method GetList (line 41) | func (ctr *BaseControllerV2[T]) GetList(c *gin.Context) { method Post (line 53) | func (ctr *BaseControllerV2[T]) Post(c *gin.Context) { method PutById (line 80) | func (ctr *BaseControllerV2[T]) PutById(c *gin.Context) { method PatchList (line 111) | func (ctr *BaseControllerV2[T]) PatchList(c *gin.Context) { method DeleteById (line 139) | func (ctr *BaseControllerV2[T]) DeleteById(c *gin.Context) { method DeleteList (line 154) | func (ctr *BaseControllerV2[T]) DeleteList(c *gin.Context) { method getAll (line 177) | func (ctr *BaseControllerV2[T]) getAll(c *gin.Context) { method getList (line 198) | func (ctr *BaseControllerV2[T]) getList(c *gin.Context) { function NewControllerV2 (line 230) | func NewControllerV2[T any](actions ...Action) *BaseControllerV2[T] { FILE: core/controllers/base_v2_test.go function init (line 22) | func init() { type TestModel (line 27) | type TestModel function SetupTestDB (line 32) | func SetupTestDB() { function SetupRouter (line 56) | func SetupRouter() *gin.Engine { function CleanupTestDB (line 62) | func CleanupTestDB() { function TestBaseControllerV2_GetById (line 66) | func TestBaseControllerV2_GetById(t *testing.T) { function TestBaseControllerV2_Post (line 99) | func TestBaseControllerV2_Post(t *testing.T) { function TestBaseControllerV2_DeleteById (line 135) | func TestBaseControllerV2_DeleteById(t *testing.T) { FILE: core/controllers/export_v2.go function PostExport (line 12) | func PostExport(c *gin.Context) { function GetExport (line 36) | func GetExport(c *gin.Context) { function GetExportDownload (line 58) | func GetExportDownload(c *gin.Context) { FILE: core/controllers/filter_v2.go function GetFilterColFieldOptions (line 11) | func GetFilterColFieldOptions(c *gin.Context) { FILE: core/controllers/http.go type Response (line 3) | type Response struct type ListResponse (line 10) | type ListResponse struct FILE: core/controllers/login_v2.go function PostLogin (line 10) | func PostLogin(c *gin.Context) { function PostLogout (line 33) | func PostLogout(c *gin.Context) { FILE: core/controllers/project_v2.go function GetProjectList (line 14) | func GetProjectList(c *gin.Context) { FILE: core/controllers/result_v2.go function GetResultList (line 15) | func GetResultList(c *gin.Context) { function getResultListQuery (line 106) | func getResultListQuery(c *gin.Context) (q generic.ListQuery) { FILE: core/controllers/router_v2.go type RouterGroups (line 10) | type RouterGroups struct function NewRouterGroups (line 15) | func NewRouterGroups(app *gin.Engine) (groups *RouterGroups) { function RegisterController (line 22) | func RegisterController[T any](group *gin.RouterGroup, basePath string, ... function RegisterActions (line 39) | func RegisterActions(group *gin.RouterGroup, basePath string, actions []... function registerBuiltinHandler (line 45) | func registerBuiltinHandler(group *gin.RouterGroup, method, path string,... function InitRoutes (line 54) | func InitRoutes(app *gin.Engine) (err error) { FILE: core/controllers/router_v2_test.go function TestRouterGroups (line 11) | func TestRouterGroups(t *testing.T) { function TestRegisterController_Routes (line 28) | func TestRegisterController_Routes(t *testing.T) { function TestInitRoutes_ProjectsRoute (line 60) | func TestInitRoutes_ProjectsRoute(t *testing.T) { function TestMain (line 88) | func TestMain(m *testing.M) { FILE: core/controllers/schedule_v2.go function PostSchedule (line 12) | func PostSchedule(c *gin.Context) { function PutScheduleById (line 47) | func PutScheduleById(c *gin.Context) { function PostScheduleEnable (line 93) | func PostScheduleEnable(c *gin.Context) { function PostScheduleDisable (line 97) | func PostScheduleDisable(c *gin.Context) { function postScheduleEnableDisableFunc (line 101) | func postScheduleEnableDisableFunc(isEnable bool) func(c *gin.Context) { FILE: core/controllers/setting_v2.go function GetSetting (line 12) | func GetSetting(c *gin.Context) { function PostSetting (line 30) | func PostSetting(c *gin.Context) { function PutSetting (line 60) | func PutSetting(c *gin.Context) { FILE: core/controllers/spider_v2.go function GetSpiderById (line 25) | func GetSpiderById(c *gin.Context) { function GetSpiderList (line 77) | func GetSpiderList(c *gin.Context) { function getSpiderListWithStats (line 96) | func getSpiderListWithStats(c *gin.Context) { function PostSpider (line 246) | func PostSpider(c *gin.Context) { function PutSpiderById (line 293) | func PutSpiderById(c *gin.Context) { function DeleteSpiderById (line 329) | func DeleteSpiderById(c *gin.Context) { function DeleteSpiderList (line 430) | func DeleteSpiderList(c *gin.Context) { function GetSpiderListDir (line 547) | func GetSpiderListDir(c *gin.Context) { function GetSpiderFile (line 556) | func GetSpiderFile(c *gin.Context) { function GetSpiderFileInfo (line 565) | func GetSpiderFileInfo(c *gin.Context) { function PostSpiderSaveFile (line 574) | func PostSpiderSaveFile(c *gin.Context) { function PostSpiderSaveFiles (line 583) | func PostSpiderSaveFiles(c *gin.Context) { function PostSpiderSaveDir (line 593) | func PostSpiderSaveDir(c *gin.Context) { function PostSpiderRenameFile (line 602) | func PostSpiderRenameFile(c *gin.Context) { function DeleteSpiderFile (line 611) | func DeleteSpiderFile(c *gin.Context) { function PostSpiderCopyFile (line 620) | func PostSpiderCopyFile(c *gin.Context) { function PostSpiderExport (line 629) | func PostSpiderExport(c *gin.Context) { function PostSpiderRun (line 638) | func PostSpiderRun(c *gin.Context) { function GetSpiderDataSource (line 673) | func GetSpiderDataSource(c *gin.Context) { function PostSpiderDataSource (line 702) | func PostSpiderDataSource(c *gin.Context) { function getSpiderFsSvc (line 746) | func getSpiderFsSvc(s *models2.SpiderV2) (svc interfaces.FsServiceV2, er... function getSpiderFsSvcById (line 753) | func getSpiderFsSvcById(id primitive.ObjectID) (svc interfaces.FsService... function getSpiderRootPath (line 763) | func getSpiderRootPath(c *gin.Context) (rootPath string, err error) { FILE: core/controllers/spider_v2_test.go function TestCreateSpider (line 20) | func TestCreateSpider(t *testing.T) { function TestGetSpiderById (line 51) | func TestGetSpiderById(t *testing.T) { function TestUpdateSpiderById (line 86) | func TestUpdateSpiderById(t *testing.T) { function TestDeleteSpiderById (line 133) | func TestDeleteSpiderById(t *testing.T) { function TestDeleteSpiderList (line 183) | func TestDeleteSpiderList(t *testing.T) { FILE: core/controllers/stats_v2.go function GetStatsOverview (line 16) | func GetStatsOverview(c *gin.Context) { function GetStatsDaily (line 25) | func GetStatsDaily(c *gin.Context) { function GetStatsTasks (line 34) | func GetStatsTasks(c *gin.Context) { FILE: core/controllers/sync_v2.go function GetSyncScan (line 11) | func GetSyncScan(c *gin.Context) { function GetSyncDownload (line 25) | func GetSyncDownload(c *gin.Context) { FILE: core/controllers/system_info_v2.go function GetSystemInfo (line 9) | func GetSystemInfo(c *gin.Context) { FILE: core/controllers/task_v2.go function GetTaskById (line 28) | func GetTaskById(c *gin.Context) { function GetTaskList (line 62) | func GetTaskList(c *gin.Context) { function DeleteTaskById (line 163) | func DeleteTaskById(c *gin.Context) { function DeleteList (line 209) | func DeleteList(c *gin.Context) { function PostTaskRun (line 262) | func PostTaskRun(c *gin.Context) { function PostTaskRestart (line 313) | func PostTaskRestart(c *gin.Context) { function PostTaskCancel (line 357) | func PostTaskCancel(c *gin.Context) { function GetTaskLogs (line 394) | func GetTaskLogs(c *gin.Context) { function GetTaskData (line 433) | func GetTaskData(c *gin.Context) { FILE: core/controllers/token_v2.go function PostToken (line 10) | func PostToken(c *gin.Context) { FILE: core/controllers/user_v2.go function PostUser (line 11) | func PostUser(c *gin.Context) { function PostUserChangePassword (line 47) | func PostUserChangePassword(c *gin.Context) { function GetUserMe (line 85) | func GetUserMe(c *gin.Context) { function PutUserById (line 95) | func PutUserById(c *gin.Context) { FILE: core/controllers/user_v2_test.go function TestPostUserChangePassword_Success (line 16) | func TestPostUserChangePassword_Success(t *testing.T) { function TestGetUserMe_Success (line 42) | func TestGetUserMe_Success(t *testing.T) { function TestPutUserById_Success (line 66) | func TestPutUserById_Success(t *testing.T) { FILE: core/controllers/utils_context.go function GetUserFromContext (line 10) | func GetUserFromContext(c *gin.Context) (u interfaces.User) { function GetUserFromContextV2 (line 22) | func GetUserFromContextV2(c *gin.Context) (u *models.UserV2) { FILE: core/controllers/utils_filter.go function GetFilter (line 17) | func GetFilter(c *gin.Context) (f *entity.Filter, err error) { function GetFilterQuery (line 69) | func GetFilterQuery(c *gin.Context) (q bson.M, err error) { function MustGetFilterQuery (line 84) | func MustGetFilterQuery(c *gin.Context) (q bson.M) { function GetFilterAll (line 93) | func GetFilterAll(c *gin.Context) (res bool, err error) { function MustGetFilterAll (line 117) | func MustGetFilterAll(c *gin.Context) (res bool) { FILE: core/controllers/utils_http.go function handleError (line 11) | func handleError(statusCode int, c *gin.Context, err error, print bool) { function HandleError (line 22) | func HandleError(statusCode int, c *gin.Context, err error) { function HandleErrorNoPrint (line 26) | func HandleErrorNoPrint(statusCode int, c *gin.Context, err error) { function HandleErrorBadRequest (line 30) | func HandleErrorBadRequest(c *gin.Context, err error) { function HandleErrorForbidden (line 34) | func HandleErrorForbidden(c *gin.Context, err error) { function HandleErrorUnauthorized (line 38) | func HandleErrorUnauthorized(c *gin.Context, err error) { function HandleErrorNotFound (line 42) | func HandleErrorNotFound(c *gin.Context, err error) { function HandleErrorNotFoundNoPrint (line 46) | func HandleErrorNotFoundNoPrint(c *gin.Context, err error) { function HandleErrorInternalServerError (line 50) | func HandleErrorInternalServerError(c *gin.Context, err error) { function HandleSuccess (line 54) | func HandleSuccess(c *gin.Context) { function HandleSuccessWithData (line 61) | func HandleSuccessWithData(c *gin.Context, data interface{}) { function HandleSuccessWithListData (line 69) | func HandleSuccessWithListData(c *gin.Context, data interface{}, total i... FILE: core/controllers/utils_pagination.go function GetDefaultPagination (line 9) | func GetDefaultPagination() (p *entity.Pagination) { function GetPagination (line 16) | func GetPagination(c *gin.Context) (p *entity.Pagination, err error) { function MustGetPagination (line 24) | func MustGetPagination(c *gin.Context) (p *entity.Pagination) { FILE: core/controllers/utils_sort.go function GetSorts (line 12) | func GetSorts(c *gin.Context) (sorts []entity.Sort, err error) { function GetSortsOption (line 22) | func GetSortsOption(c *gin.Context) (sort bson.D, err error) { function MustGetSortOption (line 35) | func MustGetSortOption(c *gin.Context) (sort bson.D) { function SortsToOption (line 44) | func SortsToOption(sorts []entity.Sort) (sort bson.D, err error) { FILE: core/controllers/ws_writer.go type WsWriter (line 12) | type WsWriter struct method Write (line 18) | func (w *WsWriter) Write(data []byte) (n int, err error) { method Close (line 27) | func (w *WsWriter) Close() (err error) { method CloseWithText (line 31) | func (w *WsWriter) CloseWithText(text string) { method CloseWithError (line 35) | func (w *WsWriter) CloseWithError(err error) { function NewWsWriter (line 39) | func NewWsWriter(c *gin.Context) (writer *WsWriter, err error) { FILE: core/data/colors.go constant ColorsDataText (line 3) | ColorsDataText = `[ FILE: core/database/entity/database.go type DatabaseMetadata (line 3) | type DatabaseMetadata struct type Database (line 7) | type Database struct type DatabaseTable (line 12) | type DatabaseTable struct type DatabaseColumn (line 18) | type DatabaseColumn struct type DatabaseIndex (line 33) | type DatabaseIndex struct type DatabaseIndexColumn (line 43) | type DatabaseIndexColumn struct method OrderString (line 48) | func (col *DatabaseIndexColumn) OrderString() string { type DatabaseQueryResults (line 56) | type DatabaseQueryResults struct FILE: core/database/interfaces/database_registry_service.go type DatabaseRegistryService (line 7) | type DatabaseRegistryService interface FILE: core/database/interfaces/database_service.go type DatabaseService (line 9) | type DatabaseService interface FILE: core/database/registry_service.go function SetDatabaseRegistryService (line 9) | func SetDatabaseRegistryService(svc interfaces.DatabaseRegistryService) { function GetDatabaseRegistryService (line 13) | func GetDatabaseRegistryService() interfaces.DatabaseRegistryService { FILE: core/docs/scripts/publish.js function uploadFile (line 24) | function uploadFile(localFile, key) { function main (line 61) | async function main() { FILE: core/ds/cockroachdb.go type CockroachdbService (line 13) | type CockroachdbService struct function NewDataSourceCockroachdbService (line 17) | func NewDataSourceCockroachdbService(colId primitive.ObjectID, dsId prim... FILE: core/ds/es.go type ElasticsearchService (line 27) | type ElasticsearchService struct method Insert (line 38) | func (svc *ElasticsearchService) Insert(records ...interface{}) (err e... method List (line 100) | func (svc *ElasticsearchService) List(query generic.ListQuery, opts *g... method Count (line 111) | func (svc *ElasticsearchService) Count(query generic.ListQuery) (n int... method getListResponse (line 119) | func (svc *ElasticsearchService) getListResponse(query generic.ListQue... method getIndexName (line 150) | func (svc *ElasticsearchService) getIndexName() (index string) { method Index (line 210) | func (svc *ElasticsearchService) Index(fields []string) { method SetTime (line 214) | func (svc *ElasticsearchService) SetTime(t time.Time) { method GetTime (line 218) | func (svc *ElasticsearchService) GetTime() (t time.Time) { function NewDataSourceElasticsearchService (line 158) | func NewDataSourceElasticsearchService(colId primitive.ObjectID, dsId pr... FILE: core/ds/kafka.go type KafkaService (line 18) | type KafkaService struct method Insert (line 30) | func (svc *KafkaService) Insert(records ...interface{}) (err error) { method List (line 50) | func (svc *KafkaService) List(query generic.ListQuery, opts *generic.L... method Count (line 55) | func (svc *KafkaService) Count(query generic.ListQuery) (n int, err er... method Index (line 106) | func (svc *KafkaService) Index(fields []string) { method SetTime (line 110) | func (svc *KafkaService) SetTime(t time.Time) { method GetTime (line 114) | func (svc *KafkaService) GetTime() (t time.Time) { function NewDataSourceKafkaService (line 60) | func NewDataSourceKafkaService(colId primitive.ObjectID, dsId primitive.... FILE: core/ds/mongo.go type MongoService (line 17) | type MongoService struct method Insert (line 30) | func (svc *MongoService) Insert(records ...interface{}) (err error) { method List (line 35) | func (svc *MongoService) List(query generic.ListQuery, opts *generic.L... method Count (line 46) | func (svc *MongoService) Count(query generic.ListQuery) (n int, err er... method Index (line 108) | func (svc *MongoService) Index(fields []string) { method SetTime (line 112) | func (svc *MongoService) SetTime(t time.Time) { method GetTime (line 116) | func (svc *MongoService) GetTime() (t time.Time) { function NewDataSourceMongoService (line 50) | func NewDataSourceMongoService(colId primitive.ObjectID, dsId primitive.... FILE: core/ds/mssql.go type MssqlService (line 14) | type MssqlService struct function NewDataSourceMssqlService (line 18) | func NewDataSourceMssqlService(colId primitive.ObjectID, dsId primitive.... FILE: core/ds/mssql_test.go function TestNewDataSourceMssqlService (line 5) | func TestNewDataSourceMssqlService(t *testing.T) { FILE: core/ds/mysql.go type MysqlService (line 13) | type MysqlService struct function NewDataSourceMysqlService (line 17) | func NewDataSourceMysqlService(colId primitive.ObjectID, dsId primitive.... FILE: core/ds/options.go type DataSourceServiceOption (line 8) | type DataSourceServiceOption function WithMonitorInterval (line 10) | func WithMonitorInterval(duration time.Duration) DataSourceServiceOption { FILE: core/ds/postgresql.go type PostgresqlService (line 14) | type PostgresqlService struct function NewDataSourcePostgresqlService (line 18) | func NewDataSourcePostgresqlService(colId primitive.ObjectID, dsId primi... FILE: core/ds/service.go type Service (line 22) | type Service struct method Init (line 32) | func (svc *Service) Init() { method Start (line 47) | func (svc *Service) Start() { method Wait (line 52) | func (svc *Service) Wait() { method Stop (line 56) | func (svc *Service) Stop() { method ChangePassword (line 60) | func (svc *Service) ChangePassword(id primitive.ObjectID, password str... method Monitor (line 93) | func (svc *Service) Monitor() { method CheckStatus (line 110) | func (svc *Service) CheckStatus(id primitive.ObjectID) (err error) { method SetTimeout (line 118) | func (svc *Service) SetTimeout(duration time.Duration) { method SetMonitorInterval (line 122) | func (svc *Service) SetMonitorInterval(duration time.Duration) { method monitor (line 126) | func (svc *Service) monitor() (err error) { method checkStatus (line 163) | func (svc *Service) checkStatus(ds *models.DataSource, save bool) (err... method _save (line 194) | func (svc *Service) _save(ds *models.DataSource) (err error) { method _checkStatus (line 199) | func (svc *Service) _checkStatus(ds *models.DataSource) (err error) { function NewDataSourceService (line 265) | func NewDataSourceService(opts ...DataSourceServiceOption) (svc2 interfa... function GetDataSourceService (line 295) | func GetDataSourceService() (svc interfaces.DataSourceService, err error) { FILE: core/ds/sql.go type SqlService (line 14) | type SqlService struct method Insert (line 26) | func (svc *SqlService) Insert(records ...interface{}) (err error) { method List (line 44) | func (svc *SqlService) List(query generic.ListQuery, opts *generic.Lis... method Count (line 58) | func (svc *SqlService) Count(query generic.ListQuery) (n int, err erro... method Index (line 66) | func (svc *SqlService) Index(fields []string) { method SetTime (line 70) | func (svc *SqlService) SetTime(t time.Time) { method GetTime (line 74) | func (svc *SqlService) GetTime() (t time.Time) { FILE: core/ds/sql_options.go type SqlOptions (line 3) | type SqlOptions struct FILE: core/ds/sqlite.go type SqliteService (line 12) | type SqliteService struct function NewDataSourceSqliteService (line 16) | func NewDataSourceSqliteService(colId primitive.ObjectID, dsId primitive... FILE: core/entity/address.go type Address (line 9) | type Address struct method String (line 14) | func (a *Address) String() (res string) { method IsEmpty (line 18) | func (a *Address) IsEmpty() (res bool) { method Value (line 22) | func (a *Address) Value() (res interface{}) { type AddressOptions (line 26) | type AddressOptions struct function NewAddress (line 31) | func NewAddress(opts *AddressOptions) (res *Address) { function NewAddressFromString (line 47) | func NewAddressFromString(address string) (res *Address, err error) { FILE: core/entity/color.go type Color (line 3) | type Color struct method GetHex (line 8) | func (c *Color) GetHex() string { method GetName (line 12) | func (c *Color) GetName() string { method Value (line 16) | func (c *Color) Value() interface{} { FILE: core/entity/common.go type Page (line 5) | type Page struct method GetPage (line 12) | func (p *Page) GetPage(pageNum string, pageSize string) { FILE: core/entity/config_spider.go type ConfigSpiderData (line 3) | type ConfigSpiderData struct type Stage (line 22) | type Stage struct type Field (line 33) | type Field struct FILE: core/entity/data_field.go type DataField (line 3) | type DataField struct FILE: core/entity/dependency.go type DependencyResult (line 5) | type DependencyResult struct FILE: core/entity/doc.go type DocItem (line 3) | type DocItem struct FILE: core/entity/es.go type ElasticsearchResponseData (line 38) | type ElasticsearchResponseData struct FILE: core/entity/event.go type EventData (line 3) | type EventData struct method GetEvent (line 8) | func (d *EventData) GetEvent() string { method GetData (line 12) | func (d *EventData) GetData() interface{} { FILE: core/entity/export.go type Export (line 8) | type Export struct method GetId (line 21) | func (e *Export) GetId() string { method GetType (line 25) | func (e *Export) GetType() string { method GetTarget (line 29) | func (e *Export) GetTarget() string { method GetFilter (line 33) | func (e *Export) GetFilter() interfaces.Filter { method GetStatus (line 37) | func (e *Export) GetStatus() string { method GetStartTs (line 41) | func (e *Export) GetStartTs() time.Time { method GetEndTs (line 45) | func (e *Export) GetEndTs() time.Time { method GetDownloadPath (line 49) | func (e *Export) GetDownloadPath() string { FILE: core/entity/filter.go type Condition (line 8) | type Condition struct method GetKey (line 14) | func (c *Condition) GetKey() (key string) { method SetKey (line 18) | func (c *Condition) SetKey(key string) { method GetOp (line 22) | func (c *Condition) GetOp() (op string) { method SetOp (line 26) | func (c *Condition) SetOp(op string) { method GetValue (line 30) | func (c *Condition) GetValue() (value interface{}) { method SetValue (line 34) | func (c *Condition) SetValue(value interface{}) { type Filter (line 38) | type Filter struct method GetIsOr (line 43) | func (f *Filter) GetIsOr() (isOr bool) { method SetIsOr (line 47) | func (f *Filter) SetIsOr(isOr bool) { method GetConditions (line 51) | func (f *Filter) GetConditions() (conditions []interfaces.FilterCondit... method SetConditions (line 58) | func (f *Filter) SetConditions(conditions []interfaces.FilterCondition) { method IsNil (line 65) | func (f *Filter) IsNil() (ok bool) { FILE: core/entity/filter_select_option.go type FilterSelectOption (line 3) | type FilterSelectOption struct FILE: core/entity/fs_file_info.go type FsFileInfo (line 9) | type FsFileInfo struct method GetName (line 22) | func (f *FsFileInfo) GetName() string { method GetPath (line 26) | func (f *FsFileInfo) GetPath() string { method GetFullPath (line 30) | func (f *FsFileInfo) GetFullPath() string { method GetExtension (line 34) | func (f *FsFileInfo) GetExtension() string { method GetIsDir (line 38) | func (f *FsFileInfo) GetIsDir() bool { method GetFileSize (line 42) | func (f *FsFileInfo) GetFileSize() int64 { method GetModTime (line 46) | func (f *FsFileInfo) GetModTime() time.Time { method GetMode (line 50) | func (f *FsFileInfo) GetMode() os.FileMode { method GetHash (line 54) | func (f *FsFileInfo) GetHash() string { method GetChildren (line 58) | func (f *FsFileInfo) GetChildren() []interfaces.FsFileInfo { FILE: core/entity/git.go type GitPayload (line 3) | type GitPayload struct type GitConfig (line 10) | type GitConfig struct FILE: core/entity/grpc_base_service_message.go type GrpcBaseServiceMessage (line 9) | type GrpcBaseServiceMessage struct method GetModelId (line 14) | func (msg *GrpcBaseServiceMessage) GetModelId() interfaces.ModelId { method GetData (line 18) | func (msg *GrpcBaseServiceMessage) GetData() []byte { method ToBytes (line 22) | func (msg *GrpcBaseServiceMessage) ToBytes() (data []byte) { FILE: core/entity/grpc_base_service_params.go type GrpcBaseServiceParams (line 10) | type GrpcBaseServiceParams struct method Value (line 21) | func (params *GrpcBaseServiceParams) Value() interface{} { FILE: core/entity/grpc_delegate_message.go type GrpcDelegateMessage (line 9) | type GrpcDelegateMessage struct method GetModelId (line 15) | func (msg *GrpcDelegateMessage) GetModelId() interfaces.ModelId { method GetMethod (line 19) | func (msg *GrpcDelegateMessage) GetMethod() interfaces.ModelDelegateMe... method GetData (line 23) | func (msg *GrpcDelegateMessage) GetData() []byte { method ToBytes (line 27) | func (msg *GrpcDelegateMessage) ToBytes() (data []byte) { FILE: core/entity/grpc_event_service_message.go type GrpcEventServiceMessage (line 3) | type GrpcEventServiceMessage struct FILE: core/entity/grpc_subscribe.go type GrpcSubscribe (line 7) | type GrpcSubscribe struct method GetStream (line 12) | func (sub *GrpcSubscribe) GetStream() interfaces.GrpcStream { method GetStreamBidirectional (line 16) | func (sub *GrpcSubscribe) GetStreamBidirectional() interfaces.GrpcStre... method GetFinished (line 24) | func (sub *GrpcSubscribe) GetFinished() chan bool { FILE: core/entity/http.go type Response (line 5) | type Response struct type ListResponse (line 12) | type ListResponse struct type ListRequestData (line 20) | type ListRequestData struct type BatchRequestPayload (line 28) | type BatchRequestPayload struct type BatchRequestPayloadWithStringData (line 32) | type BatchRequestPayloadWithStringData struct type FileRequestPayload (line 38) | type FileRequestPayload struct FILE: core/entity/model_delegate.go type ModelDelegate (line 5) | type ModelDelegate struct FILE: core/entity/model_info.go type ModelInfo (line 5) | type ModelInfo struct FILE: core/entity/node.go type NodeInfo (line 3) | type NodeInfo struct method Value (line 15) | func (n NodeInfo) Value() interface{} { FILE: core/entity/notification_variable.go type NotificationVariable (line 5) | type NotificationVariable struct method GetKey (line 10) | func (v *NotificationVariable) GetKey() string { FILE: core/entity/pagination.go type Pagination (line 5) | type Pagination struct method IsZero (line 10) | func (p *Pagination) IsZero() (ok bool) { method IsDefault (line 15) | func (p *Pagination) IsDefault() (ok bool) { FILE: core/entity/result.go type Result (line 10) | type Result method Value (line 12) | func (r Result) Value() map[string]interface{} { method SetValue (line 16) | func (r Result) SetValue(key string, value interface{}) { method GetValue (line 20) | func (r Result) GetValue(key string) (value interface{}) { method GetTaskId (line 25) | func (r Result) GetTaskId() (id primitive.ObjectID) { method SetTaskId (line 42) | func (r Result) SetTaskId(id primitive.ObjectID) { method DenormalizeObjectId (line 46) | func (r Result) DenormalizeObjectId() (res Result) { method ToJSON (line 58) | func (r Result) ToJSON() (res Result) { method Flatten (line 69) | func (r Result) Flatten() (res Result) { method String (line 90) | func (r Result) String() (s string) { method Bytes (line 94) | func (r Result) Bytes() (bytes []byte) { FILE: core/entity/rpc.go type RpcMessage (line 3) | type RpcMessage struct FILE: core/entity/sort.go type Sort (line 3) | type Sort struct FILE: core/entity/spider.go type SpiderType (line 3) | type SpiderType struct type ScrapySettingParam (line 8) | type ScrapySettingParam struct type ScrapyItem (line 14) | type ScrapyItem struct FILE: core/entity/stats.go type StatsDailyItem (line 3) | type StatsDailyItem struct type StatsTasksByStatusItem (line 9) | type StatsTasksByStatusItem struct FILE: core/entity/system_info.go type SystemInfo (line 3) | type SystemInfo struct FILE: core/entity/task.go type TaskMessage (line 8) | type TaskMessage struct method ToString (line 15) | func (m *TaskMessage) ToString() (string, error) { type TaskRunOptions (line 23) | type TaskRunOptions struct type StreamMessageTaskData (line 26) | type StreamMessageTaskData struct FILE: core/entity/translation.go type Translation (line 3) | type Translation struct method GetLang (line 9) | func (t Translation) GetLang() (l string) { FILE: core/entity/ttl_map.go type TTLMap (line 8) | type TTLMap struct method Store (line 19) | func (t *TTLMap) Store(key string, val interface{}) { method Load (line 26) | func (t *TTLMap) Load(key string) (val interface{}) { type expireEntry (line 14) | type expireEntry struct function NewTTLMap (line 40) | func NewTTLMap(ttl time.Duration) (m *TTLMap) { FILE: core/entity/version.go type Release (line 3) | type Release struct type ReleaseSlices (line 11) | type ReleaseSlices method Len (line 13) | func (r ReleaseSlices) Len() int { method Less (line 17) | func (r ReleaseSlices) Less(i, j int) bool { method Swap (line 21) | func (r ReleaseSlices) Swap(i, j int) { FILE: core/errors/base.go constant ErrorPrefixController (line 9) | ErrorPrefixController = "controller" constant ErrorPrefixModel (line 10) | ErrorPrefixModel = "model" constant ErrorPrefixFilter (line 11) | ErrorPrefixFilter = "filter" constant ErrorPrefixHttp (line 12) | ErrorPrefixHttp = "http" constant ErrorPrefixGrpc (line 13) | ErrorPrefixGrpc = "grpc" constant ErrorPrefixNode (line 14) | ErrorPrefixNode = "node" constant ErrorPrefixInject (line 15) | ErrorPrefixInject = "inject" constant ErrorPrefixSpider (line 16) | ErrorPrefixSpider = "spider" constant ErrorPrefixFs (line 17) | ErrorPrefixFs = "fs" constant ErrorPrefixTask (line 18) | ErrorPrefixTask = "task" constant ErrorPrefixSchedule (line 19) | ErrorPrefixSchedule = "schedule" constant ErrorPrefixUser (line 20) | ErrorPrefixUser = "user" constant ErrorPrefixStats (line 21) | ErrorPrefixStats = "stats" constant ErrorPrefixEvent (line 22) | ErrorPrefixEvent = "event" constant ErrorPrefixProcess (line 23) | ErrorPrefixProcess = "process" constant ErrorPrefixGit (line 24) | ErrorPrefixGit = "git" constant ErrorPrefixResult (line 25) | ErrorPrefixResult = "result" constant ErrorPrefixDataSource (line 26) | ErrorPrefixDataSource = "data_source" type ErrorPrefix (line 29) | type ErrorPrefix function NewError (line 31) | func NewError(prefix ErrorPrefix, msg string) (err error) { FILE: core/errors/controller.go function NewControllerError (line 3) | func NewControllerError(msg string) (err error) { FILE: core/errors/ds.go function NewDataSourceError (line 3) | func NewDataSourceError(msg string) (err error) { FILE: core/errors/event.go function NewEventError (line 3) | func NewEventError(msg string) (err error) { FILE: core/errors/filter.go function NewFilterError (line 3) | func NewFilterError(msg string) (err error) { FILE: core/errors/fs.go function NewFsError (line 3) | func NewFsError(msg string) (err error) { FILE: core/errors/git.go function NewGitError (line 3) | func NewGitError(msg string) (err error) { FILE: core/errors/grpc.go function NewGrpcError (line 3) | func NewGrpcError(msg string) (err error) { FILE: core/errors/http.go function NewHttpError (line 3) | func NewHttpError(msg string) (err error) { FILE: core/errors/model.go function NewModelError (line 5) | func NewModelError(msg string) (err error) { FILE: core/errors/node.go function NewNodeError (line 3) | func NewNodeError(msg string) (err error) { FILE: core/errors/process.go function NewProcessError (line 3) | func NewProcessError(msg string) (err error) { FILE: core/errors/result.go function NewResultError (line 3) | func NewResultError(msg string) (err error) { FILE: core/errors/schedule.go function NewScheduleError (line 3) | func NewScheduleError(msg string) (err error) { FILE: core/errors/spider.go function NewSpiderError (line 3) | func NewSpiderError(msg string) (err error) { FILE: core/errors/stats.go function NewStatsError (line 3) | func NewStatsError(msg string) (err error) { FILE: core/errors/store.go function NewInjectError (line 3) | func NewInjectError(msg string) (err error) { FILE: core/errors/task.go function NewTaskError (line 3) | func NewTaskError(msg string) (err error) { FILE: core/errors/user.go function NewUserError (line 3) | func NewUserError(msg string) (err error) { FILE: core/event/func.go function SendEvent (line 3) | func SendEvent(eventName string, data ...interface{}) { FILE: core/event/service.go type Service (line 16) | type Service struct method Register (line 23) | func (svc *Service) Register(key, include, exclude string, ch *chan in... method Unregister (line 30) | func (svc *Service) Unregister(key string) { method SendEvent (line 41) | func (svc *Service) SendEvent(eventName string, data ...interface{}) { function NewEventService (line 79) | func NewEventService() (svc interfaces.EventService) { FILE: core/export/csv_service.go type CsvService (line 27) | type CsvService struct method GenerateId (line 31) | func (svc *CsvService) GenerateId() (exportId string, err error) { method Export (line 39) | func (svc *CsvService) Export(exportType, target string, filter interf... method GetExport (line 68) | func (svc *CsvService) GetExport(exportId string) (export interfaces.E... method export (line 78) | func (svc *CsvService) export(export *entity.Export) { method getExportDir (line 212) | func (svc *CsvService) getExportDir() (dir string, err error) { method getFileName (line 224) | func (svc *CsvService) getFileName(exportId string) (fileName string) { method getDownloadPath (line 230) | func (svc *CsvService) getDownloadPath(exportId string) (downloadPath ... method getCsvWriter (line 239) | func (svc *CsvService) getCsvWriter(export *entity.Export) (csvWriter ... method getColumns (line 252) | func (svc *CsvService) getColumns(query bson.M, export interfaces.Expo... method getRowCells (line 293) | func (svc *CsvService) getRowCells(columns []string, data bson.M) (cel... function NewCsvService (line 328) | func NewCsvService() (svc2 interfaces.ExportService) { function GetCsvService (line 339) | func GetCsvService() (svc interfaces.ExportService) { FILE: core/export/csv_service_test.go function TestCsvService_Export (line 17) | func TestCsvService_Export(t *testing.T) { FILE: core/export/json_service.go type JsonService (line 22) | type JsonService struct method GenerateId (line 26) | func (svc *JsonService) GenerateId() (exportId string, err error) { method Export (line 34) | func (svc *JsonService) Export(exportType, target string, filter inter... method GetExport (line 63) | func (svc *JsonService) GetExport(exportId string) (export interfaces.... method export (line 73) | func (svc *JsonService) export(export *entity.Export) { method getExportDir (line 180) | func (svc *JsonService) getExportDir() (dir string, err error) { method getFileName (line 192) | func (svc *JsonService) getFileName(exportId string) (fileName string) { method getDownloadPath (line 198) | func (svc *JsonService) getDownloadPath(exportId string) (downloadPath... function NewJsonService (line 207) | func NewJsonService() (svc2 interfaces.ExportService) { function GetJsonService (line 218) | func GetJsonService() (svc interfaces.ExportService) { FILE: core/fs/default.go function init (line 10) | func init() { FILE: core/fs/service_v2.go type ServiceV2 (line 14) | type ServiceV2 struct method List (line 20) | func (svc *ServiceV2) List(path string) (files []interfaces.FsFileInfo... method GetFile (line 81) | func (svc *ServiceV2) GetFile(path string) (data []byte, err error) { method GetFileInfo (line 85) | func (svc *ServiceV2) GetFileInfo(path string) (file interfaces.FsFile... method Save (line 103) | func (svc *ServiceV2) Save(path string, data []byte) (err error) { method CreateDir (line 116) | func (svc *ServiceV2) CreateDir(path string) (err error) { method Rename (line 120) | func (svc *ServiceV2) Rename(path, newPath string) (err error) { method Delete (line 126) | func (svc *ServiceV2) Delete(path string) (err error) { method Copy (line 131) | func (svc *ServiceV2) Copy(path, newPath string) (err error) { method Export (line 164) | func (svc *ServiceV2) Export() (resultPath string, err error) { function NewFsServiceV2 (line 173) | func NewFsServiceV2(path string) (svc interfaces.FsServiceV2) { FILE: core/fs/service_v2_test.go function TestServiceV2_List (line 12) | func TestServiceV2_List(t *testing.T) { function TestServiceV2_GetFile (line 63) | func TestServiceV2_GetFile(t *testing.T) { function TestServiceV2_Delete (line 87) | func TestServiceV2_Delete(t *testing.T) { function TestServiceV2_CreateDir (line 115) | func TestServiceV2_CreateDir(t *testing.T) { function TestServiceV2_Save (line 140) | func TestServiceV2_Save(t *testing.T) { function TestServiceV2_Rename (line 166) | func TestServiceV2_Rename(t *testing.T) { function TestServiceV2_RenameDir (line 194) | func TestServiceV2_RenameDir(t *testing.T) { function TestServiceV2_Copy (line 222) | func TestServiceV2_Copy(t *testing.T) { function TestServiceV2_CopyDir (line 251) | func TestServiceV2_CopyDir(t *testing.T) { FILE: core/grpc/client/client.go type Client (line 24) | type Client struct method Init (line 49) | func (c *Client) Init() (err error) { method Start (line 54) | func (c *Client) Start() (err error) { method Stop (line 78) | func (c *Client) Stop() (err error) { method Register (line 102) | func (c *Client) Register() (err error) { method GetModelDelegateClient (line 129) | func (c *Client) GetModelDelegateClient() (res grpc2.ModelDelegateClie... method GetModelBaseServiceClient (line 133) | func (c *Client) GetModelBaseServiceClient() (res grpc2.ModelBaseServi... method GetNodeClient (line 137) | func (c *Client) GetNodeClient() grpc2.NodeServiceClient { method GetTaskClient (line 141) | func (c *Client) GetTaskClient() grpc2.TaskServiceClient { method GetMessageClient (line 145) | func (c *Client) GetMessageClient() grpc2.MessageServiceClient { method SetAddress (line 149) | func (c *Client) SetAddress(address interfaces.Address) { method SetTimeout (line 153) | func (c *Client) SetTimeout(timeout time.Duration) { method SetSubscribeType (line 157) | func (c *Client) SetSubscribeType(value string) { method SetHandleMessage (line 161) | func (c *Client) SetHandleMessage(handleMessage bool) { method Context (line 165) | func (c *Client) Context() (ctx context.Context, cancel context.Cancel... method NewRequest (line 169) | func (c *Client) NewRequest(d interface{}) (req *grpc2.Request) { method GetConfigPath (line 176) | func (c *Client) GetConfigPath() (path string) { method SetConfigPath (line 180) | func (c *Client) SetConfigPath(path string) { method NewModelBaseServiceRequest (line 184) | func (c *Client) NewModelBaseServiceRequest(id interfaces.ModelId, par... method GetMessageChannel (line 196) | func (c *Client) GetMessageChannel() (msgCh chan *grpc2.StreamMessage) { method Restart (line 200) | func (c *Client) Restart() (err error) { method IsStarted (line 207) | func (c *Client) IsStarted() (res bool) { method IsClosed (line 211) | func (c *Client) IsClosed() (res bool) { method Err (line 218) | func (c *Client) Err() (err error) { method GetStream (line 222) | func (c *Client) GetStream() (stream grpc2.NodeService_SubscribeClient) { method connect (line 226) | func (c *Client) connect() (err error) { method _connect (line 230) | func (c *Client) _connect() (err error) { method subscribe (line 255) | func (c *Client) subscribe() (err error) { method _subscribeNode (line 266) | func (c *Client) _subscribeNode() (err error) { method unsubscribe (line 282) | func (c *Client) unsubscribe() (err error) { method handleStreamMessage (line 293) | func (c *Client) handleStreamMessage() { method needRestart (line 337) | func (c *Client) needRestart() bool { method getRequestData (line 348) | func (c *Client) getRequestData(d interface{}) (data []byte) { function NewClient (line 365) | func NewClient() (res interfaces.GrpcClient, err error) { function GetClient (line 402) | func GetClient() (c interfaces.GrpcClient, err error) { function createClient (line 413) | func createClient() (client2 interfaces.GrpcClient, err error) { FILE: core/grpc/client/client_v2.go type GrpcClientV2 (line 26) | type GrpcClientV2 struct method Start (line 49) | func (c *GrpcClientV2) Start() (err error) { method Stop (line 73) | func (c *GrpcClientV2) Stop() (err error) { method Register (line 97) | func (c *GrpcClientV2) Register() { method Context (line 105) | func (c *GrpcClientV2) Context() (ctx context.Context, cancel context.... method NewRequest (line 109) | func (c *GrpcClientV2) NewRequest(d interface{}) (req *grpc2.Request) { method IsStarted (line 116) | func (c *GrpcClientV2) IsStarted() (res bool) { method IsClosed (line 120) | func (c *GrpcClientV2) IsClosed() (res bool) { method GetMessageChannel (line 127) | func (c *GrpcClientV2) GetMessageChannel() (msgCh chan *grpc2.StreamMe... method getRequestData (line 131) | func (c *GrpcClientV2) getRequestData(d interface{}) (data []byte) { method unsubscribe (line 148) | func (c *GrpcClientV2) unsubscribe() (err error) { method connect (line 159) | func (c *GrpcClientV2) connect() (err error) { method subscribe (line 187) | func (c *GrpcClientV2) subscribe() (err error) { method handleStreamMessage (line 206) | func (c *GrpcClientV2) handleStreamMessage() { function newGrpcClientV2 (line 250) | func newGrpcClientV2() (c *GrpcClientV2) { function GetGrpcClientV2 (line 276) | func GetGrpcClientV2() *GrpcClientV2 { FILE: core/grpc/client/options.go type Option (line 8) | type Option function WithConfigPath (line 10) | func WithConfigPath(path string) Option { function WithAddress (line 16) | func WithAddress(address interfaces.Address) Option { function WithTimeout (line 22) | func WithTimeout(timeout time.Duration) Option { function WithSubscribeType (line 27) | func WithSubscribeType(subscribeType string) Option { function WithHandleMessage (line 33) | func WithHandleMessage(handleMessage bool) Option { type PoolOption (line 39) | type PoolOption function WithPoolConfigPath (line 41) | func WithPoolConfigPath(path string) PoolOption { function WithPoolSize (line 47) | func WithPoolSize(size int) PoolOption { FILE: core/grpc/client/pool.go type Pool (line 11) | type Pool struct method GetConfigPath (line 20) | func (p *Pool) GetConfigPath() (path string) { method SetConfigPath (line 24) | func (p *Pool) SetConfigPath(path string) { method Init (line 28) | func (p *Pool) Init() (err error) { method NewClient (line 37) | func (p *Pool) NewClient() (err error) { method GetClient (line 49) | func (p *Pool) GetClient() (c interfaces.GrpcClient, err error) { method SetSize (line 62) | func (p *Pool) SetSize(size int) { method getRandomIndex (line 66) | func (p *Pool) getRandomIndex() (idx int) { function NewPool (line 70) | func NewPool(opts ...PoolOption) (p interfaces.GrpcClientPool, err error) { FILE: core/grpc/middlewares/auth_token.go function GetAuthTokenFunc (line 13) | func GetAuthTokenFunc(nodeCfgSvc interfaces.NodeConfigService) grpc_auth... function GetAuthTokenUnaryChainInterceptor (line 41) | func GetAuthTokenUnaryChainInterceptor(nodeCfgSvc interfaces.NodeConfigS... function GetAuthTokenStreamChainInterceptor (line 53) | func GetAuthTokenStreamChainInterceptor(nodeCfgSvc interfaces.NodeConfig... FILE: core/grpc/payload/model_service_v2_payload.go type ModelServiceV2Payload (line 9) | type ModelServiceV2Payload struct FILE: core/grpc/server/dependencies_server_v2.go type DependenciesServerV2 (line 20) | type DependenciesServerV2 struct method Connect (line 26) | func (svr DependenciesServerV2) Connect(req *grpc.DependenciesServiceV... method Sync (line 42) | func (svr DependenciesServerV2) Sync(ctx context.Context, request *grp... method UpdateTaskLog (line 118) | func (svr DependenciesServerV2) UpdateTaskLog(stream grpc.Dependencies... method GetStream (line 155) | func (svr DependenciesServerV2) GetStream(key string) (stream *grpc.De... function NewDependenciesServerV2 (line 165) | func NewDependenciesServerV2() *DependenciesServerV2 { function GetDependenciesServerV2 (line 174) | func GetDependenciesServerV2() *DependenciesServerV2 { FILE: core/grpc/server/message_server.go type MessageServer (line 15) | type MessageServer struct method Connect (line 26) | func (svr MessageServer) Connect(stream grpc.MessageService_ConnectSer... method redirectMessage (line 64) | func (svr MessageServer) redirectMessage(sub interfaces.GrpcSubscribe,... function NewMessageServer (line 77) | func NewMessageServer() (res *MessageServer, err error) { FILE: core/grpc/server/metrics_server_v2.go type MetricsServerV2 (line 14) | type MetricsServerV2 struct method Send (line 18) | func (svr MetricsServerV2) Send(_ context.Context, req *grpc.MetricsSe... function newMetricsServerV2 (line 51) | func newMetricsServerV2() *MetricsServerV2 { function GetMetricsServerV2 (line 58) | func GetMetricsServerV2() *MetricsServerV2 { FILE: core/grpc/server/model_base_service_binder.go function NewModelBaseServiceBinder (line 11) | func NewModelBaseServiceBinder(req *grpc.Request) (b *ModelBaseServiceBi... type ModelBaseServiceBinder (line 18) | type ModelBaseServiceBinder struct method Bind (line 23) | func (b *ModelBaseServiceBinder) Bind() (res *entity.GrpcBaseServicePa... method MustBind (line 31) | func (b *ModelBaseServiceBinder) MustBind() (res interface{}) { method BindWithBaseServiceMessage (line 39) | func (b *ModelBaseServiceBinder) BindWithBaseServiceMessage() (params ... method process (line 50) | func (b *ModelBaseServiceBinder) process(params *entity.GrpcBaseServic... method bindBaseServiceMessage (line 57) | func (b *ModelBaseServiceBinder) bindBaseServiceMessage() (err error) { FILE: core/grpc/server/model_base_service_server.go type ModelBaseServiceServer (line 15) | type ModelBaseServiceServer struct method GetById (line 22) | func (svr ModelBaseServiceServer) GetById(ctx context.Context, req *gr... method Get (line 28) | func (svr ModelBaseServiceServer) Get(ctx context.Context, req *grpc.R... method GetList (line 34) | func (svr ModelBaseServiceServer) GetList(ctx context.Context, req *gr... method DeleteById (line 48) | func (svr ModelBaseServiceServer) DeleteById(ctx context.Context, req ... method Delete (line 55) | func (svr ModelBaseServiceServer) Delete(ctx context.Context, req *grp... method DeleteList (line 62) | func (svr ModelBaseServiceServer) DeleteList(ctx context.Context, req ... method ForceDeleteList (line 69) | func (svr ModelBaseServiceServer) ForceDeleteList(ctx context.Context,... method UpdateById (line 76) | func (svr ModelBaseServiceServer) UpdateById(ctx context.Context, req ... method Update (line 83) | func (svr ModelBaseServiceServer) Update(ctx context.Context, req *grp... method UpdateDoc (line 90) | func (svr ModelBaseServiceServer) UpdateDoc(ctx context.Context, req *... method Insert (line 97) | func (svr ModelBaseServiceServer) Insert(ctx context.Context, req *grp... method Count (line 104) | func (svr ModelBaseServiceServer) Count(ctx context.Context, req *grpc... method handleRequest (line 110) | func (svr ModelBaseServiceServer) handleRequest(req *grpc.Request, han... type handleBaseServiceRequest (line 126) | type handleBaseServiceRequest function NewModelBaseServiceServer (line 128) | func NewModelBaseServiceServer() (svr2 *ModelBaseServiceServer, err erro... FILE: core/grpc/server/model_base_service_v2_server.go function init (line 51) | func init() { function GetOneInstanceModel (line 61) | func GetOneInstanceModel(typeName string) any { type ModelBaseServiceServerV2 (line 65) | type ModelBaseServiceServerV2 struct method GetById (line 69) | func (svr ModelBaseServiceServerV2) GetById(_ context.Context, req *gr... method GetOne (line 82) | func (svr ModelBaseServiceServerV2) GetOne(_ context.Context, req *grp... method GetMany (line 101) | func (svr ModelBaseServiceServerV2) GetMany(_ context.Context, req *gr... method DeleteById (line 120) | func (svr ModelBaseServiceServerV2) DeleteById(_ context.Context, req ... method DeleteOne (line 133) | func (svr ModelBaseServiceServerV2) DeleteOne(_ context.Context, req *... method DeleteMany (line 147) | func (svr ModelBaseServiceServerV2) DeleteMany(_ context.Context, req ... method UpdateById (line 161) | func (svr ModelBaseServiceServerV2) UpdateById(_ context.Context, req ... method UpdateOne (line 179) | func (svr ModelBaseServiceServerV2) UpdateOne(_ context.Context, req *... method UpdateMany (line 198) | func (svr ModelBaseServiceServerV2) UpdateMany(_ context.Context, req ... method ReplaceById (line 217) | func (svr ModelBaseServiceServerV2) ReplaceById(_ context.Context, req... method ReplaceOne (line 237) | func (svr ModelBaseServiceServerV2) ReplaceOne(_ context.Context, req ... method InsertOne (line 258) | func (svr ModelBaseServiceServerV2) InsertOne(_ context.Context, req *... method InsertMany (line 274) | func (svr ModelBaseServiceServerV2) InsertMany(_ context.Context, req ... method Count (line 296) | func (svr ModelBaseServiceServerV2) Count(_ context.Context, req *grpc... function GetModelService (line 309) | func GetModelService[T any](typeName string) *service.ModelServiceV2[T] { function NewModelBaseServiceV2Server (line 313) | func NewModelBaseServiceV2Server() *ModelBaseServiceServerV2 { FILE: core/grpc/server/model_delegate_binder.go function NewModelDelegateBinder (line 12) | func NewModelDelegateBinder(req *grpc.Request) (b *ModelDelegateBinder) { type ModelDelegateBinder (line 19) | type ModelDelegateBinder struct method Bind (line 24) | func (b *ModelDelegateBinder) Bind() (res interface{}, err error) { method MustBind (line 91) | func (b *ModelDelegateBinder) MustBind() (res interface{}) { method BindWithDelegateMessage (line 99) | func (b *ModelDelegateBinder) BindWithDelegateMessage() (res interface... method process (line 110) | func (b *ModelDelegateBinder) process(d interface{}, fieldIds ...inter... method bindDelegateMessage (line 118) | func (b *ModelDelegateBinder) bindDelegateMessage() (err error) { FILE: core/grpc/server/model_delegate_server.go type ModelDelegateServer (line 11) | type ModelDelegateServer struct method Do (line 16) | func (svr ModelDelegateServer) Do(ctx context.Context, req *grpc.Reque... function NewModelDelegateServer (line 65) | func NewModelDelegateServer() (svr *ModelDelegateServer) { FILE: core/grpc/server/node_server.go type NodeServer (line 19) | type NodeServer struct method Register (line 31) | func (svr NodeServer) Register(ctx context.Context, req *grpc.Request)... method SendHeartbeat (line 114) | func (svr NodeServer) SendHeartbeat(ctx context.Context, req *grpc.Req... method Ping (line 139) | func (svr NodeServer) Ping(ctx context.Context, req *grpc.Request) (re... method Subscribe (line 143) | func (svr NodeServer) Subscribe(request *grpc.Request, stream grpc.Nod... method Unsubscribe (line 171) | func (svr NodeServer) Unsubscribe(ctx context.Context, req *grpc.Reque... function NewNodeServer (line 189) | func NewNodeServer() (res *NodeServer, err error) { FILE: core/grpc/server/node_server_v2.go type NodeServerV2 (line 24) | type NodeServerV2 struct method Register (line 35) | func (svr NodeServerV2) Register(_ context.Context, req *grpc.NodeServ... method SendHeartbeat (line 89) | func (svr NodeServerV2) SendHeartbeat(_ context.Context, req *grpc.Nod... method Subscribe (line 125) | func (svr NodeServerV2) Subscribe(request *grpc.Request, stream grpc.N... method Unsubscribe (line 153) | func (svr NodeServerV2) Unsubscribe(_ context.Context, req *grpc.Reque... function NewNodeServerV2 (line 174) | func NewNodeServerV2() (res *NodeServerV2, err error) { FILE: core/grpc/server/server_v2.go type GrpcServerV2 (line 31) | type GrpcServerV2 struct method GetConfigPath (line 52) | func (svr *GrpcServerV2) GetConfigPath() (path string) { method SetConfigPath (line 56) | func (svr *GrpcServerV2) SetConfigPath(path string) { method Init (line 60) | func (svr *GrpcServerV2) Init() (err error) { method Start (line 69) | func (svr *GrpcServerV2) Start() (err error) { method Stop (line 95) | func (svr *GrpcServerV2) Stop() (err error) { method Register (line 118) | func (svr *GrpcServerV2) Register() (err error) { method recoveryHandlerFunc (line 128) | func (svr *GrpcServerV2) recoveryHandlerFunc(p interface{}) (err error) { method SetAddress (line 134) | func (svr *GrpcServerV2) SetAddress(address interfaces.Address) { method GetSubscribe (line 138) | func (svr *GrpcServerV2) GetSubscribe(key string) (sub interfaces.Grpc... method SetSubscribe (line 148) | func (svr *GrpcServerV2) SetSubscribe(key string, sub interfaces.GrpcS... method DeleteSubscribe (line 154) | func (svr *GrpcServerV2) DeleteSubscribe(key string) { method SendStreamMessage (line 160) | func (svr *GrpcServerV2) SendStreamMessage(key string, code grpc2.Stre... method SendStreamMessageWithData (line 164) | func (svr *GrpcServerV2) SendStreamMessageWithData(key string, code gr... method IsStopped (line 190) | func (svr *GrpcServerV2) IsStopped() (res bool) { function NewGrpcServerV2 (line 194) | func NewGrpcServerV2() (svr *GrpcServerV2, err error) { function GetGrpcServerV2 (line 251) | func GetGrpcServerV2() (svr *GrpcServerV2, err error) { FILE: core/grpc/server/task_server_v2.go type TaskServerV2 (line 27) | type TaskServerV2 struct method Subscribe (line 39) | func (svr TaskServerV2) Subscribe(stream grpc.TaskService_SubscribeSer... method Fetch (line 70) | func (svr TaskServerV2) Fetch(ctx context.Context, request *grpc.Reque... method SendNotification (line 112) | func (svr TaskServerV2) SendNotification(_ context.Context, request *g... method handleInsertData (line 212) | func (svr TaskServerV2) handleInsertData(msg *grpc.StreamMessage) (err... method handleInsertLogs (line 234) | func (svr TaskServerV2) handleInsertLogs(msg *grpc.StreamMessage) (err... method getTaskQueueItemIdAndDequeue (line 242) | func (svr TaskServerV2) getTaskQueueItemIdAndDequeue(query bson.M, opt... method deserialize (line 265) | func (svr TaskServerV2) deserialize(msg *grpc.StreamMessage) (data ent... function NewTaskServerV2 (line 275) | func NewTaskServerV2() (res *TaskServerV2, err error) { FILE: core/grpc/server/utils_handle.go function HandleError (line 9) | func HandleError(err error) (res *grpc.Response, err2 error) { function HandleSuccess (line 17) | func HandleSuccess() (res *grpc.Response, err error) { function HandleSuccessWithData (line 24) | func HandleSuccessWithData(data interface{}) (res *grpc.Response, err er... function HandleSuccessWithListData (line 42) | func HandleSuccessWithListData(data interface{}, total int) (res *grpc.R... FILE: core/i18n/service.go type Service (line 9) | type Service struct method AddTranslations (line 12) | func (svc *Service) AddTranslations(t []interfaces.Translation) { method GetTranslations (line 16) | func (svc *Service) GetTranslations() (t []interfaces.Translation) { function GetI18nService (line 20) | func GetI18nService(cfgPath string) (svc2 interfaces.I18nService, err er... function ProvideGetI18nService (line 33) | func ProvideGetI18nService(cfgPath string) func() (svc interfaces.I18nSe... function NewI18nService (line 39) | func NewI18nService() (svc2 interfaces.I18nService, err error) { FILE: core/interfaces/address.go type Address (line 3) | type Address interface FILE: core/interfaces/color.go type Color (line 3) | type Color interface FILE: core/interfaces/color_service.go type ColorService (line 3) | type ColorService interface FILE: core/interfaces/controller_params.go type ControllerParams (line 3) | type ControllerParams interface FILE: core/interfaces/data_source_service.go type DataSourceService (line 8) | type DataSourceService interface FILE: core/interfaces/entity.go type Entity (line 3) | type Entity interface FILE: core/interfaces/event_data.go type EventData (line 3) | type EventData interface FILE: core/interfaces/event_service.go type EventFn (line 3) | type EventFn type EventService (line 5) | type EventService interface FILE: core/interfaces/export.go type Export (line 5) | type Export interface FILE: core/interfaces/export_service.go type ExportService (line 3) | type ExportService interface FILE: core/interfaces/filter.go type Filter (line 3) | type Filter interface FILE: core/interfaces/filter_condition.go type FilterCondition (line 3) | type FilterCondition interface FILE: core/interfaces/fs_file_info.go type FsFileInfo (line 8) | type FsFileInfo interface FILE: core/interfaces/fs_service.go type FsService (line 8) | type FsService interface FILE: core/interfaces/fs_service_options.go type ServiceCrudOptions (line 3) | type ServiceCrudOptions struct type ServiceCrudOption (line 9) | type ServiceCrudOption function WithOnlyFromWorkspace (line 11) | func WithOnlyFromWorkspace() ServiceCrudOption { function WithNotSyncToWorkspace (line 17) | func WithNotSyncToWorkspace() ServiceCrudOption { FILE: core/interfaces/fs_service_v2.go type FsServiceV2 (line 3) | type FsServiceV2 interface FILE: core/interfaces/grpc_base.go type GrpcBase (line 3) | type GrpcBase interface FILE: core/interfaces/grpc_base_service_params.go type GrpcBaseServiceParams (line 3) | type GrpcBaseServiceParams interface FILE: core/interfaces/grpc_client.go type GrpcClient (line 9) | type GrpcClient interface FILE: core/interfaces/grpc_client_model_base_service.go type GrpcClientModelBaseService (line 3) | type GrpcClientModelBaseService interface FILE: core/interfaces/grpc_client_model_delegate.go type GrpcClientModelDelegate (line 3) | type GrpcClientModelDelegate interface FILE: core/interfaces/grpc_client_model_environment_service.go type GrpcClientModelEnvironmentService (line 9) | type GrpcClientModelEnvironmentService interface FILE: core/interfaces/grpc_client_model_node_service.go type GrpcClientModelNodeService (line 9) | type GrpcClientModelNodeService interface FILE: core/interfaces/grpc_client_model_service.go type GrpcClientModelService (line 3) | type GrpcClientModelService interface FILE: core/interfaces/grpc_client_model_spider_service.go type GrpcClientModelSpiderService (line 9) | type GrpcClientModelSpiderService interface FILE: core/interfaces/grpc_client_model_task_service.go type GrpcClientModelTaskService (line 9) | type GrpcClientModelTaskService interface FILE: core/interfaces/grpc_client_model_task_stat_service.go type GrpcClientModelTaskStatService (line 9) | type GrpcClientModelTaskStatService interface FILE: core/interfaces/grpc_client_pool.go type GrpcClientPool (line 3) | type GrpcClientPool interface FILE: core/interfaces/grpc_model_base_service_message.go type GrpcModelBaseServiceMessage (line 3) | type GrpcModelBaseServiceMessage interface FILE: core/interfaces/grpc_model_binder.go type GrpcModelBinder (line 3) | type GrpcModelBinder interface FILE: core/interfaces/grpc_model_delegate_message.go type GrpcModelDelegateMessage (line 3) | type GrpcModelDelegateMessage interface FILE: core/interfaces/grpc_model_list_binder.go type GrpcModelListBinder (line 3) | type GrpcModelListBinder interface FILE: core/interfaces/grpc_server.go type GrpcServer (line 7) | type GrpcServer interface FILE: core/interfaces/grpc_stream.go type GrpcStream (line 5) | type GrpcStream interface type GrpcStreamBidirectional (line 9) | type GrpcStreamBidirectional interface FILE: core/interfaces/grpc_subscribe.go type GrpcSubscribe (line 3) | type GrpcSubscribe interface FILE: core/interfaces/i18n_service.go type I18nService (line 3) | type I18nService interface FILE: core/interfaces/injectable.go type Injectable (line 3) | type Injectable interface FILE: core/interfaces/list.go type List (line 3) | type List interface FILE: core/interfaces/model.go type Model (line 7) | type Model interface type ModelV2 (line 12) | type ModelV2 interface type ModelId (line 19) | type ModelId constant ModelIdArtifact (line 22) | ModelIdArtifact = iota constant ModelIdTag (line 23) | ModelIdTag constant ModelIdNode (line 24) | ModelIdNode constant ModelIdProject (line 25) | ModelIdProject constant ModelIdSpider (line 26) | ModelIdSpider constant ModelIdTask (line 27) | ModelIdTask constant ModelIdJob (line 28) | ModelIdJob constant ModelIdSchedule (line 29) | ModelIdSchedule constant ModelIdUser (line 30) | ModelIdUser constant ModelIdSetting (line 31) | ModelIdSetting constant ModelIdToken (line 32) | ModelIdToken constant ModelIdVariable (line 33) | ModelIdVariable constant ModelIdTaskQueue (line 34) | ModelIdTaskQueue constant ModelIdTaskStat (line 35) | ModelIdTaskStat constant ModelIdSpiderStat (line 36) | ModelIdSpiderStat constant ModelIdDataSource (line 37) | ModelIdDataSource constant ModelIdDataCollection (line 38) | ModelIdDataCollection constant ModelIdResult (line 39) | ModelIdResult constant ModelIdPassword (line 40) | ModelIdPassword constant ModelIdExtraValue (line 41) | ModelIdExtraValue constant ModelIdGit (line 42) | ModelIdGit constant ModelIdRole (line 43) | ModelIdRole constant ModelIdUserRole (line 44) | ModelIdUserRole constant ModelIdPermission (line 45) | ModelIdPermission constant ModelIdRolePermission (line 46) | ModelIdRolePermission constant ModelIdEnvironment (line 47) | ModelIdEnvironment constant ModelIdDependencySetting (line 48) | ModelIdDependencySetting constant ModelColNameArtifact (line 52) | ModelColNameArtifact = "artifacts" constant ModelColNameTag (line 53) | ModelColNameTag = "tags" constant ModelColNameNode (line 54) | ModelColNameNode = "nodes" constant ModelColNameProject (line 55) | ModelColNameProject = "projects" constant ModelColNameSpider (line 56) | ModelColNameSpider = "spiders" constant ModelColNameTask (line 57) | ModelColNameTask = "tasks" constant ModelColNameJob (line 58) | ModelColNameJob = "jobs" constant ModelColNameSchedule (line 59) | ModelColNameSchedule = "schedules" constant ModelColNameUser (line 60) | ModelColNameUser = "users" constant ModelColNameSetting (line 61) | ModelColNameSetting = "settings" constant ModelColNameToken (line 62) | ModelColNameToken = "tokens" constant ModelColNameVariable (line 63) | ModelColNameVariable = "variables" constant ModelColNameTaskQueue (line 64) | ModelColNameTaskQueue = "task_queue" constant ModelColNameTaskStat (line 65) | ModelColNameTaskStat = "task_stats" constant ModelColNameSpiderStat (line 66) | ModelColNameSpiderStat = "spider_stats" constant ModelColNameDataSource (line 67) | ModelColNameDataSource = "data_sources" constant ModelColNameDataCollection (line 68) | ModelColNameDataCollection = "data_collections" constant ModelColNamePasswords (line 69) | ModelColNamePasswords = "passwords" constant ModelColNameExtraValues (line 70) | ModelColNameExtraValues = "extra_values" constant ModelColNameGit (line 71) | ModelColNameGit = "gits" constant ModelColNameRole (line 72) | ModelColNameRole = "roles" constant ModelColNameUserRole (line 73) | ModelColNameUserRole = "user_roles" constant ModelColNamePermission (line 74) | ModelColNamePermission = "permissions" constant ModelColNameRolePermission (line 75) | ModelColNameRolePermission = "role_permissions" constant ModelColNameEnvironment (line 76) | ModelColNameEnvironment = "environments" constant ModelColNameDependencySetting (line 77) | ModelColNameDependencySetting = "dependency_settings" type ModelWithTags (line 80) | type ModelWithTags interface type ModelWithNameDescription (line 86) | type ModelWithNameDescription interface type ModelWithKey (line 94) | type ModelWithKey interface FILE: core/interfaces/model_artifact.go type ModelArtifact (line 5) | type ModelArtifact interface FILE: core/interfaces/model_artifact_sys.go type ModelArtifactSys (line 8) | type ModelArtifactSys interface FILE: core/interfaces/model_base_service.go type ModelBaseService (line 9) | type ModelBaseService interface type ModelService (line 26) | type ModelService interface FILE: core/interfaces/model_binder.go type ModelBinder (line 3) | type ModelBinder interface FILE: core/interfaces/model_delegate.go type ModelDelegateMethod (line 3) | type ModelDelegateMethod type ModelDelegate (line 5) | type ModelDelegate interface constant ModelDelegateMethodAdd (line 16) | ModelDelegateMethodAdd = "add" constant ModelDelegateMethodSave (line 17) | ModelDelegateMethodSave = "save" constant ModelDelegateMethodDelete (line 18) | ModelDelegateMethodDelete = "delete" constant ModelDelegateMethodGetArtifact (line 19) | ModelDelegateMethodGetArtifact = "get-artifact" constant ModelDelegateMethodRefresh (line 20) | ModelDelegateMethodRefresh = "refresh" constant ModelDelegateMethodChange (line 21) | ModelDelegateMethodChange = "change" FILE: core/interfaces/model_environment.go type Environment (line 3) | type Environment interface FILE: core/interfaces/model_extra_value.go type ExtraValue (line 7) | type ExtraValue interface FILE: core/interfaces/model_git.go type Git (line 4) | type Git interface FILE: core/interfaces/model_list_binder.go type ModelListBinder (line 3) | type ModelListBinder interface FILE: core/interfaces/model_node.go type Node (line 5) | type Node interface FILE: core/interfaces/model_node_delegate.go type ModelNodeDelegate (line 5) | type ModelNodeDelegate interface FILE: core/interfaces/model_permission.go type Permission (line 3) | type Permission interface FILE: core/interfaces/model_result.go type Result (line 5) | type Result interface FILE: core/interfaces/model_role.go type Role (line 3) | type Role interface FILE: core/interfaces/model_schedule.go type Schedule (line 8) | type Schedule interface FILE: core/interfaces/model_service_v2.go type ModelServiceV2 (line 9) | type ModelServiceV2 interface FILE: core/interfaces/model_spider.go type Spider (line 5) | type Spider interface FILE: core/interfaces/model_tag.go type Tag (line 3) | type Tag interface FILE: core/interfaces/model_task.go type Task (line 5) | type Task interface FILE: core/interfaces/model_task_stat.go type TaskStat (line 5) | type TaskStat interface FILE: core/interfaces/model_user.go type User (line 3) | type User interface FILE: core/interfaces/model_user_group.go type UserGroup (line 3) | type UserGroup interface FILE: core/interfaces/module.go type ModuleId (line 3) | type ModuleId type Module (line 5) | type Module interface FILE: core/interfaces/node_config_service.go type NodeConfigService (line 3) | type NodeConfigService interface FILE: core/interfaces/node_master_service.go type NodeMasterService (line 7) | type NodeMasterService interface FILE: core/interfaces/node_service.go type NodeService (line 3) | type NodeService interface FILE: core/interfaces/node_service_option.go type NodeServiceOption (line 3) | type NodeServiceOption interface FILE: core/interfaces/node_worker_service.go type NodeWorkerService (line 5) | type NodeWorkerService interface FILE: core/interfaces/process_daemon.go type ProcessDaemon (line 8) | type ProcessDaemon interface FILE: core/interfaces/provide.go type Provide (line 3) | type Provide FILE: core/interfaces/result_service.go type ResultService (line 8) | type ResultService interface FILE: core/interfaces/result_service_mongo.go type ResultServiceMongo (line 9) | type ResultServiceMongo interface FILE: core/interfaces/result_service_registry.go type ResultServiceRegistry (line 5) | type ResultServiceRegistry interface type ResultServiceRegistryFn (line 11) | type ResultServiceRegistryFn FILE: core/interfaces/schedule_service.go type ScheduleService (line 8) | type ScheduleService interface FILE: core/interfaces/spider_admin_service.go type SpiderAdminService (line 7) | type SpiderAdminService interface FILE: core/interfaces/spider_service_options.go type SpiderRunOptions (line 5) | type SpiderRunOptions struct type SpiderCloneOptions (line 15) | type SpiderCloneOptions struct FILE: core/interfaces/stats_service.go type StatsService (line 5) | type StatsService interface FILE: core/interfaces/task_base_service.go type TaskBaseService (line 5) | type TaskBaseService interface FILE: core/interfaces/task_handler_service.go type TaskHandlerService (line 8) | type TaskHandlerService interface FILE: core/interfaces/task_hook_service.go type TaskHookService (line 3) | type TaskHookService interface FILE: core/interfaces/task_runner.go type TaskRunner (line 8) | type TaskRunner interface FILE: core/interfaces/task_scheduler_service.go type TaskSchedulerService (line 8) | type TaskSchedulerService interface FILE: core/interfaces/task_stats_service.go type TaskStatsService (line 5) | type TaskStatsService interface FILE: core/interfaces/test.go type Test (line 5) | type Test interface FILE: core/interfaces/translation.go type Translation (line 3) | type Translation interface FILE: core/interfaces/user_service.go type UserService (line 9) | type UserService interface FILE: core/interfaces/user_service_options.go type UserCreateOptions (line 3) | type UserCreateOptions struct type UserLoginOptions (line 10) | type UserLoginOptions struct FILE: core/interfaces/with_address.go type WithAddress (line 3) | type WithAddress interface FILE: core/interfaces/with_config_path.go type WithConfigPath (line 3) | type WithConfigPath interface FILE: core/interfaces/with_model_id.go type WithModelId (line 3) | type WithModelId interface FILE: core/main.go function main (line 3) | func main() { FILE: core/middlewares/auth.go function AuthorizationMiddleware (line 13) | func AuthorizationMiddleware() gin.HandlerFunc { FILE: core/middlewares/auth_v2.go function AuthorizationMiddlewareV2 (line 13) | func AuthorizationMiddlewareV2() gin.HandlerFunc { FILE: core/middlewares/cors.go function CORSMiddleware (line 5) | func CORSMiddleware() gin.HandlerFunc { FILE: core/middlewares/filer_auth.go function FilerAuthorizationMiddleware (line 10) | func FilerAuthorizationMiddleware() gin.HandlerFunc { FILE: core/middlewares/middlewares.go function InitMiddlewares (line 5) | func InitMiddlewares(app *gin.Engine) (err error) { FILE: core/models/client/binder_basic.go function NewBasicBinder (line 12) | func NewBasicBinder(id interfaces.ModelId, res *grpc.Response) (b interf... type BasicBinder (line 19) | type BasicBinder struct method Bind (line 24) | func (b *BasicBinder) Bind() (res interfaces.Model, err error) { method Process (line 87) | func (b *BasicBinder) Process(d interfaces.Model) (res interfaces.Mode... FILE: core/models/client/binder_list.go function NewListBinder (line 12) | func NewListBinder(id interfaces.ModelId, res *grpc.Response) (b interfa... type ListBinder (line 19) | type ListBinder struct method Bind (line 24) | func (b *ListBinder) Bind() (l interfaces.List, err error) { method MustBind (line 87) | func (b *ListBinder) MustBind() (res interface{}) { method Process (line 95) | func (b *ListBinder) Process(d interface{}) (l interfaces.List, err er... FILE: core/models/client/model_base_service.go type BaseServiceDelegate (line 22) | type BaseServiceDelegate struct method GetModelId (line 31) | func (d *BaseServiceDelegate) GetModelId() (id interfaces.ModelId) { method SetModelId (line 35) | func (d *BaseServiceDelegate) SetModelId(id interfaces.ModelId) { method GetConfigPath (line 39) | func (d *BaseServiceDelegate) GetConfigPath() (path string) { method SetConfigPath (line 43) | func (d *BaseServiceDelegate) SetConfigPath(path string) { method GetById (line 47) | func (d *BaseServiceDelegate) GetById(id primitive.ObjectID) (doc inte... method Get (line 65) | func (d *BaseServiceDelegate) Get(query bson.M, opts *mongo.FindOption... method GetList (line 76) | func (d *BaseServiceDelegate) GetList(query bson.M, opts *mongo.FindOp... method DeleteById (line 87) | func (d *BaseServiceDelegate) DeleteById(id primitive.ObjectID, args .... method Delete (line 99) | func (d *BaseServiceDelegate) Delete(query bson.M, args ...interface{}... method DeleteList (line 111) | func (d *BaseServiceDelegate) DeleteList(query bson.M, args ...interfa... method ForceDeleteList (line 123) | func (d *BaseServiceDelegate) ForceDeleteList(query bson.M, args ...in... method UpdateById (line 135) | func (d *BaseServiceDelegate) UpdateById(id primitive.ObjectID, update... method Update (line 147) | func (d *BaseServiceDelegate) Update(query bson.M, update bson.M, fiel... method UpdateDoc (line 159) | func (d *BaseServiceDelegate) UpdateDoc(query bson.M, doc interfaces.M... method Insert (line 171) | func (d *BaseServiceDelegate) Insert(u interfaces.User, docs ...interf... method Count (line 182) | func (d *BaseServiceDelegate) Count(query bson.M) (total int, err erro... method newRequest (line 196) | func (d *BaseServiceDelegate) newRequest(params interfaces.GrpcBaseSer... method mustNewRequest (line 200) | func (d *BaseServiceDelegate) mustNewRequest(params *entity.GrpcBaseSe... method getModelBaseServiceClient (line 208) | func (d *BaseServiceDelegate) getModelBaseServiceClient() (c grpc.Mode... function NewBaseServiceDelegate (line 223) | func NewBaseServiceDelegate(opts ...ModelBaseServiceDelegateOption) (svc... function ProvideBaseServiceDelegate (line 247) | func ProvideBaseServiceDelegate(id interfaces.ModelId) func() (svc inter... FILE: core/models/client/model_delegate.go function NewModelDelegate (line 17) | func NewModelDelegate(doc interfaces.Model, opts ...ModelDelegateOption)... function newModelDelegate (line 77) | func newModelDelegate(id interfaces.ModelId, doc interfaces.Model, opts ... type ModelDelegate (line 125) | type ModelDelegate struct method Add (line 137) | func (d *ModelDelegate) Add() (err error) { method Save (line 141) | func (d *ModelDelegate) Save() (err error) { method Delete (line 145) | func (d *ModelDelegate) Delete() (err error) { method GetArtifact (line 149) | func (d *ModelDelegate) GetArtifact() (res interfaces.ModelArtifact, e... method GetModel (line 156) | func (d *ModelDelegate) GetModel() (res interfaces.Model) { method Refresh (line 160) | func (d *ModelDelegate) Refresh() (err error) { method GetConfigPath (line 164) | func (d *ModelDelegate) GetConfigPath() (path string) { method SetConfigPath (line 168) | func (d *ModelDelegate) SetConfigPath(path string) { method Close (line 172) | func (d *ModelDelegate) Close() (err error) { method ToBytes (line 176) | func (d *ModelDelegate) ToBytes(m interface{}) (bytes []byte, err erro... method do (line 183) | func (d *ModelDelegate) do(method interfaces.ModelDelegateMethod) (err... method add (line 204) | func (d *ModelDelegate) add() (err error) { method save (line 222) | func (d *ModelDelegate) save() (err error) { method delete (line 240) | func (d *ModelDelegate) delete() (err error) { method refresh (line 258) | func (d *ModelDelegate) refresh() (err error) { method refreshArtifact (line 276) | func (d *ModelDelegate) refreshArtifact() (err error) { method getArtifact (line 281) | func (d *ModelDelegate) getArtifact() (res2 interfaces.ModelArtifact, ... method mustGetData (line 299) | func (d *ModelDelegate) mustGetData() (data []byte) { method getData (line 307) | func (d *ModelDelegate) getData() (data []byte, err error) { method deserialize (line 311) | func (d *ModelDelegate) deserialize(res *grpc.Response, method interfa... FILE: core/models/client/model_environment_service.go type EnvironmentServiceDelegate (line 11) | type EnvironmentServiceDelegate struct method GetEnvironmentById (line 15) | func (svc *EnvironmentServiceDelegate) GetEnvironmentById(id primitive... method GetEnvironment (line 27) | func (svc *EnvironmentServiceDelegate) GetEnvironment(query bson.M, op... method GetEnvironmentList (line 39) | func (svc *EnvironmentServiceDelegate) GetEnvironmentList(query bson.M... function NewEnvironmentServiceDelegate (line 54) | func NewEnvironmentServiceDelegate() (svc2 interfaces.GrpcClientModelEnv... FILE: core/models/client/model_node_delegate.go type ModelNodeDelegate (line 9) | type ModelNodeDelegate struct method UpdateStatus (line 14) | func (d *ModelNodeDelegate) UpdateStatus(active bool, activeTs *time.T... method UpdateStatusOnline (line 23) | func (d *ModelNodeDelegate) UpdateStatusOnline() (err error) { method UpdateStatusOffline (line 28) | func (d *ModelNodeDelegate) UpdateStatusOffline() (err error) { function NewModelNodeDelegate (line 32) | func NewModelNodeDelegate(n interfaces.Node) interfaces.ModelNodeDelegate { FILE: core/models/client/model_node_service.go type NodeServiceDelegate (line 11) | type NodeServiceDelegate struct method GetNodeById (line 15) | func (svc *NodeServiceDelegate) GetNodeById(id primitive.ObjectID) (n ... method GetNode (line 27) | func (svc *NodeServiceDelegate) GetNode(query bson.M, opts *mongo.Find... method GetNodeByKey (line 39) | func (svc *NodeServiceDelegate) GetNodeByKey(key string) (n interfaces... method GetNodeList (line 43) | func (svc *NodeServiceDelegate) GetNodeList(query bson.M, opts *mongo.... function NewNodeServiceDelegate (line 58) | func NewNodeServiceDelegate() (svc2 interfaces.GrpcClientModelNodeServic... FILE: core/models/client/model_service.go type ServiceDelegate (line 9) | type ServiceDelegate struct method GetConfigPath (line 17) | func (d *ServiceDelegate) GetConfigPath() string { method SetConfigPath (line 21) | func (d *ServiceDelegate) SetConfigPath(path string) { method NewBaseServiceDelegate (line 25) | func (d *ServiceDelegate) NewBaseServiceDelegate(id interfaces.ModelId... function NewServiceDelegate (line 34) | func NewServiceDelegate() (svc2 interfaces.GrpcClientModelService, err e... FILE: core/models/client/model_service_v2.go type ModelServiceV2 (line 22) | type ModelServiceV2 struct method GetById (line 28) | func (svc *ModelServiceV2[T]) GetById(id primitive.ObjectID) (model *T, ... method GetOne (line 42) | func (svc *ModelServiceV2[T]) GetOne(query bson.M, options *mongo.FindOp... method GetMany (line 65) | func (svc *ModelServiceV2[T]) GetMany(query bson.M, options *mongo.FindO... method DeleteById (line 88) | func (svc *ModelServiceV2[T]) DeleteById(id primitive.ObjectID) (err err... method DeleteOne (line 102) | func (svc *ModelServiceV2[T]) DeleteOne(query bson.M) (err error) { method DeleteMany (line 120) | func (svc *ModelServiceV2[T]) DeleteMany(query bson.M) (err error) { method UpdateById (line 138) | func (svc *ModelServiceV2[T]) UpdateById(id primitive.ObjectID, update b... method UpdateOne (line 157) | func (svc *ModelServiceV2[T]) UpdateOne(query bson.M, update bson.M) (er... method UpdateMany (line 180) | func (svc *ModelServiceV2[T]) UpdateMany(query bson.M, update bson.M) (e... method ReplaceById (line 200) | func (svc *ModelServiceV2[T]) ReplaceById(id primitive.ObjectID, model T... method ReplaceOne (line 219) | func (svc *ModelServiceV2[T]) ReplaceOne(query bson.M, model T) (err err... method InsertOne (line 242) | func (svc *ModelServiceV2[T]) InsertOne(model T) (id primitive.ObjectID,... method InsertMany (line 265) | func (svc *ModelServiceV2[T]) InsertMany(models []T) (ids []primitive.Ob... method Count (line 283) | func (svc *ModelServiceV2[T]) Count(query bson.M) (total int, err error) { method GetCol (line 301) | func (svc *ModelServiceV2[T]) GetCol() (col *mongo.Col) { method deserializeOne (line 305) | func (svc *ModelServiceV2[T]) deserializeOne(res *grpc.Response) (result... method deserializeMany (line 313) | func (svc *ModelServiceV2[T]) deserializeMany(res *grpc.Response) (resul... function deserialize (line 317) | func deserialize[T any](res *grpc.Response) (result T, err error) { function NewModelServiceV2 (line 325) | func NewModelServiceV2[T any]() *ModelServiceV2[T] { FILE: core/models/client/model_service_v2_test.go type TestModel (line 21) | type TestModel function setupTestDB (line 23) | func setupTestDB() { function teardownTestDB (line 27) | func teardownTestDB() { function startSvr (line 32) | func startSvr(svr *server.GrpcServerV2) { function stopSvr (line 39) | func stopSvr(svr *server.GrpcServerV2) { function TestModelServiceV2_GetById (line 46) | func TestModelServiceV2_GetById(t *testing.T) { function TestModelServiceV2_GetOne (line 74) | func TestModelServiceV2_GetOne(t *testing.T) { function TestModelServiceV2_GetMany (line 102) | func TestModelServiceV2_GetMany(t *testing.T) { function TestModelServiceV2_DeleteById (line 131) | func TestModelServiceV2_DeleteById(t *testing.T) { function TestModelServiceV2_DeleteOne (line 161) | func TestModelServiceV2_DeleteOne(t *testing.T) { function TestModelServiceV2_DeleteMany (line 191) | func TestModelServiceV2_DeleteMany(t *testing.T) { function TestModelServiceV2_UpdateById (line 221) | func TestModelServiceV2_UpdateById(t *testing.T) { function TestModelServiceV2_UpdateOne (line 251) | func TestModelServiceV2_UpdateOne(t *testing.T) { function TestModelServiceV2_UpdateMany (line 281) | func TestModelServiceV2_UpdateMany(t *testing.T) { function TestModelServiceV2_ReplaceById (line 315) | func TestModelServiceV2_ReplaceById(t *testing.T) { function TestModelServiceV2_ReplaceOne (line 346) | func TestModelServiceV2_ReplaceOne(t *testing.T) { function TestModelServiceV2_InsertOne (line 377) | func TestModelServiceV2_InsertOne(t *testing.T) { function TestModelServiceV2_InsertMany (line 401) | func TestModelServiceV2_InsertMany(t *testing.T) { function TestModelServiceV2_Count (line 428) | func TestModelServiceV2_Count(t *testing.T) { FILE: core/models/client/model_spider_service.go type SpiderServiceDelegate (line 11) | type SpiderServiceDelegate struct method GetSpiderById (line 15) | func (svc *SpiderServiceDelegate) GetSpiderById(id primitive.ObjectID)... method GetSpider (line 27) | func (svc *SpiderServiceDelegate) GetSpider(query bson.M, opts *mongo.... method GetSpiderList (line 39) | func (svc *SpiderServiceDelegate) GetSpiderList(query bson.M, opts *mo... function NewSpiderServiceDelegate (line 54) | func NewSpiderServiceDelegate() (svc2 interfaces.GrpcClientModelSpiderSe... FILE: core/models/client/model_task_service.go type TaskServiceDelegate (line 11) | type TaskServiceDelegate struct method GetTaskById (line 15) | func (svc *TaskServiceDelegate) GetTaskById(id primitive.ObjectID) (t ... method GetTask (line 27) | func (svc *TaskServiceDelegate) GetTask(query bson.M, opts *mongo.Find... method GetTaskList (line 39) | func (svc *TaskServiceDelegate) GetTaskList(query bson.M, opts *mongo.... function NewTaskServiceDelegate (line 54) | func NewTaskServiceDelegate() (svc2 interfaces.GrpcClientModelTaskServic... FILE: core/models/client/model_task_stat_service.go type TaskStatServiceDelegate (line 11) | type TaskStatServiceDelegate struct method GetTaskStatById (line 15) | func (svc *TaskStatServiceDelegate) GetTaskStatById(id primitive.Objec... method GetTaskStat (line 27) | func (svc *TaskStatServiceDelegate) GetTaskStat(query bson.M, opts *mo... method GetTaskStatList (line 39) | func (svc *TaskStatServiceDelegate) GetTaskStatList(query bson.M, opts... function NewTaskStatServiceDelegate (line 54) | func NewTaskStatServiceDelegate() (svc2 interfaces.GrpcClientModelTaskSt... FILE: core/models/client/options.go type ModelDelegateOption (line 5) | type ModelDelegateOption function WithDelegateConfigPath (line 7) | func WithDelegateConfigPath(path string) ModelDelegateOption { type ModelServiceDelegateOption (line 13) | type ModelServiceDelegateOption function WithServiceConfigPath (line 15) | func WithServiceConfigPath(path string) ModelServiceDelegateOption { type ModelBaseServiceDelegateOption (line 21) | type ModelBaseServiceDelegateOption function WithBaseServiceModelId (line 23) | func WithBaseServiceModelId(id interfaces.ModelId) ModelBaseServiceDeleg... function WithBaseServiceConfigPath (line 29) | func WithBaseServiceConfigPath(path string) ModelBaseServiceDelegateOpti... FILE: core/models/common/index_service_v2.go function CreateIndexesV2 (line 12) | func CreateIndexesV2() { FILE: core/models/config_spider/common.go function GetAllFields (line 5) | func GetAllFields(data entity.ConfigSpiderData) []entity.Field { function GetStartStageName (line 13) | func GetStartStageName(data entity.ConfigSpiderData) string { FILE: core/models/delegate/base_test.go function SetupTest (line 11) | func SetupTest(t *testing.T) { function CleanupTest (line 16) | func CleanupTest() { FILE: core/models/delegate/model.go function NewModelDelegate (line 20) | func NewModelDelegate(doc interfaces.Model, args ...interface{}) interfa... function newModelDelegate (line 82) | func newModelDelegate(id interfaces.ModelId, doc interfaces.Model, args ... type ModelDelegate (line 103) | type ModelDelegate struct method Add (line 114) | func (d *ModelDelegate) Add() (err error) { method Save (line 119) | func (d *ModelDelegate) Save() (err error) { method Delete (line 124) | func (d *ModelDelegate) Delete() (err error) { method GetArtifact (line 129) | func (d *ModelDelegate) GetArtifact() (res interfaces.ModelArtifact, e... method Refresh (line 137) | func (d *ModelDelegate) Refresh() (err error) { method GetModel (line 142) | func (d *ModelDelegate) GetModel() (res interfaces.Model) { method ToBytes (line 146) | func (d *ModelDelegate) ToBytes(m interface{}) (bytes []byte, err erro... method do (line 154) | func (d *ModelDelegate) do(method interfaces.ModelDelegateMethod) (err... method add (line 180) | func (d *ModelDelegate) add() (err error) { method save (line 198) | func (d *ModelDelegate) save() (err error) { method delete (line 236) | func (d *ModelDelegate) delete() (err error) { method refresh (line 251) | func (d *ModelDelegate) refresh() (err error) { method refreshArtifact (line 264) | func (d *ModelDelegate) refreshArtifact() (err error) { method upsertArtifact (line 276) | func (d *ModelDelegate) upsertArtifact() (err error) { method deleteArtifact (line 325) | func (d *ModelDelegate) deleteArtifact() (err error) { method hasChange (line 345) | func (d *ModelDelegate) hasChange() (ok bool) { method _skip (line 349) | func (d *ModelDelegate) _skip() (ok bool) { FILE: core/models/delegate/model_node.go type ModelNodeDelegate (line 9) | type ModelNodeDelegate struct method UpdateStatus (line 14) | func (d *ModelNodeDelegate) UpdateStatus(active bool, activeTs *time.T... method UpdateStatusOnline (line 23) | func (d *ModelNodeDelegate) UpdateStatusOnline() (err error) { method UpdateStatusOffline (line 28) | func (d *ModelNodeDelegate) UpdateStatusOffline() (err error) { function NewModelNodeDelegate (line 32) | func NewModelNodeDelegate(n interfaces.Node) interfaces.ModelNodeDelegate { FILE: core/models/delegate/model_node_test.go function TestNode_Add (line 12) | func TestNode_Add(t *testing.T) { function TestNode_Save (line 29) | func TestNode_Save(t *testing.T) { function TestNode_Delete (line 46) | func TestNode_Delete(t *testing.T) { FILE: core/models/delegate/model_role_test.go function TestRole_Add (line 12) | func TestRole_Add(t *testing.T) { function TestRole_Save (line 28) | func TestRole_Save(t *testing.T) { function TestRole_Delete (line 46) | func TestRole_Delete(t *testing.T) { FILE: core/models/delegate/model_test.go function TestProject_Add (line 12) | func TestProject_Add(t *testing.T) { function TestProject_Save (line 28) | func TestProject_Save(t *testing.T) { function TestProject_Delete (line 46) | func TestProject_Delete(t *testing.T) { FILE: core/models/delegate/utils_event.go function GetEventName (line 8) | func GetEventName(d *ModelDelegate, method interfaces.ModelDelegateMetho... function getEventName (line 12) | func getEventName(d *ModelDelegate, method interfaces.ModelDelegateMetho... FILE: core/models/models/artifact.go type Artifact (line 8) | type Artifact struct method GetId (line 17) | func (a *Artifact) GetId() (id primitive.ObjectID) { method SetId (line 21) | func (a *Artifact) SetId(id primitive.ObjectID) { method GetSys (line 25) | func (a *Artifact) GetSys() (sys interfaces.ModelArtifactSys) { method GetTagIds (line 32) | func (a *Artifact) GetTagIds() (ids []primitive.ObjectID) { method SetTagIds (line 36) | func (a *Artifact) SetTagIds(ids []primitive.ObjectID) { method SetObj (line 40) | func (a *Artifact) SetObj(obj interfaces.Model) { method SetDel (line 44) | func (a *Artifact) SetDel(del bool) { type ArtifactList (line 48) | type ArtifactList method GetModels (line 50) | func (l *ArtifactList) GetModels() (res []interfaces.Model) { FILE: core/models/models/artifact_sys.go type ArtifactSys (line 8) | type ArtifactSys struct method GetCreateTs (line 17) | func (sys *ArtifactSys) GetCreateTs() time.Time { method SetCreateTs (line 21) | func (sys *ArtifactSys) SetCreateTs(ts time.Time) { method GetUpdateTs (line 25) | func (sys *ArtifactSys) GetUpdateTs() time.Time { method SetUpdateTs (line 29) | func (sys *ArtifactSys) SetUpdateTs(ts time.Time) { method GetDeleteTs (line 33) | func (sys *ArtifactSys) GetDeleteTs() time.Time { method SetDeleteTs (line 37) | func (sys *ArtifactSys) SetDeleteTs(ts time.Time) { method GetCreateUid (line 41) | func (sys *ArtifactSys) GetCreateUid() primitive.ObjectID { method SetCreateUid (line 45) | func (sys *ArtifactSys) SetCreateUid(id primitive.ObjectID) { method GetUpdateUid (line 49) | func (sys *ArtifactSys) GetUpdateUid() primitive.ObjectID { method SetUpdateUid (line 53) | func (sys *ArtifactSys) SetUpdateUid(id primitive.ObjectID) { method GetDeleteUid (line 57) | func (sys *ArtifactSys) GetDeleteUid() primitive.ObjectID { method SetDeleteUid (line 61) | func (sys *ArtifactSys) SetDeleteUid(id primitive.ObjectID) { FILE: core/models/models/base.go type BaseModel (line 7) | type BaseModel struct method GetId (line 11) | func (d *BaseModel) GetId() (id primitive.ObjectID) { FILE: core/models/models/data_collection.go type DataCollection (line 9) | type DataCollection struct method GetId (line 20) | func (dc *DataCollection) GetId() (id primitive.ObjectID) { method SetId (line 24) | func (dc *DataCollection) SetId(id primitive.ObjectID) { type DataCollectionList (line 28) | type DataCollectionList method GetModels (line 30) | func (l *DataCollectionList) GetModels() (res []interfaces.Model) { FILE: core/models/models/data_source.go type DataSource (line 8) | type DataSource struct method GetId (line 26) | func (ds *DataSource) GetId() (id primitive.ObjectID) { method SetId (line 30) | func (ds *DataSource) SetId(id primitive.ObjectID) { type DataSourceList (line 34) | type DataSourceList method GetModels (line 36) | func (l *DataSourceList) GetModels() (res []interfaces.Model) { FILE: core/models/models/dependency_setting.go type DependencySetting (line 9) | type DependencySetting struct method GetId (line 20) | func (j *DependencySetting) GetId() (id primitive.ObjectID) { method SetId (line 24) | func (j *DependencySetting) SetId(id primitive.ObjectID) { type DependencySettingList (line 28) | type DependencySettingList method GetModels (line 30) | func (l *DependencySettingList) GetModels() (res []interfaces.Model) { FILE: core/models/models/environment.go type Environment (line 8) | type Environment struct method GetId (line 14) | func (e *Environment) GetId() (id primitive.ObjectID) { method SetId (line 18) | func (e *Environment) SetId(id primitive.ObjectID) { method GetKey (line 22) | func (e *Environment) GetKey() (key string) { method SetKey (line 26) | func (e *Environment) SetKey(key string) { method GetValue (line 30) | func (e *Environment) GetValue() (value string) { method SetValue (line 34) | func (e *Environment) SetValue(value string) { type EnvironmentList (line 38) | type EnvironmentList method GetModels (line 40) | func (l *EnvironmentList) GetModels() (res []interfaces.Model) { FILE: core/models/models/extra_value.go type ExtraValue (line 8) | type ExtraValue struct method GetId (line 16) | func (ev *ExtraValue) GetId() (id primitive.ObjectID) { method SetId (line 20) | func (ev *ExtraValue) SetId(id primitive.ObjectID) { method GetValue (line 24) | func (ev *ExtraValue) GetValue() (v interface{}) { method SetValue (line 28) | func (ev *ExtraValue) SetValue(v interface{}) { method GetObjectId (line 32) | func (ev *ExtraValue) GetObjectId() (oid primitive.ObjectID) { method SetObjectId (line 36) | func (ev *ExtraValue) SetObjectId(oid primitive.ObjectID) { method GetModel (line 40) | func (ev *ExtraValue) GetModel() (m string) { method SetModel (line 44) | func (ev *ExtraValue) SetModel(m string) { method GetType (line 48) | func (ev *ExtraValue) GetType() (t string) { method SetType (line 52) | func (ev *ExtraValue) SetType(t string) { type ExtraValueList (line 56) | type ExtraValueList method GetModels (line 58) | func (l *ExtraValueList) GetModels() (res []interfaces.Model) { FILE: core/models/models/git.go type Git (line 8) | type Git struct method GetId (line 18) | func (g *Git) GetId() (id primitive.ObjectID) { method SetId (line 22) | func (g *Git) SetId(id primitive.ObjectID) { method GetUrl (line 26) | func (g *Git) GetUrl() (url string) { method SetUrl (line 30) | func (g *Git) SetUrl(url string) { method GetAuthType (line 34) | func (g *Git) GetAuthType() (authType string) { method SetAuthType (line 38) | func (g *Git) SetAuthType(authType string) { method GetUsername (line 42) | func (g *Git) GetUsername() (username string) { method SetUsername (line 46) | func (g *Git) SetUsername(username string) { method GetPassword (line 50) | func (g *Git) GetPassword() (password string) { method SetPassword (line 54) | func (g *Git) SetPassword(password string) { method GetCurrentBranch (line 58) | func (g *Git) GetCurrentBranch() (currentBranch string) { method SetCurrentBranch (line 62) | func (g *Git) SetCurrentBranch(currentBranch string) { method GetAutoPull (line 66) | func (g *Git) GetAutoPull() (autoPull bool) { method SetAutoPull (line 70) | func (g *Git) SetAutoPull(autoPull bool) { type GitList (line 74) | type GitList method GetModels (line 76) | func (l *GitList) GetModels() (res []interfaces.Model) { FILE: core/models/models/job.go type Job (line 8) | type Job struct method GetId (line 13) | func (j *Job) GetId() (id primitive.ObjectID) { method SetId (line 17) | func (j *Job) SetId(id primitive.ObjectID) { type JobList (line 21) | type JobList method GetModels (line 23) | func (l *JobList) GetModels() (res []interfaces.Model) { FILE: core/models/models/node.go type Node (line 9) | type Node struct method GetId (line 27) | func (n *Node) GetId() (id primitive.ObjectID) { method SetId (line 31) | func (n *Node) SetId(id primitive.ObjectID) { method GetName (line 35) | func (n *Node) GetName() (name string) { method SetName (line 39) | func (n *Node) SetName(name string) { method GetDescription (line 43) | func (n *Node) GetDescription() (description string) { method SetDescription (line 47) | func (n *Node) SetDescription(description string) { method GetKey (line 51) | func (n *Node) GetKey() (key string) { method GetIsMaster (line 55) | func (n *Node) GetIsMaster() (ok bool) { method GetActive (line 59) | func (n *Node) GetActive() (active bool) { method SetActive (line 63) | func (n *Node) SetActive(active bool) { method SetActiveTs (line 67) | func (n *Node) SetActiveTs(activeTs time.Time) { method GetStatus (line 71) | func (n *Node) GetStatus() (status string) { method SetStatus (line 75) | func (n *Node) SetStatus(status string) { method GetEnabled (line 79) | func (n *Node) GetEnabled() (enabled bool) { method SetEnabled (line 83) | func (n *Node) SetEnabled(enabled bool) { method GetAvailableRunners (line 87) | func (n *Node) GetAvailableRunners() (runners int) { method SetAvailableRunners (line 91) | func (n *Node) SetAvailableRunners(runners int) { method GetMaxRunners (line 95) | func (n *Node) GetMaxRunners() (runners int) { method SetMaxRunners (line 99) | func (n *Node) SetMaxRunners(runners int) { method IncrementAvailableRunners (line 103) | func (n *Node) IncrementAvailableRunners() { method DecrementAvailableRunners (line 107) | func (n *Node) DecrementAvailableRunners() { type NodeList (line 111) | type NodeList method GetModels (line 113) | func (l *NodeList) GetModels() (res []interfaces.Model) { FILE: core/models/models/password.go type Password (line 8) | type Password struct method GetId (line 13) | func (p *Password) GetId() (id primitive.ObjectID) { method SetId (line 17) | func (p *Password) SetId(id primitive.ObjectID) { type PasswordList (line 21) | type PasswordList method GetModels (line 23) | func (l *PasswordList) GetModels() (res []interfaces.Model) { FILE: core/models/models/permission.go type Permission (line 8) | type Permission struct method GetId (line 19) | func (p *Permission) GetId() (id primitive.ObjectID) { method SetId (line 23) | func (p *Permission) SetId(id primitive.ObjectID) { method GetKey (line 27) | func (p *Permission) GetKey() (key string) { method SetKey (line 31) | func (p *Permission) SetKey(key string) { method GetName (line 35) | func (p *Permission) GetName() (name string) { method SetName (line 39) | func (p *Permission) SetName(name string) { method GetDescription (line 43) | func (p *Permission) GetDescription() (description string) { method SetDescription (line 47) | func (p *Permission) SetDescription(description string) { method GetType (line 51) | func (p *Permission) GetType() (t string) { method SetType (line 55) | func (p *Permission) SetType(t string) { method GetTarget (line 59) | func (p *Permission) GetTarget() (target []string) { method SetTarget (line 63) | func (p *Permission) SetTarget(target []string) { method GetAllow (line 67) | func (p *Permission) GetAllow() (include []string) { method SetAllow (line 71) | func (p *Permission) SetAllow(include []string) { method GetDeny (line 75) | func (p *Permission) GetDeny() (exclude []string) { method SetDeny (line 79) | func (p *Permission) SetDeny(exclude []string) { type PermissionList (line 83) | type PermissionList method GetModels (line 85) | func (l *PermissionList) GetModels() (res []interfaces.Model) { FILE: core/models/models/project.go type Project (line 8) | type Project struct method GetId (line 15) | func (p *Project) GetId() (id primitive.ObjectID) { method SetId (line 19) | func (p *Project) SetId(id primitive.ObjectID) { method GetName (line 23) | func (p *Project) GetName() (name string) { method SetName (line 27) | func (p *Project) SetName(name string) { method GetDescription (line 31) | func (p *Project) GetDescription() (description string) { method SetDescription (line 35) | func (p *Project) SetDescription(description string) { type ProjectList (line 39) | type ProjectList method GetModels (line 41) | func (l *ProjectList) GetModels() (res []interfaces.Model) { FILE: core/models/models/result.go type Result (line 10) | type Result method GetId (line 12) | func (r *Result) GetId() (id primitive.ObjectID) { method SetId (line 23) | func (r *Result) SetId(id primitive.ObjectID) { method Value (line 27) | func (r *Result) Value() map[string]interface{} { method SetValue (line 31) | func (r *Result) SetValue(key string, value interface{}) { method GetValue (line 35) | func (r *Result) GetValue(key string) (value interface{}) { method GetTaskId (line 39) | func (r *Result) GetTaskId() (id primitive.ObjectID) { method SetTaskId (line 48) | func (r *Result) SetTaskId(id primitive.ObjectID) { type ResultList (line 52) | type ResultList method GetModels (line 54) | func (l *ResultList) GetModels() (res []interfaces.Model) { FILE: core/models/models/role.go type Role (line 8) | type Role struct method GetId (line 15) | func (r *Role) GetId() (id primitive.ObjectID) { method SetId (line 19) | func (r *Role) SetId(id primitive.ObjectID) { method GetKey (line 23) | func (r *Role) GetKey() (key string) { method SetKey (line 27) | func (r *Role) SetKey(key string) { method GetName (line 31) | func (r *Role) GetName() (name string) { method SetName (line 35) | func (r *Role) SetName(name string) { method GetDescription (line 39) | func (r *Role) GetDescription() (description string) { method SetDescription (line 43) | func (r *Role) SetDescription(description string) { type RoleList (line 47) | type RoleList method GetModels (line 49) | func (l *RoleList) GetModels() (res []interfaces.Model) { FILE: core/models/models/role_permission.go type RolePermission (line 8) | type RolePermission struct method GetId (line 14) | func (ur *RolePermission) GetId() (id primitive.ObjectID) { method SetId (line 18) | func (ur *RolePermission) SetId(id primitive.ObjectID) { type RolePermissionList (line 22) | type RolePermissionList method GetModels (line 24) | func (l *RolePermissionList) GetModels() (res []interfaces.Model) { FILE: core/models/models/schedule.go type Schedule (line 9) | type Schedule struct method GetId (line 25) | func (s *Schedule) GetId() (id primitive.ObjectID) { method SetId (line 29) | func (s *Schedule) SetId(id primitive.ObjectID) { method GetEnabled (line 33) | func (s *Schedule) GetEnabled() (enabled bool) { method SetEnabled (line 37) | func (s *Schedule) SetEnabled(enabled bool) { method GetEntryId (line 41) | func (s *Schedule) GetEntryId() (id cron.EntryID) { method SetEntryId (line 45) | func (s *Schedule) SetEntryId(id cron.EntryID) { method GetCron (line 49) | func (s *Schedule) GetCron() (c string) { method SetCron (line 53) | func (s *Schedule) SetCron(c string) { method GetSpiderId (line 57) | func (s *Schedule) GetSpiderId() (id primitive.ObjectID) { method SetSpiderId (line 61) | func (s *Schedule) SetSpiderId(id primitive.ObjectID) { method GetMode (line 65) | func (s *Schedule) GetMode() (mode string) { method SetMode (line 69) | func (s *Schedule) SetMode(mode string) { method GetNodeIds (line 73) | func (s *Schedule) GetNodeIds() (ids []primitive.ObjectID) { method SetNodeIds (line 77) | func (s *Schedule) SetNodeIds(ids []primitive.ObjectID) { method GetCmd (line 81) | func (s *Schedule) GetCmd() (cmd string) { method SetCmd (line 85) | func (s *Schedule) SetCmd(cmd string) { method GetParam (line 89) | func (s *Schedule) GetParam() (param string) { method SetParam (line 93) | func (s *Schedule) SetParam(param string) { method GetPriority (line 97) | func (s *Schedule) GetPriority() (p int) { method SetPriority (line 101) | func (s *Schedule) SetPriority(p int) { type ScheduleList (line 105) | type ScheduleList method GetModels (line 107) | func (l *ScheduleList) GetModels() (res []interfaces.Model) { FILE: core/models/models/setting.go type Setting (line 9) | type Setting struct method GetId (line 15) | func (s *Setting) GetId() (id primitive.ObjectID) { method SetId (line 19) | func (s *Setting) SetId(id primitive.ObjectID) { type SettingList (line 23) | type SettingList method GetModels (line 25) | func (l *SettingList) GetModels() (res []interfaces.Model) { FILE: core/models/models/spider.go type Env (line 8) | type Env struct type Spider (line 13) | type Spider struct method GetId (line 37) | func (s *Spider) GetId() (id primitive.ObjectID) { method SetId (line 41) | func (s *Spider) SetId(id primitive.ObjectID) { method GetName (line 45) | func (s *Spider) GetName() (name string) { method SetName (line 49) | func (s *Spider) SetName(name string) { method GetDescription (line 53) | func (s *Spider) GetDescription() (description string) { method SetDescription (line 57) | func (s *Spider) SetDescription(description string) { method GetType (line 61) | func (s *Spider) GetType() (ty string) { method GetMode (line 65) | func (s *Spider) GetMode() (mode string) { method SetMode (line 69) | func (s *Spider) SetMode(mode string) { method GetNodeIds (line 73) | func (s *Spider) GetNodeIds() (ids []primitive.ObjectID) { method SetNodeIds (line 77) | func (s *Spider) SetNodeIds(ids []primitive.ObjectID) { method GetCmd (line 81) | func (s *Spider) GetCmd() (cmd string) { method SetCmd (line 85) | func (s *Spider) SetCmd(cmd string) { method GetParam (line 89) | func (s *Spider) GetParam() (param string) { method SetParam (line 93) | func (s *Spider) SetParam(param string) { method GetPriority (line 97) | func (s *Spider) GetPriority() (p int) { method SetPriority (line 101) | func (s *Spider) SetPriority(p int) { method GetColId (line 105) | func (s *Spider) GetColId() (id primitive.ObjectID) { method SetColId (line 109) | func (s *Spider) SetColId(id primitive.ObjectID) { method GetIncrementalSync (line 113) | func (s *Spider) GetIncrementalSync() (incrementalSync bool) { method SetIncrementalSync (line 117) | func (s *Spider) SetIncrementalSync(incrementalSync bool) { method GetAutoInstall (line 121) | func (s *Spider) GetAutoInstall() (autoInstall bool) { method SetAutoInstall (line 125) | func (s *Spider) SetAutoInstall(autoInstall bool) { type SpiderList (line 129) | type SpiderList method GetModels (line 131) | func (l *SpiderList) GetModels() (res []interfaces.Model) { FILE: core/models/models/spider_stat.go type SpiderStat (line 8) | type SpiderStat struct method GetId (line 22) | func (s *SpiderStat) GetId() (id primitive.ObjectID) { method SetId (line 26) | func (s *SpiderStat) SetId(id primitive.ObjectID) { type SpiderStatList (line 30) | type SpiderStatList method GetModels (line 32) | func (l *SpiderStatList) GetModels() (res []interfaces.Model) { FILE: core/models/models/tag.go type Tag (line 8) | type Tag struct method GetId (line 16) | func (t *Tag) GetId() (id primitive.ObjectID) { method SetId (line 20) | func (t *Tag) SetId(id primitive.ObjectID) { method GetName (line 24) | func (t *Tag) GetName() (res string) { method GetColor (line 28) | func (t *Tag) GetColor() (res string) { method SetCol (line 32) | func (t *Tag) SetCol(col string) { type TagList (line 36) | type TagList method GetModels (line 38) | func (l *TagList) GetModels() (res []interfaces.Model) { FILE: core/models/models/task.go type Task (line 9) | type Task struct method GetId (line 32) | func (t *Task) GetId() (id primitive.ObjectID) { method SetId (line 36) | func (t *Task) SetId(id primitive.ObjectID) { method GetNodeId (line 40) | func (t *Task) GetNodeId() (id primitive.ObjectID) { method SetNodeId (line 44) | func (t *Task) SetNodeId(id primitive.ObjectID) { method GetNodeIds (line 48) | func (t *Task) GetNodeIds() (ids []primitive.ObjectID) { method GetStatus (line 52) | func (t *Task) GetStatus() (status string) { method SetStatus (line 56) | func (t *Task) SetStatus(status string) { method GetError (line 60) | func (t *Task) GetError() (error string) { method SetError (line 64) | func (t *Task) SetError(error string) { method GetPid (line 68) | func (t *Task) GetPid() (pid int) { method SetPid (line 72) | func (t *Task) SetPid(pid int) { method GetSpiderId (line 76) | func (t *Task) GetSpiderId() (id primitive.ObjectID) { method GetType (line 80) | func (t *Task) GetType() (ty string) { method GetCmd (line 84) | func (t *Task) GetCmd() (cmd string) { method GetParam (line 88) | func (t *Task) GetParam() (param string) { method GetPriority (line 92) | func (t *Task) GetPriority() (p int) { method GetUserId (line 96) | func (t *Task) GetUserId() (id primitive.ObjectID) { method SetUserId (line 100) | func (t *Task) SetUserId(id primitive.ObjectID) { type TaskList (line 104) | type TaskList method GetModels (line 106) | func (l *TaskList) GetModels() (res []interfaces.Model) { type TaskDailyItem (line 114) | type TaskDailyItem struct FILE: core/models/models/task_queue_item.go type TaskQueueItem (line 8) | type TaskQueueItem struct method GetId (line 14) | func (t *TaskQueueItem) GetId() (id primitive.ObjectID) { method SetId (line 18) | func (t *TaskQueueItem) SetId(id primitive.ObjectID) { type TaskQueueItemList (line 22) | type TaskQueueItemList method GetModels (line 24) | func (l *TaskQueueItemList) GetModels() (res []interfaces.Model) { FILE: core/models/models/task_stat.go type TaskStat (line 9) | type TaskStat struct method GetId (line 21) | func (s *TaskStat) GetId() (id primitive.ObjectID) { method SetId (line 25) | func (s *TaskStat) SetId(id primitive.ObjectID) { method GetCreateTs (line 29) | func (s *TaskStat) GetCreateTs() (ts time.Time) { method SetCreateTs (line 33) | func (s *TaskStat) SetCreateTs(ts time.Time) { method GetStartTs (line 37) | func (s *TaskStat) GetStartTs() (ts time.Time) { method SetStartTs (line 41) | func (s *TaskStat) SetStartTs(ts time.Time) { method GetEndTs (line 45) | func (s *TaskStat) GetEndTs() (ts time.Time) { method SetEndTs (line 49) | func (s *TaskStat) SetEndTs(ts time.Time) { method GetWaitDuration (line 53) | func (s *TaskStat) GetWaitDuration() (d int64) { method SetWaitDuration (line 57) | func (s *TaskStat) SetWaitDuration(d int64) { method GetRuntimeDuration (line 61) | func (s *TaskStat) GetRuntimeDuration() (d int64) { method SetRuntimeDuration (line 65) | func (s *TaskStat) SetRuntimeDuration(d int64) { method GetTotalDuration (line 69) | func (s *TaskStat) GetTotalDuration() (d int64) { method SetTotalDuration (line 73) | func (s *TaskStat) SetTotalDuration(d int64) { method GetResultCount (line 77) | func (s *TaskStat) GetResultCount() (c int64) { method SetResultCount (line 81) | func (s *TaskStat) SetResultCount(c int64) { method GetErrorLogCount (line 85) | func (s *TaskStat) GetErrorLogCount() (c int64) { method SetErrorLogCount (line 89) | func (s *TaskStat) SetErrorLogCount(c int64) { type TaskStatList (line 93) | type TaskStatList method GetModels (line 95) | func (l *TaskStatList) GetModels() (res []interfaces.Model) { FILE: core/models/models/token.go type Token (line 8) | type Token struct method GetId (line 14) | func (t *Token) GetId() (id primitive.ObjectID) { method SetId (line 18) | func (t *Token) SetId(id primitive.ObjectID) { type TokenList (line 22) | type TokenList method GetModels (line 24) | func (l *TokenList) GetModels() (res []interfaces.Model) { FILE: core/models/models/user.go type User (line 8) | type User struct method GetId (line 17) | func (u *User) GetId() (id primitive.ObjectID) { method SetId (line 21) | func (u *User) SetId(id primitive.ObjectID) { method GetUsername (line 25) | func (u *User) GetUsername() (name string) { method GetPassword (line 29) | func (u *User) GetPassword() (p string) { method GetRole (line 33) | func (u *User) GetRole() (r string) { method GetEmail (line 37) | func (u *User) GetEmail() (email string) { type UserList (line 51) | type UserList method GetModels (line 53) | func (l *UserList) GetModels() (res []interfaces.Model) { FILE: core/models/models/user_role.go type UserRole (line 8) | type UserRole struct method GetId (line 14) | func (ur *UserRole) GetId() (id primitive.ObjectID) { method SetId (line 18) | func (ur *UserRole) SetId(id primitive.ObjectID) { type UserRoleList (line 22) | type UserRoleList method GetModels (line 24) | func (l *UserRoleList) GetModels() (res []interfaces.Model) { FILE: core/models/models/utils_col.go function GetModelColName (line 8) | func GetModelColName(id interfaces.ModelId) (colName string) { FILE: core/models/models/utils_model_map.go type ModelMap (line 3) | type ModelMap struct type ModelListMap (line 33) | type ModelListMap struct function NewModelMap (line 63) | func NewModelMap() (m *ModelMap) { function NewModelListMap (line 67) | func NewModelListMap() (m *ModelListMap) { FILE: core/models/models/utils_tag.go function convertInterfacesToTags (line 10) | func convertInterfacesToTags(tags []interfaces.Tag) (res []Tag) { function convertTagsToInterfaces (line 29) | func convertTagsToInterfaces(tags []Tag) (res []interfaces.Tag) { FILE: core/models/models/v2/base_v2.go type BaseModelV2 (line 8) | type BaseModelV2 struct method GetId (line 16) | func (m *BaseModelV2[T]) GetId() primitive.ObjectID { method SetId (line 20) | func (m *BaseModelV2[T]) SetId(id primitive.ObjectID) { method GetCreatedAt (line 24) | func (m *BaseModelV2[T]) GetCreatedAt() time.Time { method SetCreatedAt (line 28) | func (m *BaseModelV2[T]) SetCreatedAt(t time.Time) { method GetCreatedBy (line 32) | func (m *BaseModelV2[T]) GetCreatedBy() primitive.ObjectID { method SetCreatedBy (line 36) | func (m *BaseModelV2[T]) SetCreatedBy(id primitive.ObjectID) { method GetUpdatedAt (line 40) | func (m *BaseModelV2[T]) GetUpdatedAt() time.Time { method SetUpdatedAt (line 44) | func (m *BaseModelV2[T]) SetUpdatedAt(t time.Time) { method GetUpdatedBy (line 48) | func (m *BaseModelV2[T]) GetUpdatedBy() primitive.ObjectID { method SetUpdatedBy (line 52) | func (m *BaseModelV2[T]) SetUpdatedBy(id primitive.ObjectID) { method SetCreated (line 56) | func (m *BaseModelV2[T]) SetCreated(id primitive.ObjectID) { method SetUpdated (line 61) | func (m *BaseModelV2[T]) SetUpdated(id primitive.ObjectID) { FILE: core/models/models/v2/data_collection_v2.go type DataCollectionV2 (line 7) | type DataCollectionV2 struct FILE: core/models/models/v2/database_metric_v2.go type DatabaseMetricV2 (line 5) | type DatabaseMetricV2 struct FILE: core/models/models/v2/database_v2.go type DatabaseV2 (line 7) | type DatabaseV2 struct FILE: core/models/models/v2/dependency_log_v2.go type DependencyLogV2 (line 5) | type DependencyLogV2 struct FILE: core/models/models/v2/dependency_setting_v2.go type DependencySettingV2 (line 7) | type DependencySettingV2 struct FILE: core/models/models/v2/dependency_task_v2.go type DependencyTaskV2 (line 5) | type DependencyTaskV2 struct FILE: core/models/models/v2/dependency_v2.go type DependencyV2 (line 8) | type DependencyV2 struct FILE: core/models/models/v2/environment_v2.go type EnvironmentV2 (line 3) | type EnvironmentV2 struct FILE: core/models/models/v2/git_v2.go type GitV2 (line 8) | type GitV2 struct FILE: core/models/models/v2/metric_v2.go type MetricV2 (line 7) | type MetricV2 struct FILE: core/models/models/v2/node_v2.go type NodeV2 (line 7) | type NodeV2 struct FILE: core/models/models/v2/notification_alert_v2.go type NotificationAlertV2 (line 5) | type NotificationAlertV2 struct FILE: core/models/models/v2/notification_channel_v2.go type NotificationChannelV2 (line 3) | type NotificationChannelV2 struct FILE: core/models/models/v2/notification_request_v2.go type NotificationRequestV2 (line 5) | type NotificationRequestV2 struct FILE: core/models/models/v2/notification_setting_v2.go type NotificationSettingV2 (line 5) | type NotificationSettingV2 struct FILE: core/models/models/v2/permission_v2.go type PermissionV2 (line 3) | type PermissionV2 struct FILE: core/models/models/v2/project_v2.go type ProjectV2 (line 3) | type ProjectV2 struct FILE: core/models/models/v2/role_permission_v2.go type RolePermissionV2 (line 7) | type RolePermissionV2 struct FILE: core/models/models/v2/role_v2.go type RoleV2 (line 3) | type RoleV2 struct FILE: core/models/models/v2/schedule_v2.go type ScheduleV2 (line 8) | type ScheduleV2 struct FILE: core/models/models/v2/setting_v2.go type SettingV2 (line 7) | type SettingV2 struct FILE: core/models/models/v2/spider_stat_v2.go type SpiderStatV2 (line 7) | type SpiderStatV2 struct FILE: core/models/models/v2/spider_v2.go type SpiderV2 (line 7) | type SpiderV2 struct FILE: core/models/models/v2/task_queue_item_v2.go type TaskQueueItemV2 (line 7) | type TaskQueueItemV2 struct FILE: core/models/models/v2/task_stat_v2.go type TaskStatV2 (line 7) | type TaskStatV2 struct FILE: core/models/models/v2/task_v2.go type TaskV2 (line 7) | type TaskV2 struct FILE: core/models/models/v2/test_v2.go type TestModelV2 (line 3) | type TestModelV2 struct FILE: core/models/models/v2/token_v2.go type TokenV2 (line 3) | type TokenV2 struct FILE: core/models/models/v2/user_role_v2.go type UserRoleV2 (line 7) | type UserRoleV2 struct FILE: core/models/models/v2/user_v2.go type UserV2 (line 3) | type UserV2 struct FILE: core/models/models/v2/variable_v2.go type VariableV2 (line 3) | type VariableV2 struct FILE: core/models/models/variable.go type Variable (line 8) | type Variable struct method GetId (line 15) | func (v *Variable) GetId() (id primitive.ObjectID) { method SetId (line 19) | func (v *Variable) SetId(id primitive.ObjectID) { type VariableList (line 23) | type VariableList method GetModels (line 25) | func (l *VariableList) GetModels() (res []interfaces.Model) { FILE: core/models/service/artifact_service.go function convertTypeArtifact (line 12) | func convertTypeArtifact(d interface{}, err error) (res *models2.Artifac... method GetArtifactById (line 23) | func (svc *Service) GetArtifactById(id primitive.ObjectID) (res *models2... method GetArtifact (line 28) | func (svc *Service) GetArtifact(query bson.M, opts *mongo.FindOptions) (... method GetArtifactList (line 33) | func (svc *Service) GetArtifactList(query bson.M, opts *mongo.FindOption... FILE: core/models/service/base_service.go type BaseService (line 22) | type BaseService struct method GetModelId (line 27) | func (svc *BaseService) GetModelId() (id interfaces.ModelId) { method SetModelId (line 31) | func (svc *BaseService) SetModelId(id interfaces.ModelId) { method GetCol (line 35) | func (svc *BaseService) GetCol() (col *mongo.Col) { method SetCol (line 39) | func (svc *BaseService) SetCol(col *mongo.Col) { method GetById (line 43) | func (svc *BaseService) GetById(id primitive.ObjectID) (res interfaces... method Get (line 51) | func (svc *BaseService) Get(query bson.M, opts *mongo.FindOptions) (re... method GetList (line 59) | func (svc *BaseService) GetList(query bson.M, opts *mongo.FindOptions)... method DeleteById (line 74) | func (svc *BaseService) DeleteById(id primitive.ObjectID, args ...inte... method Delete (line 78) | func (svc *BaseService) Delete(query bson.M, args ...interface{}) (err... method DeleteList (line 82) | func (svc *BaseService) DeleteList(query bson.M, args ...interface{}) ... method ForceDeleteList (line 86) | func (svc *BaseService) ForceDeleteList(query bson.M, args ...interfac... method UpdateById (line 90) | func (svc *BaseService) UpdateById(id primitive.ObjectID, update bson.... method Update (line 94) | func (svc *BaseService) Update(query bson.M, update bson.M, fields []s... method UpdateDoc (line 98) | func (svc *BaseService) UpdateDoc(query bson.M, doc interfaces.Model, ... method Insert (line 102) | func (svc *BaseService) Insert(u interfaces.User, docs ...interface{})... method Count (line 108) | func (svc *BaseService) Count(query bson.M) (total int, err error) { method findId (line 112) | func (svc *BaseService) findId(id primitive.ObjectID) (fr *mongo.FindR... method find (line 119) | func (svc *BaseService) find(query bson.M, opts *mongo.FindOptions) (f... method deleteId (line 126) | func (svc *BaseService) deleteId(id primitive.ObjectID, args ...interf... method delete (line 138) | func (svc *BaseService) delete(query bson.M, args ...interface{}) (err... method deleteList (line 149) | func (svc *BaseService) deleteList(query bson.M, args ...interface{}) ... method forceDeleteList (line 166) | func (svc *BaseService) forceDeleteList(query bson.M, args ...interfac... method count (line 170) | func (svc *BaseService) count(query bson.M) (total int, err error) { method update (line 177) | func (svc *BaseService) update(query bson.M, update interface{}, field... method updateId (line 185) | func (svc *BaseService) updateId(id primitive.ObjectID, update interfa... method insert (line 193) | func (svc *BaseService) insert(u interfaces.User, docs ...interface{})... method _update (line 256) | func (svc *BaseService) _update(query bson.M, update interface{}, args... method _updateById (line 277) | func (svc *BaseService) _updateById(id primitive.ObjectID, update inte... method _getUpdateBsonM (line 288) | func (svc *BaseService) _getUpdateBsonM(update interface{}, fields []s... method _getUpdateArtifactUpdate (line 347) | func (svc *BaseService) _getUpdateArtifactUpdate(u interfaces.User) (r... method _getUserFromArgs (line 360) | func (svc *BaseService) _getUserFromArgs(args ...interface{}) (u inter... method _containsDollar (line 364) | func (svc *BaseService) _containsDollar(updateBsonM bson.M) (ok bool) { function NewBaseService (line 373) | func NewBaseService(id interfaces.ModelId, opts ...BaseServiceOption) (s... function GetBaseService (line 395) | func GetBaseService(id interfaces.ModelId) (svc interfaces.ModelBaseServ... function GetBaseServiceByColName (line 408) | func GetBaseServiceByColName(id interfaces.ModelId, colName string) (svc... FILE: core/models/service/base_service_v2.go type ModelServiceV2 (line 23) | type ModelServiceV2 struct method GetById (line 27) | func (svc *ModelServiceV2[T]) GetById(id primitive.ObjectID) (model *T, ... method GetByIdContext (line 36) | func (svc *ModelServiceV2[T]) GetByIdContext(ctx context.Context, id pri... method GetOne (line 45) | func (svc *ModelServiceV2[T]) GetOne(query bson.M, options *mongo.FindOp... method GetOneContext (line 54) | func (svc *ModelServiceV2[T]) GetOneContext(ctx context.Context, query b... method GetMany (line 73) | func (svc *ModelServiceV2[T]) GetMany(query bson.M, options *mongo.FindO... method GetManyContext (line 82) | func (svc *ModelServiceV2[T]) GetManyContext(ctx context.Context, query ... method DeleteById (line 113) | func (svc *ModelServiceV2[T]) DeleteById(id primitive.ObjectID) (err err... method DeleteByIdContext (line 117) | func (svc *ModelServiceV2[T]) DeleteByIdContext(ctx context.Context, id ... method DeleteOne (line 122) | func (svc *ModelServiceV2[T]) DeleteOne(query bson.M) (err error) { method DeleteOneContext (line 127) | func (svc *ModelServiceV2[T]) DeleteOneContext(ctx context.Context, quer... method DeleteMany (line 132) | func (svc *ModelServiceV2[T]) DeleteMany(query bson.M) (err error) { method DeleteManyContext (line 137) | func (svc *ModelServiceV2[T]) DeleteManyContext(ctx context.Context, que... method UpdateById (line 142) | func (svc *ModelServiceV2[T]) UpdateById(id primitive.ObjectID, update b... method UpdateByIdContext (line 146) | func (svc *ModelServiceV2[T]) UpdateByIdContext(ctx context.Context, id ... method UpdateOne (line 151) | func (svc *ModelServiceV2[T]) UpdateOne(query bson.M, update bson.M) (er... method UpdateOneContext (line 156) | func (svc *ModelServiceV2[T]) UpdateOneContext(ctx context.Context, quer... method UpdateMany (line 161) | func (svc *ModelServiceV2[T]) UpdateMany(query bson.M, update bson.M) (e... method UpdateManyContext (line 166) | func (svc *ModelServiceV2[T]) UpdateManyContext(ctx context.Context, que... method ReplaceById (line 171) | func (svc *ModelServiceV2[T]) ReplaceById(id primitive.ObjectID, model T... method ReplaceByIdContext (line 176) | func (svc *ModelServiceV2[T]) ReplaceByIdContext(ctx context.Context, id... method ReplaceOne (line 181) | func (svc *ModelServiceV2[T]) ReplaceOne(query bson.M, model T) (err err... method ReplaceOneContext (line 186) | func (svc *ModelServiceV2[T]) ReplaceOneContext(ctx context.Context, que... method InsertOne (line 191) | func (svc *ModelServiceV2[T]) InsertOne(model T) (id primitive.ObjectID,... method InsertOneContext (line 203) | func (svc *ModelServiceV2[T]) InsertOneContext(ctx context.Context, mode... method InsertMany (line 215) | func (svc *ModelServiceV2[T]) InsertMany(models []T) (ids []primitive.Ob... method InsertManyContext (line 234) | func (svc *ModelServiceV2[T]) InsertManyContext(ctx context.Context, mod... method Count (line 253) | func (svc *ModelServiceV2[T]) Count(query bson.M) (total int, err error) { method GetCol (line 257) | func (svc *ModelServiceV2[T]) GetCol() (col *mongo.Col) { function GetCollectionNameByInstance (line 261) | func GetCollectionNameByInstance(v any) string { function getCollectionName (line 267) | func getCollectionName[T any]() string { function NewModelServiceV2 (line 275) | func NewModelServiceV2[T any]() *ModelServiceV2[T] { function NewModelServiceV2WithColName (line 297) | func NewModelServiceV2WithColName[T any](colName string) *ModelServiceV2... FILE: core/models/service/base_service_v2_test.go type TestModel (line 17) | type TestModel struct function setupTestDB (line 23) | func setupTestDB() { function teardownTestDB (line 27) | func teardownTestDB() { function TestModelServiceV2_GetById (line 35) | func TestModelServiceV2_GetById(t *testing.T) { function TestModelServiceV2_GetOne (line 51) | func TestModelServiceV2_GetOne(t *testing.T) { function TestModelServiceV2_GetMany (line 67) | func TestModelServiceV2_GetMany(t *testing.T) { function TestModelServiceV2_InsertOne (line 86) | func TestModelServiceV2_InsertOne(t *testing.T) { function TestModelServiceV2_InsertMany (line 98) | func TestModelServiceV2_InsertMany(t *testing.T) { function TestModelServiceV2_UpdateById (line 113) | func TestModelServiceV2_UpdateById(t *testing.T) { function TestModelServiceV2_UpdateOne (line 134) | func TestModelServiceV2_UpdateOne(t *testing.T) { function TestModelServiceV2_UpdateMany (line 155) | func TestModelServiceV2_UpdateMany(t *testing.T) { function TestModelServiceV2_DeleteById (line 179) | func TestModelServiceV2_DeleteById(t *testing.T) { function TestModelServiceV2_DeleteOne (line 199) | func TestModelServiceV2_DeleteOne(t *testing.T) { function TestModelServiceV2_DeleteMany (line 219) | func TestModelServiceV2_DeleteMany(t *testing.T) { function TestModelServiceV2_Count (line 242) | func TestModelServiceV2_Count(t *testing.T) { FILE: core/models/service/binder_basic.go function NewBasicBinder (line 10) | func NewBasicBinder(id interfaces.ModelId, fr *mongo.FindResult) (b inte... type BasicBinder (line 18) | type BasicBinder struct method Bind (line 24) | func (b *BasicBinder) Bind() (res interfaces.Model, err error) { method Process (line 87) | func (b *BasicBinder) Process(d interfaces.Model) (res interfaces.Mode... FILE: core/models/service/binder_list.go function NewListBinder (line 11) | func NewListBinder(id interfaces.ModelId, fr *mongo.FindResult) (b inter... type ListBinder (line 20) | type ListBinder struct method Bind (line 27) | func (b *ListBinder) Bind() (l interfaces.List, err error) { method Process (line 88) | func (b *ListBinder) Process(d interface{}) (l interfaces.List, err er... FILE: core/models/service/data_collection_service.go function convertTypeDataCollection (line 12) | func convertTypeDataCollection(d interface{}, err error) (res *models2.D... method GetDataCollectionById (line 23) | func (svc *Service) GetDataCollectionById(id primitive.ObjectID) (res *m... method GetDataCollection (line 28) | func (svc *Service) GetDataCollection(query bson.M, opts *mongo.FindOpti... method GetDataCollectionList (line 33) | func (svc *Service) GetDataCollectionList(query bson.M, opts *mongo.Find... method GetDataCollectionByName (line 42) | func (svc *Service) GetDataCollectionByName(name string, opts *mongo.Fin... FILE: core/models/service/data_source_service.go function convertTypeDataSource (line 12) | func convertTypeDataSource(d interface{}, err error) (res *models2.DataS... method GetDataSourceById (line 23) | func (svc *Service) GetDataSourceById(id primitive.ObjectID) (res *model... method GetDataSource (line 28) | func (svc *Service) GetDataSource(query bson.M, opts *mongo.FindOptions)... method GetDataSourceList (line 33) | func (svc *Service) GetDataSourceList(query bson.M, opts *mongo.FindOpti... FILE: core/models/service/dependency_setting_service.go function convertTypeDependencySetting (line 12) | func convertTypeDependencySetting(d interface{}, err error) (res *models... method GetDependencySettingById (line 23) | func (svc *Service) GetDependencySettingById(id primitive.ObjectID) (res... method GetDependencySetting (line 28) | func (svc *Service) GetDependencySetting(query bson.M, opts *mongo.FindO... method GetDependencySettingList (line 33) | func (svc *Service) GetDependencySettingList(query bson.M, opts *mongo.F... FILE: core/models/service/environment_service.go function convertTypeEnvironment (line 12) | func convertTypeEnvironment(d interface{}, err error) (res *models2.Envi... method GetEnvironmentById (line 23) | func (svc *Service) GetEnvironmentById(id primitive.ObjectID) (res *mode... method GetEnvironment (line 28) | func (svc *Service) GetEnvironment(query bson.M, opts *mongo.FindOptions... method GetEnvironmentList (line 33) | func (svc *Service) GetEnvironmentList(query bson.M, opts *mongo.FindOpt... FILE: core/models/service/extra_value_service.go function convertTypeExtraValue (line 12) | func convertTypeExtraValue(d interface{}, err error) (res *models.ExtraV... method GetExtraValueById (line 23) | func (svc *Service) GetExtraValueById(id primitive.ObjectID) (res *model... method GetExtraValue (line 28) | func (svc *Service) GetExtraValue(query bson.M, opts *mongo.FindOptions)... method GetExtraValueList (line 33) | func (svc *Service) GetExtraValueList(query bson.M, opts *mongo.FindOpti... method GetExtraValueByObjectIdModel (line 42) | func (svc *Service) GetExtraValueByObjectIdModel(oid primitive.ObjectID,... FILE: core/models/service/git_service.go function convertTypeGit (line 12) | func convertTypeGit(d interface{}, err error) (res *models2.Git, err2 er... method GetGitById (line 23) | func (svc *Service) GetGitById(id primitive.ObjectID) (res *models2.Git,... method GetGit (line 28) | func (svc *Service) GetGit(query bson.M, opts *mongo.FindOptions) (res *... method GetGitList (line 33) | func (svc *Service) GetGitList(query bson.M, opts *mongo.FindOptions) (r... FILE: core/models/service/interface.go type ModelService (line 11) | type ModelService interface FILE: core/models/service/job_service.go function convertTypeJob (line 12) | func convertTypeJob(d interface{}, err error) (res *models2.Job, err2 er... method GetJobById (line 23) | func (svc *Service) GetJobById(id primitive.ObjectID) (res *models2.Job,... method GetJob (line 28) | func (svc *Service) GetJob(query bson.M, opts *mongo.FindOptions) (res *... method GetJobList (line 33) | func (svc *Service) GetJobList(query bson.M, opts *mongo.FindOptions) (r... FILE: core/models/service/node_service.go function convertTypeNode (line 12) | func convertTypeNode(d interface{}, err error) (res *models2.Node, err2 ... method GetNodeById (line 23) | func (svc *Service) GetNodeById(id primitive.ObjectID) (res *models2.Nod... method GetNode (line 28) | func (svc *Service) GetNode(query bson.M, opts *mongo.FindOptions) (res ... method GetNodeList (line 33) | func (svc *Service) GetNodeList(query bson.M, opts *mongo.FindOptions) (... method GetNodeByKey (line 42) | func (svc *Service) GetNodeByKey(key string, opts *mongo.FindOptions) (r... FILE: core/models/service/options.go type Option (line 8) | type Option type BaseServiceOption (line 10) | type BaseServiceOption function WithBaseServiceModelId (line 12) | func WithBaseServiceModelId(id interfaces.ModelId) BaseServiceOption { function WithBaseServiceCol (line 18) | func WithBaseServiceCol(col *mongo.Col) BaseServiceOption { FILE: core/models/service/password_service.go function convertTypePassword (line 12) | func convertTypePassword(d interface{}, err error) (res *models2.Passwor... method GetPasswordById (line 23) | func (svc *Service) GetPasswordById(id primitive.ObjectID) (res *models2... method GetPassword (line 28) | func (svc *Service) GetPassword(query bson.M, opts *mongo.FindOptions) (... method GetPasswordList (line 33) | func (svc *Service) GetPasswordList(query bson.M, opts *mongo.FindOption... FILE: core/models/service/permission_service.go function convertTypePermission (line 12) | func convertTypePermission(d interface{}, err error) (res *models2.Permi... method GetPermissionById (line 23) | func (svc *Service) GetPermissionById(id primitive.ObjectID) (res *model... method GetPermission (line 28) | func (svc *Service) GetPermission(query bson.M, opts *mongo.FindOptions)... method GetPermissionList (line 33) | func (svc *Service) GetPermissionList(query bson.M, opts *mongo.FindOpti... method GetPermissionByKey (line 45) | func (svc *Service) GetPermissionByKey(key string, opts *mongo.FindOptio... FILE: core/models/service/project_service.go function convertTypeProject (line 12) | func convertTypeProject(d interface{}, err error) (res *models2.Project,... method GetProjectById (line 23) | func (svc *Service) GetProjectById(id primitive.ObjectID) (res *models2.... method GetProject (line 28) | func (svc *Service) GetProject(query bson.M, opts *mongo.FindOptions) (r... method GetProjectList (line 33) | func (svc *Service) GetProjectList(query bson.M, opts *mongo.FindOptions... FILE: core/models/service/role_permission_service.go function convertTypeRolePermission (line 12) | func convertTypeRolePermission(d interface{}, err error) (res *models2.R... method GetRolePermissionById (line 23) | func (svc *Service) GetRolePermissionById(id primitive.ObjectID) (res *m... method GetRolePermission (line 28) | func (svc *Service) GetRolePermission(query bson.M, opts *mongo.FindOpti... method GetRolePermissionList (line 33) | func (svc *Service) GetRolePermissionList(query bson.M, opts *mongo.Find... method GetRolePermissionListByRoleId (line 45) | func (svc *Service) GetRolePermissionListByRoleId(id primitive.ObjectID,... method GetRolePermissionListByPermissionId (line 49) | func (svc *Service) GetRolePermissionListByPermissionId(id primitive.Obj... FILE: core/models/service/role_service.go function convertTypeRole (line 12) | func convertTypeRole(d interface{}, err error) (res *models2.Role, err2 ... method GetRoleById (line 23) | func (svc *Service) GetRoleById(id primitive.ObjectID) (res *models2.Rol... method GetRole (line 28) | func (svc *Service) GetRole(query bson.M, opts *mongo.FindOptions) (res ... method GetRoleList (line 33) | func (svc *Service) GetRoleList(query bson.M, opts *mongo.FindOptions) (... method GetRoleByName (line 45) | func (svc *Service) GetRoleByName(name string, opts *mongo.FindOptions) ... method GetRoleByKey (line 50) | func (svc *Service) GetRoleByKey(key string, opts *mongo.FindOptions) (r... FILE: core/models/service/schedule_service.go function convertTypeSchedule (line 12) | func convertTypeSchedule(d interface{}, err error) (res *models2.Schedul... method GetScheduleById (line 23) | func (svc *Service) GetScheduleById(id primitive.ObjectID) (res *models2... method GetSchedule (line 28) | func (svc *Service) GetSchedule(query bson.M, opts *mongo.FindOptions) (... method GetScheduleList (line 33) | func (svc *Service) GetScheduleList(query bson.M, opts *mongo.FindOption... FILE: core/models/service/service.go type Service (line 12) | type Service struct method DropAll (line 17) | func (svc *Service) DropAll() (err error) { method GetBaseService (line 35) | func (svc *Service) GetBaseService(id interfaces.ModelId) (svc2 interf... function NewService (line 39) | func NewService() (svc2 ModelService, err error) { function GetService (line 53) | func GetService() (svc ModelService, err error) { FILE: core/models/service/setting_service.go function convertTypeSetting (line 12) | func convertTypeSetting(d interface{}, err error) (res *models2.Setting,... method GetSettingById (line 23) | func (svc *Service) GetSettingById(id primitive.ObjectID) (res *models2.... method GetSetting (line 28) | func (svc *Service) GetSetting(query bson.M, opts *mongo.FindOptions) (r... method GetSettingList (line 33) | func (svc *Service) GetSettingList(query bson.M, opts *mongo.FindOptions... method GetSettingByKey (line 42) | func (svc *Service) GetSettingByKey(key string, opts *mongo.FindOptions)... FILE: core/models/service/spider_service.go function convertTypeSpider (line 12) | func convertTypeSpider(d interface{}, err error) (res *models2.Spider, e... method GetSpiderById (line 23) | func (svc *Service) GetSpiderById(id primitive.ObjectID) (res *models2.S... method GetSpider (line 28) | func (svc *Service) GetSpider(query bson.M, opts *mongo.FindOptions) (re... method GetSpiderList (line 33) | func (svc *Service) GetSpiderList(query bson.M, opts *mongo.FindOptions)... FILE: core/models/service/spider_stat_service.go function convertTypeSpiderStat (line 12) | func convertTypeSpiderStat(d interface{}, err error) (res *models2.Spide... method GetSpiderStatById (line 23) | func (svc *Service) GetSpiderStatById(id primitive.ObjectID) (res *model... method GetSpiderStat (line 28) | func (svc *Service) GetSpiderStat(query bson.M, opts *mongo.FindOptions)... method GetSpiderStatList (line 33) | func (svc *Service) GetSpiderStatList(query bson.M, opts *mongo.FindOpti... FILE: core/models/service/tag_service.go function convertTypeTag (line 15) | func convertTypeTag(d interface{}, err error) (res *models2.Tag, err2 er... method GetTagById (line 26) | func (svc *Service) GetTagById(id primitive.ObjectID) (res *models2.Tag,... method GetTag (line 31) | func (svc *Service) GetTag(query bson.M, opts *mongo.FindOptions) (res *... method GetTagList (line 36) | func (svc *Service) GetTagList(query bson.M, opts *mongo.FindOptions) (r... method GetTagIds (line 45) | func (svc *Service) GetTagIds(colName string, tags []interfaces.Tag) (ta... method UpdateTagsById (line 78) | func (svc *Service) UpdateTagsById(colName string, id primitive.ObjectID... method UpdateTags (line 97) | func (svc *Service) UpdateTags(colName string, query bson.M, tags []inte... FILE: core/models/service/task_queue_service.go function convertTypeTaskQueueItem (line 12) | func convertTypeTaskQueueItem(d interface{}, err error) (res *models2.Ta... method GetTaskQueueItemById (line 23) | func (svc *Service) GetTaskQueueItemById(id primitive.ObjectID) (res *mo... method GetTaskQueueItem (line 28) | func (svc *Service) GetTaskQueueItem(query bson.M, opts *mongo.FindOptio... method GetTaskQueueItemList (line 33) | func (svc *Service) GetTaskQueueItemList(query bson.M, opts *mongo.FindO... FILE: core/models/service/task_service.go function convertTypeTask (line 12) | func convertTypeTask(d interface{}, err error) (res *models2.Task, err2 ... method GetTaskById (line 23) | func (svc *Service) GetTaskById(id primitive.ObjectID) (res *models2.Tas... method GetTask (line 28) | func (svc *Service) GetTask(query bson.M, opts *mongo.FindOptions) (res ... method GetTaskList (line 33) | func (svc *Service) GetTaskList(query bson.M, opts *mongo.FindOptions) (... FILE: core/models/service/task_stat_service.go function convertTypeTaskStat (line 12) | func convertTypeTaskStat(d interface{}, err error) (res *models2.TaskSta... method GetTaskStatById (line 23) | func (svc *Service) GetTaskStatById(id primitive.ObjectID) (res *models2... method GetTaskStat (line 28) | func (svc *Service) GetTaskStat(query bson.M, opts *mongo.FindOptions) (... method GetTaskStatList (line 33) | func (svc *Service) GetTaskStatList(query bson.M, opts *mongo.FindOption... FILE: core/models/service/token_service.go function convertTypeToken (line 12) | func convertTypeToken(d interface{}, err error) (res *models2.Token, err... method GetTokenById (line 23) | func (svc *Service) GetTokenById(id primitive.ObjectID) (res *models2.To... method GetToken (line 28) | func (svc *Service) GetToken(query bson.M, opts *mongo.FindOptions) (res... method GetTokenList (line 33) | func (svc *Service) GetTokenList(query bson.M, opts *mongo.FindOptions) ... FILE: core/models/service/user_role_service.go function convertTypeUserRole (line 12) | func convertTypeUserRole(d interface{}, err error) (res *models2.UserRol... method GetUserRoleById (line 23) | func (svc *Service) GetUserRoleById(id primitive.ObjectID) (res *models2... method GetUserRole (line 28) | func (svc *Service) GetUserRole(query bson.M, opts *mongo.FindOptions) (... method GetUserRoleList (line 33) | func (svc *Service) GetUserRoleList(query bson.M, opts *mongo.FindOption... method GetUserRoleListByUserId (line 45) | func (svc *Service) GetUserRoleListByUserId(id primitive.ObjectID, opts ... method GetUserRoleListByRoleId (line 49) | func (svc *Service) GetUserRoleListByRoleId(id primitive.ObjectID, opts ... FILE: core/models/service/user_service.go function convertTypeUser (line 12) | func convertTypeUser(d interface{}, err error) (res *models2.User, err2 ... method GetUserById (line 23) | func (svc *Service) GetUserById(id primitive.ObjectID) (res *models2.Use... method GetUser (line 28) | func (svc *Service) GetUser(query bson.M, opts *mongo.FindOptions) (res ... method GetUserList (line 33) | func (svc *Service) GetUserList(query bson.M, opts *mongo.FindOptions) (... method GetUserByUsername (line 42) | func (svc *Service) GetUserByUsername(username string, opts *mongo.FindO... method GetUserByUsernameWithPassword (line 47) | func (svc *Service) GetUserByUsernameWithPassword(username string, opts ... FILE: core/models/service/variable_service.go function convertTypeVariable (line 12) | func convertTypeVariable(d interface{}, err error) (res *models2.Variabl... method GetVariableById (line 23) | func (svc *Service) GetVariableById(id primitive.ObjectID) (res *models2... method GetVariable (line 28) | func (svc *Service) GetVariable(query bson.M, opts *mongo.FindOptions) (... method GetVariableList (line 33) | func (svc *Service) GetVariableList(query bson.M, opts *mongo.FindOption... method GetVariableByKey (line 42) | func (svc *Service) GetVariableByKey(key string, opts *mongo.FindOptions... FILE: core/node/config/config.go type Config (line 10) | type Config type Options (line 12) | type Options struct function NewConfig (line 29) | func NewConfig(opts *Options) (cfg *Config) { FILE: core/node/config/config_service.go type Service (line 15) | type Service struct method Init (line 20) | func (svc *Service) Init() (err error) { method Reload (line 54) | func (svc *Service) Reload() (err error) { method GetBasicNodeInfo (line 58) | func (svc *Service) GetBasicNodeInfo() (res interfaces.Entity) { method GetNodeKey (line 69) | func (svc *Service) GetNodeKey() (res string) { method GetNodeName (line 73) | func (svc *Service) GetNodeName() (res string) { method IsMaster (line 77) | func (svc *Service) IsMaster() (res bool) { method GetAuthKey (line 81) | func (svc *Service) GetAuthKey() (res string) { method GetMaxRunners (line 85) | func (svc *Service) GetMaxRunners() (res int) { method GetConfigPath (line 89) | func (svc *Service) GetConfigPath() (path string) { method SetConfigPath (line 93) | func (svc *Service) SetConfigPath(path string) { function newNodeConfigService (line 97) | func newNodeConfigService() (svc2 interfaces.NodeConfigService, err erro... function GetNodeConfigService (line 121) | func GetNodeConfigService() interfaces.NodeConfigService { FILE: core/node/config/options.go type Option (line 7) | type Option function WithConfigPath (line 9) | func WithConfigPath(path string) Option { FILE: core/node/service/master_service_v2.go type MasterServiceV2 (line 30) | type MasterServiceV2 struct method Init (line 46) | func (svc *MasterServiceV2) Init() (err error) { method Start (line 51) | func (svc *MasterServiceV2) Start() { method Wait (line 84) | func (svc *MasterServiceV2) Wait() { method Stop (line 88) | func (svc *MasterServiceV2) Stop() { method Monitor (line 93) | func (svc *MasterServiceV2) Monitor() { method GetConfigService (line 116) | func (svc *MasterServiceV2) GetConfigService() (cfgSvc interfaces.Node... method GetConfigPath (line 120) | func (svc *MasterServiceV2) GetConfigPath() (path string) { method SetConfigPath (line 124) | func (svc *MasterServiceV2) SetConfigPath(path string) { method GetAddress (line 128) | func (svc *MasterServiceV2) GetAddress() (address interfaces.Address) { method SetAddress (line 132) | func (svc *MasterServiceV2) SetAddress(address interfaces.Address) { method SetMonitorInterval (line 136) | func (svc *MasterServiceV2) SetMonitorInterval(duration time.Duration) { method Register (line 140) | func (svc *MasterServiceV2) Register() (err error) { method StopOnError (line 183) | func (svc *MasterServiceV2) StopOnError() { method GetServer (line 187) | func (svc *MasterServiceV2) GetServer() (svr interfaces.GrpcServer) { method monitor (line 191) | func (svc *MasterServiceV2) monitor() (err error) { method getAllWorkerNodes (line 240) | func (svc *MasterServiceV2) getAllWorkerNodes() (nodes []models2.NodeV... method updateMasterNodeStatus (line 255) | func (svc *MasterServiceV2) updateMasterNodeStatus() (err error) { method setWorkerNodeOffline (line 282) | func (svc *MasterServiceV2) setWorkerNodeOffline(node *models2.NodeV2) { method subscribeNode (line 294) | func (svc *MasterServiceV2) subscribeNode(n *models2.NodeV2) (ok bool) { method pingNodeClient (line 303) | func (svc *MasterServiceV2) pingNodeClient(n *models2.NodeV2) (ok bool) { method updateNodeAvailableRunners (line 311) | func (svc *MasterServiceV2) updateNodeAvailableRunners(node *models2.N... method sendNotification (line 328) | func (svc *MasterServiceV2) sendNotification(node *models2.NodeV2) { function newMasterServiceV2 (line 335) | func newMasterServiceV2() (res *MasterServiceV2, err error) { function GetMasterServiceV2 (line 384) | func GetMasterServiceV2() (res *MasterServiceV2, err error) { FILE: core/node/service/options.go type Option (line 8) | type Option function WithConfigPath (line 10) | func WithConfigPath(path string) Option { function WithAddress (line 16) | func WithAddress(address interfaces.Address) Option { function WithMonitorInterval (line 22) | func WithMonitorInterval(duration time.Duration) Option { function WithStopOnError (line 31) | func WithStopOnError() Option { function WithHeartbeatInterval (line 40) | func WithHeartbeatInterval(duration time.Duration) Option { FILE: core/node/service/worker_service_v2.go type WorkerServiceV2 (line 23) | type WorkerServiceV2 struct method Init (line 39) | func (svc *WorkerServiceV2) Init() (err error) { method Start (line 44) | func (svc *WorkerServiceV2) Start() { method Wait (line 69) | func (svc *WorkerServiceV2) Wait() { method Stop (line 73) | func (svc *WorkerServiceV2) Stop() { method Register (line 78) | func (svc *WorkerServiceV2) Register() { method Recv (line 99) | func (svc *WorkerServiceV2) Recv() { method handleStreamMessage (line 117) | func (svc *WorkerServiceV2) handleStreamMessage(msg *grpc.StreamMessag... method ReportStatus (line 148) | func (svc *WorkerServiceV2) ReportStatus() { method GetConfigService (line 165) | func (svc *WorkerServiceV2) GetConfigService() (cfgSvc interfaces.Node... method GetConfigPath (line 169) | func (svc *WorkerServiceV2) GetConfigPath() (path string) { method SetConfigPath (line 173) | func (svc *WorkerServiceV2) SetConfigPath(path string) { method GetAddress (line 177) | func (svc *WorkerServiceV2) GetAddress() (address interfaces.Address) { method SetAddress (line 181) | func (svc *WorkerServiceV2) SetAddress(address interfaces.Address) { method SetHeartbeatInterval (line 185) | func (svc *WorkerServiceV2) SetHeartbeatInterval(duration time.Duratio... method reportStatus (line 189) | func (svc *WorkerServiceV2) reportStatus() { function newWorkerServiceV2 (line 203) | func newWorkerServiceV2() (res *WorkerServiceV2, err error) { function GetWorkerServiceV2 (line 236) | func GetWorkerServiceV2() (res *WorkerServiceV2, err error) { FILE: core/notification/constants.go constant TypeMail (line 4) | TypeMail = "mail" constant TypeIM (line 5) | TypeIM = "im" constant ChannelMailProviderGmail (line 9) | ChannelMailProviderGmail = "gmail" constant ChannelMailProviderOutlook (line 10) | ChannelMailProviderOutlook = "outlook" constant ChannelMailProviderYahoo (line 11) | ChannelMailProviderYahoo = "yahoo" constant ChannelMailProviderICloud (line 12) | ChannelMailProviderICloud = "icloud" constant ChannelMailProviderAol (line 13) | ChannelMailProviderAol = "aol" constant ChannelMailProviderZoho (line 14) | ChannelMailProviderZoho = "zoho" constant ChannelMailProviderQQ (line 15) | ChannelMailProviderQQ = "qq" constant ChannelMailProvider163 (line 16) | ChannelMailProvider163 = "163" constant ChannelMailProviderExmail (line 17) | ChannelMailProviderExmail = "exmail" constant ChannelIMProviderSlack (line 19) | ChannelIMProviderSlack = "slack" constant ChannelIMProviderTelegram (line 20) | ChannelIMProviderTelegram = "telegram" constant ChannelIMProviderDiscord (line 21) | ChannelIMProviderDiscord = "discord" constant ChannelIMProviderMSTeams (line 22) | ChannelIMProviderMSTeams = "ms_teams" constant ChannelIMProviderWechatWork (line 23) | ChannelIMProviderWechatWork = "wechat_work" constant ChannelIMProviderDingtalk (line 24) | ChannelIMProviderDingtalk = "dingtalk" constant ChannelIMProviderLark (line 25) | ChannelIMProviderLark = "lark" constant StatusSending (line 29) | StatusSending = "sending" constant StatusSuccess (line 30) | StatusSuccess = "success" constant StatusError (line 31) | StatusError = "error" FILE: core/notification/entity.go type VariableData (line 5) | type VariableData struct FILE: core/notification/im.go type ResBody (line 14) | type ResBody struct function SendIMNotification (line 19) | func SendIMNotification(ch *models.NotificationChannelV2, title, content... function getIMRequestHeader (line 85) | func getIMRequestHeader() req.Header { function performIMRequest (line 91) | func performIMRequest(webhookUrl string, data req.Param) (res *req.Resp,... function performIMRequestWithJson (line 111) | func performIMRequestWithJson[T any](webhookUrl string, data req.Param) ... function convertMarkdownToSlack (line 132) | func convertMarkdownToSlack(markdown string) string { function convertMarkdownToTelegram (line 165) | func convertMarkdownToTelegram(markdownText string) string { function sendIMLark (line 195) | func sendIMLark(ch *models.NotificationChannelV2, title, content string)... function sendIMDingTalk (line 223) | func sendIMDingTalk(ch *models.NotificationChannelV2, title string, cont... function sendIMWechatWork (line 241) | func sendIMWechatWork(ch *models.NotificationChannelV2, title string, co... function sendIMSlack (line 258) | func sendIMSlack(ch *models.NotificationChannelV2, title, content string... function sendIMTelegram (line 272) | func sendIMTelegram(ch *models.NotificationChannelV2, title string, cont... function sendIMDiscord (line 308) | func sendIMDiscord(ch *models.NotificationChannelV2, title string, conte... function sendIMMSTeams (line 324) | func sendIMMSTeams(ch *models.NotificationChannelV2, title string, conte... FILE: core/notification/mail.go function SendMail (line 15) | func SendMail(s *models.NotificationSettingV2, ch *models.NotificationCh... function isHtml (line 58) | func isHtml(content string) bool { function convertHtmlToText (line 63) | func convertHtmlToText(content string) string { type smtpAuthentication (line 73) | type smtpAuthentication struct type sendOptions (line 83) | type sendOptions struct function getMailMessage (line 90) | func getMailMessage(smtpConfig smtpAuthentication, options sendOptions, ... function sendMail (line 119) | func sendMail(smtpConfig smtpAuthentication, options sendOptions, htmlBo... FILE: core/notification/mail_gmail.go function sendMailGmail (line 14) | func sendMailGmail(ch *models.NotificationChannelV2, smtpConfig smtpAuth... FILE: core/notification/oauth2_gmail.go function getGmailOAuth2Token (line 13) | func getGmailOAuth2Token(oauth2Json string) (token *oauth2.Token, err er... type GmailOAuth2Auth (line 37) | type GmailOAuth2Auth struct method Start (line 41) | func (a *GmailOAuth2Auth) Start(_ *smtp.ServerInfo) (string, []byte, e... method Next (line 45) | func (a *GmailOAuth2Auth) Next(_ []byte, _ bool) ([]byte, error) { FILE: core/notification/service_v2.go type ServiceV2 (line 20) | type ServiceV2 struct method Send (line 23) | func (svc *ServiceV2) Send(s *models.NotificationSettingV2, args ...an... method SendMail (line 48) | func (svc *ServiceV2) SendMail(s *models.NotificationSettingV2, ch *mo... method SendIM (line 66) | func (svc *ServiceV2) SendIM(s *models.NotificationSettingV2, ch *mode... method getContent (line 80) | func (svc *ServiceV2) getContent(s *models.NotificationSettingV2, ch *... method geContentWithVariables (line 102) | func (svc *ServiceV2) geContentWithVariables(template string, variable... method getVariableData (line 309) | func (svc *ServiceV2) getVariableData(args ...any) (vd VariableData) { method parseTemplateVariables (line 331) | func (svc *ServiceV2) parseTemplateVariables(template string) (variabl... method getUsernameById (line 361) | func (svc *ServiceV2) getUsernameById(id primitive.ObjectID) (username... method getFormattedTime (line 373) | func (svc *ServiceV2) getFormattedTime(t time.Time) (res string) { method getFormattedTargetValue (line 380) | func (svc *ServiceV2) getFormattedTargetValue(a *models.NotificationAl... method getFormattedMetricValue (line 394) | func (svc *ServiceV2) getFormattedMetricValue(metricName string, m *mo... method convertMarkdownToHtml (line 427) | func (svc *ServiceV2) convertMarkdownToHtml(content string) (html stri... method SendNodeNotification (line 431) | func (svc *ServiceV2) SendNodeNotification(node *models.NodeV2) { method createRequest (line 466) | func (svc *ServiceV2) createRequest(s *models.NotificationSettingV2, c... method saveRequest (line 493) | func (svc *ServiceV2) saveRequest(r *models.NotificationRequestV2, err... function newNotificationServiceV2 (line 511) | func newNotificationServiceV2() *ServiceV2 { function GetNotificationServiceV2 (line 518) | func GetNotificationServiceV2() *ServiceV2 { FILE: core/notification/service_v2_test.go function TestParseTemplateVariables_WithValidTemplate_ReturnsVariables (line 10) | func TestParseTemplateVariables_WithValidTemplate_ReturnsVariables(t *te... function TestParseTemplateVariables_WithRepeatedVariables_ReturnsUniqueVariables (line 25) | func TestParseTemplateVariables_WithRepeatedVariables_ReturnsUniqueVaria... FILE: core/notification/theme.go constant defaultTheme (line 3) | defaultTheme = `