MCPcopy Create free account

hub / github.com/baidu/EasyFaaS / functions

Functions1,662 in github.com/baidu/EasyFaaS

↓ 2 callersFunctiongetCallers
(r interface{})
pkg/util/runtime/runtime.go:69
↓ 2 callersFunctiongetCgroupProcs
getCgroupProcs takes a cgroup directory name as an argument reads through the cgroup's procs file and returns a list of tgid's. It returns an empty li
pkg/funclet/runtime/cgroup/helpers_linux.go:122
↓ 2 callersFunctiongetInterfaceAddr
GetInterfaceAddr returns the IPv4 address of a network interface.
pkg/funclet/network/bridge_linux.go:94
↓ 2 callersMethodgetLast
()
pkg/controller/rtctrl/log_dispatcher.go:239
↓ 2 callersMethodgetMap
(runtimeID string)
pkg/controller/rtctrl/log_dispatcher.go:295
↓ 2 callersFunctiongetResourceLabels
(ID string)
pkg/controller/task.go:315
↓ 2 callersMethodgetRunnerRouteHandler
()
pkg/controller/rtctrl/dispatcherv2.go:60
↓ 2 callersFunctionhelperCommand
(t *testing.T, s ...string)
pkg/funclet/command/command_test.go:53
↓ 2 callersMethodinitRunner
initRunner
pkg/controller/rtctrl/runner.go:65
↓ 2 callersFunctioninitRuntime
(s *DispatchServerV2, runtimeID string, commitID string, requestID string)
pkg/controller/rtctrl/client_test.go:155
↓ 2 callersMethodinvokeHandler
(w http.ResponseWriter, r *http.Request)
pkg/controller/rtctrl/dispatcherv2.go:178
↓ 2 callersFunctionmkdirAll
(fDir, target string)
pkg/util/zip/unzip.go:79
↓ 2 callersFunctionnewCacheWithJanitor
(de time.Duration, ci time.Duration, m map[string]Item)
pkg/util/cache/cache.go:1131
↓ 2 callersFunctionnewFileCore
(level zap.AtomicLevel)
pkg/util/logs/logs.go:167
↓ 2 callersMethodnewManager
newManager returns an implementation of cgroups.Manager
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:53
↓ 2 callersMethodoccupyWithScaleDownRecommendation
(ctx *occupyScaleDownContext)
pkg/controller/rtctrl/runtime_dispatcher.go:314
↓ 2 callersFunctionparseBrn
(ctx *InvokeContext)
pkg/controller/invoke.go:99
↓ 2 callersFunctionparseUint
Saturates negative values at zero and returns a uint64. Due to kernel bugs, some of the memory cgroup stats can be negative.
pkg/funclet/runtime/cgroup/helpers_linux.go:150
↓ 2 callersMethodprepareUserCode
(ctx *funcletCtx.Context, code *api.CodeStorage, codeSha256, hexCodeSha256 string)
pkg/funclet/warmup.go:181
↓ 2 callersMethodrecvGenericResponseLoop
()
pkg/controller/rtctrl/runtime.go:237
↓ 2 callersMethodrecvHTTPResponseLoop
()
pkg/controller/rtctrl/runtime.go:274
↓ 2 callersMethodremoveFromFile
(path string)
pkg/funclet/quota/xfs_quota.go:303
↓ 2 callersMethodremoveProjectInfo
(path string)
pkg/funclet/quota/xfs_quota.go:260
↓ 2 callersMethodrollbackRuntime
(runtime *RuntimeInfo, commitID string, logger *logs.Logger)
pkg/controller/rtctrl/runtime_dispatcher.go:365
↓ 2 callersMethodrunnerExample
()
pkg/funclet/runner/manager.go:54
↓ 2 callersMethodserve
(address string, router *mux.Router)
pkg/controller/rtctrl/dispatcherv2.go:71
↓ 2 callersMethodstartRuntimeLoop
startRuntimeLoop
pkg/controller/rtctrl/runtime.go:99
↓ 2 callersFunctionstatisticsInfo
(request *RequestInfo)
pkg/controller/rtctrl/statistics.go:55
↓ 2 callersMethodstopRuntime
stopRuntime
pkg/controller/rtctrl/runtime.go:355
↓ 2 callersMethodsyncExistsProjects
()
pkg/funclet/quota/xfs_quota.go:182
↓ 2 callersFunctiontestFillAndSerialize
(t *testing.T, tc *Cache)
pkg/util/cache/cache_test.go:1275
↓ 2 callersMethodtimeout
(error)
pkg/server/filters/timeout.go:99
↓ 2 callersMethodtoResources
(resourceConfig *runtimeApi.ResourceConfig)
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:290
↓ 2 callersFunctiontriFromBool
(b bool)
pkg/util/flag/tristate.go:77
↓ 2 callersFunctionunzip
(reader *zip.ReadCloser, target string)
pkg/util/zip/unzip.go:50
↓ 2 callersMethodupdateLastResetTime
updateLastResetTime
pkg/controller/rtctrl/runtimeinfo.go:126
↓ 1 callersMethodAddFlags
(fs *pflag.FlagSet)
pkg/controller/rtctrl/options.go:44
↓ 1 callersMethodAddFlags
(fs *pflag.FlagSet)
pkg/controller/rtctrl/options.go:66
↓ 1 callersMethodAddFlags
(fs *pflag.FlagSet)
cmd/stubs/options/options.go:33
↓ 1 callersMethodAddFlags
(fs *pflag.FlagSet)
cmd/httptrigger/options/options.go:37
↓ 1 callersMethodAddFuncletClientFlags
AddFunctionCacheFlags xxx
pkg/funclet/client/client.go:51
↓ 1 callersMethodAddHealthzChecks
AddHealthzChecks allows you to add a HealthzCheck.
pkg/server/healthz.go:26
↓ 1 callersMethodAddPostStartHook
AddPostStartHook allows you to add a PostStartHook.
pkg/server/hooks.go:65
↓ 1 callersMethodAddPreShutdownHook
AddPreShutdownHook allows you to add a PreShutdownHook.
pkg/server/hooks.go:100
↓ 1 callersMethodAddUniversalFlags
AddUniversalFlags parse the flags
pkg/server/options/server_run_options.go:48
↓ 1 callersFunctionAddWithLabels
(index string, value float64, labels *prometheus.Labels)
pkg/util/logs/metric/metric.go:152
↓ 1 callersFunctionAggregateGoroutines
AggregateGoroutines runs the provided functions in parallel, stuffing all non-nil errors into the returned Aggregate. Returns nil if all the functions
pkg/util/errors/errors.go:186
↓ 1 callersMethodAllocTmpDevice
(path string)
pkg/funclet/quota/quota.go:21
↓ 1 callersMethodAllocate
(fpath string, size uint64)
pkg/funclet/storage/storage.go:27
↓ 1 callersFunctionAppendHostsFile
(path, containerID string)
pkg/funclet/runner/helper.go:67
↓ 1 callersMethodApplyTo
(c *server.Config)
pkg/server/options/features.go:62
↓ 1 callersFunctionAttach
Attach attaches backingFile to the loopback device starting at offset. If ro is true, then the file is attached read only.
pkg/funclet/device/loop/loop_unsupported.go:49
↓ 1 callersMethodBindContainer
(gatewayIP string, addr *net.IPNet)
pkg/funclet/network/veth_linux.go:55
↓ 1 callersMethodBodyStream
()
pkg/api/controller.go:66
↓ 1 callersMethodBodyString
()
pkg/api/controller.go:70
↓ 1 callersFunctionBuildContext
(c *routing.Context)
pkg/httptrigger/context.go:26
↓ 1 callersMethodCalculateBackoff
(url *url.URL)
pkg/rest/urlbackoff.go:33
↓ 1 callersMethodCheck
(req *http.Request)
pkg/server/healthz/healthz.go:32
↓ 1 callersMethodCheckCode
(ctx *context.Context, filename, codeSha256 string)
pkg/funclet/code/manager.go:37
↓ 1 callersMethodCleanInput
()
pkg/controller/rtctrl/request.go:105
↓ 1 callersMethodClose
()
pkg/userlog/json/jsonlogfile.go:86
↓ 1 callersMethodCloseChan
CloseChan
pkg/funclet/types.go:90
↓ 1 callersFunctionConvertHTTPResponseToProxy
(rsp *http.Response, reqInfo *RequestInfo)
pkg/controller/rtctrl/httprequest.go:38
↓ 1 callersMethodCoolDown
(*api.FuncletClientCoolDownInput)
pkg/funclet/client/client.go:60
↓ 1 callersFunctionCopyDir
(src string, dst string, mode os.FileMode)
pkg/funclet/helper.go:150
↓ 1 callersFunctionCopyFile
(src, dst string, mode os.FileMode)
pkg/funclet/helper.go:106
↓ 1 callersFunctionCreateAggregateFromMessageCountMap
CreateAggregateFromMessageCountMap converts MessageCountMap Aggregate
pkg/util/errors/errors.go:154
↓ 1 callersFunctionCreateBridge
(opt *NetworkOption)
pkg/funclet/network/bridge_linux.go:32
↓ 1 callersMethodCreateCodeCompeleteTag
(path, codeSha256 string)
pkg/funclet/code/manager.go:39
↓ 1 callersFunctionCreateFile
(fileName string, size int64)
pkg/util/file/file.go:24
↓ 1 callersFunctionCreateFunctionHandler
(options *options.StubsOptions)
pkg/stubs/apiserver.go:60
↓ 1 callersFunctionCreateListener
(network, addr string)
pkg/server/options/serving.go:109
↓ 1 callersFunctionCreateLogWriter
(logtype string, fpath string, cap int)
pkg/userlog/factory.go:33
↓ 1 callersFunctionCreateUnixServerChain
(runOptions *options.FuncletOptions, stopCh <-chan struct{}, finishCh chan struct{})
cmd/funclet/app/server.go:44
↓ 1 callersMethodDecrementFloat32
Decrement an item of type float32 by n. Returns an error if the item's value is not an float32, or if it was not found. If there is no error, the decr
pkg/util/cache/cache.go:881
↓ 1 callersMethodDecrementFloat64
Decrement an item of type float64 by n. Returns an error if the item's value is not an float64, or if it was not found. If there is no error, the decr
pkg/util/cache/cache.go:903
↓ 1 callersMethodDecrementInt16
Decrement an item of type int16 by n. Returns an error if the item's value is not an int16, or if it was not found. If there is no error, the decremen
pkg/util/cache/cache.go:683
↓ 1 callersMethodDecrementInt32
Decrement an item of type int32 by n. Returns an error if the item's value is not an int32, or if it was not found. If there is no error, the decremen
pkg/util/cache/cache.go:705
↓ 1 callersMethodDecrementInt64
Decrement an item of type int64 by n. Returns an error if the item's value is not an int64, or if it was not found. If there is no error, the decremen
pkg/util/cache/cache.go:727
↓ 1 callersMethodDecrementInt8
Decrement an item of type int8 by n. Returns an error if the item's value is not an int8, or if it was not found. If there is no error, the decremente
pkg/util/cache/cache.go:661
↓ 1 callersMethodDecrementUint
Decrement an item of type uint by n. Returns an error if the item's value is not an uint, or if it was not found. If there is no error, the decremente
pkg/util/cache/cache.go:749
↓ 1 callersMethodDecrementUint16
Decrement an item of type uint16 by n. Returns an error if the item's value is not an uint16, or if it was not found. If there is no error, the decrem
pkg/util/cache/cache.go:815
↓ 1 callersMethodDecrementUint32
Decrement an item of type uint32 by n. Returns an error if the item's value is not an uint32, or if it was not found. If there is no error, the decrem
pkg/util/cache/cache.go:837
↓ 1 callersMethodDecrementUint64
Decrement an item of type uint64 by n. Returns an error if the item's value is not an uint64, or if it was not found. If there is no error, the decrem
pkg/util/cache/cache.go:859
↓ 1 callersMethodDecrementUint8
Decrement an item of type uint8 by n. Returns an error if the item's value is not an uint8, or if it was not found. If there is no error, the decremen
pkg/util/cache/cache.go:793
↓ 1 callersMethodDecrementUintptr
Decrement an item of type uintptr by n. Returns an error if the item's value is not an uintptr, or if it was not found. If there is no error, the decr
pkg/util/cache/cache.go:771
↓ 1 callersFunctionDeduplication
(slice *[]string)
pkg/util/strtool/codesha.go:35
↓ 1 callersFunctionDefaultCacheExpirationConfigs
()
pkg/controller/function/cache.go:54
↓ 1 callersMethodDelete
(id string, force bool)
pkg/funclet/runtime/runc/runc.go:40
↓ 1 callersMethodDelete
Delete removes all items from the set.
pkg/funclet/runtime/cgroup/string.go:56
↓ 1 callersMethodDelete
Delete removes all items from the set.
pkg/funclet/runtime/cgroup/utils.go:58
↓ 1 callersMethodDeleteContainer
(ctx *funcletCtx.Context)
pkg/funclet/reset.go:195
↓ 1 callersMethodDestroy
Destroy the cgroup.
pkg/funclet/runtime/cgroup/types.go:79
↓ 1 callersMethodDetach
Detach removes the file backing the device.
pkg/funclet/device/loop/loop_linux.go:121
↓ 1 callersMethodDo
(req *fasthttp.Request)
pkg/rest/fastclient.go:32
↓ 1 callersFunctionEraseFile
(fileName string)
pkg/util/file/file.go:44
↓ 1 callersMethodError
()
pkg/controller/rtctrl/errors.go:50
↓ 1 callersMethodFetch
(string)
pkg/repository/storagedriver.go:23
↓ 1 callersMethodFetchCode
(ctx *context.Context, code *api.CodeStorage)
pkg/funclet/code/manager.go:36
↓ 1 callersMethodFindCode
(path, codeSha256 string)
pkg/funclet/code/manager.go:41
← previousnext →401–500 of 1,662, ranked by callers