Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EdgeGallery/mep
/ functions
Functions
968 in github.com/EdgeGallery/mep
⨍
Functions
968
◇
Types & classes
224
↓ 432 callers
Method
Error
json path error
mepserver/common/arch/bus/base.go:44
↓ 205 callers
Method
Get
(key string)
mepserver/mm5/controller_test.go:213
↓ 198 callers
Method
SetFirstErrorCode
SetFirstErrorCode set task base error code
mepserver/common/arch/workspace/task_base.go:70
↓ 94 callers
Method
URLPatterns
URLPatterns handles url mappings
mepserver/mp1/controller.go:103
↓ 83 callers
Method
String
()
mepserver/mm5/controller_test.go:205
↓ 65 callers
Method
Run
()
dns-server/dns.go:58
↓ 48 callers
Function
ClearByteArray
ClearByteArray clears byte array from memory
mepauth/util/util.go:528
↓ 48 callers
Method
URLPatterns
URLPatterns resisters url patterns
mepserver/mm5/controller.go:93
↓ 39 callers
Method
Finally
Finally handle exception
mepserver/common/arch/workspace/workspace_base.go:122
↓ 39 callers
Method
Try
Try run a task group
mepserver/common/arch/workspace/workspace_base.go:116
↓ 34 callers
Method
DelResourceRecord
(zone string, host string, rrtypestr string)
dns-server/datastore/boltdb.go:271
↓ 33 callers
Function
ClearByteArray
ClearByteArray clear byte array from memory
mepserver/common/util/meputil.go:572
↓ 27 callers
Function
NewWorkSpace
NewWorkSpace new a work space
mepserver/mp1/mepspace.go:55
↓ 26 callers
Method
handleAddResourceRecords
(c echo.Context)
dns-server/mgmt/controller.go:70
↓ 23 callers
Method
Close
Close - Cleanup the db
dns-server/datastore/storeif.go:40
↓ 20 callers
Method
GetResourceRecord
(question *dns.Question)
dns-server/datastore/boltdb.go:219
↓ 17 callers
Method
setFailureReason
(reason string)
mepserver/mm5/task/taskstatus_db.go:120
↓ 16 callers
Method
Header
()
mepserver/mm5/controller_test.go:136
↓ 16 callers
Method
String
String generates the failure response body string
mepserver/common/models/problemdetails.go:35
↓ 15 callers
Method
Init
Init initialize mm5 interface service
mepserver/mm5/controller.go:61
↓ 15 callers
Function
main
()
dns-server/main.go:166
↓ 14 callers
Method
Get
@Title Gets AK/SK configuration @Description get ak & sk configuration @Param Content-Type header string true "MIME type, fill in application/
mepauth/controllers/conf.go:147
↓ 14 callers
Method
handleLoggingForError
Handled logging for error case
mepauth/controllers/base.go:50
↓ 13 callers
Method
HandleLoggingForError
Handled logging for error case
healthcheck/controllers/base.go:37
↓ 13 callers
Method
SendPostRequest
Send post request
mepauth/apigw.go:301
↓ 12 callers
Function
NewWorkSpace
new a work space
mepserver/mm5/mepspace.go:49
↓ 12 callers
Method
Read
(md interface{}, cols ...string)
mepauth/adapter/factory_test.go:139
↓ 11 callers
Method
SetResourceRecord
(zone string, rr *ResourceRecord)
dns-server/datastore/boltdb.go:155
↓ 10 callers
Method
WithType
WithType set type and return SubscribeIst
mepserver/mp1/plans/app_subscribe.go:57
↓ 10 callers
Method
WriteHeader
(statusCode int)
mepserver/mm5/controller_test.go:154
↓ 9 callers
Method
Parse
(params string)
mepserver/common/arch/workspace/task_base.go:22
↓ 9 callers
Method
handleSetResourceRecords
(c echo.Context)
dns-server/mgmt/controller.go:118
↓ 8 callers
Function
GetAppConfig
GetAppConfig gets app configuration
mepauth/util/util.go:67
↓ 8 callers
Method
WithBody
WithBody set body and return DecodeRestReq
mepserver/mp1/plans/svc_register.go:127
↓ 8 callers
Function
getConfController
()
mepauth/controllers/conf_test.go:194
↓ 7 callers
Function
InitAuthInfoList
InitAuthInfoList initializes auth info list
mepauth/controllers/blocklist.go:31
↓ 7 callers
Method
InitDatabase
InitDatabase initializes database of type postgres
mepauth/adapter/pgdb.go:82
↓ 7 callers
Method
Write
(response []byte)
mepserver/mm5/controller_test.go:142
↓ 7 callers
Method
handleTrafficRules
Handle dns rule related configurations
mepserver/mm5/task/sync.go:302
↓ 7 callers
Function
startValidatingAk
Start Ak validation
mepauth/controllers/blocklist.go:54
↓ 7 callers
Method
writeErrorResponse
Write error response
mepauth/controllers/base.go:66
↓ 6 callers
Function
ConfigureAkAndSk
ConfigureAkAndSk save Ak and Sk configuration into file
mepauth/controllers/conf.go:183
↓ 6 callers
Method
Delete
(key string)
mepserver/mm5/controller_test.go:231
↓ 6 callers
Method
Header
()
mepserver/mp1/controller_test.go:163
↓ 6 callers
Method
Init
Init initialize mp1 service
mepserver/mp1/controller.go:74
↓ 6 callers
Method
InitAPIGateway
(trustedNetworks *[]byte)
mepauth/apigw.go:49
↓ 6 callers
Method
Open
Open - Initialize the DB by creating the database
dns-server/datastore/storeif.go:37
↓ 6 callers
Method
Post
@Title Post @Description start edge side health check @Success 200 ok @Failure 400 bad request @router /health-check/v1/edge/action/start [post]
healthcheck/controllers/communicate.go:64
↓ 6 callers
Method
Type
Type event handler type
mepserver/mp1/event/instance_event_handler.go:53
↓ 6 callers
Function
ValidateRegexp
ValidateRegexp validate by reg
mepserver/common/util/meputil.go:270
↓ 6 callers
Function
getAppInsIdSk
Get app instance Id and Sk
mepauth/controllers/token.go:155
↓ 6 callers
Function
getComController
()
healthcheck/test/communicate_test.go:128
↓ 6 callers
Function
isFileOrDirExist
(path string)
mepauth/util/util.go:519
↓ 6 callers
Function
reflectSafeAddr
(p reflect.Value, v reflect.Value)
mepserver/common/arch/bus/base.go:228
↓ 6 callers
Function
saveAkAndSk
(appInsID string, ak string, sk *[]byte, appName string, requiredServices string)
mepauth/controllers/conf.go:212
↓ 6 callers
Function
validateJwtPassword
Validate password
mepauth/util/validation.go:87
↓ 6 callers
Method
validateSrcAddress
Validate source address
mepauth/controllers/base.go:91
↓ 5 callers
Method
AddResourceRecord
AddResourceRecord Set/Add DNS entry
mepserver/common/extif/dns/dns_if.go:42
↓ 5 callers
Method
AddServiceRoute
(serviceName string, servicePaths []string, targetURL string, needStripPath bool)
mepauth/apigw.go:260
↓ 5 callers
Method
DeleteResourceRecord
DeleteResourceRecord DNS entry
mepserver/common/extif/dns/dns_if.go:46
↓ 5 callers
Method
GenerateTaskResponse
(taskId string, appInstanceId string, result string, percent string, details string)
mepserver/common/appd/appd.go:85
↓ 5 callers
Method
Get
@Title Get @Description collect mep and lcm health condition and decide this edge health @Success 200 ok @Failure 500 StatusInternalServerError @route
healthcheck/controllers/edgeHealth.go:110
↓ 5 callers
Method
IsAnyOngoingOperationExist
IsAnyOngoingOperationExist checks any on-going operation exists for the application instance
mepserver/common/appd/appd.go:70
↓ 5 callers
Method
IsAppInstanceAlreadyCreated
IsAppInstanceAlreadyCreated checks the app instance already configured or not
mepserver/common/appd/appd.go:38
↓ 5 callers
Function
LoadMepServerConfig
LoadMepServerConfig read and load the mep server configurations
mepserver/common/config/mepserver_loader.go:58
↓ 5 callers
Method
Post
@Title Process token information @Description create token and return the same @Param Content-Type header string true "MIME type, fill in appl
mepauth/controllers/token.go:56
↓ 5 callers
Method
Put
(key string, value []byte)
mepserver/mm5/controller_test.go:196
↓ 5 callers
Method
Write
(response []byte)
mepserver/mp1/controller_test.go:169
↓ 5 callers
Method
WriteHeader
(statusCode int)
mepserver/mp1/controller_test.go:181
↓ 5 callers
Method
handleDNS
Handle DNS Query matching.
dns-server/dns.go:137
↓ 5 callers
Method
handleDeleteResourceRecord
(c echo.Context)
dns-server/mgmt/controller.go:217
↓ 5 callers
Method
logErrResponseMsgWithAk
(clientIp string, errMsg string, ak string)
mepauth/controllers/base.go:60
↓ 5 callers
Method
logReceivedMsg
To display log for received message
mepauth/controllers/base.go:38
↓ 5 callers
Function
readPropertiesFile
(filename string)
mepauth/main.go:53
↓ 5 callers
Method
registerEndpoints
(modReq bool, instance *proto.MicroServiceInstance)
mepserver/common/models/serviceinfo.go:136
↓ 5 callers
Function
validateServerName
Validate Server Name
mepauth/util/validation.go:64
↓ 4 callers
Method
CleanUpApiGwEntry
CleanUpApiGwEntry deleted the api gateway entries for a service name
mepserver/common/util/apigwutil.go:160
↓ 4 callers
Method
Get
@Title Get @Description start total health check for this mec-m @Success 200 ok @Failure 400 bad request @router /health-check/v1/center/tenants/:tena
healthcheck-m/controllers/run.go:53
↓ 4 callers
Function
GetAppConfig
GetAppConfig get the app-config from the configuration file
mepserver/common/util/requestutil.go:114
↓ 4 callers
Method
GetInstanceId
GetInstanceId to get instanceId
mepserver/mp1/uuid/mp1context.go:66
↓ 4 callers
Method
GetServiceId
GetServiceId to get service id
mepserver/mp1/uuid/mp1context.go:54
↓ 4 callers
Method
HandleLoggingForError
Handled logging for error case
healthcheck-m/controllers/base.go:38
↓ 4 callers
Method
InitOrmer
Constructor of ORM
mepauth/adapter/pgdb.go:40
↓ 4 callers
Function
IsFileOrDirExist
IsFileOrDirExist check file or dir exist
mepserver/common/util/meputil.go:563
↓ 4 callers
Function
Mp1CvtSrvAuthenDiscover
Mp1CvtSrvAuthenDiscover mp1 cvt service discover by app instance id
mepserver/mp1/plan_svc_discover.go:279
↓ 4 callers
Function
SendRequest
SendRequest rest request
mepserver/common/util/requestutil.go:152
↓ 4 callers
Method
SetApiGwConsumer
(apiGwUrl string)
mepauth/apigw.go:94
↓ 4 callers
Method
StageNewTask
StageNewTask stages new tasks for operation
mepserver/common/appd/appd.go:132
↓ 4 callers
Method
StartNewTask
StartNewTask start new task for sync
mepserver/mm5/task/sync.go:61
↓ 4 callers
Method
Stop
()
dns-server/dns.go:92
↓ 4 callers
Method
WithWorker
WithWorker input worker instance
mepserver/mm5/plans/appd_config_create.go:166
↓ 4 callers
Function
doInitialization
(trustedNetworks *[]byte)
mepauth/main.go:147
↓ 4 callers
Method
forward
forward request to external server.
dns-server/dns.go:114
↓ 4 callers
Function
fromBase10
(base10 string)
mepauth/controllers/token_test.go:309
↓ 4 callers
Function
genRootKey
(componentFilePath string, saltFilePath string)
mepauth/util/util.go:448
↓ 4 callers
Function
getCipherSuites
(sslCiphers string)
mepauth/util/util.go:254
↓ 4 callers
Function
getController
()
mepauth/controllers/token_test.go:132
↓ 4 callers
Method
getTokenInfo
(appInsId string, ak string)
mepauth/controllers/token.go:275
↓ 4 callers
Method
handleDNSRules
Handle dns rule related configurations
mepserver/mm5/task/sync.go:392
↓ 4 callers
Function
isAkInBlockList
Verify that Ak is in block list or not
mepauth/controllers/blocklist.go:36
next →
1–100 of 968, ranked by callers