MCPcopy Create free account

hub / github.com/baidu/EasyFaaS / functions

Functions1,662 in github.com/baidu/EasyFaaS

↓ 1 callersFunctionfromParametersImpl
(parameters map[string]interface{})
pkg/repository/bos/bos.go:65
↓ 1 callersFunctionfromParametersImpl
(parameters map[string]interface{})
pkg/repository/filesystem/fliesystem.go:65
↓ 1 callersFunctionfunctionMemorySizeToBytes
(memSize int64)
pkg/controller/rtctrl/runtime_dispatcher.go:453
↓ 1 callersFunctiongenerateBodyStream
(c *routing.Context)
pkg/controller/handler.go:190
↓ 1 callersMethodgenerateBsamTemplate
(ctx *funcletCtx.Context, params api.WarmupRequest)
pkg/funclet/ide_warmup.go:172
↓ 1 callersFunctiongenerateInvokeRequest
(c *routing.Context)
pkg/controller/handler.go:171
↓ 1 callersFunctiongenerator
()
pkg/server/filters/request_id.go:42
↓ 1 callersMethodget
(runtimeID, requestID string)
pkg/controller/rtctrl/log_dispatcher.go:308
↓ 1 callersMethodgetCanaryFunctionBrn
(ctx *InvokeContext)
pkg/controller/invoke.go:245
↓ 1 callersMethodgetCommonRunnerConfig
(c *RunnerConfig)
pkg/funclet/runner/manager.go:215
↓ 1 callersFunctiongetFSType
getFSType returns the filesystem type of the underlying mounted filesystem
pkg/funclet/device/utils/type_linux.go:47
↓ 1 callersFunctiongetFlagName
(prefix, flagName string)
pkg/controller/function/options.go:39
↓ 1 callersFunctiongetFuncResult
(output *rtctrl.InvocationResponse)
pkg/controller/invoke.go:495
↓ 1 callersFunctiongetFunction
()
pkg/controller/registry/registry_test.go:174
↓ 1 callersMethodgetFunction
(ctx *InvokeContext)
pkg/controller/invoke.go:116
↓ 1 callersMethodgetFunctionByFunctionBrn
(ctx *InvokeContext, input *api.GetFunctionInput)
pkg/controller/invoke.go:207
↓ 1 callersMethodgetFunctionByFunctionName
(ctx *InvokeContext, input *api.GetFunctionInput)
pkg/controller/invoke.go:180
↓ 1 callersMethodgetHTTPClient
TODO: Add a timer to recreate the client ?
pkg/controller/rtctrl/runtime.go:418
↓ 1 callersMethodgetIDERunnerConfig
(c *RunnerConfig)
pkg/funclet/runner/manager.go:295
↓ 1 callersMethodgetIPMap
()
pkg/funclet/network/allocate_ip_linux.go:78
↓ 1 callersMethodgetInvokeMode
()
pkg/controller/rtctrl/request.go:172
↓ 1 callersMethodgetMemoryCapacity
(totalMemory string)
pkg/funclet/runtime/resource.go:179
↓ 1 callersMethodgetMilliCPUCapacity
(totalCPU float64)
pkg/funclet/runtime/resource.go:207
↓ 1 callersMethodgetMilliCPUsByMemory
(memory uint64)
pkg/controller/rtctrl/runtime_dispatcher.go:457
↓ 1 callersMethodgetMinMemoryLimit
(usage int64)
pkg/funclet/warmup.go:365
↓ 1 callersMethodgetNewVeth
()
pkg/funclet/network/network.go:94
↓ 1 callersMethodgetNextProjectID
()
pkg/funclet/quota/xfs_quota.go:280
↓ 1 callersMethodgetProjectID
(path string)
pkg/funclet/quota/xfs_quota.go:273
↓ 1 callersMethodgetResponseStatus
()
pkg/controller/rtctrl/request.go:179
↓ 1 callersMethodgetRuntime
(ctx *InvokeContext)
pkg/controller/invoke.go:313
↓ 1 callersFunctiongetRuntimeConfiguration
()
pkg/controller/registry/registry_test.go:196
↓ 1 callersMethodgetRuntimeConfiguration
(ctx *InvokeContext)
pkg/controller/invoke.go:279
↓ 1 callersFunctiongetSigner
()
pkg/auth/bce/bce_test.go:90
↓ 1 callersFunctiongetStatsSupportedSubsystems
(cgroupPaths map[string]string)
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:455
↓ 1 callersMethodgetStoragePath
()
pkg/funclet/tmp/tmp_manager.go:114
↓ 1 callersFunctiongetUserLogPath
(requestID, runtimeID, userID, funcName, funcVer, fpath, logtype string)
pkg/controller/rtctrl/logstore.go:100
↓ 1 callersFunctionhandleRootHealthz
handleRootHealthz returns an http.HandlerFunc that serves the provided checks.
pkg/server/healthz/healthz.go:104
↓ 1 callersFunctionhelperCommandContext
(t *testing.T, ctx context.Context, s ...string)
pkg/funclet/command/command_test.go:39
↓ 1 callersFunctioninitCompatibleWithGlog
Compatible With Glog
pkg/util/logs/logs.go:74
↓ 1 callersMethodinitContainers
()
pkg/controller/init.go:78
↓ 1 callersMethodinitProjectIDsPool
()
pkg/funclet/quota/xfs_quota.go:220
↓ 1 callersMethodinitializeIO
(containerID string)
pkg/funclet/init.go:178
↓ 1 callersFunctioninstallAPI
(s *GenericServer, c *Config)
pkg/server/config.go:155
↓ 1 callersFunctioninstallApiserver
(router *routing.Router, options *options.StubsOptions)
pkg/stubs/apiserver.go:52
↓ 1 callersMethodinstallHealthz
installHealthz creates the healthz endpoint for this server
pkg/server/healthz.go:39
↓ 1 callersMethodinvocation
(ctx *InvokeContext)
pkg/controller/invoke.go:517
↓ 1 callersMethodinvokeCleanup
(reqinfo *RequestInfo, runtime *RuntimeInfo)
pkg/controller/rtctrl/client.go:140
↓ 1 callersFunctionioCopy
(file *zip.File, fPath string)
pkg/util/zip/unzip.go:86
↓ 1 callersFunctionipToBigInt
Converts a 4 bytes IP into a 128 bit integer
pkg/funclet/network/allocate_ip_linux.go:116
↓ 1 callersFunctionisConnectionReset
Returns if the given err is "connection reset by peer" error.
pkg/rest/request.go:717
↓ 1 callersFunctionisUnicastIP
(ip net.IP, mask net.IPMask)
pkg/funclet/network/allocate_ip_linux.go:98
↓ 1 callersFunctionisZip
(buf []byte)
pkg/repository/filesystem/fliesystem.go:133
↓ 1 callersFunctionlessInt
(lhs, rhs int)
pkg/funclet/runtime/cgroup/utils.go:203
↓ 1 callersFunctionlessString
(lhs, rhs string)
pkg/funclet/runtime/cgroup/string.go:201
↓ 1 callersFunctionlogName
logName returns a new log file name containing tag, with start time t, and the name for the symlink for tag.
pkg/util/logs/rotate.go:124
↓ 1 callersFunctionmakeHTTPResponse
(c *routing.Context, ctx *InvokeContext)
pkg/controller/handler.go:200
↓ 1 callersMethodmakeInvokeHTTPRequest
(reqInfo *RequestInfo, input *InvocationInput)
pkg/controller/rtctrl/client.go:104
↓ 1 callersMethodmakeInvokeRequest
(input *InvocationInput)
pkg/controller/rtctrl/client.go:82
↓ 1 callersFunctionmakeResponse
(resp *api.InvokeResponse, c *ProxyContext)
pkg/httptrigger/httptrigger.go:82
↓ 1 callersFunctionmatchesError
matchesError returns true if any Matcher returns true
pkg/util/errors/errors.go:107
↓ 1 callersMethodmetricTask
(opt *options.ControllerOptions)
pkg/controller/task.go:52
↓ 1 callersFunctionnewCache
(de time.Duration, m map[string]Item)
pkg/util/cache/cache.go:1120
↓ 1 callersMethodnewContainerPaths
(id string)
pkg/funclet/file/container_path.go:157
↓ 1 callersFunctionnewControllerClientRouter
(withError bool)
pkg/controller/client/rpc_test.go:123
↓ 1 callersFunctionnewLibcontainerAdapter
newLibcontainerAdapter returns a configured libcontainerAdapter for specified manager. it does any initialization required by that manager to function
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:48
↓ 1 callersFunctionnewMockConn
(received *bytes.Buffer, responseReader io.Reader)
pkg/util/httptest/mockconn.go:36
↓ 1 callersFunctionnewStderrCore
(level zap.AtomicLevel)
pkg/util/logs/logs.go:126
↓ 1 callersFunctionnewSummaryFileCore
()
pkg/util/logs/logs.go:196
↓ 1 callersFunctionnewTimeoutWriter
(w http.ResponseWriter)
pkg/server/filters/timeout.go:102
↓ 1 callersFunctionnewUtCore
()
pkg/util/logs/logs.go:135
↓ 1 callersMethodobserveOverall
()
pkg/controller/metric.go:450
↓ 1 callersMethodoccupyColdWithScaleUpRecommendation
(ctx *occupyColdRuntimeContext)
pkg/controller/rtctrl/runtime_dispatcher.go:225
↓ 1 callersMethodopen
open returns a file handle to /dev/loop# and returns an error if it cannot be opened.
pkg/funclet/device/loop/loop_linux.go:37
↓ 1 callersMethodoutLogDone
()
pkg/controller/rtctrl/logstore.go:359
↓ 1 callersMethodoverallMetrics
()
pkg/controller/task.go:263
↓ 1 callersFunctionparseInt
(s string, base, bitSize int)
pkg/funclet/runtime/cgroup/helpers_linux.go:168
↓ 1 callersMethodpoll
()
pkg/util/logs/diode.go:95
↓ 1 callersMethodprepareConfigData
(containerID string, cp *file.ContainerPaths)
pkg/funclet/init.go:111
↓ 1 callersMethodprepareEnvConf
(envConfPath, podName string, environment map[string]string)
pkg/funclet/warmup.go:278
↓ 1 callersMethodprepareProjectFiles
()
pkg/funclet/quota/xfs_quota.go:171
↓ 1 callersMethodprepareRuntimeConf
(ctx *funcletCtx.Context, warmUpContainerArgs *api.WarmUpContainerArgs)
pkg/funclet/warmup.go:230
↓ 1 callersMethodprocessRuntime
(runtime *rtctrl.RuntimeInfo, logger *logs.Logger)
pkg/controller/task.go:120
↓ 1 callersMethodprocessRuntimeStats
(rt *rtctrl.RuntimeInfo, logger *logs.Logger)
pkg/controller/task.go:294
↓ 1 callersMethodputRuntime
(ctx *InvokeContext)
pkg/controller/invoke.go:507
↓ 1 callersMethodreborn
(runtime *rtctrl.RuntimeInfo, logger *logs.Logger)
pkg/controller/task.go:195
↓ 1 callersMethodrecvResponseLoop
()
pkg/controller/rtctrl/runtime.go:227
↓ 1 callersMethodrecvRunnerInfoLoop
recvRunnerInfoLoop
pkg/controller/rtctrl/runner.go:38
↓ 1 callersFunctionrecycleLoopDevice
()
pkg/funclet/storage/loop/loop.go:79
↓ 1 callersMethodremoveTask
()
pkg/funclet/file/path_manager.go:68
↓ 1 callersMethodrequest
request connects to the server and invokes the provided function when a server response is received. It handles retry behavior and up front validation
pkg/rest/request.go:364
↓ 1 callersFunctionrequestBody
(ctx *ProxyContext)
pkg/httptrigger/httptrigger.go:190
↓ 1 callersFunctionrequestBodyStream
(ctx *ProxyContext)
pkg/httptrigger/httptrigger.go:173
↓ 1 callersFunctionrequestBodyString
(ctx *ProxyContext)
pkg/httptrigger/httptrigger.go:184
↓ 1 callersMethodrequiredStorageSize
()
pkg/funclet/tmp/tmp_manager.go:127
↓ 1 callersMethodresourceTask
(logger *logs.Logger)
pkg/controller/task.go:68
↓ 1 callersFunctionretryAfterSeconds
retryAfterSeconds returns the value of the Retry-After header and true, or 0 and false if the header was missing or not a valid number.
pkg/rest/request.go:565
↓ 1 callersMethodrevertName
(name string)
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:62
↓ 1 callersMethodrotate
()
pkg/util/logs/rotate.go:88
↓ 1 callersFunctionrunJanitor
(c *cache, ci time.Duration)
pkg/util/cache/cache.go:1111
↓ 1 callersFunctionrunPostStartHook
(name string, entry postStartHookEntry, context PostStartHookContext)
pkg/server/hooks.go:170
← previousnext →801–900 of 1,662, ranked by callers