MCPcopy Create free account

hub / github.com/baidu/EasyFaaS / functions

Functions1,662 in github.com/baidu/EasyFaaS

↓ 4 callersFunctionNewRuntimeConfigOptions
()
pkg/controller/rtctrl/options.go:61
↓ 4 callersFunctionNewStorageCache
(expirationConfig map[CacheType]time.Duration)
pkg/controller/function/cache.go:47
↓ 4 callersFunctionNewString
New creates a String from a list of values.
pkg/funclet/runtime/cgroup/string.go:30
↓ 4 callersMethodNotFoundHandler
NotFoundHandler sets the handler to use if there's no match for a give path
pkg/server/mux/pathrecorder.go:141
↓ 4 callersFunctionObserve
(index string, value float64, labels ...string)
pkg/util/logs/metric/metric.go:103
↓ 4 callersFunctionPrintAndExitIfRequested
PrintAndExitIfRequested will check if the -version flag was passed and, if so, print the version and exit.
pkg/version/verflag/verflag.go:94
↓ 4 callersMethodRebootBegin
RebootBegin
pkg/controller/rtctrl/runtimeinfo.go:83
↓ 4 callersMethodRebootEnd
RebootEnd
pkg/controller/rtctrl/runtimeinfo.go:88
↓ 4 callersFunctionRegister
(subsystem string, configs []MetricConfig)
pkg/util/logs/metric/metric.go:44
↓ 4 callersMethodRequestID
()
pkg/server/context.go:59
↓ 4 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
pkg/server/filters/timeout.go:75
↓ 4 callersMethodSetMarked
(m bool)
pkg/controller/rtctrl/runtimeinfo.go:98
↓ 4 callersMethodStartRecvLog
(runtimeID, requestID string, store LogStatStore)
pkg/controller/rtctrl/dispatcherv2.go:239
↓ 4 callersMethodValid
Valid check if logtype is valid
pkg/api/controller.go:190
↓ 4 callersMethodWithWarnLog
(e error)
pkg/server/context.go:84
↓ 4 callersMethodargs
()
pkg/funclet/runtime/runc/runc.go:140
↓ 4 callersMethodget
(k string)
pkg/util/cache/cache.go:186
↓ 4 callersMethodgetRuntimeRouteHandler
()
pkg/controller/rtctrl/dispatcherv2.go:51
↓ 4 callersFunctionglogBody
glogBody logs a body output that could be either JSON or protobuf. It explicitly guards against allocating a new string for the body output unless nec
pkg/rest/request.go:538
↓ 4 callersMethodset
(k string, x interface{}, d time.Duration)
pkg/util/cache/cache.go:88
↓ 4 callersMethodtrackCallers
(path string)
pkg/server/mux/pathrecorder.go:105
↓ 4 callersMethodupdateLastLivenessTime
updateLastLivenessTime
pkg/controller/rtctrl/runtimeinfo.go:131
↓ 3 callersFunctionBase64ToHex
(s string)
pkg/util/strtool/codesha.go:24
↓ 3 callersFunctionBindMount
(source string, target string)
pkg/util/mount/mount_linux.go:33
↓ 3 callersMethodBulkGetContainers
(IDs []string)
pkg/funclet/list.go:91
↓ 3 callersMethodCacheExpiration
(cacheType CacheType)
pkg/controller/function/cache.go:62
↓ 3 callersMethodCoolDownRuntime
(*RuntimeInfo)
pkg/controller/rtctrl/runtime_dispatcher.go:41
↓ 3 callersFunctionDealFName
fName = ThumbnailName/Uid-ThumbnailName/FuncBrn
pkg/brn/function.go:105
↓ 3 callersMethodError
()
pkg/controller/client/errors.go:25
↓ 3 callersMethodError
Error struct compatible with standard `error` interface
pkg/error/error.go:96
↓ 3 callersMethodFindWarmRuntime
(*InvocationInput)
pkg/controller/rtctrl/runtime_dispatcher.go:40
↓ 3 callersFunctionGenerateFuncBrnString
(region, uid, functionName, qualifier string)
pkg/brn/function.go:190
↓ 3 callersFunctionGet
Get returns the overall codebase version. It's for detecting what code a binary was built from.
pkg/version/version.go:40
↓ 3 callersFunctionGetCgroupParamUint
Gets a single uint64 value from the specified cgroup file.
pkg/funclet/runtime/cgroup/helpers_linux.go:194
↓ 3 callersMethodGetRuntime
(runtimeID string)
pkg/controller/rtctrl/runtime_dispatcher.go:141
↓ 3 callersMethodGetStatusCode
()
pkg/rest/request.go:602
↓ 3 callersFunctionGetTaskID
()
pkg/util/id/id.go:25
↓ 3 callersMethodGetUserCodePath
GetUserCodePath
pkg/funclet/warmup.go:177
↓ 3 callersMethodHandle
Handle registers the handler for the given pattern. If a handler already exists for pattern, Handle panics.
pkg/server/mux/pathrecorder.go:170
↓ 3 callersFunctionHmacSha256Hex
(key, message string)
pkg/auth/bce/helper.go:36
↓ 3 callersMethodInvokeDone
()
pkg/controller/rtctrl/request.go:130
↓ 3 callersMethodIsLogTypeTail
IsLogTypeTail check if logtype is Tail
pkg/api/controller.go:199
↓ 3 callersMethodIsValid
(value string)
pkg/auth/bce/rules.go:26
↓ 3 callersMethodListContainers
()
pkg/funclet/runtime/api/container.go:34
↓ 3 callersMethodLogDone
(set bool)
pkg/controller/rtctrl/logstore.go:44
↓ 3 callersMethodLogFile
()
pkg/controller/rtctrl/logstore.go:42
↓ 3 callersFunctionMounted
(mountpoint string)
pkg/util/mount/mount_linux.go:66
↓ 3 callersMethodName
Name returns the literal cgroupfs name on the host after any driver specific conversions. We would expect systemd implementation to make appropriate n
pkg/funclet/runtime/cgroup/types.go:89
↓ 3 callersFunctionNewConfig
NewConfig returns a Config struct with the default values
pkg/server/config.go:87
↓ 3 callersFunctionNewControllerClient
(runOptions *ControllerClientOptions)
pkg/controller/client/rpc.go:39
↓ 3 callersFunctionNewDiodeWriter
NewDiodeWriter creates a writer wrapping w with a many-to-one diode in order to never block log producers and drop events if the writer can't keep up
pkg/util/logs/diode.go:60
↓ 3 callersFunctionNewQueryCriteria
()
pkg/rest/criteria.go:37
↓ 3 callersFunctionNewRotate
NewRotate create a Rotate
pkg/util/logs/rotate.go:63
↓ 3 callersFunctionNewRtCtrlInvokeMetric
(requestID string)
pkg/controller/rtctrl/metrics.go:153
↓ 3 callersFunctionNewRuntimeClient
(c *RuntimeConfigOptions, s *DispatcherV2Options, rtMap RuntimeDispatcher)
pkg/controller/rtctrl/client.go:42
↓ 3 callersFunctionNewSigner
(name string, parameters map[string]interface{})
pkg/auth/factory/factory.go:43
↓ 3 callersFunctionParseMountTable
Parse /proc/self/mountinfo because comparing Dev and ino does not work from bind mounts
pkg/util/mount/mountinfo_linux.go:49
↓ 3 callersMethodRaw
Raw returns the raw result.
pkg/rest/request.go:586
↓ 3 callersFunctionRegisterLogWriter
(logtype string, creator LogCreator)
pkg/userlog/factory.go:29
↓ 3 callersMethodReleaseMarkedResource
(rs *api.Resource)
pkg/controller/rtctrl/runtime_dispatcher.go:47
↓ 3 callersMethodReset
tools to reset node
pkg/funclet/funclet.go:139
↓ 3 callersMethodResetContainerEvent
(ctx *funcletCtx.Context, params *api.ResetRequest)
pkg/funclet/reset.go:34
↓ 3 callersMethodResetRuntime
(*RuntimeInfo)
pkg/controller/rtctrl/runtime_dispatcher.go:42
↓ 3 callersMethodRuntimeList
()
pkg/controller/rtctrl/runtime_dispatcher.go:122
↓ 3 callersMethodSave
Write the cache's items (using Gob) to an io.Writer. NOTE: This method is deprecated in favor of c.Items() and NewFrom() (see the documentation for N
pkg/util/cache/cache.go:981
↓ 3 callersMethodServeHTTP
ServeHTTP makes it an http.Handler
pkg/server/mux/pathrecorder.go:238
↓ 3 callersMethodSetBodyStream
(bs io.ReadCloser)
pkg/api/controller.go:79
↓ 3 callersFunctionSetGauge
(index string, value float64, labels ...string)
pkg/util/logs/metric/metric.go:158
↓ 3 callersMethodSetMemUsed
(used int64)
pkg/controller/rtctrl/logstore.go:41
↓ 3 callersMethodSetUsed
(m bool)
pkg/controller/rtctrl/runtimeinfo.go:102
↓ 3 callersMethodString
()
pkg/error/aws.go:41
↓ 3 callersMethodUpdate
Update cgroup configuration.
pkg/funclet/runtime/cgroup/types.go:81
↓ 3 callersMethodUpdateContainerPid
(id string, pid int)
pkg/funclet/container.go:109
↓ 3 callersMethodUpdateContainerResource
UpdateContainerResource
pkg/funclet/runtime/resource.go:54
↓ 3 callersMethodWait
Wait blocks until the WaitGroup counter is zero.
pkg/util/waitgroup/waitgroup.go:52
↓ 3 callersMethodWrite
(l *userlog.UserLog, buf []byte)
pkg/userlog/json/jsonlogfile.go:55
↓ 3 callersMethodWriteFunctionLog
(log string)
pkg/controller/rtctrl/logstore.go:39
↓ 3 callersMethodWriteHeader
(code int)
pkg/server/filters/timeout.go:158
↓ 3 callersMethodWriteWithErrorLog
(msg string)
pkg/httptrigger/context.go:38
↓ 3 callersMethodaddToFile
(toAdd string)
pkg/funclet/quota/xfs_quota.go:285
↓ 3 callersMethodappendLogbuf
(buf []byte, force bool)
pkg/controller/rtctrl/logstore.go:192
↓ 3 callersMethodavailable
available
pkg/controller/rtctrl/runtimeinfo.go:136
↓ 3 callersMethoddelete
(k string)
pkg/util/cache/cache.go:932
↓ 3 callersFunctiongenerateContainerID
(podName string, num int)
pkg/funclet/helper.go:97
↓ 3 callersFunctiongetCompleteTag
(path, codeSha256 string)
pkg/funclet/code/complete_tag.go:53
↓ 3 callersMethodhandleInvokeDone
(requestID string, params *url.Values, data string)
pkg/controller/rtctrl/runtime.go:300
↓ 3 callersFunctionincreaseIP
Increases IP address
pkg/funclet/network/allocate_ip_linux.go:109
↓ 3 callersMethodinitRuntime
initRuntime
pkg/controller/rtctrl/runtime.go:48
↓ 3 callersMethodisNeedScale
(memory uint64)
pkg/controller/rtctrl/runtime_dispatcher.go:449
↓ 3 callersFunctionnewLogStatStoreMap
(runtimeID string)
pkg/controller/rtctrl/log_dispatcher.go:214
↓ 3 callersFunctionnewTestCriteria
()
pkg/rest/criteria_test.go:29
↓ 3 callersMethodset
(runtimeid string, sc *statsConn)
pkg/controller/rtctrl/stat_receiver.go:82
↓ 3 callersFunctionsimpleResponse
(rawByte []byte, rawHeader map[string]string, contentType string)
pkg/httptrigger/httptrigger.go:215
↓ 3 callersMethodstdlogHandler
(logfrom int)
pkg/controller/rtctrl/dispatcherv2.go:119
↓ 3 callersMethodupdateLastAccessTime
updateLastAccessTime
pkg/controller/rtctrl/runtimeinfo.go:121
↓ 2 callersMethodAddFlags
(fs *pflag.FlagSet)
pkg/controller/client/options.go:33
↓ 2 callersMethodBindMount
(pairs []*MountPair, atomic bool)
pkg/funclet/file/mount_manager.go:31
↓ 2 callersFunctionBuildContext
BuildContext xxx
pkg/server/context.go:48
↓ 2 callersMethodComplete
Complete fills in any fields not set that are required to have valid data and can be derived from other fields. If you're going to `ApplyOptions`, do
pkg/server/config.go:117
↓ 2 callersMethodContainerInfo
(ID string)
pkg/funclet/info.go:24
← previousnext →201–300 of 1,662, ranked by callers