Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/EasyFaaS
/ functions
Functions
1,662 in github.com/baidu/EasyFaaS
⨍
Functions
1,662
◇
Types & classes
371
↓ 1 callers
Function
fromParametersImpl
(parameters map[string]interface{})
pkg/repository/bos/bos.go:65
↓ 1 callers
Function
fromParametersImpl
(parameters map[string]interface{})
pkg/repository/filesystem/fliesystem.go:65
↓ 1 callers
Function
functionMemorySizeToBytes
(memSize int64)
pkg/controller/rtctrl/runtime_dispatcher.go:453
↓ 1 callers
Function
generateBodyStream
(c *routing.Context)
pkg/controller/handler.go:190
↓ 1 callers
Method
generateBsamTemplate
(ctx *funcletCtx.Context, params api.WarmupRequest)
pkg/funclet/ide_warmup.go:172
↓ 1 callers
Function
generateInvokeRequest
(c *routing.Context)
pkg/controller/handler.go:171
↓ 1 callers
Function
generator
()
pkg/server/filters/request_id.go:42
↓ 1 callers
Method
get
(runtimeID, requestID string)
pkg/controller/rtctrl/log_dispatcher.go:308
↓ 1 callers
Method
getCanaryFunctionBrn
(ctx *InvokeContext)
pkg/controller/invoke.go:245
↓ 1 callers
Method
getCommonRunnerConfig
(c *RunnerConfig)
pkg/funclet/runner/manager.go:215
↓ 1 callers
Function
getFSType
getFSType returns the filesystem type of the underlying mounted filesystem
pkg/funclet/device/utils/type_linux.go:47
↓ 1 callers
Function
getFlagName
(prefix, flagName string)
pkg/controller/function/options.go:39
↓ 1 callers
Function
getFuncResult
(output *rtctrl.InvocationResponse)
pkg/controller/invoke.go:495
↓ 1 callers
Function
getFunction
()
pkg/controller/registry/registry_test.go:174
↓ 1 callers
Method
getFunction
(ctx *InvokeContext)
pkg/controller/invoke.go:116
↓ 1 callers
Method
getFunctionByFunctionBrn
(ctx *InvokeContext, input *api.GetFunctionInput)
pkg/controller/invoke.go:207
↓ 1 callers
Method
getFunctionByFunctionName
(ctx *InvokeContext, input *api.GetFunctionInput)
pkg/controller/invoke.go:180
↓ 1 callers
Method
getHTTPClient
TODO: Add a timer to recreate the client ?
pkg/controller/rtctrl/runtime.go:418
↓ 1 callers
Method
getIDERunnerConfig
(c *RunnerConfig)
pkg/funclet/runner/manager.go:295
↓ 1 callers
Method
getIPMap
()
pkg/funclet/network/allocate_ip_linux.go:78
↓ 1 callers
Method
getInvokeMode
()
pkg/controller/rtctrl/request.go:172
↓ 1 callers
Method
getMemoryCapacity
(totalMemory string)
pkg/funclet/runtime/resource.go:179
↓ 1 callers
Method
getMilliCPUCapacity
(totalCPU float64)
pkg/funclet/runtime/resource.go:207
↓ 1 callers
Method
getMilliCPUsByMemory
(memory uint64)
pkg/controller/rtctrl/runtime_dispatcher.go:457
↓ 1 callers
Method
getMinMemoryLimit
(usage int64)
pkg/funclet/warmup.go:365
↓ 1 callers
Method
getNewVeth
()
pkg/funclet/network/network.go:94
↓ 1 callers
Method
getNextProjectID
()
pkg/funclet/quota/xfs_quota.go:280
↓ 1 callers
Method
getProjectID
(path string)
pkg/funclet/quota/xfs_quota.go:273
↓ 1 callers
Method
getResponseStatus
()
pkg/controller/rtctrl/request.go:179
↓ 1 callers
Method
getRuntime
(ctx *InvokeContext)
pkg/controller/invoke.go:313
↓ 1 callers
Function
getRuntimeConfiguration
()
pkg/controller/registry/registry_test.go:196
↓ 1 callers
Method
getRuntimeConfiguration
(ctx *InvokeContext)
pkg/controller/invoke.go:279
↓ 1 callers
Function
getSigner
()
pkg/auth/bce/bce_test.go:90
↓ 1 callers
Function
getStatsSupportedSubsystems
(cgroupPaths map[string]string)
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:455
↓ 1 callers
Method
getStoragePath
()
pkg/funclet/tmp/tmp_manager.go:114
↓ 1 callers
Function
getUserLogPath
(requestID, runtimeID, userID, funcName, funcVer, fpath, logtype string)
pkg/controller/rtctrl/logstore.go:100
↓ 1 callers
Function
handleRootHealthz
handleRootHealthz returns an http.HandlerFunc that serves the provided checks.
pkg/server/healthz/healthz.go:104
↓ 1 callers
Function
helperCommandContext
(t *testing.T, ctx context.Context, s ...string)
pkg/funclet/command/command_test.go:39
↓ 1 callers
Function
initCompatibleWithGlog
Compatible With Glog
pkg/util/logs/logs.go:74
↓ 1 callers
Method
initContainers
()
pkg/controller/init.go:78
↓ 1 callers
Method
initProjectIDsPool
()
pkg/funclet/quota/xfs_quota.go:220
↓ 1 callers
Method
initializeIO
(containerID string)
pkg/funclet/init.go:178
↓ 1 callers
Function
installAPI
(s *GenericServer, c *Config)
pkg/server/config.go:155
↓ 1 callers
Function
installApiserver
(router *routing.Router, options *options.StubsOptions)
pkg/stubs/apiserver.go:52
↓ 1 callers
Method
installHealthz
installHealthz creates the healthz endpoint for this server
pkg/server/healthz.go:39
↓ 1 callers
Method
invocation
(ctx *InvokeContext)
pkg/controller/invoke.go:517
↓ 1 callers
Method
invokeCleanup
(reqinfo *RequestInfo, runtime *RuntimeInfo)
pkg/controller/rtctrl/client.go:140
↓ 1 callers
Function
ioCopy
(file *zip.File, fPath string)
pkg/util/zip/unzip.go:86
↓ 1 callers
Function
ipToBigInt
Converts a 4 bytes IP into a 128 bit integer
pkg/funclet/network/allocate_ip_linux.go:116
↓ 1 callers
Function
isConnectionReset
Returns if the given err is "connection reset by peer" error.
pkg/rest/request.go:717
↓ 1 callers
Function
isUnicastIP
(ip net.IP, mask net.IPMask)
pkg/funclet/network/allocate_ip_linux.go:98
↓ 1 callers
Function
isZip
(buf []byte)
pkg/repository/filesystem/fliesystem.go:133
↓ 1 callers
Function
lessInt
(lhs, rhs int)
pkg/funclet/runtime/cgroup/utils.go:203
↓ 1 callers
Function
lessString
(lhs, rhs string)
pkg/funclet/runtime/cgroup/string.go:201
↓ 1 callers
Function
logName
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 callers
Function
makeHTTPResponse
(c *routing.Context, ctx *InvokeContext)
pkg/controller/handler.go:200
↓ 1 callers
Method
makeInvokeHTTPRequest
(reqInfo *RequestInfo, input *InvocationInput)
pkg/controller/rtctrl/client.go:104
↓ 1 callers
Method
makeInvokeRequest
(input *InvocationInput)
pkg/controller/rtctrl/client.go:82
↓ 1 callers
Function
makeResponse
(resp *api.InvokeResponse, c *ProxyContext)
pkg/httptrigger/httptrigger.go:82
↓ 1 callers
Function
matchesError
matchesError returns true if any Matcher returns true
pkg/util/errors/errors.go:107
↓ 1 callers
Method
metricTask
(opt *options.ControllerOptions)
pkg/controller/task.go:52
↓ 1 callers
Function
newCache
(de time.Duration, m map[string]Item)
pkg/util/cache/cache.go:1120
↓ 1 callers
Method
newContainerPaths
(id string)
pkg/funclet/file/container_path.go:157
↓ 1 callers
Function
newControllerClientRouter
(withError bool)
pkg/controller/client/rpc_test.go:123
↓ 1 callers
Function
newLibcontainerAdapter
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 callers
Function
newMockConn
(received *bytes.Buffer, responseReader io.Reader)
pkg/util/httptest/mockconn.go:36
↓ 1 callers
Function
newStderrCore
(level zap.AtomicLevel)
pkg/util/logs/logs.go:126
↓ 1 callers
Function
newSummaryFileCore
()
pkg/util/logs/logs.go:196
↓ 1 callers
Function
newTimeoutWriter
(w http.ResponseWriter)
pkg/server/filters/timeout.go:102
↓ 1 callers
Function
newUtCore
()
pkg/util/logs/logs.go:135
↓ 1 callers
Method
observeOverall
()
pkg/controller/metric.go:450
↓ 1 callers
Method
occupyColdWithScaleUpRecommendation
(ctx *occupyColdRuntimeContext)
pkg/controller/rtctrl/runtime_dispatcher.go:225
↓ 1 callers
Method
open
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 callers
Method
outLogDone
()
pkg/controller/rtctrl/logstore.go:359
↓ 1 callers
Method
overallMetrics
()
pkg/controller/task.go:263
↓ 1 callers
Function
parseInt
(s string, base, bitSize int)
pkg/funclet/runtime/cgroup/helpers_linux.go:168
↓ 1 callers
Method
poll
()
pkg/util/logs/diode.go:95
↓ 1 callers
Method
prepareConfigData
(containerID string, cp *file.ContainerPaths)
pkg/funclet/init.go:111
↓ 1 callers
Method
prepareEnvConf
(envConfPath, podName string, environment map[string]string)
pkg/funclet/warmup.go:278
↓ 1 callers
Method
prepareProjectFiles
()
pkg/funclet/quota/xfs_quota.go:171
↓ 1 callers
Method
prepareRuntimeConf
(ctx *funcletCtx.Context, warmUpContainerArgs *api.WarmUpContainerArgs)
pkg/funclet/warmup.go:230
↓ 1 callers
Method
processRuntime
(runtime *rtctrl.RuntimeInfo, logger *logs.Logger)
pkg/controller/task.go:120
↓ 1 callers
Method
processRuntimeStats
(rt *rtctrl.RuntimeInfo, logger *logs.Logger)
pkg/controller/task.go:294
↓ 1 callers
Method
putRuntime
(ctx *InvokeContext)
pkg/controller/invoke.go:507
↓ 1 callers
Method
reborn
(runtime *rtctrl.RuntimeInfo, logger *logs.Logger)
pkg/controller/task.go:195
↓ 1 callers
Method
recvResponseLoop
()
pkg/controller/rtctrl/runtime.go:227
↓ 1 callers
Method
recvRunnerInfoLoop
recvRunnerInfoLoop
pkg/controller/rtctrl/runner.go:38
↓ 1 callers
Function
recycleLoopDevice
()
pkg/funclet/storage/loop/loop.go:79
↓ 1 callers
Method
removeTask
()
pkg/funclet/file/path_manager.go:68
↓ 1 callers
Method
request
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 callers
Function
requestBody
(ctx *ProxyContext)
pkg/httptrigger/httptrigger.go:190
↓ 1 callers
Function
requestBodyStream
(ctx *ProxyContext)
pkg/httptrigger/httptrigger.go:173
↓ 1 callers
Function
requestBodyString
(ctx *ProxyContext)
pkg/httptrigger/httptrigger.go:184
↓ 1 callers
Method
requiredStorageSize
()
pkg/funclet/tmp/tmp_manager.go:127
↓ 1 callers
Method
resourceTask
(logger *logs.Logger)
pkg/controller/task.go:68
↓ 1 callers
Function
retryAfterSeconds
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 callers
Method
revertName
(name string)
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:62
↓ 1 callers
Method
rotate
()
pkg/util/logs/rotate.go:88
↓ 1 callers
Function
runJanitor
(c *cache, ci time.Duration)
pkg/util/cache/cache.go:1111
↓ 1 callers
Function
runPostStartHook
(name string, entry postStartHookEntry, context PostStartHookContext)
pkg/server/hooks.go:170
← previous
next →
801–900 of 1,662, ranked by callers