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
Method
MarshalLogObject
(enc zapcore.ObjectEncoder)
pkg/controller/metric.go:326
Method
MarshalLogObject
(enc zapcore.ObjectEncoder)
pkg/controller/rtctrl/metrics.go:141
Method
MarshalLogObject
(enc zapcore.ObjectEncoder)
pkg/controller/rtctrl/metrics.go:164
Method
MarshalLogObject
MarshalLogObject is marshaler for ContainerInfo
pkg/api/funclet.go:156
Method
MemUsed
()
pkg/controller/rtctrl/logstore_test.go:179
Method
MemUsed
()
pkg/controller/rtctrl/logstore.go:346
Function
MilliCPUToQuota
MilliCPUToQuota converts milliCPU to CFS quota and period values.
pkg/funclet/runtime/cgroup/helpers_unsupported.go:22
Function
MilliCPUToShares
MilliCPUToShares converts the milliCPU to CFS shares.
pkg/funclet/runtime/cgroup/helpers_unsupported.go:32
Function
MkfsXfs
(fileName string)
pkg/funclet/device/utils/helper_unsupported.go:23
Method
MountProjQuota
(sourcePath string, targetPath string)
pkg/funclet/storage/loop/loop.go:71
Method
MountProjQuota
(sourcePath string, targetPath string)
pkg/funclet/storage/hostpath/hostpath.go:70
Function
MountProjectQuota
(source string, target string)
pkg/util/mount/mount_unsupported.go:30
Function
Mounted
(mountpoint string)
pkg/util/mount/mount_unsupported.go:42
Method
Name
()
pkg/funclet/runtime/runc/container.go:42
Method
Name
()
pkg/funclet/runtime/api/container.go:28
Method
Name
()
pkg/auth/bce/bce.go:100
Method
Name
()
pkg/auth/factory/factory_test.go:73
Method
Name
()
pkg/auth/noauth/noauth.go:45
Method
Name
()
pkg/repository/bos/bos.go:88
Method
Name
()
pkg/repository/filesystem/fliesystem.go:88
Method
Name
()
pkg/server/hooks.go:208
Method
Name
()
pkg/server/healthz/healthz.go:50
Method
Name
()
pkg/server/healthz/healthz.go:95
Method
Name
()
pkg/util/zip/streamSingleZip.go:37
Method
Namespace
Namespace applies the namespace scope to a request (<resource>/[ns/<namespace>/]<name>)
pkg/rest/request.go:228
Function
NewAccountProblemException
NewAccountProblemException xxx
pkg/error/error.go:304
Function
NewCgroupManager
NewCgroupManager is a factory method that returns a CgroupManager
pkg/funclet/runtime/cgroup/cgroup_manage_unsupported.go:36
Method
NewClients
(string)
pkg/controller/client/call_test.go:60
Function
NewDevice
(number uint64, flags int)
pkg/funclet/device/loop/loop_unsupported.go:28
Function
NewFuncletResource
()
pkg/api/funclet.go:63
Function
NewInvalidInvokeCallerException
NewInvalidInvokeCallerException xxx
pkg/error/error.go:314
Function
NewInvalidParameterValueException
NewInvalidParameterValueException xxx
pkg/error/error.go:194
Function
NewInvalidRequestContentException
NewInvalidRequestContentException xxx
pkg/error/error.go:204
Function
NewInvalidRuntimeException
NewInvalidRuntimeException creates a InvalidRuntimeException HTTP status code is StatusBadGateway (502)
pkg/error/invoke.go:30
Function
NewNotFountException
(cause string, lasterr error)
pkg/httptrigger/errors.go:48
Function
NewNotImplementedException
NewNotImplementedException xxx
pkg/error/error.go:245
Function
NewRecommendedConfig
NewRecommendedConfig returns a RecommendedConfig struct with the default values
pkg/server/config.go:104
Function
NewRecommendedOptions
()
pkg/server/options/recommended.go:34
Function
NewRequestTimeoutException
NewRequestTimeoutException xxx
pkg/error/error.go:235
Function
NewResourceNotFoundException
(cause string, lasterr error)
pkg/error/error.go:333
Function
NewResponseHijacker
(hijackedInputData []byte)
pkg/util/httptest/response.go:37
Function
NewSerializer
NewSerializer xxx
pkg/rest/serializer/json/json.go:31
Method
NewSigner
(parameters map[string]interface{})
pkg/auth/factory/factory_test.go:70
Function
NewStringFlag
(defaultVal string)
pkg/util/flag/string_flag.go:27
Function
NewTooManyRequestsException
NewTooManyRequestsException xxx
pkg/error/error.go:324
Function
NewUnrecognizedClientException
NewUnrecognizedClientException creates a UnrecognizedClientException HTTP status code is StatusForbidden (403)
pkg/error/error.go:225
Function
NewValidationException
NewValidationException xxx
pkg/error/error.go:184
Function
NewWatchCacheStore
(defaultExpiration, cleanupInterval time.Duration)
pkg/util/cache/watch_cache.go:33
Method
NodeInfo
(input *api.FuncletClientListNodeInput)
pkg/funclet/client/client.go:209
Method
OnError
OnError will block if it is called more often than the embedded period time. This will prevent overly tight hot error loops.
pkg/util/runtime/runtime.go:128
Method
OnEvicted
(f func(string, interface{}))
pkg/util/cache/watch_cache.go:83
Method
OutdatePathsByName
(pathName string)
pkg/funclet/file/path_manager.go:31
Method
OutdatePathsByName
(pathName string)
pkg/funclet/file/container_path.go:107
Method
Patch
(pt PatchType)
pkg/rest/client.go:34
Method
Patch
Patch begins a PATCH request. Short for c.Verb("Patch").
pkg/rest/client.go:108
Method
Pause
* USAGE: runc pause <container-id> */
pkg/funclet/runtime/runc/runc.go:417
Method
PauseContainer
(ID string)
pkg/funclet/runtime/runc/container.go:67
Method
PauseContainer
(ID string)
pkg/funclet/runtime/api/container.go:32
Function
PidMountInfo
PidMountInfo collects the mounts for a specific process ID. If the process ID is unknown, it is better to use `GetMounts` which will inspect "/proc/se
pkg/util/mount/mountinfo_linux.go:103
Method
Pids
Pids scans through all subsytems to find pids associated with specified cgroup.
pkg/funclet/runtime/cgroup/types.go:93
Method
Pids
Scans through all subsystems to find pids associated with specified cgroup.
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:392
Method
PopAny
Returns a single element from the set.
pkg/funclet/runtime/cgroup/string.go:187
Method
PopAny
Returns a single element from the set.
pkg/funclet/runtime/cgroup/utils.go:189
Method
Post
Post begins a POST request. Short for c.Verb("POST").
pkg/rest/client.go:98
Method
PrepareXfs
(path string)
pkg/funclet/storage/loop/loop.go:63
Method
PrepareXfs
(path string)
pkg/funclet/storage/hostpath/hostpath.go:59
Method
Provided
()
pkg/util/flag/string_flag.go:50
Method
Provided
()
pkg/util/flag/tristate.go:58
Function
ProxyHandler
(c *routing.Context)
pkg/httptrigger/handler.go:33
Method
Put
Put begins a PUT request. Short for c.Verb("PUT").
pkg/rest/client.go:103
Function
QuotaToMilliCPU
QuotaToMilliCPU
pkg/funclet/runtime/cgroup/helpers_unsupported.go:27
Method
Read
()
pkg/controller/rtctrl/log_dispatcher.go:68
Method
ReadFromRequest
(r *http.Request)
pkg/rest/criteria.go:50
Method
Reborn
(input *api.FuncletClientRebornInput)
pkg/funclet/client/client.go:186
Method
RebornHandler
(c *server.Context)
pkg/funclet/handler.go:208
Method
Receiver
()
pkg/controller/rtctrl/logstore_test.go:137
Method
Receiver
()
pkg/controller/rtctrl/logstore.go:184
Method
Recycle
()
pkg/funclet/storage/loop/loop.go:59
Method
Recycle
()
pkg/funclet/storage/hostpath/hostpath.go:55
Function
Reduce
Reduce will return err or, if err is an Aggregate and only has one item, the first item in the aggregate.
pkg/util/errors/errors.go:171
Method
ReduceCPULimits
ReduceCPULimits reduces the CPU CFS values to the minimum amount of shares.
pkg/funclet/runtime/cgroup/types.go:95
Method
ReduceCPULimits
ReduceCPULimits reduces the cgroup's cpu shares to the lowest possible value
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:442
Method
ReleaseUsedResource
ReleaseUsedResource
pkg/controller/rtctrl/runtime_dispatcher.go:402
Method
RemoteAddr
()
pkg/util/httptest/mockconn.go:76
Method
RemoveByPathName
(name string)
pkg/funclet/file/path_manager.go:32
Method
RemoveCodeCompeleteTag
RemoveCodeCompeleteTag
pkg/funclet/code/complete_tag.go:44
Method
RemoveCodeCompeleteTag
(path, codeSha256 string)
pkg/funclet/code/manager.go:40
Method
RemoveContainer
(ID string, force bool)
pkg/funclet/runtime/runc/container.go:59
Method
RemoveTmpStorage
(name string)
pkg/funclet/tmp/tmp_manager.go:145
Method
Reset
()
pkg/userlog/userlog.go:50
Method
ResetHandler
(c *server.Context)
pkg/funclet/handler.go:228
Method
ResetRuntime
(runtime *RuntimeInfo)
pkg/controller/rtctrl/runtime_dispatcher.go:296
Method
ResourceStatistics
()
pkg/controller/rtctrl/runtime_dispatcher.go:175
Method
Result
()
pkg/util/httptest/response.go:67
Method
Resume
* USAGE: runc resume <container-id> */
pkg/funclet/runtime/runc/runc.go:404
Method
ResumeContainer
(ID string)
pkg/funclet/runtime/runc/container.go:71
Method
ResumeContainer
(ID string)
pkg/funclet/runtime/api/container.go:33
Method
Run
* USAGE: runc run [command options] <container-id> OPTIONS: --bundle value, -b value path to the root of the bundle directory, defaults to the
pkg/funclet/runtime/runc/runc.go:176
Method
Run
Run spawns the secure http server. It only returns if stopCh is closed or the secure port cannot be listened on initially.
pkg/server/genericserver.go:81
Method
RunWithStdio
(c *CreateOpts, stdout io.WriteCloser, stderr io.WriteCloser)
pkg/funclet/runtime/runc/runc.go:190
← previous
next →
1,201–1,300 of 1,662, ranked by callers