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
Method
FindCodeCompeleteTag
(path, codeSha256 string)
pkg/funclet/code/manager.go:38
↓ 1 callers
Method
FindWarmRuntime
FindWarmRuntime
pkg/controller/rtctrl/runtime_dispatcher.go:351
↓ 1 callers
Function
Flatten
Flatten takes an Aggregate, which may hold other Aggregates in arbitrary nesting, and flattens them all into a single Aggregate, recursively.
pkg/util/errors/errors.go:133
↓ 1 callers
Method
Flush
Delete all items from the cache.
pkg/util/cache/cache.go:1083
↓ 1 callers
Method
Flush
()
pkg/util/cache/watch_cache.go:42
↓ 1 callers
Function
ForceUnmount
(target string)
pkg/util/mount/mount_linux.go:92
↓ 1 callers
Method
FreeTmpDevice
(path string)
pkg/funclet/quota/quota.go:22
↓ 1 callers
Function
FromParameters
(parameters map[string]interface{})
pkg/auth/bce/bce.go:61
↓ 1 callers
Function
FromParameters
(parameters map[string]interface{})
pkg/repository/bos/bos.go:57
↓ 1 callers
Function
FromParameters
(parameters map[string]interface{})
pkg/repository/filesystem/fliesystem.go:57
↓ 1 callers
Method
FrozenContainer
FrozenContainer
pkg/funclet/runtime/resource.go:46
↓ 1 callers
Function
GenerateFunctionBRN
(region, uid, functionName, qualifier string)
pkg/brn/function.go:45
↓ 1 callers
Function
GenerateHostsFile
(path string)
pkg/funclet/runner/helper.go:36
↓ 1 callers
Method
GeneratePaths
(id string)
pkg/funclet/file/path_manager.go:28
↓ 1 callers
Method
GenerateRunnerConfig
(c *RunnerConfig)
pkg/funclet/runner/manager.go:37
↓ 1 callers
Method
GetAlias
(input *api.GetAliasInput)
pkg/controller/registry/registry.go:38
↓ 1 callers
Method
GetAlias
(input *api.GetAliasInput)
pkg/controller/function/function_server.go:29
↓ 1 callers
Function
GetAvailableSize
(path string)
pkg/funclet/device/utils/helper.go:25
↓ 1 callers
Function
GetCPUPeriod
(path string)
pkg/funclet/runtime/cgroup/cpu.go:25
↓ 1 callers
Function
GetCPUQuota
(path string)
pkg/funclet/runtime/cgroup/cpu.go:37
↓ 1 callers
Function
GetCPUShares
(path string)
pkg/funclet/runtime/cgroup/cpu.go:49
↓ 1 callers
Function
GetCaller
GetCaller returns the caller of the function that calls it.
pkg/util/runtime/runtime.go:139
↓ 1 callers
Function
GetCanonicalHeaders
(headers http.Header, r rule)
pkg/auth/bce/helper.go:69
↓ 1 callers
Function
GetCanonicalTime
(now time.Time)
pkg/auth/bce/helper.go:30
↓ 1 callers
Function
GetCgroupParamInt
Gets a single int64 value from the specified cgroup file.
pkg/funclet/runtime/cgroup/helpers_linux.go:213
↓ 1 callers
Method
GetCgroupSubsysPath
(subsys string)
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:243
↓ 1 callers
Function
GetCgroupSubsystems
GetCgroupSubsystems returns information about the mounted cgroup subsystems
pkg/funclet/runtime/cgroup/helpers_linux.go:98
↓ 1 callers
Method
GetChan
GetChan
pkg/funclet/types.go:78
↓ 1 callers
Method
GetContainerConfPath
(containerName string)
pkg/funclet/warmup.go:301
↓ 1 callers
Method
GetContainerID
(pName string)
pkg/funclet/file/path_manager.go:33
↓ 1 callers
Function
GetCounterValue
(index string, labels ...string)
pkg/util/logs/metric/metric.go:123
↓ 1 callers
Function
GetDevice
(filePath string)
pkg/funclet/device/utils/helper_linux.go:45
↓ 1 callers
Function
GetFree
GetFree searches for the first free loopback device. If it cannot find one, it will attempt to create one. If anything fails, GetFree will return an e
pkg/funclet/device/loop/loop_linux.go:61
↓ 1 callers
Method
GetFunction
(input *api.GetFunctionInput)
pkg/controller/function/function_server.go:28
↓ 1 callers
Function
GetFunctionHandler
(options *options.StubsOptions)
pkg/stubs/apiserver.go:105
↓ 1 callers
Method
GetHeader
(k string)
pkg/api/controller.go:87
↓ 1 callers
Function
GetLoopDeviceMap
()
pkg/funclet/device/loop/loop_unsupported.go:66
↓ 1 callers
Function
GetMemoryLimit
(path string)
pkg/funclet/runtime/cgroup/memory.go:23
↓ 1 callers
Function
GetMountInfo
(mountpoint string)
pkg/util/mount/mount_linux.go:51
↓ 1 callers
Function
GetMounts
()
pkg/util/mount/mount_linux.go:47
↓ 1 callers
Method
GetParams
()
pkg/rest/request.go:337
↓ 1 callers
Function
GetPathConfig
(o *options.FuncletOptions)
pkg/funclet/helper.go:37
↓ 1 callers
Method
GetPathMapByName
(n string)
pkg/funclet/file/helper.go:68
↓ 1 callers
Method
GetPidFromFile
(containerID string)
pkg/funclet/reset.go:276
↓ 1 callers
Function
GetProxy
()
pkg/httptrigger/proxy.go:33
↓ 1 callers
Method
GetResourceConfig
GetResourceConfig
pkg/funclet/runtime/cgroup/types.go:103
↓ 1 callers
Method
GetResourceConfigByReadableMemory
GetResourceConfigByReadableMemory
pkg/funclet/runtime/resource.go:42
↓ 1 callers
Method
GetResourceStats
GetResourceStats returns statistics of the specified cgroup as read from the cgroup fs.
pkg/funclet/runtime/cgroup/types.go:97
↓ 1 callers
Method
GetRuntimeConfiguration
(input *api.GetRuntimeConfigurationInput)
pkg/controller/function/function_server.go:30
↓ 1 callers
Function
GetRuntimeHandler
(options *options.StubsOptions)
pkg/stubs/apiserver.go:146
↓ 1 callers
Method
GetStats
GetStats returns the statistics associated with the cgroup
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:258
↓ 1 callers
Function
GetStorageDriver
(name string)
pkg/repository/storagedriver.go:30
↓ 1 callers
Method
GetTmpStorage
(name string)
pkg/funclet/tmp/tmp_manager.go:48
↓ 1 callers
Method
GetTotalResources
GetTotalResources
pkg/funclet/runtime/resource.go:44
↓ 1 callers
Method
HTTPRequest
()
pkg/server/context.go:67
↓ 1 callers
Function
HandleError
HandlerError is a method to invoke when a non-user facing piece of code cannot return an error and needs to indicate it has been ignored. Invoking thi
pkg/util/runtime/runtime.go:101
↓ 1 callers
Method
HasSufficientResources
HasSufficientResources check the total resource is sufficient
pkg/funclet/runtime/resource.go:87
↓ 1 callers
Method
Hijack
()
pkg/util/httptest/response.go:83
↓ 1 callers
Method
IDEWarmUp
(ctx *funcletCtx.Context, params api.WarmupRequest)
pkg/funclet/ide_warmup.go:50
↓ 1 callers
Method
IDEWarmUpContainerEvent
(ctx *funcletCtx.Context, params api.WarmupRequest)
pkg/funclet/ide_warmup.go:36
↓ 1 callers
Method
IncreaseUsedResource
resource
pkg/controller/rtctrl/runtime_dispatcher.go:45
↓ 1 callers
Method
IncrementFloat32
Increment an item of type float32 by n. Returns an error if the item's value is not an float32, or if it was not found. If there is no error, the incr
pkg/util/cache/cache.go:519
↓ 1 callers
Method
IncrementFloat64
Increment an item of type float64 by n. Returns an error if the item's value is not an float64, or if it was not found. If there is no error, the incr
pkg/util/cache/cache.go:541
↓ 1 callers
Method
IncrementInt16
Increment an item of type int16 by n. Returns an error if the item's value is not an int16, or if it was not found. If there is no error, the incremen
pkg/util/cache/cache.go:321
↓ 1 callers
Method
IncrementInt32
Increment an item of type int32 by n. Returns an error if the item's value is not an int32, or if it was not found. If there is no error, the incremen
pkg/util/cache/cache.go:343
↓ 1 callers
Method
IncrementInt64
Increment an item of type int64 by n. Returns an error if the item's value is not an int64, or if it was not found. If there is no error, the incremen
pkg/util/cache/cache.go:365
↓ 1 callers
Method
IncrementInt8
Increment an item of type int8 by n. Returns an error if the item's value is not an int8, or if it was not found. If there is no error, the incremente
pkg/util/cache/cache.go:299
↓ 1 callers
Method
IncrementUint
Increment an item of type uint by n. Returns an error if the item's value is not an uint, or if it was not found. If there is no error, the incremente
pkg/util/cache/cache.go:387
↓ 1 callers
Method
IncrementUint16
Increment an item of type uint16 by n. Returns an error if the item's value is not an uint16, or if it was not found. If there is no error, the increm
pkg/util/cache/cache.go:453
↓ 1 callers
Method
IncrementUint32
Increment an item of type uint32 by n. Returns an error if the item's value is not an uint32, or if it was not found. If there is no error, the increm
pkg/util/cache/cache.go:475
↓ 1 callers
Method
IncrementUint64
Increment an item of type uint64 by n. Returns an error if the item's value is not an uint64, or if it was not found. If there is no error, the increm
pkg/util/cache/cache.go:497
↓ 1 callers
Method
IncrementUint8
Increment an item of type uint8 by n. Returns an error if the item's value is not an uint8, or if it was not found. If there is no error, the incremen
pkg/util/cache/cache.go:431
↓ 1 callers
Method
IncrementUintptr
Increment an item of type uintptr by n. Returns an error if the item's value is not an uintptr, or if it was not found. If there is no error, the incr
pkg/util/cache/cache.go:409
↓ 1 callers
Function
Info
(msg string, fields ...zap.Field)
pkg/util/logs/logs.go:449
↓ 1 callers
Function
Init
(options *options.ControllerOptions)
pkg/controller/init.go:34
↓ 1 callers
Function
Init
(runOptions *options.HTTPTriggerOptions)
pkg/httptrigger/httptrigger.go:34
↓ 1 callers
Function
Init
(runOptions *options.ControllerOptions)
cmd/controller/app/server.go:51
↓ 1 callers
Method
Init
(pid int, bridgeName string)
pkg/funclet/network/veth_linux.go:32
↓ 1 callers
Method
InitAllContainers
()
pkg/funclet/funclet.go:129
↓ 1 callers
Method
InitContainerEvent
(containerID string)
pkg/funclet/init.go:35
↓ 1 callers
Function
InitContainerMap
(podName string, num int)
pkg/funclet/container.go:127
↓ 1 callers
Function
InitContainerPathsMap
TODO: Need to get container list from runc in non-container environment.
pkg/funclet/file/path_manager.go:61
↓ 1 callers
Function
InitFunclet
(o *options.FuncletOptions, stopCh <-chan struct{},finishCh chan struct{})
pkg/funclet/funclet.go:57
↓ 1 callers
Function
InitMetric
(namespace string)
pkg/util/logs/metric/metric.go:40
↓ 1 callers
Method
InitNetwork
(opt *NetworkOption)
pkg/funclet/network/network.go:26
↓ 1 callers
Function
InitQuotaCtrl
(storagePath string, tmpSize string, runnersTmpPath string, storageType string, logger *logs.Logger)
pkg/funclet/quota/xfs_quota.go:69
↓ 1 callers
Function
InitRtCtrlMetric
()
pkg/controller/rtctrl/metrics.go:171
↓ 1 callers
Function
InitSummaryLogs
InitSummaryLogs init a logger to record summary
pkg/util/logs/logs.go:111
↓ 1 callers
Function
InitWithClient
(c client.ControllerClientInterface)
pkg/httptrigger/httptrigger.go:43
↓ 1 callers
Method
InstallAPI
InstallAPI xxx
pkg/funclet/handler.go:46
↓ 1 callers
Function
InstallHandler
(stubsOptions *options.StubsOptions)
pkg/stubs/handler.go:33
↓ 1 callers
Function
InstallHandler
()
pkg/httptrigger/handler.go:73
↓ 1 callers
Method
InstallREST
(container *restful.Container)
pkg/server/endpoint/apis.go:37
↓ 1 callers
Method
Invoke
(c *routing.Context, ctx InvokeContext)
pkg/controller/handler.go:123
↓ 1 callers
Method
Invoke
(ir *api.InvokeRequest)
pkg/controller/client/controller.go:24
↓ 1 callers
Method
Invoke
(ir *api.InvokeRequest)
pkg/controller/client/rpc.go:54
↓ 1 callers
Method
InvokeFunc
InvokeFunc
pkg/controller/rtctrl/runtime.go:392
↓ 1 callers
Method
InvokeFunc
(reqInfo *RequestInfo, input *InvocationInput)
pkg/controller/rtctrl/client.go:220
↓ 1 callers
Method
InvokeFunction
(input *InvocationInput)
pkg/controller/rtctrl/client.go:33
↓ 1 callers
Function
InvokeHandler
(withError bool)
pkg/controller/client/rpc_test.go:129
← previous
next →
501–600 of 1,662, ranked by callers