MCPcopy Create free account

hub / github.com/baidu/EasyFaaS / functions

Functions1,662 in github.com/baidu/EasyFaaS

↓ 2 callersMethodContainerResources
ContainerResources
pkg/funclet/runtime/resource.go:50
↓ 2 callersFunctionConvertProxyRequestToHTTP
(reqInfo *RequestInfo)
pkg/controller/rtctrl/httprequest.go:26
↓ 2 callersFunctionCreate
(name string, parameters map[string]interface{})
pkg/repository/factory/factory.go:43
↓ 2 callersMethodCreate
(parameters map[string]interface{})
pkg/repository/factory/factory.go:28
↓ 2 callersMethodCriteria
Criteria adds special parameters into this request
pkg/rest/request.go:342
↓ 2 callersMethodDecrementFloat
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 callersMethodDelRuntime
(runtimeID string)
pkg/controller/rtctrl/runtime_dispatcher.go:182
↓ 2 callersMethodDeleteExpired
Delete all expired items from the cache.
pkg/util/cache/cache.go:949
↓ 2 callersMethodDo
(ctx *InvokeContext)
pkg/controller/invoke.go:48
↓ 2 callersMethodError
()
pkg/error/error.go:127
↓ 2 callersFunctionFilterOut
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 callersMethodFindDevice
FindDevice
pkg/funclet/file/find_device.go:29
↓ 2 callersFunctionGetCanonicalQueryString
(query url.Values)
pkg/auth/bce/helper.go:52
↓ 2 callersMethodGetCgroupSubsysPath
GetCgroupSubsysPath
pkg/funclet/runtime/cgroup/types.go:101
↓ 2 callersMethodGetDefaultResourceConfig
GetDefaultResourceConfig
pkg/funclet/runtime/resource.go:40
↓ 2 callersFunctionGetFreezerStats
(path string)
pkg/funclet/runtime/cgroup/freezer.go:30
↓ 2 callersFunctionGetLogToBody
(c *routing.Context)
pkg/api/server.go:54
↓ 2 callersFunctionGetLogType
(c *routing.Context)
pkg/api/server.go:43
↓ 2 callersMethodGetResourcesConfig
GetResourcesConfig
pkg/funclet/runtime/cgroup/types.go:99
↓ 2 callersMethodGetRuntimeConfiguration
(input *api.GetRuntimeConfigurationInput)
pkg/controller/registry/registry.go:39
↓ 2 callersFunctionGetStorage
(name string)
pkg/funclet/storage/storage.go:37
↓ 2 callersFunctionHandleCrash
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 callersMethodHandlePrefix
HandlePrefix is like Handle, but matches for anything under the path. Like a standard golang trailing slash.
pkg/server/mux/pathrecorder.go:204
↓ 2 callersMethodHeader
()
pkg/server/filters/timeout.go:119
↓ 2 callersMethodIncrementFloat
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 callersMethodIncrementInt
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 callersMethodInitContainer
(ctx *funcletCtx.Context)
pkg/funclet/init.go:51
↓ 2 callersMethodInvoke
(ir *api.InvokeRequest)
pkg/controller/client/call.go:40
↓ 2 callersMethodInvokeFunction
(input *InvocationInput)
pkg/controller/rtctrl/client.go:144
↓ 2 callersMethodInvokeHTTPFunc
InvokeFunc
pkg/controller/rtctrl/runtime.go:405
↓ 2 callersMethodInvokeReportDone
()
pkg/controller/rtctrl/request.go:142
↓ 2 callersMethodInvokeStart
()
pkg/controller/rtctrl/request.go:100
↓ 2 callersFunctionIsNoneLogType
(logType string)
pkg/api/apiserver.go:124
↓ 2 callersMethodLen
Len returns the size of the set.
pkg/funclet/runtime/cgroup/string.go:197
↓ 2 callersMethodLen
Len returns the size of the set.
pkg/funclet/runtime/cgroup/utils.go:199
↓ 2 callersFunctionMilliCPUToQuota
MilliCPUToQuota converts milliCPU to CFS quota and period values.
pkg/funclet/runtime/cgroup/helpers_linux.go:38
↓ 2 callersMethodName
Name converts the cgroup to the driver specific value in cgroupfs form.
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:120
↓ 2 callersFunctionNewControllerCallClient
(controllerClient controller.ControllerInterface, funcletClient client.FuncletInterface, opt *options.Contro
pkg/controller/client/call.go:34
↓ 2 callersFunctionNewControllerClientOptions
()
pkg/controller/client/options.go:27
↓ 2 callersFunctionNewDispatcherV2Options
()
pkg/controller/rtctrl/options.go:36
↓ 2 callersFunctionNewEncoder
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 callersFunctionNewInvalidRequestException
(cause string, lasterr error)
pkg/httptrigger/errors.go:39
↓ 2 callersFunctionNewInvokeProxyResponseWithRequestID
(requestID string)
pkg/api/controller.go:162
↓ 2 callersFunctionNewInvokeResponse
()
pkg/api/controller.go:53
↓ 2 callersFunctionNewProxy
(c client.ControllerClientInterface)
pkg/httptrigger/proxy.go:25
↓ 2 callersFunctionNewRESTClient
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 callersMethodNewSigner
(parameters map[string]interface{})
pkg/auth/bce/bce.go:57
↓ 2 callersMethodNodeInfo
(*api.FuncletClientListNodeInput)
pkg/funclet/client/client.go:62
↓ 2 callersMethodObserveAll
()
pkg/controller/rtctrl/metrics.go:185
↓ 2 callersMethodOverall
()
pkg/controller/metric.go:404
↓ 2 callersMethodPut
()
pkg/rest/client.go:33
↓ 2 callersFunctionQuotaToMilliCPU
QuotaToMilliCPU converts CFS quota and period values to milliCPU.
pkg/funclet/runtime/cgroup/helpers_linux.go:66
↓ 2 callersMethodRead
(p []byte)
pkg/util/httptest/mockconn.go:46
↓ 2 callersFunctionReaderToLog
(r io.ReadCloser, logger *logs.Logger)
pkg/funclet/helper.go:51
↓ 2 callersMethodReceiver
()
pkg/controller/rtctrl/logstore.go:36
↓ 2 callersFunctionRegister
(name string, factory StorageDriverFactory)
pkg/repository/factory/factory.go:31
↓ 2 callersFunctionRegisterStorage
(name string, storage Storage)
pkg/funclet/storage/storage.go:33
↓ 2 callersFunctionRegisterStorageDriver
(driver StorageDriver)
pkg/repository/storagedriver.go:26
↓ 2 callersMethodReleaseUsedResource
(*api.Resource)
pkg/controller/rtctrl/runtime_dispatcher.go:46
↓ 2 callersMethodRemoveContainer
(ID string, force bool)
pkg/funclet/runtime/api/container.go:30
↓ 2 callersMethodRemoveTmpStorage
(name string)
pkg/funclet/tmp/tmp_manager.go:49
↓ 2 callersMethodResetContainer
(ctx *funcletCtx.Context)
pkg/funclet/reset.go:119
↓ 2 callersMethodRuntimeStatistics
statistic
pkg/controller/rtctrl/runtime_dispatcher.go:52
↓ 2 callersMethodSet
(f bits)
pkg/controller/rtctrl/logstore.go:57
↓ 2 callersMethodSetContainerNet
(containerPid int)
pkg/funclet/network/network.go:27
↓ 2 callersMethodSetHost
(host string)
pkg/rest/request.go:161
↓ 2 callersMethodSetInitTime
(preInit, postInit int64)
pkg/controller/rtctrl/request.go:91
↓ 2 callersMethodSetInitTime
(pre, post int64)
pkg/controller/rtctrl/runtimeinfo.go:73
↓ 2 callersMethodSetMemorySize
(mem uint64)
pkg/controller/rtctrl/runtimeinfo.go:63
↓ 2 callersMethodSetResource
(mem uint64, cpu int64)
pkg/controller/rtctrl/runtimeinfo.go:56
↓ 2 callersFunctionSetupSignalHandler
()
cmd/funclet/funclet.go:51
↓ 2 callersMethodStopRecvLog
(runtimeID, requestID string, store LogStatStore)
pkg/controller/rtctrl/dispatcherv2.go:247
↓ 2 callersFunctionString
(msg string)
pkg/util/helper.go:20
↓ 2 callersMethodThawContainer
ThawContainer
pkg/funclet/runtime/resource.go:48
↓ 2 callersMethodUnLock
()
pkg/api/funclet.go:197
↓ 2 callersMethodUnlistedHandle
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 callersMethodUnlistedHandlePrefix
UnlistedHandlePrefix is like UnlistedHandle, but matches for anything under the path. Like a standard golang trailing slash.
pkg/server/mux/pathrecorder.go:219
↓ 2 callersFunctionUnmount
(target string)
pkg/util/mount/mount_linux.go:81
↓ 2 callersMethodUnmount
(path []string, ignoreError bool)
pkg/funclet/file/mount_manager.go:32
↓ 2 callersMethodUpdate
Update updates the cgroup with the specified Cgroup Configuration
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:320
↓ 2 callersMethodUpdateBackoff
(url *url.URL, err error, responseCode int)
pkg/rest/urlbackoff.go:32
↓ 2 callersMethodUpdateContainerStreamMode
(id string, streamMode bool)
pkg/funclet/container.go:118
↓ 2 callersMethodWriteSummary
(overheadMs int)
pkg/controller/metric.go:432
↓ 2 callersMethodWriteWithWarmLog
(msg string)
pkg/httptrigger/context.go:43
↓ 2 callersFunctionbenchmarkCacheGet
(b *testing.B, exp time.Duration)
pkg/util/cache/cache_test.go:1452
↓ 2 callersFunctionbenchmarkCacheGetConcurrent
(b *testing.B, exp time.Duration)
pkg/util/cache/cache_test.go:1513
↓ 2 callersFunctionbenchmarkCacheGetManyConcurrent
(b *testing.B, exp time.Duration)
pkg/util/cache/cache_test.go:1565
↓ 2 callersFunctionbenchmarkCacheSet
(b *testing.B, exp time.Duration)
pkg/util/cache/cache_test.go:1601
↓ 2 callersFunctionboolFromTri
(t Tristate)
pkg/util/flag/tristate.go:69
↓ 2 callersFunctionbuildRequestResponse
(runtimeID string, commitID string, requestID string)
pkg/controller/rtctrl/runtime_test.go:238
↓ 2 callersFunctioncheckerNames
checkerNames returns the names of the checks in the same order as passed in.
pkg/server/healthz/healthz.go:148
↓ 2 callersMethodcommandOutput
(args ...string)
pkg/funclet/runtime/runc/runc.go:93
↓ 2 callersFunctionconvertMapNumbers
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 callersFunctionconvertNumber
convertNumber converts a json.Number to an int64 or float64, or returns an error
pkg/util/json/json.go:113
↓ 2 callersFunctioncreate
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 callersMethoddel
(runtimeid string, sc *statsConn)
pkg/controller/rtctrl/stat_receiver.go:86
↓ 2 callersFunctionerrorFromBody
(backend string, decoder Decoder, body []byte)
pkg/rest/request.go:684
↓ 2 callersFunctionfilterNetAddr
(name, mask string, bits int)
pkg/controller/rtctrl/listener.go:28
↓ 2 callersMethodget
(runtimeid string)
pkg/controller/rtctrl/stat_receiver.go:74
↓ 2 callersMethodget
get returns the value of the Level.
pkg/util/logs/logs.go:279
← previousnext →301–400 of 1,662, ranked by callers