MCPcopy Create free account

hub / github.com/baidu/EasyFaaS / functions

Functions1,662 in github.com/baidu/EasyFaaS

↓ 1 callersMethodRebootWait
()
pkg/controller/rtctrl/runtimeinfo.go:92
↓ 1 callersMethodReborn
(*api.FuncletClientRebornInput)
pkg/funclet/client/client.go:61
↓ 1 callersFunctionRecoverFromPanic
RecoverFromPanic replaces the specified error with an error containing the original error, and the call tree when a panic occurs. This enables error
pkg/util/runtime/runtime.go:152
↓ 1 callersMethodRecv
(callbk func(*statInfo) error)
pkg/controller/rtctrl/stat_receiver.go:40
↓ 1 callersMethodRecycle
()
pkg/funclet/storage/storage.go:28
↓ 1 callersMethodRecycleTask
(stopCh <-chan struct{}, finishCh chan struct{})
pkg/funclet/task.go:33
↓ 1 callersMethodReleaseMarkedResource
ReleaseUsedResource
pkg/controller/rtctrl/runtime_dispatcher.go:414
↓ 1 callersMethodRemoveByPathName
(name string)
pkg/funclet/file/container_path.go:120
↓ 1 callersMethodRemoveTmpDevice
(ctx *funcletCtx.Context, pathName string)
pkg/funclet/reset.go:293
↓ 1 callersFunctionRequestController
(ctx *ProxyContext)
pkg/httptrigger/httptrigger.go:48
↓ 1 callersMethodResetContainers
(ctx *funcletCtx.Context, params *api.ResetRequest)
pkg/funclet/reset.go:59
↓ 1 callersMethodResume
(ID string)
pkg/funclet/runtime/runc/runc.go:45
↓ 1 callersFunctionRun
Run runs the specified Funclet Server with the given Dependencies. This should never exit.
cmd/funclet/app/server.go:33
↓ 1 callersFunctionRun
(runOptions *options.ControllerOptions)
cmd/controller/app/server.go:39
↓ 1 callersFunctionRun
(stubsOptions *options.StubsOptions)
cmd/stubs/app/server.go:28
↓ 1 callersFunctionRun
(runOptions *options.HTTPTriggerOptions)
cmd/httptrigger/app/server.go:29
↓ 1 callersMethodRun
(c *cache)
pkg/util/cache/cache.go:1094
↓ 1 callersMethodRunPostStartHooks
RunPostStartHooks runs the PostStartHooks for the server
pkg/server/hooks.go:131
↓ 1 callersMethodRunPreShutdownHooks
RunPreShutdownHooks runs the PreShutdownHooks for the server
pkg/server/hooks.go:147
↓ 1 callersFunctionRunServer
RunServer listens on the given port if listener is not given, then spawns a go-routine continuously serving until the stopCh is closed. This function
pkg/server/serve.go:52
↓ 1 callersMethodRunWithStdio
(c *CreateOpts, stdout io.WriteCloser, stderr io.WriteCloser)
pkg/funclet/runtime/runc/runc.go:39
↓ 1 callersMethodSaveFile
Save the cache's items to the given filename, creating the file if it doesn't exist, and overwriting it if it does. NOTE: This method is deprecated i
pkg/util/cache/cache.go:1002
↓ 1 callersMethodServeHTTP
(w http.ResponseWriter, req *http.Request)
pkg/server/handler.go:86
↓ 1 callersMethodSet
Add an item to the cache, replacing any existing item. If the duration is 0 (DefaultExpiration), the cache's default expiration time is used. If it is
pkg/util/cache/cache.go:69
↓ 1 callersMethodSet
(k string, x interface{}, d time.Duration)
pkg/util/cache/watch_cache.go:67
↓ 1 callersMethodSet
(value string)
pkg/util/flag/namedcertkey_flag.go:41
↓ 1 callersMethodSetCommitID
(v string)
pkg/api/apiserver.go:135
↓ 1 callersFunctionSetGaugeWithLabels
(index string, value float64, labels *prometheus.Labels)
pkg/util/logs/metric/metric.go:164
↓ 1 callersMethodSetHeaders
(hMap *map[string]string)
pkg/api/controller.go:92
↓ 1 callersMethodSetLoadTime
(pre, post int64)
pkg/controller/rtctrl/runtimeinfo.go:68
↓ 1 callersMethodSetLogStore
(store LogStatStore)
pkg/controller/rtctrl/request.go:96
↓ 1 callersFunctionSetupNATOut
SetupNATOut adds NAT rules for outbound traffic with iptables.
pkg/funclet/network/iptables_linux.go:49
↓ 1 callersFunctionSimpleAuthTokenVerify
SimpleAuthTokenVerify xxx
pkg/server/filters/simple_auth.go:37
↓ 1 callersMethodSize
()
pkg/util/zip/streamSingleZip.go:41
↓ 1 callersMethodSnapshotProjectPaths
()
pkg/funclet/quota/quota.go:23
↓ 1 callersMethodSnapshotTmpPaths
()
pkg/funclet/tmp/tmp_manager.go:50
↓ 1 callersMethodStartContainer
(ctx *funcletCtx.Context)
pkg/funclet/init.go:139
↓ 1 callersMethodStartContainer
(*CreateContainerRequest)
pkg/funclet/runtime/api/container.go:29
↓ 1 callersMethodState
(id string)
pkg/funclet/runtime/runc/runc.go:41
↓ 1 callersMethodStepDone
(stage rtCtrlInvokeStage)
pkg/controller/rtctrl/metrics.go:175
↓ 1 callersMethodStopContainer
(ctx *funcletCtx.Context, sync bool)
pkg/funclet/reset.go:253
↓ 1 callersMethodString
String implements the Stringer interface for Device
pkg/funclet/device/loop/loop_linux.go:54
↓ 1 callersMethodString
()
pkg/controller/rtctrl/logstore.go:188
↓ 1 callersMethodString
String returns the canonical representation of the BRN
pkg/brn/brn.go:97
↓ 1 callersMethodSummaryMetrics
(ctx *InvokeContext)
pkg/controller/invoke.go:526
↓ 1 callersMethodSyncResource
(*api.FuncletResource)
pkg/controller/rtctrl/runtime_dispatcher.go:48
↓ 1 callersMethodSyncRuntimeResource
(string, *api.Resource)
pkg/controller/rtctrl/runtime_dispatcher.go:49
↓ 1 callersFunctionTimeTrack
TimeTrack
pkg/util/logs/logs.go:495
↓ 1 callersFunctionTryConnectAddress
(addr string)
pkg/controller/rtctrl/listener.go:98
↓ 1 callersMethodUnmount
(path []string, ignoreError bool)
pkg/funclet/file/mount_linux.go:61
↓ 1 callersMethodUnmountAllByPathName
(name string)
pkg/funclet/file/mount_linux.go:80
↓ 1 callersMethodUnregister
Unregister removes a path from the mux.
pkg/server/mux/pathrecorder.go:151
↓ 1 callersMethodUnsetContainerNet
(containerPid int)
pkg/funclet/network/network.go:28
↓ 1 callersFunctionUnzip
(archive, target string)
pkg/util/zip/unzip.go:34
↓ 1 callersMethodUnzipCode
(ctx *context.Context, filename, target string)
pkg/funclet/code/manager.go:42
↓ 1 callersMethodUpdateResource
(u *UpdateResourceOpts)
pkg/funclet/runtime/runc/runc.go:36
↓ 1 callersMethodValid
()
pkg/controller/rtctrl/type.go:244
↓ 1 callersMethodValidator
()
pkg/util/logs/metric/config.go:39
↓ 1 callersMethodVerb
()
pkg/rest/request.go:185
↓ 1 callersMethodVerb
(verb string)
pkg/rest/client.go:31
↓ 1 callersFunctionVersion
(name string, value versionValue, usage string)
pkg/version/verflag/verflag.go:82
↓ 1 callersFunctionVersionVar
(p *versionValue, name string, value versionValue, usage string)
pkg/version/verflag/verflag.go:75
↓ 1 callersMethodWaitForContainerExits
(ctx *funcletCtx.Context)
pkg/funclet/reset.go:221
↓ 1 callersMethodWarmUp
(ctx *funcletCtx.Context, params api.WarmupRequest)
pkg/funclet/warmup.go:58
↓ 1 callersMethodWarmUp
(*api.FuncletClientWarmUpInput)
pkg/funclet/client/client.go:59
↓ 1 callersMethodWarmUpContainerEvent
(ctx *funcletCtx.Context, params api.WarmupRequest)
pkg/funclet/warmup.go:44
↓ 1 callersFunctionWarn
(msg string, fields ...zap.Field)
pkg/util/logs/logs.go:458
↓ 1 callersFunctionWithTimeout
WithTimeout returns an http.Handler that runs h with a timeout determined by timeoutFunc. The new http.Handler calls h.ServeHTTP to handle each reques
pkg/server/filters/timeout.go:66
↓ 1 callersMethodWriteFunctionReportLog
(log string, params *reportParameters)
pkg/controller/rtctrl/logstore.go:40
↓ 1 callersFunctionadaptCheckToHandler
adaptCheckToHandler returns an http.HandlerFunc that serves the provided checks.
pkg/server/healthz/healthz.go:136
↓ 1 callersMethodaddProjectInfo
(path string)
pkg/funclet/quota/xfs_quota.go:239
↓ 1 callersMethodallocateIP
AllocateIP returns an unused IP for a specific process ID and saves it in the database.
pkg/funclet/network/allocate_ip_linux.go:34
↓ 1 callersMethodappendContainerHosts
(containerID string)
pkg/funclet/init.go:161
↓ 1 callersFunctionbasefds
()
pkg/funclet/command/command_test.go:295
↓ 1 callersFunctionbigIntToIP
Converts 128 bit integer into a 4 bytes IP address
pkg/funclet/network/allocate_ip_linux.go:122
↓ 1 callersFunctionbuild
(ctx *InvokeContext, funcError, payload string, logMessage []string)
pkg/controller/invoke.go:479
↓ 1 callersFunctionbuildErrorResponse
(ctx *InvokeContext, err error)
pkg/controller/invoke.go:82
↓ 1 callersFunctionbuildRequest
(ctx *ProxyContext)
pkg/httptrigger/httptrigger.go:148
↓ 1 callersMethodbuildResponse
(ctx *InvokeContext, output *rtctrl.InvocationResponse)
pkg/controller/invoke.go:411
↓ 1 callersFunctionbuildStdlogRequestResponse
()
pkg/controller/rtctrl/dispatcherv2_test.go:121
↓ 1 callersFunctionbuildTotallyToBody
(ctx *InvokeContext, funcError, payload string, logMessage []string)
pkg/controller/invoke.go:463
↓ 1 callersMethodcalSHA256
(ctx *context.Context, filename string)
pkg/funclet/code/check.go:45
↓ 1 callersFunctionceilBillDuration
(d time.Duration)
pkg/controller/rtctrl/request.go:43
↓ 1 callersMethodcheckAndMarkResource
checkAndMarkResource
pkg/controller/rtctrl/runtime_dispatcher.go:378
↓ 1 callersFunctioncheckRootfs
(timeout time.Duration, rootfsPath string, logger *logs.Logger)
pkg/funclet/helper.go:73
↓ 1 callersFunctioncheckWait
checkWait returns true along with a number of seconds if the server instructed us to wait before retrying.
pkg/rest/request.go:552
↓ 1 callersFunctioncontains
(s []string, e string)
pkg/auth/bce/helper.go:88
↓ 1 callersFunctionconvertSliceNumbers
convertSliceNumbers traverses the slice, converting any json.Number values to int64 or float64. values which are map[string]interface{} or []interface
pkg/util/json/json.go:94
↓ 1 callersMethodcoolDown
coolDown
pkg/controller/task.go:126
↓ 1 callersFunctioncreateFunctionMeta
(c *routing.Context)
pkg/stubs/apiserver.go:173
↓ 1 callersMethodcreateRequest
(input *InvocationInput)
pkg/controller/rtctrl/client.go:57
↓ 1 callersMethodcronTask
cronTask: response to gc and health check TODO: Should move into runtime scheduler
pkg/controller/task.go:36
↓ 1 callersMethoddeleteVeth
(containerPid int)
pkg/funclet/network/network.go:126
↓ 1 callersFunctiondetach
(fileName string)
pkg/funclet/device/loop/loop_unsupported.go:58
↓ 1 callersFunctiondetach
(fileName string)
pkg/funclet/device/loop/loop_linux.go:125
↓ 1 callersMethoddisableIcc
()
pkg/funclet/network/iptables_linux.go:28
↓ 1 callersMethoderrLogDone
()
pkg/controller/rtctrl/logstore.go:368
↓ 1 callersMethoderrorFromBody
()
pkg/rest/request.go:680
↓ 1 callersFunctionfastTimeMarshalJSON
fastTimeMarshalJSON avoids one of the extra allocations that time.MarshalJSON is making.
pkg/userlog/userlog.go:268
↓ 1 callersFunctionfilterErrors
filterErrors returns any errors (or nested errors, if the list contains nested Errors) for which all fns return false. If no errors remain a nil list
pkg/util/errors/errors.go:120
← previousnext →701–800 of 1,662, ranked by callers