MCPcopy Create free account

hub / github.com/baidu/EasyFaaS / functions

Functions1,662 in github.com/baidu/EasyFaaS

↓ 1 callersFunctionrunPreShutdownHook
(name string, entry preShutdownHookEntry)
pkg/server/hooks.go:184
↓ 1 callersMethodrunnerHandler
(w http.ResponseWriter, r *http.Request)
pkg/controller/rtctrl/dispatcherv2.go:219
↓ 1 callersMethodrunnerUpdate
runnerUpdate
pkg/controller/rtctrl/runner.go:99
↓ 1 callersMethodruntimeMetrics
(logger *logs.Logger)
pkg/controller/task.go:273
↓ 1 callersMethodruntimeTask
(logger *logs.Logger)
pkg/controller/task.go:105
↓ 1 callersMethodscaleDownContainerToMinimum
(ID string)
pkg/funclet/warmup.go:330
↓ 1 callersMethodscaleUp
(ctx *funcletCtx.Context, recommend *api.ScaleUpRecommendation)
pkg/funclet/warmup.go:305
↓ 1 callersMethodscaleUpContainer
(ID string, config *runtimeapi.ResourceConfig)
pkg/funclet/warmup.go:354
↓ 1 callersMethodsendGenericRequestLoop
sendGenericRequestLoop
pkg/controller/rtctrl/runtime.go:124
↓ 1 callersMethodsendHTTPRequestLoop
()
pkg/controller/rtctrl/runtime.go:152
↓ 1 callersMethodsendRequestLoop
sendRequestLoop
pkg/controller/rtctrl/runtime.go:109
↓ 1 callersMethodserveSecurely
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 callersMethodset
(requestID string, store LogStatStore)
pkg/controller/rtctrl/log_dispatcher.go:222
↓ 1 callersMethodset
set sets the value of the Level.
pkg/util/logs/logs.go:284
↓ 1 callersFunctionsetInfo
(fd uintptr, info Info)
pkg/funclet/device/loop/loop_linux.go:140
↓ 1 callersMethodsetNXMap
(runtimeID string)
pkg/controller/rtctrl/log_dispatcher.go:278
↓ 1 callersMethodsetParam
(paramName, value string)
pkg/rest/request.go:329
↓ 1 callersMethodsetQuota
(path string)
pkg/funclet/quota/xfs_quota.go:320
↓ 1 callersFunctionsetSupportedSubsystems
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 callersFunctionshortHostname
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 callersMethodstartRecvLog
(reqInfo *RequestInfo, logType string)
pkg/controller/rtctrl/client.go:237
↓ 1 callersMethodstartRunnerLoop
startRunnerLoop
pkg/controller/rtctrl/runner.go:29
↓ 1 callersMethodstatisticHandler
(w http.ResponseWriter, r *http.Request)
pkg/controller/rtctrl/dispatcherv2.go:140
↓ 1 callersMethodstopRunner
stopRunner
pkg/controller/rtctrl/runner.go:84
↓ 1 callersFunctiontestPanic
()
pkg/util/runtime/runtime_test.go:121
↓ 1 callersMethodtmpRecycleTask
(tlog *logs.Logger)
pkg/funclet/task.go:62
↓ 1 callersMethodtoJSON
()
pkg/error/error.go:100
↓ 1 callersFunctiontoResourceStats
(stats *libcontainercgroups.Stats)
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:468
↓ 1 callersFunctiontooManyRequests
(req *http.Request, w http.ResponseWriter)
pkg/server/filters/maxinflight.go:48
↓ 1 callersMethodtransformResponse
transformResponse converts an API response into a structured API object
pkg/rest/request.go:492
↓ 1 callersMethodtryGetRuntime
(ctx *InvokeContext)
pkg/controller/invoke.go:363
↓ 1 callersMethodunmountTask
()
pkg/funclet/file/mount_manager.go:65
↓ 1 callersMethodwaitLogDone
()
pkg/controller/rtctrl/request.go:185
↓ 1 callersMethodwaitRuntime
(reqinfo *RequestInfo)
pkg/controller/rtctrl/client.go:116
↓ 1 callersFunctionwrapRouter
(controller *controller.Controller, runOptions *options.ControllerOptions)
cmd/controller/app/server.go:63
↓ 1 callersFunctionwrapRouter
(stubsOptions *options.StubsOptions)
cmd/stubs/app/server.go:35
↓ 1 callersFunctionwrapRouter
()
cmd/httptrigger/app/server.go:40
MethodAPIVersion
APIVersion returns the APIVersion this RESTClient is expected to use.
pkg/rest/client.go:123
MethodAccept
()
pkg/server/serve.go:94
FunctionAdd
(index string, value float64, labels ...string)
pkg/util/logs/metric/metric.go:146
MethodAddCondition
(key, value string)
pkg/rest/criteria.go:41
MethodAddContainerIDs
(IDs []string)
pkg/api/funclet.go:219
MethodAddFlags
(fs *pflag.FlagSet)
pkg/funclet/runner/options.go:62
MethodAddFlags
(fs *pflag.FlagSet)
pkg/funclet/network/options.go:42
MethodAddFlags
(fs *pflag.FlagSet)
pkg/funclet/tmp/options.go:43
MethodAddFlags
(fs *pflag.FlagSet)
pkg/funclet/runtime/options.go:43
MethodAddFlags
(prefix string, fs *pflag.FlagSet)
pkg/controller/function/options.go:35
MethodAddFlags
(fs *pflag.FlagSet)
pkg/server/options/recommended.go:42
MethodAddFlags
(fs *pflag.FlagSet)
pkg/server/options/serving.go:64
MethodAddFlags
(fs *pflag.FlagSet)
pkg/server/options/features.go:45
MethodAddFlags
(fs *pflag.FlagSet)
cmd/funclet/options/options.go:78
MethodAddFlags
(fs *pflag.FlagSet)
cmd/controller/options/options.go:96
FunctionAddGauge
(index string, value float64, labels ...string)
pkg/util/logs/metric/metric.go:170
MethodAddPostStartHookOrDie
AddPostStartHookOrDie allows you to add a PostStartHook, but dies on failure
pkg/server/hooks.go:93
MethodAddPreShutdownHookOrDie
AddPreShutdownHookOrDie allows you to add a PostStartHook, but dies on failure
pkg/server/hooks.go:124
MethodAllocTmpDevice
(path string)
pkg/funclet/quota/xfs_quota.go:122
MethodAllocate
(fpath string, size uint64)
pkg/funclet/storage/loop/loop.go:40
MethodAllocate
(fpath string, size uint64)
pkg/funclet/storage/hostpath/hostpath.go:40
MethodApplyTo
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
MethodApplyTo
ApplyTo fills up serving information in the server configuration.
pkg/server/options/serving.go:79
MethodApplyTo
ApplyTo applies the run options to the method receiver and returns self
pkg/server/options/server_run_options.go:41
FunctionAttach
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
FunctionBenchmarkCacheGetConcurrentExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1505
FunctionBenchmarkCacheGetConcurrentNotExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1509
FunctionBenchmarkCacheGetExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1444
FunctionBenchmarkCacheGetManyConcurrentExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1557
FunctionBenchmarkCacheGetManyConcurrentNotExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1561
FunctionBenchmarkCacheGetNotExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1448
FunctionBenchmarkCacheSetDelete
(b *testing.B)
pkg/util/cache/cache_test.go:1622
FunctionBenchmarkCacheSetDeleteSingleLock
(b *testing.B)
pkg/util/cache/cache_test.go:1647
FunctionBenchmarkCacheSetExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1593
FunctionBenchmarkCacheSetNotExpiring
(b *testing.B)
pkg/util/cache/cache_test.go:1597
FunctionBenchmarkDeleteExpiredLoop
(b *testing.B)
pkg/util/cache/cache_test.go:1682
FunctionBenchmarkFindAndMark_100Conc1Func10Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:374
FunctionBenchmarkFindAndMark_1Conc10Func800Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:366
FunctionBenchmarkFindAndMark_1Conc1Func100Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:342
FunctionBenchmarkFindAndMark_1Conc1Func10Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:334
FunctionBenchmarkFindAndMark_1Conc1Func400Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:350
FunctionBenchmarkFindAndMark_1Conc1Func800Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:358
FunctionBenchmarkFindAndMark_200Conc1Func10Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:382
FunctionBenchmarkFindAndMark_400Conc1Func10Rt
(b *testing.B)
pkg/controller/rtctrl/runtime_dispatcher_test.go:390
FunctionBenchmarkIncrementInt
(b *testing.B)
pkg/util/cache/cache_test.go:1672
FunctionBenchmarkNewInvokeMetrics
(b *testing.B)
pkg/controller/metric_test.go:32
FunctionBenchmarkRWMutexInterfaceMapGetString
(b *testing.B)
pkg/util/cache/cache_test.go:1491
FunctionBenchmarkRWMutexInterfaceMapGetStruct
(b *testing.B)
pkg/util/cache/cache_test.go:1476
FunctionBenchmarkRWMutexMapGet
(b *testing.B)
pkg/util/cache/cache_test.go:1462
FunctionBenchmarkRWMutexMapGetConcurrent
(b *testing.B)
pkg/util/cache/cache_test.go:1533
FunctionBenchmarkRWMutexMapSet
(b *testing.B)
pkg/util/cache/cache_test.go:1610
FunctionBenchmarkRWMutexMapSetDelete
(b *testing.B)
pkg/util/cache/cache_test.go:1632
FunctionBenchmarkRWMutexMapSetDeleteSingleLock
(b *testing.B)
pkg/util/cache/cache_test.go:1659
MethodBindContainer
(gatewayIP string, addr *net.IPNet)
pkg/funclet/network/veth_unsupported.go:27
FunctionBindMount
(source string, target string)
pkg/util/mount/mount_unsupported.go:26
MethodBindMount
(pairs []*MountPair, atomic bool)
pkg/funclet/file/mount_linux.go:38
MethodBindMount
(pairs []*MountPair, atomic bool)
pkg/funclet/file/mount_unsupported.go:26
MethodBody
()
pkg/api/controller.go:62
MethodBody
()
pkg/util/httptest/response.go:71
MethodCalculateBackoff
(url *url.URL)
pkg/rest/urlbackoff.go:45
MethodCgroupName
CgroupName converts the literal cgroupfs name on the host to an internal identifier.
pkg/funclet/runtime/cgroup/types.go:91
MethodCgroupName
CgroupName converts the literal cgroupfs name on the host to an internal identifier.
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:125
MethodCheck
(req *http.Request)
pkg/server/hooks.go:214
← previousnext →901–1,000 of 1,662, ranked by callers