MCPcopy Create free account

hub / github.com/apache/apisix-control-plane / functions

Functions57 in github.com/apache/apisix-control-plane

↓ 7 callersFunctionErrorw
Errorw logs the error occurs with the stacktrace
pkg/log/logger.go:56
↓ 4 callersMethodFindByFullName
()
pkg/mem/route.go:39
↓ 4 callersMethodInsert
InsertRoute insert route to memDB
pkg/mem/route.go:27
↓ 4 callersFunctionTrans
(b []byte, y []byte)
pkg/yml/trans.go:28
↓ 4 callersFunctiontypeof
(v interface{})
pkg/yml/trans_test.go:158
↓ 2 callersFunctionHasDiff
(a, b interface{})
pkg/mem/diff.go:32
↓ 2 callersFunctionPost
(url string, bytes []byte)
pkg/utils/http.go:30
↓ 2 callersMethodToMem
()
pkg/yml/model.go:25
↓ 1 callersFunctionDebugw
Debugw logs the details for debug
pkg/log/logger.go:71
↓ 1 callersMethodDelete
()
pkg/dp/apisix/route.go:56
↓ 1 callersFunctionInit
()
pkg/log/logger.go:41
↓ 1 callersFunctionNewDB
()
pkg/mem/store.go:41
↓ 1 callersFunctionToDestination
(y []byte)
pkg/yml/trans.go:92
↓ 1 callersFunctionToGateway
(y []byte)
pkg/yml/trans.go:72
↓ 1 callersFunctionToPlugin
(y []byte)
pkg/yml/trans.go:102
↓ 1 callersFunctionToRule
(y []byte)
pkg/yml/trans.go:82
↓ 1 callersFunctionWarnw
Warnw logs what happened unexpectedly but don't need to be handled immediately
pkg/log/logger.go:61
↓ 1 callersFunctionYamlSchema
YamlSchema define schema rule
pkg/yml/schema.go:28
↓ 1 callersFunctiontoUris
(r *mem.Route)
pkg/adapter/route.go:38
↓ 1 callersFunctiontoVars
(r *mem.Route)
pkg/adapter/route.go:64
MethodAdd
()
pkg/dp/apisix/route.go:27
MethodAdd
()
pkg/dp/apisix/upstream.go:27
FunctionDelete
(url string)
pkg/utils/http.go:62
MethodDelete
()
pkg/dp/apisix/upstream.go:55
FunctionDiff
(a, b interface{})
pkg/mem/diff.go:49
MethodDiff
(m MemModel)
pkg/mem/model.go:26
MethodDiff
(t MemModel)
pkg/mem/route.go:53
MethodDiff
(t MemModel)
pkg/mem/plugin.go:53
MethodDiff
(t MemModel)
pkg/mem/upstream.go:53
MethodDiff
(t MemModel)
pkg/mem/gateway.go:55
MethodFindByFullName
()
pkg/mem/plugin.go:39
MethodFindByFullName
()
pkg/mem/upstream.go:39
MethodFindByFullName
()
pkg/mem/gateway.go:41
FunctionInfow
Infow logs what happened normally
pkg/log/logger.go:66
MethodInsert
insert Plugin to memDB
pkg/mem/plugin.go:27
MethodInsert
insert Upstream to memDB
pkg/mem/upstream.go:27
MethodInsert
insert Gateway to memDB
pkg/mem/gateway.go:29
FunctionLevel
Level returns the current log level so that we can do extra things according to the current mode
pkg/log/logger.go:37
FunctionMap
(raws []MemModel)
pkg/mem/deps.go:20
FunctionPatch
(url string, bytes []byte)
pkg/utils/http.go:46
FunctionTestApisixControlPlane
(t *testing.T)
apisix_control_plane_suite_test.go:26
FunctionTestMem
(t *testing.T)
pkg/mem/mem_suite_test.go:27
FunctionTestYaml
(t *testing.T)
pkg/yml/yaml_suite_test.go:26
FunctionToJson
(y string)
pkg/yml/to_json.go:21
MethodToMem
()
pkg/yml/rule.go:22
MethodToMem
()
pkg/yml/plugin.go:22
MethodToMem
()
pkg/yml/plugin.go:38
MethodToMem
()
pkg/yml/destination.go:22
MethodToMem
()
pkg/yml/gateway.go:22
MethodToMem
()
pkg/yml/gateway.go:40
MethodToMem
()
pkg/yml/gateway.go:47
FunctionToRoute
(r *mem.Route)
pkg/adapter/route.go:27
MethodUpdate
()
pkg/dp/apisix/route.go:51
MethodUpdate
()
pkg/dp/apisix/upstream.go:50
FunctionValidate
(request string)
pkg/yml/schema.go:181
Functioninit
()
pkg/log/logger.go:31
Functioninit
()
pkg/mem/store.go:33