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
↓ 4 callers
Function
NewRuntimeConfigOptions
()
pkg/controller/rtctrl/options.go:61
↓ 4 callers
Function
NewStorageCache
(expirationConfig map[CacheType]time.Duration)
pkg/controller/function/cache.go:47
↓ 4 callers
Function
NewString
New creates a String from a list of values.
pkg/funclet/runtime/cgroup/string.go:30
↓ 4 callers
Method
NotFoundHandler
NotFoundHandler sets the handler to use if there's no match for a give path
pkg/server/mux/pathrecorder.go:141
↓ 4 callers
Function
Observe
(index string, value float64, labels ...string)
pkg/util/logs/metric/metric.go:103
↓ 4 callers
Function
PrintAndExitIfRequested
PrintAndExitIfRequested will check if the -version flag was passed and, if so, print the version and exit.
pkg/version/verflag/verflag.go:94
↓ 4 callers
Method
RebootBegin
RebootBegin
pkg/controller/rtctrl/runtimeinfo.go:83
↓ 4 callers
Method
RebootEnd
RebootEnd
pkg/controller/rtctrl/runtimeinfo.go:88
↓ 4 callers
Function
Register
(subsystem string, configs []MetricConfig)
pkg/util/logs/metric/metric.go:44
↓ 4 callers
Method
RequestID
()
pkg/server/context.go:59
↓ 4 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
pkg/server/filters/timeout.go:75
↓ 4 callers
Method
SetMarked
(m bool)
pkg/controller/rtctrl/runtimeinfo.go:98
↓ 4 callers
Method
StartRecvLog
(runtimeID, requestID string, store LogStatStore)
pkg/controller/rtctrl/dispatcherv2.go:239
↓ 4 callers
Method
Valid
Valid check if logtype is valid
pkg/api/controller.go:190
↓ 4 callers
Method
WithWarnLog
(e error)
pkg/server/context.go:84
↓ 4 callers
Method
args
()
pkg/funclet/runtime/runc/runc.go:140
↓ 4 callers
Method
get
(k string)
pkg/util/cache/cache.go:186
↓ 4 callers
Method
getRuntimeRouteHandler
()
pkg/controller/rtctrl/dispatcherv2.go:51
↓ 4 callers
Function
glogBody
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 callers
Method
set
(k string, x interface{}, d time.Duration)
pkg/util/cache/cache.go:88
↓ 4 callers
Method
trackCallers
(path string)
pkg/server/mux/pathrecorder.go:105
↓ 4 callers
Method
updateLastLivenessTime
updateLastLivenessTime
pkg/controller/rtctrl/runtimeinfo.go:131
↓ 3 callers
Function
Base64ToHex
(s string)
pkg/util/strtool/codesha.go:24
↓ 3 callers
Function
BindMount
(source string, target string)
pkg/util/mount/mount_linux.go:33
↓ 3 callers
Method
BulkGetContainers
(IDs []string)
pkg/funclet/list.go:91
↓ 3 callers
Method
CacheExpiration
(cacheType CacheType)
pkg/controller/function/cache.go:62
↓ 3 callers
Method
CoolDownRuntime
(*RuntimeInfo)
pkg/controller/rtctrl/runtime_dispatcher.go:41
↓ 3 callers
Function
DealFName
fName = ThumbnailName/Uid-ThumbnailName/FuncBrn
pkg/brn/function.go:105
↓ 3 callers
Method
Error
()
pkg/controller/client/errors.go:25
↓ 3 callers
Method
Error
Error struct compatible with standard `error` interface
pkg/error/error.go:96
↓ 3 callers
Method
FindWarmRuntime
(*InvocationInput)
pkg/controller/rtctrl/runtime_dispatcher.go:40
↓ 3 callers
Function
GenerateFuncBrnString
(region, uid, functionName, qualifier string)
pkg/brn/function.go:190
↓ 3 callers
Function
Get
Get returns the overall codebase version. It's for detecting what code a binary was built from.
pkg/version/version.go:40
↓ 3 callers
Function
GetCgroupParamUint
Gets a single uint64 value from the specified cgroup file.
pkg/funclet/runtime/cgroup/helpers_linux.go:194
↓ 3 callers
Method
GetRuntime
(runtimeID string)
pkg/controller/rtctrl/runtime_dispatcher.go:141
↓ 3 callers
Method
GetStatusCode
()
pkg/rest/request.go:602
↓ 3 callers
Function
GetTaskID
()
pkg/util/id/id.go:25
↓ 3 callers
Method
GetUserCodePath
GetUserCodePath
pkg/funclet/warmup.go:177
↓ 3 callers
Method
Handle
Handle registers the handler for the given pattern. If a handler already exists for pattern, Handle panics.
pkg/server/mux/pathrecorder.go:170
↓ 3 callers
Function
HmacSha256Hex
(key, message string)
pkg/auth/bce/helper.go:36
↓ 3 callers
Method
InvokeDone
()
pkg/controller/rtctrl/request.go:130
↓ 3 callers
Method
IsLogTypeTail
IsLogTypeTail check if logtype is Tail
pkg/api/controller.go:199
↓ 3 callers
Method
IsValid
(value string)
pkg/auth/bce/rules.go:26
↓ 3 callers
Method
ListContainers
()
pkg/funclet/runtime/api/container.go:34
↓ 3 callers
Method
LogDone
(set bool)
pkg/controller/rtctrl/logstore.go:44
↓ 3 callers
Method
LogFile
()
pkg/controller/rtctrl/logstore.go:42
↓ 3 callers
Function
Mounted
(mountpoint string)
pkg/util/mount/mount_linux.go:66
↓ 3 callers
Method
Name
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 callers
Function
NewConfig
NewConfig returns a Config struct with the default values
pkg/server/config.go:87
↓ 3 callers
Function
NewControllerClient
(runOptions *ControllerClientOptions)
pkg/controller/client/rpc.go:39
↓ 3 callers
Function
NewDiodeWriter
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 callers
Function
NewQueryCriteria
()
pkg/rest/criteria.go:37
↓ 3 callers
Function
NewRotate
NewRotate create a Rotate
pkg/util/logs/rotate.go:63
↓ 3 callers
Function
NewRtCtrlInvokeMetric
(requestID string)
pkg/controller/rtctrl/metrics.go:153
↓ 3 callers
Function
NewRuntimeClient
(c *RuntimeConfigOptions, s *DispatcherV2Options, rtMap RuntimeDispatcher)
pkg/controller/rtctrl/client.go:42
↓ 3 callers
Function
NewSigner
(name string, parameters map[string]interface{})
pkg/auth/factory/factory.go:43
↓ 3 callers
Function
ParseMountTable
Parse /proc/self/mountinfo because comparing Dev and ino does not work from bind mounts
pkg/util/mount/mountinfo_linux.go:49
↓ 3 callers
Method
Raw
Raw returns the raw result.
pkg/rest/request.go:586
↓ 3 callers
Function
RegisterLogWriter
(logtype string, creator LogCreator)
pkg/userlog/factory.go:29
↓ 3 callers
Method
ReleaseMarkedResource
(rs *api.Resource)
pkg/controller/rtctrl/runtime_dispatcher.go:47
↓ 3 callers
Method
Reset
tools to reset node
pkg/funclet/funclet.go:139
↓ 3 callers
Method
ResetContainerEvent
(ctx *funcletCtx.Context, params *api.ResetRequest)
pkg/funclet/reset.go:34
↓ 3 callers
Method
ResetRuntime
(*RuntimeInfo)
pkg/controller/rtctrl/runtime_dispatcher.go:42
↓ 3 callers
Method
RuntimeList
()
pkg/controller/rtctrl/runtime_dispatcher.go:122
↓ 3 callers
Method
Save
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 callers
Method
ServeHTTP
ServeHTTP makes it an http.Handler
pkg/server/mux/pathrecorder.go:238
↓ 3 callers
Method
SetBodyStream
(bs io.ReadCloser)
pkg/api/controller.go:79
↓ 3 callers
Function
SetGauge
(index string, value float64, labels ...string)
pkg/util/logs/metric/metric.go:158
↓ 3 callers
Method
SetMemUsed
(used int64)
pkg/controller/rtctrl/logstore.go:41
↓ 3 callers
Method
SetUsed
(m bool)
pkg/controller/rtctrl/runtimeinfo.go:102
↓ 3 callers
Method
String
()
pkg/error/aws.go:41
↓ 3 callers
Method
Update
Update cgroup configuration.
pkg/funclet/runtime/cgroup/types.go:81
↓ 3 callers
Method
UpdateContainerPid
(id string, pid int)
pkg/funclet/container.go:109
↓ 3 callers
Method
UpdateContainerResource
UpdateContainerResource
pkg/funclet/runtime/resource.go:54
↓ 3 callers
Method
Wait
Wait blocks until the WaitGroup counter is zero.
pkg/util/waitgroup/waitgroup.go:52
↓ 3 callers
Method
Write
(l *userlog.UserLog, buf []byte)
pkg/userlog/json/jsonlogfile.go:55
↓ 3 callers
Method
WriteFunctionLog
(log string)
pkg/controller/rtctrl/logstore.go:39
↓ 3 callers
Method
WriteHeader
(code int)
pkg/server/filters/timeout.go:158
↓ 3 callers
Method
WriteWithErrorLog
(msg string)
pkg/httptrigger/context.go:38
↓ 3 callers
Method
addToFile
(toAdd string)
pkg/funclet/quota/xfs_quota.go:285
↓ 3 callers
Method
appendLogbuf
(buf []byte, force bool)
pkg/controller/rtctrl/logstore.go:192
↓ 3 callers
Method
available
available
pkg/controller/rtctrl/runtimeinfo.go:136
↓ 3 callers
Method
delete
(k string)
pkg/util/cache/cache.go:932
↓ 3 callers
Function
generateContainerID
(podName string, num int)
pkg/funclet/helper.go:97
↓ 3 callers
Function
getCompleteTag
(path, codeSha256 string)
pkg/funclet/code/complete_tag.go:53
↓ 3 callers
Method
handleInvokeDone
(requestID string, params *url.Values, data string)
pkg/controller/rtctrl/runtime.go:300
↓ 3 callers
Function
increaseIP
Increases IP address
pkg/funclet/network/allocate_ip_linux.go:109
↓ 3 callers
Method
initRuntime
initRuntime
pkg/controller/rtctrl/runtime.go:48
↓ 3 callers
Method
isNeedScale
(memory uint64)
pkg/controller/rtctrl/runtime_dispatcher.go:449
↓ 3 callers
Function
newLogStatStoreMap
(runtimeID string)
pkg/controller/rtctrl/log_dispatcher.go:214
↓ 3 callers
Function
newTestCriteria
()
pkg/rest/criteria_test.go:29
↓ 3 callers
Method
set
(runtimeid string, sc *statsConn)
pkg/controller/rtctrl/stat_receiver.go:82
↓ 3 callers
Function
simpleResponse
(rawByte []byte, rawHeader map[string]string, contentType string)
pkg/httptrigger/httptrigger.go:215
↓ 3 callers
Method
stdlogHandler
(logfrom int)
pkg/controller/rtctrl/dispatcherv2.go:119
↓ 3 callers
Method
updateLastAccessTime
updateLastAccessTime
pkg/controller/rtctrl/runtimeinfo.go:121
↓ 2 callers
Method
AddFlags
(fs *pflag.FlagSet)
pkg/controller/client/options.go:33
↓ 2 callers
Method
BindMount
(pairs []*MountPair, atomic bool)
pkg/funclet/file/mount_manager.go:31
↓ 2 callers
Function
BuildContext
BuildContext xxx
pkg/server/context.go:48
↓ 2 callers
Method
Complete
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 callers
Method
ContainerInfo
(ID string)
pkg/funclet/info.go:24
← previous
next →
201–300 of 1,662, ranked by callers