MCPcopy Create free account

hub / github.com/KendoCross/kendoDDD / functions

Functions224 in github.com/KendoCross/kendoDDD

↓ 24 callersMethodError
()
infrastructure/errorext/code_err.go:9
↓ 20 callersMethodGet
Get gets a record value
infrastructure/repos_redis/redis_driver.go:58
↓ 8 callersMethodRun
会等待之前的任务完成之后,才继续。
infrastructure/helper/gowork.go:31
↓ 5 callersMethodSet
Set sets a record
infrastructure/repos_redis/redis_driver.go:47
↓ 5 callersMethodVerify
()
infrastructure/ddd/domain_common.go:11
↓ 4 callersFunctionError
(format string, v ...interface{})
infrastructure/logs/logs.go:57
↓ 3 callersMethodCommandType
()
domain/files/commands.go:27
↓ 3 callersFunctionValidationErrorToText
ValidationErrorToText method changes FieldError to string
infrastructure/errorext/error_convter.go:144
↓ 2 callersMethodAddFile
(body []byte)
domain/files/file_entity.go:30
↓ 2 callersMethodDel
Del deletes a record
infrastructure/repos_redis/redis_driver.go:80
↓ 2 callersMethodGetFlights
(req FlightsReq)
domain/services/trip/i_trip.go:6
↓ 2 callersFunctionHandleCommand
HandleCommand 命令的执行
infrastructure/bus/bus.go:37
↓ 2 callersFunctionNewctripServer
()
domain/services/trip/ctrip_svc.go:18
↓ 2 callersFunctionRaiseEvents
RaiseEvents 异步进行事件的存储 和 发布
infrastructure/bus/bus.go:47
↓ 2 callersFunctionRegisterEventHandler
RegisterEventHandler 注册事件的处理
infrastructure/bus/bus.go:42
↓ 2 callersFunctionSendMail
(address []string, subject string, body string)
infrastructure/helper/smtp.go:21
↓ 2 callersMethodTask
()
infrastructure/helper/gowork.go:6
↓ 2 callersMethodgetHistoryReleaseList
(name string)
domain/services/helm/helm_client.go:235
↓ 2 callersFunctionisChartInstallable
(ch *chart.Chart)
domain/services/helm/helm_client.go:245
↓ 2 callersFunctionnewfileEnByOV
(fileInfo interfaces.FileInfo)
domain/files/file_entity.go:12
↓ 2 callersFunctiontoSnakeCase
ToSnakeCase method change string to snakecase
infrastructure/ddd/pre_common_gin.go:21
↓ 1 callersFunctionAddFile
(parm AddFileForm)
application/files_app.go:33
↓ 1 callersMethodAddNewFile
聚合根对外开放的能力
domain/files/aggregate_root.go:66
↓ 1 callersMethodAddObj
新增,
interfaces/file_repo.go:5
↓ 1 callersMethodAggregateType
()
domain/files/commands.go:28
↓ 1 callersMethodAggregateType
()
domain/testcmd/commands.go:29
↓ 1 callersMethodAggregateType
()
domain/k8s_info/commands.go:28
↓ 1 callersMethodAggregateType
()
domain/trips/commands.go:28
↓ 1 callersMethodConnect
Connect establish a redis connection
infrastructure/repos_redis/redis_driver.go:20
↓ 1 callersFunctionCopyFile
CopyFile copies the source file to the dest file.
infrastructure/helper/file_helper.go:56
↓ 1 callersFunctionDealCommand
err 取值范围[409:errorext.CodeError,400:errorext.ListMsgError,400:validator.ValidationErrors,500:其他error]
infrastructure/ddd/app_common.go:50
↓ 1 callersMethodDealCommand
(context.Context, eh.Command)
infrastructure/bus/kendobus.go:19
↓ 1 callersFunctionDealerCommand
(ctx context.Context, cmd eh.Command)
infrastructure/bus/kendobus.go:22
↓ 1 callersMethodDoCmd
(cmd *TestOnlyCmd)
domain/testcmd/aggregate_root.go:52
↓ 1 callersMethodError
()
infrastructure/errorext/errors.go:18
↓ 1 callersFunctionErrors
()
presentation/middleware/errors.go:13
↓ 1 callersMethodFind
(parm FindParmFiles)
interfaces/file_repo.go:9
↓ 1 callersMethodFindReleases
()
domain/services/helm/helm_client.go:212
↓ 1 callersMethodGetById
单条查询
interfaces/file_repo.go:7
↓ 1 callersFunctionGetFileById
(id string)
application/files_app.go:16
↓ 1 callersFunctionHandCommand
应用层 1.主要的解析表现层数据,2.组装为正确的命令,并进行校验,3.由命令总线发布出去,不用管订阅者到底是谁。 err 取值范围[409:errorext.CodeError,400:errorext.ListMsgError,400:validator.ValidationErrors,500
infrastructure/ddd/app_common.go:14
↓ 1 callersMethodHandleCommand
Command异步执行,不需要返回值的
domain/files/aggregate_root.go:31
↓ 1 callersMethodHandleEvent
(ctx context.Context, event eh.Event)
domain/files/event_handler.go:24
↓ 1 callersMethodHelmUpgrade
(name, namespace, version, chartPath string, vals map[string]interface{})
domain/services/helm/helm_client.go:99
↓ 1 callersFunctionInfo
(format string, v ...interface{})
infrastructure/logs/logs.go:52
↓ 1 callersFunctionInitLogs
初始化_日志工具
infrastructure/logs/logs.go:25
↓ 1 callersFunctionInitRouter
表现层主要的职责在于,表现形式的多样化。
presentation/router.go:18
↓ 1 callersFunctionLcFirst
LcFirst method is to change lowercase word
infrastructure/errorext/error_convter.go:49
↓ 1 callersFunctionMakesureFileExist
(filepath string)
infrastructure/helper/file_helper.go:10
↓ 1 callersFunctionNewCodeError
(code int, msg string, err error)
infrastructure/errorext/code_err.go:21
↓ 1 callersFunctionNewHelmAction
(kubeconfFile, ns string, options ...*Options)
domain/services/helm/helm_client.go:50
↓ 1 callersFunctionNewcaptchaRepo
()
infrastructure/repos_redis/captcha_repo.go:10
↓ 1 callersFunctionNewfileRepo
()
infrastructure/repos_mysql/file_repo.go:14
↓ 1 callersFunctionPKCS5Padding
(plainText []byte, blockSize int)
infrastructure/helper/encrypt.go:67
↓ 1 callersFunctionPKCS5UnPadding
(plainText []byte)
infrastructure/helper/encrypt.go:73
↓ 1 callersMethodPing
Ping checks the redis connection
infrastructure/repos_redis/redis_driver.go:37
↓ 1 callersFunctionPodList
(req PodsReq)
application/k8s/pods_app.go:9
↓ 1 callersMethodPodList
()
domain/k8s_info/pod_entity.go:17
↓ 1 callersFunctionPreCommandDeals
(command string)
infrastructure/ddd/pre_common_gin.go:75
↓ 1 callersMethodRegJob
()
domain/trips/aggregate_root.go:52
↓ 1 callersFunctionRegisterHandler
RegisterHandler 注册命令的处理
infrastructure/bus/bus.go:29
↓ 1 callersMethodReleaseList
()
domain/testcmd/helm_entity.go:12
↓ 1 callersFunctionSetDealer
(dealer CommandDealer, cmdType eh.CommandType)
infrastructure/bus/kendobus.go:33
↓ 1 callersMethodShutdown
只是等待最后 maxGoRoutines 个GoRoutine的完成
infrastructure/helper/gowork.go:36
↓ 1 callersFunctionSplit
Split method is to split camelcase letter
infrastructure/errorext/error_convter.go:54
↓ 1 callersFunctionStartUp
()
crosscutting/startup.go:15
↓ 1 callersFunctionStartUp
()
domain/startup.go:9
↓ 1 callersFunctionStartUp
仓储(能封装成工作单元更好)
domain/testcmd/common.go:19
↓ 1 callersFunctionStartUp
仓储(能封装成工作单元更好)
domain/k8s_info/common.go:26
↓ 1 callersFunctionToSnakeCase
(str string)
infrastructure/errorext/error_convter.go:36
↓ 1 callersFunctionUcFirst
UcFirst method is for uppercase first letter of word
infrastructure/errorext/error_convter.go:41
↓ 1 callersFunctioncanCopy
(srcPtr interface{}, dstPtr interface{})
infrastructure/helper/struct_help.go:56
↓ 1 callersFunctioncheckOccurance
checkOccurance checks if param is involved in valdation message
infrastructure/errorext/error_convter.go:131
↓ 1 callersMethoddealRateFlights
()
domain/testcmd/aggregate_root.go:66
↓ 1 callersFunctiondeepFields
(ifaceType reflect.Type)
infrastructure/helper/struct_help.go:5
↓ 1 callersFunctiongetHelmActionConf
(kubeconfFile, ns string)
domain/services/helm/helm_client.go:253
↓ 1 callersMethodgetHistoryReleaseByVersion
(name, version string)
domain/services/helm/helm_client.go:222
↓ 1 callersFunctionmergeMaps
(a, b map[string]interface{})
domain/services/helm/helm_client.go:272
↓ 1 callersFunctionnewHelmEnByOV
()
domain/testcmd/helm_entity.go:8
↓ 1 callersFunctionnewRedisDriver
NewRedisDriver create a new instance
infrastructure/repos_redis/redis_driver.go:11
↓ 1 callersFunctionnewpodEnByOV
()
domain/k8s_info/pod_entity.go:13
↓ 1 callersFunctionremoveRepByLoop
通过两重循环过滤重复元素
infrastructure/helper/slice_helper.go:63
↓ 1 callersFunctionremoveRepByMap
通过map主键唯一的特性过滤重复元素
infrastructure/helper/slice_helper.go:81
↓ 1 callersFunctiontoSnakeCase
ToSnakeCase method change string to snakecase
infrastructure/errorext/error_convter.go:30
FunctionAddChCache
(uid string, ch chan<- interface{})
infrastructure/helper/chs_mng.go:8
FunctionAddFile
(c *gin.Context)
presentation/api/files.go:27
FunctionAddFileCommand
(parm AddFileForm)
application/files_app.go:56
MethodAddObj
新增,
infrastructure/repos_mysql/file_repo.go:19
FunctionAesCbcDecrypt
decrypt
infrastructure/helper/encrypt.go:50
FunctionAesCbcEncrypt
加密
infrastructure/helper/encrypt.go:34
MethodAggregateID
()
domain/files/commands.go:24
MethodAggregateID
()
domain/testcmd/commands.go:25
MethodAggregateID
()
domain/k8s_info/commands.go:24
MethodAggregateID
()
domain/trips/commands.go:24
MethodApplyEvent
(ctx context.Context, event eh.Event)
domain/files/aggregate_root.go:54
MethodApplyEvent
(ctx context.Context, event eh.Event)
domain/testcmd/aggregate_root.go:47
MethodApplyEvent
(ctx context.Context, event eh.Event)
domain/k8s_info/aggregate_root.go:37
MethodApplyEvent
(ctx context.Context, event eh.Event)
domain/trips/aggregate_root.go:39
FunctionCalBegin
* * timeOp: 0:一年以内,1:今天,2:最近7天,3:最近30天 */
infrastructure/helper/times_helper.go:80
MethodCommandType
()
domain/testcmd/commands.go:28
next →1–100 of 224, ranked by callers