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
IsEmpty
()
pkg/controller/registry/options.go:63
↓ 1 callers
Method
IsSuperset
IsSuperset returns true if and only if s1 is a superset of s2.
pkg/funclet/runtime/cgroup/string.go:145
↓ 1 callers
Method
IsSuperset
IsSuperset returns true if and only if s1 is a superset of s2.
pkg/funclet/runtime/cgroup/utils.go:147
↓ 1 callers
Function
IsXfs
(xfsPath string)
pkg/funclet/device/utils/helper_linux.go:36
↓ 1 callers
Method
ItemCount
Returns the number of items in the cache. This may include items that have expired, but have not yet been cleaned up.
pkg/util/cache/cache.go:1075
↓ 1 callers
Function
JudgeQualifier
(qualifier string)
pkg/brn/function.go:166
↓ 1 callers
Function
JudgeUnderlyingBrn
(underlyingBrn string)
pkg/brn/function.go:156
↓ 1 callers
Method
KillContainer
(ID string, signal string, all bool)
pkg/funclet/runtime/api/container.go:31
↓ 1 callers
Method
List
(criteria *api.ListContainerCriteria)
pkg/funclet/list.go:25
↓ 1 callers
Method
List
List returns the contents as a sorted int slice.
pkg/funclet/runtime/cgroup/utils.go:170
↓ 1 callers
Method
ListAllContainers
()
pkg/funclet/list.go:44
↓ 1 callers
Method
LoadFile
Load and add cache items from the given filename, excluding any items with keys that already exist in the current cache. NOTE: This method is depreca
pkg/util/cache/cache.go:1042
↓ 1 callers
Method
LogData
()
pkg/controller/rtctrl/logstore.go:333
↓ 1 callers
Function
MakeShared
(mountPoint string)
pkg/util/mount/mount_linux.go:26
↓ 1 callers
Method
MakeShared
(path string)
pkg/funclet/file/mount_manager.go:30
↓ 1 callers
Method
MarshalJSONBuf
MarshalJSONBuf is an optimized JSON marshaller that avoids reflection and unnecessary allocation.
pkg/userlog/userlog.go:69
↓ 1 callers
Function
MilliCPUToShares
MilliCPUToShares converts the milliCPU to CFS shares.
pkg/funclet/runtime/cgroup/helpers_linux.go:82
↓ 1 callers
Function
MkfsXfs
(fileName string)
pkg/funclet/device/utils/helper_linux.go:28
↓ 1 callers
Method
ModTime
()
pkg/util/zip/streamSingleZip.go:49
↓ 1 callers
Method
MountProjQuota
(sourcePath string, targetPath string)
pkg/funclet/storage/storage.go:30
↓ 1 callers
Function
MountProjectQuota
(source string, target string)
pkg/util/mount/mount_linux.go:40
↓ 1 callers
Method
Name
()
pkg/repository/storagedriver.go:22
↓ 1 callers
Function
NamedCheck
NamedCheck returns a healthz checker for the given name and function.
pkg/server/healthz/healthz.go:60
↓ 1 callers
Function
New
(params DriverParameters)
pkg/repository/bos/bos.go:82
↓ 1 callers
Function
New
(params DriverParameters)
pkg/repository/filesystem/fliesystem.go:82
↓ 1 callers
Function
NewApiInstaller
(v []ApiVersion)
pkg/server/endpoint/installer.go:27
↓ 1 callers
Function
NewBadGatewayException
(cause string, lasterr error)
pkg/httptrigger/errors.go:66
↓ 1 callers
Function
NewBsamFunctionProperties
(config *api.FunctionConfig)
pkg/funclet/types.go:143
↓ 1 callers
Function
NewBsamFunctionResource
(config *api.FunctionConfig)
pkg/funclet/types.go:136
↓ 1 callers
Function
NewBsamResources
()
pkg/funclet/types.go:132
↓ 1 callers
Function
NewBsamTemplate
()
pkg/funclet/types.go:123
↓ 1 callers
Function
NewCgroupManager
NewCgroupManager is a factory method that returns a CgroupManager
pkg/funclet/runtime/cgroup/cgroup_manage_linux.go:102
↓ 1 callers
Method
NewClients
(clientMode string)
pkg/controller/types.go:44
↓ 1 callers
Method
NewClients
(string)
pkg/controller/invoke.go:39
↓ 1 callers
Function
NewContainerManager
(podName string, o *options.FuncletOptions)
pkg/funclet/container.go:38
↓ 1 callers
Function
NewContainerRuntime
(runtimeType string, cmd string, logger *logs.Logger)
pkg/funclet/runtime/container.go:27
↓ 1 callers
Function
NewContainerRuntime
(cmd string, logger *logs.Logger)
pkg/funclet/runtime/runc/container.go:31
↓ 1 callers
Function
NewDevice
(number uint64, flags int)
pkg/funclet/device/loop/loop_linux.go:46
↓ 1 callers
Function
NewEmptyOption
()
pkg/controller/registry/options.go:55
↓ 1 callers
Function
NewEventLock
()
pkg/api/funclet.go:180
↓ 1 callers
Function
NewFastClient
(host string)
pkg/rest/fastclient.go:35
↓ 1 callers
Function
NewFeatureOptions
()
pkg/server/options/features.go:33
↓ 1 callers
Function
NewFrom
NewFrom return a new cache with a given default expiration duration and cleanup interval. If the expiration duration is less than one (or NoExpiration
pkg/util/cache/cache.go:1177
↓ 1 callers
Function
NewFuncletClient
NewFuncletClient create a kubernetes client
pkg/funclet/client/client.go:72
↓ 1 callers
Function
NewFuncletClientOptions
()
pkg/funclet/client/client.go:44
↓ 1 callers
Function
NewHTTPTriggerOptions
()
cmd/httptrigger/options/options.go:30
↓ 1 callers
Function
NewHandlingChanMap
NewHandlingChanMap
pkg/funclet/types.go:70
↓ 1 callers
Function
NewInternalException
(cause string, lasterr error)
pkg/httptrigger/errors.go:57
↓ 1 callers
Function
NewJSONLogFile
(fpath string, cap int)
pkg/userlog/json/jsonlogfile.go:43
↓ 1 callers
Function
NewListContainerCriteria
()
pkg/api/funclet.go:216
↓ 1 callers
Function
NewManager
NewManager
pkg/funclet/code/manager.go:51
↓ 1 callers
Function
NewMountManager
NewMountManager
pkg/funclet/file/mount_manager.go:49
↓ 1 callers
Function
NewNamedCertKeyArray
NewNamedKeyCertArray creates a new NamedCertKeyArray with the internal value pointing to p.
pkg/util/flag/namedcertkey_flag.go:82
↓ 1 callers
Function
NewNetworkManager
()
pkg/funclet/network/network.go:43
↓ 1 callers
Function
NewNetworkOption
()
pkg/funclet/network/options.go:35
↓ 1 callers
Function
NewOptions
()
cmd/funclet/options/options.go:54
↓ 1 callers
Function
NewPathManager
NewPathManager
pkg/funclet/file/path_manager.go:47
↓ 1 callers
Function
NewPlainLogFile
(fpath string, cap int)
pkg/userlog/plain/plainlogfile.go:40
↓ 1 callers
Function
NewResetResponse
()
pkg/api/funclet.go:304
↓ 1 callers
Function
NewResourceManager
(o *ResourceOption, containerNum int)
pkg/funclet/runtime/resource.go:66
↓ 1 callers
Function
NewResourceOption
()
pkg/funclet/runtime/options.go:32
↓ 1 callers
Function
NewRunnerManager
(o *RunnerSpecOption, config *api.ResourceConfig, mode string)
pkg/funclet/runner/manager.go:46
↓ 1 callers
Function
NewRunnerSpecOption
()
pkg/funclet/runner/options.go:42
↓ 1 callers
Method
NewRuntime
(*NewRuntimeParameters)
pkg/controller/rtctrl/runtime_dispatcher.go:38
↓ 1 callers
Function
NewRuntimeManager
(p *RuntimeManagerParameters)
pkg/funclet/runtime/manager.go:42
↓ 1 callers
Function
NewScaleDownImplementationResult
()
pkg/api/funclet.go:315
↓ 1 callers
Function
NewSecureServingOptions
()
pkg/server/options/serving.go:43
↓ 1 callers
Function
NewServerHandler
NewServerHandler xxx
pkg/server/handler.go:58
↓ 1 callers
Function
NewServerRunOptions
NewServerRunOptions create a default options for a generic api server.
pkg/server/options/server_run_options.go:32
↓ 1 callers
Function
NewServiceException
NewServiceException xxx
pkg/error/error.go:214
↓ 1 callers
Function
NewSigner
(ak, sk string)
pkg/auth/bce/bce.go:80
↓ 1 callers
Function
NewSigner
()
pkg/auth/noauth/noauth.go:41
↓ 1 callers
Method
NewSigner
(parameters map[string]interface{})
pkg/auth/factory/factory.go:28
↓ 1 callers
Method
NewSigner
(parameters map[string]interface{})
pkg/auth/noauth/noauth.go:37
↓ 1 callers
Method
NewStdLogDispatcher
(runtimeID string, logFrom int, conn *bufio.ReadWriter, bufferLength int)
pkg/controller/rtctrl/log_dispatcher.go:52
↓ 1 callers
Function
NewStorageCacheOptions
()
pkg/controller/function/options.go:30
↓ 1 callers
Function
NewStubsOptions
()
cmd/stubs/options/options.go:26
↓ 1 callers
Function
NewSummaryLogger
NewSummaryLogger creates a new log.Logger
pkg/util/logs/logs.go:255
↓ 1 callers
Function
NewTmpManager
(o *TmpStorageOption, containerNum int)
pkg/funclet/tmp/tmp_manager.go:61
↓ 1 callers
Function
NewTmpStorageOption
()
pkg/funclet/tmp/options.go:34
↓ 1 callers
Method
NodeInfo
()
pkg/funclet/node.go:24
↓ 1 callers
Method
NonBlockingRun
NonBlockingRun spawns the http server. An error is returned if the port cannot be listened on.
pkg/server/genericserver.go:103
↓ 1 callers
Function
ObserveWithLabels
(index string, value float64, labels *prometheus.Labels)
pkg/util/logs/metric/metric.go:113
↓ 1 callers
Method
OccupyColdRuntime
OccupyColdRuntime
pkg/controller/rtctrl/runtime_dispatcher.go:187
↓ 1 callers
Method
OnEvicted
Sets an (optional) function that is called with the key and value when an item is evicted from the cache. (Including when it is deleted manually, but
pkg/util/cache/cache.go:971
↓ 1 callers
Method
OutdatePaths
(id string)
pkg/funclet/file/path_manager.go:30
↓ 1 callers
Method
OutdatePaths
(id string)
pkg/funclet/file/container_path.go:95
↓ 1 callers
Function
ParseFunction
(brn string)
pkg/brn/function.go:72
↓ 1 callers
Function
ParseMountTable
()
pkg/util/mount/mountinfo_unsupported.go:27
↓ 1 callers
Method
ParseMounted
(paths map[pathType]string)
pkg/funclet/file/mount_linux.go:111
↓ 1 callers
Method
Path
Path returns the path to the loopback device
pkg/funclet/device/loop/loop_unsupported.go:24
↓ 1 callers
Method
Pause
(ID string)
pkg/funclet/runtime/runc/runc.go:44
↓ 1 callers
Function
PrepareConfigDir
(containerID string, path string)
pkg/funclet/runner/helper.go:27
↓ 1 callers
Method
PrepareRun
PrepareRun does post API installation setup steps.
pkg/server/genericserver.go:71
↓ 1 callers
Method
PrepareXfs
(path string)
pkg/funclet/storage/storage.go:29
↓ 1 callers
Function
PrintPretty
PrintPretty xxx
pkg/version/version.go:53
↓ 1 callers
Function
PrintStruct
PrintStruct xxx
pkg/version/version.go:64
↓ 1 callers
Method
Read
(p []byte)
pkg/controller/rtctrl/logstore_test.go:199
↓ 1 callers
Method
ReadContainerIDs
()
pkg/api/funclet.go:224
↓ 1 callers
Method
ReadFromRequest
(r *http.Request)
pkg/rest/criteria.go:27
← previous
next →
601–700 of 1,662, ranked by callers