Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/buildpacks
/ functions
Functions
3,416 in github.com/GoogleCloudPlatform/buildpacks
⨍
Functions
3,416
◇
Types & classes
435
↳
Endpoints
60
↓ 2 callers
Function
getMajorMinorVersion
(version string)
builders/ruby/acceptance/gae_test.go:29
↓ 2 callers
Function
getMaxOldSpaceSize
getMaxOldSpaceSize returns the memory size specified by (GOOGLE_CONTAINER_MEMORY_HINT_MB - nodeJSHeadroomMB), or 0 if env var is not specified.
cmd/nodejs/functions_framework/lib/lib.go:283
↓ 2 callers
Function
getPackageInformation
({ name, reference })
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11194
↓ 2 callers
Function
getPackageInformation
({ name, reference })
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9799
↓ 2 callers
Function
getToolPath
(ctx *gcp.Context, vcpkgExePath string, tool string)
cmd/cpp/functions_framework/lib/lib.go:209
↓ 2 callers
Method
getUnixMode
(index, defaultMode)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3129
↓ 2 callers
Method
getUnixMode
(index, defaultMode)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2047
↓ 2 callers
Function
goModPath
(ctx *gcp.Context)
pkg/golang/golang.go:371
↓ 2 callers
Function
handleError
(err error)
cmd/firebase/preparer/main.go:126
↓ 2 callers
Function
hasRuntimePreinstalled
hasRuntimePreinstalled returns whether or not the image is the "generic" run image that does not contain the language runtime built in. For containers
internal/acceptance/acceptance.go:1003
↓ 2 callers
Function
hostPort
hostPort returns the host port assigned to the exposed container port.
internal/acceptance/acceptance.go:1364
↓ 2 callers
Method
hydrateDirectory
(resolvedP)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3571
↓ 2 callers
Method
hydrateDirectory
(resolvedP)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2489
↓ 2 callers
Function
install
(ctx *gcp.Context, name, verConstraint string, ir runtime.InstallableRuntime)
cmd/utils/nginx/lib/lib.go:83
↓ 2 callers
Function
installDependenciesToTarget
(ctx *gcp.Context, l *libcnb.Layer, reqs []string, installerName string, targetPlatform string, cmdBuilder fun
pkg/python/python.go:706
↓ 2 callers
Function
intArrayFromString
(stringy, dontAddNull, length)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9378
↓ 2 callers
Function
intArrayFromString
(stringy, dontAddNull, length)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8282
↓ 2 callers
Function
isAdkPresent
(ctx *gcp.Context)
cmd/python/missing_entrypoint/lib/lib.go:224
↓ 2 callers
Method
isBlockDevice
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1204
↓ 2 callers
Method
isBlockDevice
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:127
↓ 2 callers
Method
isCharacterDevice
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1207
↓ 2 callers
Method
isCharacterDevice
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:130
↓ 2 callers
Function
isDataURI
(filename)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5801
↓ 2 callers
Function
isDataURI
(filename)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4705
↓ 2 callers
Function
isPackageManagerEmpty
()
pkg/python/python.go:500
↓ 2 callers
Function
isPreNode11
isPreNode11 returns true if the installed version of Node.js is v10.x.x or older.
pkg/nodejs/nodejs.go:365
↓ 2 callers
Function
isPreReleaseVersion
isPreReleaseVersion returns true if the runtime version is a pre-release version.
internal/acceptance/acceptance.go:1485
↓ 2 callers
Method
isSocket
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1219
↓ 2 callers
Method
isSocket
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:142
↓ 2 callers
Function
isSupportedUnstableGoVersion
When launching a new runtime, we need to test with RC candidate which will eventually be replaced by a stable candidate. Till then, we will support th
pkg/golang/golang.go:472
↓ 2 callers
Function
isUVDefaultPackageManagerForRequirements
(ctx *gcp.Context)
pkg/python/python.go:504
↓ 2 callers
Function
isValidTarDestination
isValidTarDestination protects against a path traversal vulnerability by ensuring the final path is within the target directory.
pkg/fetch/fetch.go:324
↓ 2 callers
Function
isZstdSupportedRuntime
isZstdSupportedRuntime checks if the given runtime environment string supports Zstd extraction.
pkg/runtime/install.go:778
↓ 2 callers
Function
jarContent
(t *testing.T, mfContent []byte)
pkg/java/java_test.go:408
↓ 2 callers
Method
limitOpenFiles
(max)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:4837
↓ 2 callers
Method
limitOpenFiles
(max)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:3755
↓ 2 callers
Function
loadApiInstance
(pnpApiPath)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11675
↓ 2 callers
Function
loadApiInstance
(pnpApiPath)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:10279
↓ 2 callers
Function
loadUserCode
()
cmd/nodejs/legacy_worker/converter/worker/worker.js:466
↓ 2 callers
Method
lutimesSync
(p, atime, mtime)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3516
↓ 2 callers
Method
lutimesSync
(p, atime, mtime)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2434
↓ 2 callers
Function
mainPath
mainPath chooses the main package path from the paths provided by _main-package-path or GAE_YAML_MAIN.
cmd/go/appengine_gomod/lib/lib.go:104
↓ 2 callers
Function
mainPath
mainPath chooses the main package path from the paths provided by the stager file.
cmd/go/flex_gomod/lib/lib.go:90
↓ 2 callers
Function
makeApi
(runtimeState, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10964
↓ 2 callers
Function
makeApi
(runtimeState, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9574
↓ 2 callers
Function
makeDefaultStats
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1273
↓ 2 callers
Function
makeDefaultStats
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:196
↓ 2 callers
Function
makeEmptyArchive
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1558
↓ 2 callers
Function
makeLogEntry
(name, args)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10995
↓ 2 callers
Function
makeLogEntry
(name, args)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9605
↓ 2 callers
Method
makeVirtualPath
(base, component, to)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:4004
↓ 2 callers
Method
makeVirtualPath
(base, component, to)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2922
↓ 2 callers
Method
mapToBase
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:4057
↓ 2 callers
Method
mapToBase
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2975
↓ 2 callers
Function
mergeRequirementsFiles
mergeRequirementsFiles reads all files in reqs and appends their contents to dest file.
pkg/python/python.go:736
↓ 2 callers
Method
mkdirpSync
(p, { chmod, utimes } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1814
↓ 2 callers
Method
mkdirpSync
(p, { chmod, utimes } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:736
↓ 2 callers
Function
mockTarballBytes
(t *testing.T)
pkg/nodejs/pnpm_test.go:308
↓ 2 callers
Function
moduleAndPackageNames
moduleAndPackageNames extracts the module name and package name of the function.
cmd/go/functions_framework/lib/lib.go:294
↓ 2 callers
Function
moveOrCopyPath
moveOrCopyPath recursively copies or moves files and directories: from srcPath to destPath.
pkg/fileutil/fileutil.go:51
↓ 2 callers
Function
nginxConfig
(layer string, overrides webconfig.OverrideProperties)
cmd/php/supervisor/lib/lib.go:173
↓ 2 callers
Function
normalizeJDKVersion
(v string)
pkg/runtime/install.go:534
↓ 2 callers
Function
normalizeLineEndings
(originalContent, newContent)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2074
↓ 2 callers
Function
normalizeLineEndings
(originalContent, newContent)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:996
↓ 2 callers
Function
outputContainerLogs
(t *testing.T, containerID string)
internal/acceptance/acceptance.go:1322
↓ 2 callers
Function
parseArgv
(argv)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10913
↓ 2 callers
Function
parseExecPrefix
(sysconfig string)
pkg/python/python.go:567
↓ 2 callers
Function
parseVersionJSON
parseVersionJSON parses a JSON array of version information
cmd/java/runtime/lib/lib.go:141
↓ 2 callers
Function
pathsToRemove
pathsToRemove returns a list of entries in dir, filtering entries that match any in exclusions. exclusions should be a partial path relative to dir.
pkg/clearsource/clearsource.go:83
↓ 2 callers
Function
pollEndpoint
pollEndpoint polls the endpoint until the response body contains the expected string or times out.
internal/acceptance/acceptance.go:1613
↓ 2 callers
Function
pomFilePath
(ctx *gcp.Context)
cmd/java/maven/lib/lib.go:268
↓ 2 callers
Function
postToSupervisor
(path, postData, timeoutMs, callback)
cmd/nodejs/legacy_worker/converter/worker/worker.js:248
↓ 2 callers
Method
prepareCopyFile
(sourceP, destP, flags = 0)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3391
↓ 2 callers
Method
prepareCopyFile
(sourceP, destP, flags = 0)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2309
↓ 2 callers
Method
prepareReadlink
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3657
↓ 2 callers
Method
prepareReadlink
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2575
↓ 2 callers
Method
prepareWriteFile
(p, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3465
↓ 2 callers
Method
prepareWriteFile
(p, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2383
↓ 2 callers
Function
processData
(byteArray)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:8629
↓ 2 callers
Function
processData
(byteArray)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:7533
↓ 2 callers
Function
processResolution
(request, issuer)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11861
↓ 2 callers
Function
processResolution
(request, issuer)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:10465
↓ 2 callers
Function
provisionImageWithMatchingStackID
provisionImageWithMatchingStackId returns an image with the contents of 'fromImage' and a stack ID of 'stackID'. The second return value is a cleanUp
internal/acceptance/acceptance.go:790
↓ 2 callers
Function
randString
randString generates a random string of length n.
internal/acceptance/acceptance.go:550
↓ 2 callers
Function
readAppHostingYaml
(ctx *gcp.Context, appHostingPath string)
cmd/firebase/bundle/lib/lib.go:184
↓ 2 callers
Function
readAppHostingYaml
(ctx *gcp.Context, appHostingPath string)
cmd/nodejs/firebasebundle/lib/lib.go:184
↓ 2 callers
Method
readFileBuffer
(p, opts = { asyncDecompress: false })
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3615
↓ 2 callers
Method
readFileBuffer
(p, opts = { asyncDecompress: false })
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2533
↓ 2 callers
Function
readLineAfter
(path string, token string)
pkg/ruby/gemfile.go:69
↓ 2 callers
Function
readProjectFile
readProjectFile returns a .NET Project object.
pkg/dotnet/dotnet.go:428
↓ 2 callers
Function
readWebProcessPid
readWebProcessPid retrieves the active PID of the supervised web application.
internal/acceptance/acceptance.go:1585
↓ 2 callers
Method
remapFd
(zipFs, fd)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:4148
↓ 2 callers
Method
remapFd
(zipFs, fd)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:3066
↓ 2 callers
Function
reportError
(code, message, data)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11853
↓ 2 callers
Function
reportError
(code, message, data)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:10457
↓ 2 callers
Function
reportRequiredFilesToWatchMode
(files)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9798
↓ 2 callers
Method
resolve
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:4145
↓ 2 callers
Method
resolve
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:3063
↓ 2 callers
Function
resolveCacheCopier
(ctx *gcp.Context)
pkg/nodejs/npm.go:299
↓ 2 callers
Function
resolvePackageTarget
(packageJSONUrl, target, subpath, packageSubpath, base, pattern, internal, conditions)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10495
← previous
next →
801–900 of 3,416, ranked by callers