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
↓ 2 callers
Method
ContainerResources
ContainerResources
pkg/funclet/runtime/resource.go:50
↓ 2 callers
Function
ConvertProxyRequestToHTTP
(reqInfo *RequestInfo)
pkg/controller/rtctrl/httprequest.go:26
↓ 2 callers
Function
Create
(name string, parameters map[string]interface{})
pkg/repository/factory/factory.go:43
↓ 2 callers
Method
Create
(parameters map[string]interface{})
pkg/repository/factory/factory.go:28
↓ 2 callers
Method
Criteria
Criteria adds special parameters into this request
pkg/rest/request.go:342
↓ 2 callers
Method
DecrementFloat
Decrement an item of type float32 or float64 by n. Returns an error if the item's value is not floating point, if it was not found, or if it is not po
pkg/util/cache/cache.go:615
↓ 2 callers
Method
DelRuntime
(runtimeID string)
pkg/controller/rtctrl/runtime_dispatcher.go:182
↓ 2 callers
Method
DeleteExpired
Delete all expired items from the cache.
pkg/util/cache/cache.go:949
↓ 2 callers
Method
Do
(ctx *InvokeContext)
pkg/controller/invoke.go:48
↓ 2 callers
Method
Error
()
pkg/error/error.go:127
↓ 2 callers
Function
FilterOut
FilterOut removes all errors that match any of the matchers from the input error. If the input is a singular error, only that error is tested. If th
pkg/util/errors/errors.go:93
↓ 2 callers
Method
FindDevice
FindDevice
pkg/funclet/file/find_device.go:29
↓ 2 callers
Function
GetCanonicalQueryString
(query url.Values)
pkg/auth/bce/helper.go:52
↓ 2 callers
Method
GetCgroupSubsysPath
GetCgroupSubsysPath
pkg/funclet/runtime/cgroup/types.go:101
↓ 2 callers
Method
GetDefaultResourceConfig
GetDefaultResourceConfig
pkg/funclet/runtime/resource.go:40
↓ 2 callers
Function
GetFreezerStats
(path string)
pkg/funclet/runtime/cgroup/freezer.go:30
↓ 2 callers
Function
GetLogToBody
(c *routing.Context)
pkg/api/server.go:54
↓ 2 callers
Function
GetLogType
(c *routing.Context)
pkg/api/server.go:43
↓ 2 callers
Method
GetResourcesConfig
GetResourcesConfig
pkg/funclet/runtime/cgroup/types.go:99
↓ 2 callers
Method
GetRuntimeConfiguration
(input *api.GetRuntimeConfigurationInput)
pkg/controller/registry/registry.go:39
↓ 2 callers
Function
GetStorage
(name string)
pkg/funclet/storage/storage.go:37
↓ 2 callers
Function
HandleCrash
HandleCrash simply catches a crash and logs an error. Meant to be called via defer. Additional context-specific handlers can be provided, and will be
pkg/util/runtime/runtime.go:48
↓ 2 callers
Method
HandlePrefix
HandlePrefix is like Handle, but matches for anything under the path. Like a standard golang trailing slash.
pkg/server/mux/pathrecorder.go:204
↓ 2 callers
Method
Header
()
pkg/server/filters/timeout.go:119
↓ 2 callers
Method
IncrementFloat
Increment an item of type float32 or float64 by n. Returns an error if the item's value is not floating point, if it was not found, or if it is not po
pkg/util/cache/cache.go:253
↓ 2 callers
Method
IncrementInt
Increment an item of type int by n. Returns an error if the item's value is not an int, or if it was not found. If there is no error, the incremented
pkg/util/cache/cache.go:277
↓ 2 callers
Method
InitContainer
(ctx *funcletCtx.Context)
pkg/funclet/init.go:51
↓ 2 callers
Method
Invoke
(ir *api.InvokeRequest)
pkg/controller/client/call.go:40
↓ 2 callers
Method
InvokeFunction
(input *InvocationInput)
pkg/controller/rtctrl/client.go:144
↓ 2 callers
Method
InvokeHTTPFunc
InvokeFunc
pkg/controller/rtctrl/runtime.go:405
↓ 2 callers
Method
InvokeReportDone
()
pkg/controller/rtctrl/request.go:142
↓ 2 callers
Method
InvokeStart
()
pkg/controller/rtctrl/request.go:100
↓ 2 callers
Function
IsNoneLogType
(logType string)
pkg/api/apiserver.go:124
↓ 2 callers
Method
Len
Len returns the size of the set.
pkg/funclet/runtime/cgroup/string.go:197
↓ 2 callers
Method
Len
Len returns the size of the set.
pkg/funclet/runtime/cgroup/utils.go:199
↓ 2 callers
Function
MilliCPUToQuota
MilliCPUToQuota converts milliCPU to CFS quota and period values.
pkg/funclet/runtime/cgroup/helpers_linux.go:38
↓ 2 callers
Method
Name
Name converts the cgroup to the driver specific value in cgroupfs form.
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:120
↓ 2 callers
Function
NewControllerCallClient
(controllerClient controller.ControllerInterface, funcletClient client.FuncletInterface, opt *options.Contro
pkg/controller/client/call.go:34
↓ 2 callers
Function
NewControllerClientOptions
()
pkg/controller/client/options.go:27
↓ 2 callers
Function
NewDispatcherV2Options
()
pkg/controller/rtctrl/options.go:36
↓ 2 callers
Function
NewEncoder
NewEncoder delegates to json.NewEncoder It is only here so this package can be a drop-in for common encoding/json uses
pkg/util/json/json.go:35
↓ 2 callers
Function
NewInvalidRequestException
(cause string, lasterr error)
pkg/httptrigger/errors.go:39
↓ 2 callers
Function
NewInvokeProxyResponseWithRequestID
(requestID string)
pkg/api/controller.go:162
↓ 2 callers
Function
NewInvokeResponse
()
pkg/api/controller.go:53
↓ 2 callers
Function
NewProxy
(c client.ControllerClientInterface)
pkg/httptrigger/proxy.go:25
↓ 2 callers
Function
NewRESTClient
NewRESTClient creates a new RESTClient. This client performs generic REST functions such as Get, Put, Post, and Delete on specified paths. Codec cont
pkg/rest/client.go:63
↓ 2 callers
Method
NewSigner
(parameters map[string]interface{})
pkg/auth/bce/bce.go:57
↓ 2 callers
Method
NodeInfo
(*api.FuncletClientListNodeInput)
pkg/funclet/client/client.go:62
↓ 2 callers
Method
ObserveAll
()
pkg/controller/rtctrl/metrics.go:185
↓ 2 callers
Method
Overall
()
pkg/controller/metric.go:404
↓ 2 callers
Method
Put
()
pkg/rest/client.go:33
↓ 2 callers
Function
QuotaToMilliCPU
QuotaToMilliCPU converts CFS quota and period values to milliCPU.
pkg/funclet/runtime/cgroup/helpers_linux.go:66
↓ 2 callers
Method
Read
(p []byte)
pkg/util/httptest/mockconn.go:46
↓ 2 callers
Function
ReaderToLog
(r io.ReadCloser, logger *logs.Logger)
pkg/funclet/helper.go:51
↓ 2 callers
Method
Receiver
()
pkg/controller/rtctrl/logstore.go:36
↓ 2 callers
Function
Register
(name string, factory StorageDriverFactory)
pkg/repository/factory/factory.go:31
↓ 2 callers
Function
RegisterStorage
(name string, storage Storage)
pkg/funclet/storage/storage.go:33
↓ 2 callers
Function
RegisterStorageDriver
(driver StorageDriver)
pkg/repository/storagedriver.go:26
↓ 2 callers
Method
ReleaseUsedResource
(*api.Resource)
pkg/controller/rtctrl/runtime_dispatcher.go:46
↓ 2 callers
Method
RemoveContainer
(ID string, force bool)
pkg/funclet/runtime/api/container.go:30
↓ 2 callers
Method
RemoveTmpStorage
(name string)
pkg/funclet/tmp/tmp_manager.go:49
↓ 2 callers
Method
ResetContainer
(ctx *funcletCtx.Context)
pkg/funclet/reset.go:119
↓ 2 callers
Method
RuntimeStatistics
statistic
pkg/controller/rtctrl/runtime_dispatcher.go:52
↓ 2 callers
Method
Set
(f bits)
pkg/controller/rtctrl/logstore.go:57
↓ 2 callers
Method
SetContainerNet
(containerPid int)
pkg/funclet/network/network.go:27
↓ 2 callers
Method
SetHost
(host string)
pkg/rest/request.go:161
↓ 2 callers
Method
SetInitTime
(preInit, postInit int64)
pkg/controller/rtctrl/request.go:91
↓ 2 callers
Method
SetInitTime
(pre, post int64)
pkg/controller/rtctrl/runtimeinfo.go:73
↓ 2 callers
Method
SetMemorySize
(mem uint64)
pkg/controller/rtctrl/runtimeinfo.go:63
↓ 2 callers
Method
SetResource
(mem uint64, cpu int64)
pkg/controller/rtctrl/runtimeinfo.go:56
↓ 2 callers
Function
SetupSignalHandler
()
cmd/funclet/funclet.go:51
↓ 2 callers
Method
StopRecvLog
(runtimeID, requestID string, store LogStatStore)
pkg/controller/rtctrl/dispatcherv2.go:247
↓ 2 callers
Function
String
(msg string)
pkg/util/helper.go:20
↓ 2 callers
Method
ThawContainer
ThawContainer
pkg/funclet/runtime/resource.go:48
↓ 2 callers
Method
UnLock
()
pkg/api/funclet.go:197
↓ 2 callers
Method
UnlistedHandle
UnlistedHandle registers the handler for the given pattern, but doesn't list it. If a handler already exists for pattern, Handle panics.
pkg/server/mux/pathrecorder.go:188
↓ 2 callers
Method
UnlistedHandlePrefix
UnlistedHandlePrefix is like UnlistedHandle, but matches for anything under the path. Like a standard golang trailing slash.
pkg/server/mux/pathrecorder.go:219
↓ 2 callers
Function
Unmount
(target string)
pkg/util/mount/mount_linux.go:81
↓ 2 callers
Method
Unmount
(path []string, ignoreError bool)
pkg/funclet/file/mount_manager.go:32
↓ 2 callers
Method
Update
Update updates the cgroup with the specified Cgroup Configuration
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:320
↓ 2 callers
Method
UpdateBackoff
(url *url.URL, err error, responseCode int)
pkg/rest/urlbackoff.go:32
↓ 2 callers
Method
UpdateContainerStreamMode
(id string, streamMode bool)
pkg/funclet/container.go:118
↓ 2 callers
Method
WriteSummary
(overheadMs int)
pkg/controller/metric.go:432
↓ 2 callers
Method
WriteWithWarmLog
(msg string)
pkg/httptrigger/context.go:43
↓ 2 callers
Function
benchmarkCacheGet
(b *testing.B, exp time.Duration)
pkg/util/cache/cache_test.go:1452
↓ 2 callers
Function
benchmarkCacheGetConcurrent
(b *testing.B, exp time.Duration)
pkg/util/cache/cache_test.go:1513
↓ 2 callers
Function
benchmarkCacheGetManyConcurrent
(b *testing.B, exp time.Duration)
pkg/util/cache/cache_test.go:1565
↓ 2 callers
Function
benchmarkCacheSet
(b *testing.B, exp time.Duration)
pkg/util/cache/cache_test.go:1601
↓ 2 callers
Function
boolFromTri
(t Tristate)
pkg/util/flag/tristate.go:69
↓ 2 callers
Function
buildRequestResponse
(runtimeID string, commitID string, requestID string)
pkg/controller/rtctrl/runtime_test.go:238
↓ 2 callers
Function
checkerNames
checkerNames returns the names of the checks in the same order as passed in.
pkg/server/healthz/healthz.go:148
↓ 2 callers
Method
commandOutput
(args ...string)
pkg/funclet/runtime/runc/runc.go:93
↓ 2 callers
Function
convertMapNumbers
convertMapNumbers traverses the map, converting any json.Number values to int64 or float64. values which are map[string]interface{} or []interface{} a
pkg/util/json/json.go:74
↓ 2 callers
Function
convertNumber
convertNumber converts a json.Number to an int64 or float64, or returns an error
pkg/util/json/json.go:113
↓ 2 callers
Function
create
create creates a new log file and returns the file and its filename, which contains tag ("INFO", "FATAL", etc.) and t. If the file is created success
pkg/util/logs/rotate.go:144
↓ 2 callers
Method
del
(runtimeid string, sc *statsConn)
pkg/controller/rtctrl/stat_receiver.go:86
↓ 2 callers
Function
errorFromBody
(backend string, decoder Decoder, body []byte)
pkg/rest/request.go:684
↓ 2 callers
Function
filterNetAddr
(name, mask string, bits int)
pkg/controller/rtctrl/listener.go:28
↓ 2 callers
Method
get
(runtimeid string)
pkg/controller/rtctrl/stat_receiver.go:74
↓ 2 callers
Method
get
get returns the value of the Level.
pkg/util/logs/logs.go:279
← previous
next →
301–400 of 1,662, ranked by callers