Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KendoCross/kendoDDD
/ functions
Functions
224 in github.com/KendoCross/kendoDDD
⨍
Functions
224
◇
Types & classes
57
↓ 24 callers
Method
Error
()
infrastructure/errorext/code_err.go:9
↓ 20 callers
Method
Get
Get gets a record value
infrastructure/repos_redis/redis_driver.go:58
↓ 8 callers
Method
Run
会等待之前的任务完成之后,才继续。
infrastructure/helper/gowork.go:31
↓ 5 callers
Method
Set
Set sets a record
infrastructure/repos_redis/redis_driver.go:47
↓ 5 callers
Method
Verify
()
infrastructure/ddd/domain_common.go:11
↓ 4 callers
Function
Error
(format string, v ...interface{})
infrastructure/logs/logs.go:57
↓ 3 callers
Method
CommandType
()
domain/files/commands.go:27
↓ 3 callers
Function
ValidationErrorToText
ValidationErrorToText method changes FieldError to string
infrastructure/errorext/error_convter.go:144
↓ 2 callers
Method
AddFile
(body []byte)
domain/files/file_entity.go:30
↓ 2 callers
Method
Del
Del deletes a record
infrastructure/repos_redis/redis_driver.go:80
↓ 2 callers
Method
GetFlights
(req FlightsReq)
domain/services/trip/i_trip.go:6
↓ 2 callers
Function
HandleCommand
HandleCommand 命令的执行
infrastructure/bus/bus.go:37
↓ 2 callers
Function
NewctripServer
()
domain/services/trip/ctrip_svc.go:18
↓ 2 callers
Function
RaiseEvents
RaiseEvents 异步进行事件的存储 和 发布
infrastructure/bus/bus.go:47
↓ 2 callers
Function
RegisterEventHandler
RegisterEventHandler 注册事件的处理
infrastructure/bus/bus.go:42
↓ 2 callers
Function
SendMail
(address []string, subject string, body string)
infrastructure/helper/smtp.go:21
↓ 2 callers
Method
Task
()
infrastructure/helper/gowork.go:6
↓ 2 callers
Method
getHistoryReleaseList
(name string)
domain/services/helm/helm_client.go:235
↓ 2 callers
Function
isChartInstallable
(ch *chart.Chart)
domain/services/helm/helm_client.go:245
↓ 2 callers
Function
newfileEnByOV
(fileInfo interfaces.FileInfo)
domain/files/file_entity.go:12
↓ 2 callers
Function
toSnakeCase
ToSnakeCase method change string to snakecase
infrastructure/ddd/pre_common_gin.go:21
↓ 1 callers
Function
AddFile
(parm AddFileForm)
application/files_app.go:33
↓ 1 callers
Method
AddNewFile
聚合根对外开放的能力
domain/files/aggregate_root.go:66
↓ 1 callers
Method
AddObj
新增,
interfaces/file_repo.go:5
↓ 1 callers
Method
AggregateType
()
domain/files/commands.go:28
↓ 1 callers
Method
AggregateType
()
domain/testcmd/commands.go:29
↓ 1 callers
Method
AggregateType
()
domain/k8s_info/commands.go:28
↓ 1 callers
Method
AggregateType
()
domain/trips/commands.go:28
↓ 1 callers
Method
Connect
Connect establish a redis connection
infrastructure/repos_redis/redis_driver.go:20
↓ 1 callers
Function
CopyFile
CopyFile copies the source file to the dest file.
infrastructure/helper/file_helper.go:56
↓ 1 callers
Function
DealCommand
err 取值范围[409:errorext.CodeError,400:errorext.ListMsgError,400:validator.ValidationErrors,500:其他error]
infrastructure/ddd/app_common.go:50
↓ 1 callers
Method
DealCommand
(context.Context, eh.Command)
infrastructure/bus/kendobus.go:19
↓ 1 callers
Function
DealerCommand
(ctx context.Context, cmd eh.Command)
infrastructure/bus/kendobus.go:22
↓ 1 callers
Method
DoCmd
(cmd *TestOnlyCmd)
domain/testcmd/aggregate_root.go:52
↓ 1 callers
Method
Error
()
infrastructure/errorext/errors.go:18
↓ 1 callers
Function
Errors
()
presentation/middleware/errors.go:13
↓ 1 callers
Method
Find
(parm FindParmFiles)
interfaces/file_repo.go:9
↓ 1 callers
Method
FindReleases
()
domain/services/helm/helm_client.go:212
↓ 1 callers
Method
GetById
单条查询
interfaces/file_repo.go:7
↓ 1 callers
Function
GetFileById
(id string)
application/files_app.go:16
↓ 1 callers
Function
HandCommand
应用层 1.主要的解析表现层数据,2.组装为正确的命令,并进行校验,3.由命令总线发布出去,不用管订阅者到底是谁。 err 取值范围[409:errorext.CodeError,400:errorext.ListMsgError,400:validator.ValidationErrors,500
infrastructure/ddd/app_common.go:14
↓ 1 callers
Method
HandleCommand
Command异步执行,不需要返回值的
domain/files/aggregate_root.go:31
↓ 1 callers
Method
HandleEvent
(ctx context.Context, event eh.Event)
domain/files/event_handler.go:24
↓ 1 callers
Method
HelmUpgrade
(name, namespace, version, chartPath string, vals map[string]interface{})
domain/services/helm/helm_client.go:99
↓ 1 callers
Function
Info
(format string, v ...interface{})
infrastructure/logs/logs.go:52
↓ 1 callers
Function
InitLogs
初始化_日志工具
infrastructure/logs/logs.go:25
↓ 1 callers
Function
InitRouter
表现层主要的职责在于,表现形式的多样化。
presentation/router.go:18
↓ 1 callers
Function
LcFirst
LcFirst method is to change lowercase word
infrastructure/errorext/error_convter.go:49
↓ 1 callers
Function
MakesureFileExist
(filepath string)
infrastructure/helper/file_helper.go:10
↓ 1 callers
Function
NewCodeError
(code int, msg string, err error)
infrastructure/errorext/code_err.go:21
↓ 1 callers
Function
NewHelmAction
(kubeconfFile, ns string, options ...*Options)
domain/services/helm/helm_client.go:50
↓ 1 callers
Function
NewcaptchaRepo
()
infrastructure/repos_redis/captcha_repo.go:10
↓ 1 callers
Function
NewfileRepo
()
infrastructure/repos_mysql/file_repo.go:14
↓ 1 callers
Function
PKCS5Padding
(plainText []byte, blockSize int)
infrastructure/helper/encrypt.go:67
↓ 1 callers
Function
PKCS5UnPadding
(plainText []byte)
infrastructure/helper/encrypt.go:73
↓ 1 callers
Method
Ping
Ping checks the redis connection
infrastructure/repos_redis/redis_driver.go:37
↓ 1 callers
Function
PodList
(req PodsReq)
application/k8s/pods_app.go:9
↓ 1 callers
Method
PodList
()
domain/k8s_info/pod_entity.go:17
↓ 1 callers
Function
PreCommandDeals
(command string)
infrastructure/ddd/pre_common_gin.go:75
↓ 1 callers
Method
RegJob
()
domain/trips/aggregate_root.go:52
↓ 1 callers
Function
RegisterHandler
RegisterHandler 注册命令的处理
infrastructure/bus/bus.go:29
↓ 1 callers
Method
ReleaseList
()
domain/testcmd/helm_entity.go:12
↓ 1 callers
Function
SetDealer
(dealer CommandDealer, cmdType eh.CommandType)
infrastructure/bus/kendobus.go:33
↓ 1 callers
Method
Shutdown
只是等待最后 maxGoRoutines 个GoRoutine的完成
infrastructure/helper/gowork.go:36
↓ 1 callers
Function
Split
Split method is to split camelcase letter
infrastructure/errorext/error_convter.go:54
↓ 1 callers
Function
StartUp
()
crosscutting/startup.go:15
↓ 1 callers
Function
StartUp
()
domain/startup.go:9
↓ 1 callers
Function
StartUp
仓储(能封装成工作单元更好)
domain/testcmd/common.go:19
↓ 1 callers
Function
StartUp
仓储(能封装成工作单元更好)
domain/k8s_info/common.go:26
↓ 1 callers
Function
ToSnakeCase
(str string)
infrastructure/errorext/error_convter.go:36
↓ 1 callers
Function
UcFirst
UcFirst method is for uppercase first letter of word
infrastructure/errorext/error_convter.go:41
↓ 1 callers
Function
canCopy
(srcPtr interface{}, dstPtr interface{})
infrastructure/helper/struct_help.go:56
↓ 1 callers
Function
checkOccurance
checkOccurance checks if param is involved in valdation message
infrastructure/errorext/error_convter.go:131
↓ 1 callers
Method
dealRateFlights
()
domain/testcmd/aggregate_root.go:66
↓ 1 callers
Function
deepFields
(ifaceType reflect.Type)
infrastructure/helper/struct_help.go:5
↓ 1 callers
Function
getHelmActionConf
(kubeconfFile, ns string)
domain/services/helm/helm_client.go:253
↓ 1 callers
Method
getHistoryReleaseByVersion
(name, version string)
domain/services/helm/helm_client.go:222
↓ 1 callers
Function
mergeMaps
(a, b map[string]interface{})
domain/services/helm/helm_client.go:272
↓ 1 callers
Function
newHelmEnByOV
()
domain/testcmd/helm_entity.go:8
↓ 1 callers
Function
newRedisDriver
NewRedisDriver create a new instance
infrastructure/repos_redis/redis_driver.go:11
↓ 1 callers
Function
newpodEnByOV
()
domain/k8s_info/pod_entity.go:13
↓ 1 callers
Function
removeRepByLoop
通过两重循环过滤重复元素
infrastructure/helper/slice_helper.go:63
↓ 1 callers
Function
removeRepByMap
通过map主键唯一的特性过滤重复元素
infrastructure/helper/slice_helper.go:81
↓ 1 callers
Function
toSnakeCase
ToSnakeCase method change string to snakecase
infrastructure/errorext/error_convter.go:30
Function
AddChCache
(uid string, ch chan<- interface{})
infrastructure/helper/chs_mng.go:8
Function
AddFile
(c *gin.Context)
presentation/api/files.go:27
Function
AddFileCommand
(parm AddFileForm)
application/files_app.go:56
Method
AddObj
新增,
infrastructure/repos_mysql/file_repo.go:19
Function
AesCbcDecrypt
decrypt
infrastructure/helper/encrypt.go:50
Function
AesCbcEncrypt
加密
infrastructure/helper/encrypt.go:34
Method
AggregateID
()
domain/files/commands.go:24
Method
AggregateID
()
domain/testcmd/commands.go:25
Method
AggregateID
()
domain/k8s_info/commands.go:24
Method
AggregateID
()
domain/trips/commands.go:24
Method
ApplyEvent
(ctx context.Context, event eh.Event)
domain/files/aggregate_root.go:54
Method
ApplyEvent
(ctx context.Context, event eh.Event)
domain/testcmd/aggregate_root.go:47
Method
ApplyEvent
(ctx context.Context, event eh.Event)
domain/k8s_info/aggregate_root.go:37
Method
ApplyEvent
(ctx context.Context, event eh.Event)
domain/trips/aggregate_root.go:39
Function
CalBegin
* * timeOp: 0:一年以内,1:今天,2:最近7天,3:最近30天 */
infrastructure/helper/times_helper.go:80
Method
CommandType
()
domain/testcmd/commands.go:28
next →
1–100 of 224, ranked by callers