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
runPreShutdownHook
(name string, entry preShutdownHookEntry)
pkg/server/hooks.go:184
↓ 1 callers
Method
runnerHandler
(w http.ResponseWriter, r *http.Request)
pkg/controller/rtctrl/dispatcherv2.go:219
↓ 1 callers
Method
runnerUpdate
runnerUpdate
pkg/controller/rtctrl/runner.go:99
↓ 1 callers
Method
runtimeMetrics
(logger *logs.Logger)
pkg/controller/task.go:273
↓ 1 callers
Method
runtimeTask
(logger *logs.Logger)
pkg/controller/task.go:105
↓ 1 callers
Method
scaleDownContainerToMinimum
(ID string)
pkg/funclet/warmup.go:330
↓ 1 callers
Method
scaleUp
(ctx *funcletCtx.Context, recommend *api.ScaleUpRecommendation)
pkg/funclet/warmup.go:305
↓ 1 callers
Method
scaleUpContainer
(ID string, config *runtimeapi.ResourceConfig)
pkg/funclet/warmup.go:354
↓ 1 callers
Method
sendGenericRequestLoop
sendGenericRequestLoop
pkg/controller/rtctrl/runtime.go:124
↓ 1 callers
Method
sendHTTPRequestLoop
()
pkg/controller/rtctrl/runtime.go:152
↓ 1 callers
Method
sendRequestLoop
sendRequestLoop
pkg/controller/rtctrl/runtime.go:109
↓ 1 callers
Method
serveSecurely
serveSecurely runs the secure http server. It fails only if certificates cannot be loaded or the initial listen call fails. The actual server loop (st
pkg/server/serve.go:36
↓ 1 callers
Method
set
(requestID string, store LogStatStore)
pkg/controller/rtctrl/log_dispatcher.go:222
↓ 1 callers
Method
set
set sets the value of the Level.
pkg/util/logs/logs.go:284
↓ 1 callers
Function
setInfo
(fd uintptr, info Info)
pkg/funclet/device/loop/loop_linux.go:140
↓ 1 callers
Method
setNXMap
(runtimeID string)
pkg/controller/rtctrl/log_dispatcher.go:278
↓ 1 callers
Method
setParam
(paramName, value string)
pkg/rest/request.go:329
↓ 1 callers
Method
setQuota
(path string)
pkg/funclet/quota/xfs_quota.go:320
↓ 1 callers
Function
setSupportedSubsystems
setSupportedSubsytems sets cgroup resource limits only on the supported subsytems. ie. cpu and memory. We don't use libcontainer's cgroup/fs/Set() met
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:278
↓ 1 callers
Function
shortHostname
shortHostname returns its argument, truncating at the first period. For instance, given "www.google.com" it returns "www".
pkg/util/logs/rotate.go:115
↓ 1 callers
Method
startRecvLog
(reqInfo *RequestInfo, logType string)
pkg/controller/rtctrl/client.go:237
↓ 1 callers
Method
startRunnerLoop
startRunnerLoop
pkg/controller/rtctrl/runner.go:29
↓ 1 callers
Method
statisticHandler
(w http.ResponseWriter, r *http.Request)
pkg/controller/rtctrl/dispatcherv2.go:140
↓ 1 callers
Method
stopRunner
stopRunner
pkg/controller/rtctrl/runner.go:84
↓ 1 callers
Function
testPanic
()
pkg/util/runtime/runtime_test.go:121
↓ 1 callers
Method
tmpRecycleTask
(tlog *logs.Logger)
pkg/funclet/task.go:62
↓ 1 callers
Method
toJSON
()
pkg/error/error.go:100
↓ 1 callers
Function
toResourceStats
(stats *libcontainercgroups.Stats)
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:468
↓ 1 callers
Function
tooManyRequests
(req *http.Request, w http.ResponseWriter)
pkg/server/filters/maxinflight.go:48
↓ 1 callers
Method
transformResponse
transformResponse converts an API response into a structured API object
pkg/rest/request.go:492
↓ 1 callers
Method
tryGetRuntime
(ctx *InvokeContext)
pkg/controller/invoke.go:363
↓ 1 callers
Method
unmountTask
()
pkg/funclet/file/mount_manager.go:65
↓ 1 callers
Method
waitLogDone
()
pkg/controller/rtctrl/request.go:185
↓ 1 callers
Method
waitRuntime
(reqinfo *RequestInfo)
pkg/controller/rtctrl/client.go:116
↓ 1 callers
Function
wrapRouter
(controller *controller.Controller, runOptions *options.ControllerOptions)
cmd/controller/app/server.go:63
↓ 1 callers
Function
wrapRouter
(stubsOptions *options.StubsOptions)
cmd/stubs/app/server.go:35
↓ 1 callers
Function
wrapRouter
()
cmd/httptrigger/app/server.go:40
Method
APIVersion
APIVersion returns the APIVersion this RESTClient is expected to use.
pkg/rest/client.go:123
Method
Accept
()
pkg/server/serve.go:94
Function
Add
(index string, value float64, labels ...string)
pkg/util/logs/metric/metric.go:146
Method
AddCondition
(key, value string)
pkg/rest/criteria.go:41
Method
AddContainerIDs
(IDs []string)
pkg/api/funclet.go:219
Method
AddFlags
(fs *pflag.FlagSet)
pkg/funclet/runner/options.go:62
Method
AddFlags
(fs *pflag.FlagSet)
pkg/funclet/network/options.go:42
Method
AddFlags
(fs *pflag.FlagSet)
pkg/funclet/tmp/options.go:43
Method
AddFlags
(fs *pflag.FlagSet)
pkg/funclet/runtime/options.go:43
Method
AddFlags
(prefix string, fs *pflag.FlagSet)
pkg/controller/function/options.go:35
Method
AddFlags
(fs *pflag.FlagSet)
pkg/server/options/recommended.go:42
Method
AddFlags
(fs *pflag.FlagSet)
pkg/server/options/serving.go:64
Method
AddFlags
(fs *pflag.FlagSet)
pkg/server/options/features.go:45
Method
AddFlags
(fs *pflag.FlagSet)
cmd/funclet/options/options.go:78
Method
AddFlags
(fs *pflag.FlagSet)
cmd/controller/options/options.go:96
Function
AddGauge
(index string, value float64, labels ...string)
pkg/util/logs/metric/metric.go:170
Method
AddPostStartHookOrDie
AddPostStartHookOrDie allows you to add a PostStartHook, but dies on failure
pkg/server/hooks.go:93
Method
AddPreShutdownHookOrDie
AddPreShutdownHookOrDie allows you to add a PostStartHook, but dies on failure
pkg/server/hooks.go:124
Method
AllocTmpDevice
(path string)
pkg/funclet/quota/xfs_quota.go:122
Method
Allocate
(fpath string, size uint64)
pkg/funclet/storage/loop/loop.go:40
Method
Allocate
(fpath string, size uint64)
pkg/funclet/storage/hostpath/hostpath.go:40
Method
ApplyTo
ApplyTo adds RecommendedOptions to the server configuration. scheme is the scheme of the apiserver types that are sent to the admission chain. pluginI
pkg/server/options/recommended.go:51
Method
ApplyTo
ApplyTo fills up serving information in the server configuration.
pkg/server/options/serving.go:79
Method
ApplyTo
ApplyTo applies the run options to the method receiver and returns self
pkg/server/options/server_run_options.go:41
Function
Attach
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_linux.go:76
Function
BenchmarkCacheGetConcurrentExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1505
Function
BenchmarkCacheGetConcurrentNotExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1509
Function
BenchmarkCacheGetExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1444
Function
BenchmarkCacheGetManyConcurrentExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1557
Function
BenchmarkCacheGetManyConcurrentNotExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1561
Function
BenchmarkCacheGetNotExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1448
Function
BenchmarkCacheSetDelete
(b *testing.B)
pkg/util/cache/cache_test.go:1622
Function
BenchmarkCacheSetDeleteSingleLock
(b *testing.B)
pkg/util/cache/cache_test.go:1647
Function
BenchmarkCacheSetExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1593
Function
BenchmarkCacheSetNotExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1597
Function
BenchmarkDeleteExpiredLoop
(b *testing.B)
pkg/util/cache/cache_test.go:1682
Function
BenchmarkFindAndMark_100Conc1Func10Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:374
Function
BenchmarkFindAndMark_1Conc10Func800Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:366
Function
BenchmarkFindAndMark_1Conc1Func100Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:342
Function
BenchmarkFindAndMark_1Conc1Func10Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:334
Function
BenchmarkFindAndMark_1Conc1Func400Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:350
Function
BenchmarkFindAndMark_1Conc1Func800Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:358
Function
BenchmarkFindAndMark_200Conc1Func10Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:382
Function
BenchmarkFindAndMark_400Conc1Func10Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:390
Function
BenchmarkIncrementInt
(b *testing.B)
pkg/util/cache/cache_test.go:1672
Function
BenchmarkNewInvokeMetrics
(b *testing.B)
pkg/controller/metric_test.go:32
Function
BenchmarkRWMutexInterfaceMapGetString
(b *testing.B)
pkg/util/cache/cache_test.go:1491
Function
BenchmarkRWMutexInterfaceMapGetStruct
(b *testing.B)
pkg/util/cache/cache_test.go:1476
Function
BenchmarkRWMutexMapGet
(b *testing.B)
pkg/util/cache/cache_test.go:1462
Function
BenchmarkRWMutexMapGetConcurrent
(b *testing.B)
pkg/util/cache/cache_test.go:1533
Function
BenchmarkRWMutexMapSet
(b *testing.B)
pkg/util/cache/cache_test.go:1610
Function
BenchmarkRWMutexMapSetDelete
(b *testing.B)
pkg/util/cache/cache_test.go:1632
Function
BenchmarkRWMutexMapSetDeleteSingleLock
(b *testing.B)
pkg/util/cache/cache_test.go:1659
Method
BindContainer
(gatewayIP string, addr *net.IPNet)
pkg/funclet/network/veth_unsupported.go:27
Function
BindMount
(source string, target string)
pkg/util/mount/mount_unsupported.go:26
Method
BindMount
(pairs []*MountPair, atomic bool)
pkg/funclet/file/mount_linux.go:38
Method
BindMount
(pairs []*MountPair, atomic bool)
pkg/funclet/file/mount_unsupported.go:26
Method
Body
()
pkg/api/controller.go:62
Method
Body
()
pkg/util/httptest/response.go:71
Method
CalculateBackoff
(url *url.URL)
pkg/rest/urlbackoff.go:45
Method
CgroupName
CgroupName converts the literal cgroupfs name on the host to an internal identifier.
pkg/funclet/runtime/cgroup/types.go:91
Method
CgroupName
CgroupName converts the literal cgroupfs name on the host to an internal identifier.
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:125
Method
Check
(req *http.Request)
pkg/server/hooks.go:214
← previous
next →
901–1,000 of 1,662, ranked by callers