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
↓ 4 callers
Method
fchownSync
(fd, uid, gid)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3360
↓ 4 callers
Method
fchownSync
(fd, uid, gid)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2278
↓ 4 callers
Method
fstatPromise
(fd, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3048
↓ 4 callers
Method
fstatPromise
(fd, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1966
↓ 4 callers
Method
ftruncatePromise
(fd, len)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3692
↓ 4 callers
Method
ftruncatePromise
(fd, len)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2610
↓ 4 callers
Method
ftruncateSync
(fd, len)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3695
↓ 4 callers
Method
ftruncateSync
(fd, len)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2613
↓ 4 callers
Function
getErrorDetails
(err)
cmd/nodejs/legacy_worker/converter/worker/worker.js:340
↓ 4 callers
Method
getProjectDir
()
builders/testdata/php/appengine/symfony/src/Kernel.php:41
↓ 4 callers
Function
isDependencyTreeRoot
(packageLocator)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11069
↓ 4 callers
Function
isDependencyTreeRoot
(packageLocator)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9679
↓ 4 callers
Function
keepHead
(message string)
pkg/gcpbuildpack/builderoutput.go:138
↓ 4 callers
Function
latestPackageVersion
latestPackageVersion returns latest available version of an NPM package.
pkg/nodejs/registry.go:57
↓ 4 callers
Function
lengthBytesUTF8
(str)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5681
↓ 4 callers
Function
lengthBytesUTF8
(str)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4585
↓ 4 callers
Method
linkPromise
(existingP, newP)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3579
↓ 4 callers
Method
linkPromise
(existingP, newP)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2497
↓ 4 callers
Function
logAndSendError
(err, res, callback)
cmd/nodejs/legacy_worker/converter/worker/worker.js:555
↓ 4 callers
Function
logToSupervisor
(severity)
cmd/nodejs/legacy_worker/converter/worker/worker.js:151
↓ 4 callers
Function
loop
* @param {object} exports * @param {Set<string>} keys
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10118
↓ 4 callers
Function
loop
* @param {object} exports * @param {Set<string>} keys
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9013
↓ 4 callers
Function
maybeLog
(name, fn)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11029
↓ 4 callers
Function
maybeLog
(name, fn)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9639
↓ 4 callers
Function
outFiles
(t *testing.T, builder, dir, logName string)
internal/acceptance/acceptance.go:1380
↓ 4 callers
Function
ptr
(s string)
pkg/dart/flutter_test.go:312
↓ 4 callers
Method
readlinkPromise
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3649
↓ 4 callers
Method
readlinkPromise
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2567
↓ 4 callers
Method
removePromise
(p, { recursive = true, maxRetries = 5 } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1729
↓ 4 callers
Method
removePromise
(p, { recursive = true, maxRetries = 5 } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:651
↓ 4 callers
Method
removeSync
(p, { recursive = true } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1763
↓ 4 callers
Method
removeSync
(p, { recursive = true } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:685
↓ 4 callers
Method
renamePromise
(oldP, newP)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3369
↓ 4 callers
Method
renamePromise
(oldP, newP)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2287
↓ 4 callers
Method
rmdirPromise
(p, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3550
↓ 4 callers
Method
rmdirPromise
(p, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2468
↓ 4 callers
Function
runCommand
(pkgTool, command string)
pkg/nodejs/npm.go:241
↓ 4 callers
Function
setUpDetectEnvironment
setUpDetectEnvironment sets up an environment for testing buildpack detect functionality.
pkg/gcpbuildpack/gcpbuildpack_test.go:704
↓ 4 callers
Function
startNewLogBatch
()
cmd/nodejs/legacy_worker/converter/worker/worker.js:179
↓ 4 callers
Method
stat
(opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5066
↓ 4 callers
Method
stat
(opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:3970
↓ 4 callers
Method
statImpl
(reason, p, opts = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3081
↓ 4 callers
Method
statImpl
(reason, p, opts = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1999
↓ 4 callers
Function
stringToUTF8Array
(str, heap, outIdx, maxBytesToWrite)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5640
↓ 4 callers
Function
stringToUTF8Array
(str, heap, outIdx, maxBytesToWrite)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4544
↓ 4 callers
Method
truncatePromise
(p, len = 0)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3672
↓ 4 callers
Method
truncatePromise
(p, len = 0)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2590
↓ 4 callers
Method
watch
(p, a, b)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3698
↓ 4 callers
Method
watch
(p, a, b)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2616
↓ 4 callers
Function
writeToStream
(out, severity)
cmd/nodejs/legacy_worker/converter/worker/worker.js:119
↓ 3 callers
Function
AdaptEntrypoint
AdaptEntrypoint rewrites the entrypoint command if the capability is present.
pkg/python/python.go:606
↓ 3 callers
Function
AddFileWatcherProcess
AddFileWatcherProcess installs and configures a file watcher as the entrypoint.
pkg/devmode/devmode.go:76
↓ 3 callers
Function
ApisEnabled
ApisEnabled returns true if the application has AppEngine API support enabled in app.yaml
pkg/appengine/appengine.go:95
↓ 3 callers
Function
AsDefaultProcess
AsDefaultProcess marks the process as the default one for when launcher is invoked without arguments.
pkg/gcpbuildpack/gcpbuildpack.go:458
↓ 3 callers
Function
AsDirectProcess
AsDirectProcess causes the process to be executed directly, i.e. without a shell.
pkg/gcpbuildpack/gcpbuildpack.go:451
↓ 3 callers
Function
BuildFn
BuildFn clears the workspace while leaving exclusion patterns untouched. exclusions is a list of pattern strings relative to the user application dire
pkg/clearsource/clearsource.go:61
↓ 3 callers
Function
ComposerInstall
ComposerInstall runs `composer install`, using the cache iff a lock file is present. It creates a layer, so it returns the layer so that the caller ma
pkg/php/php.go:162
↓ 3 callers
Method
Debug
Debug returns whether debug mode is enabled.
pkg/gcpbuildpack/gcpbuildpack.go:255
↓ 3 callers
Function
DetectFn
DetectFn detemines if clear source buildpacks should opt out. In case the buildpack shouldn't opt out, the function does not make a determination and
pkg/clearsource/clearsource.go:39
↓ 3 callers
Function
DetectVersion
DetectVersion detects ruby version from the environment, Gemfile.lock, gems.locked, or falls back to a default version.
pkg/ruby/ruby.go:38
↓ 3 callers
Function
EBUSY
(message)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1605
↓ 3 callers
Function
EBUSY
(message)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:527
↓ 3 callers
Function
EEXIST
(reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1626
↓ 3 callers
Function
EEXIST
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:548
↓ 3 callers
Function
ENOSYS
(message, reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1608
↓ 3 callers
Function
ENOSYS
(message, reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:530
↓ 3 callers
Function
EnsureUnixLineEndings
EnsureUnixLineEndings replaces windows style CRLF line endings with unix LF line endings. This is necessary for executable scripts with shebang as the
pkg/fileutil/fileutil.go:144
↓ 3 callers
Function
Entrypoint
Entrypoint returns the entrypoint command based on the package manager and capabilities.
pkg/nodejs/nodejs.go:543
↓ 3 callers
Function
EntrypointCmd
EntrypointCmd constructs direct relative execution string for .dll targets.
pkg/dotnet/dotnet.go:350
↓ 3 callers
Function
ExtractVersion
ExtractVersion extracts the php version from the environment, composer.json.
pkg/php/php.go:273
↓ 3 callers
Function
FromJSON
FromJSON parses json bytes to a BuilderOutput.
pkg/builderoutput/builderoutput.go:28
↓ 3 callers
Function
GeneratePythonConfig
GeneratePythonConfig generates a netrc file in the user's HOME directory with the credentials necessary for PIP to make authenticated requests to Arti
pkg/ar/ar.go:133
↓ 3 callers
Function
GetPubspec
GetPubspec unmarshals the pubspec.yaml file into a Pubspec struct.
pkg/dart/flutter.go:179
↓ 3 callers
Function
GetRuntimeVersion
GetRuntimeVersion returns the value in GOOGLE_ASP_NET_CORE_VERSION, and if not set, returns Microsoft.AspNetCore.App version in the runtimeconfig.json
pkg/dotnet/dotnet.go:577
↓ 3 callers
Function
GetTarballProject
GetTarballProject returns the Artifact Registry project for the TPC tarball.
pkg/tpc/tpc.go:17
↓ 3 callers
Method
GetValue
GetValue returns the Metadata value with MetadataID id, or creates it if it doesn't exist.
pkg/buildermetadata/buildermetadata.go:78
↓ 3 callers
Function
GoVersion
GoVersion reads the version of the installed Go runtime.
pkg/golang/golang.go:259
↓ 3 callers
Function
HasApphostingPackageOrYamlBuild
HasApphostingPackageOrYamlBuild returns true if the given package.json file includes a "apphosting:build" script or if apphosting.yaml contains a buil
pkg/nodejs/nodejs.go:276
↓ 3 callers
Method
HasAtLeastOneFiltered
HasAtLeastOneFiltered is a pass through for filepath.Glob(...) it returns true if there is at least one file which matches the search pattern and is i
pkg/gcpbuildpack/filepath.go:57
↓ 3 callers
Function
HasGCPBuild
HasGCPBuild returns true if the given package.json file includes a "gcp-build" script.
pkg/nodejs/nodejs.go:271
↓ 3 callers
Function
InferEntrypoint
InferEntrypoint is used to generate an entrypoint if it is missing in app.yaml
pkg/ruby/entrypoint.go:31
↓ 3 callers
Function
InstallPNPM
InstallPNPM installs pnpm in the given layer if it is not already cached.
pkg/nodejs/pnpm.go:45
↓ 3 callers
Function
Installed
Installed checks that all required tools are on PATH.
internal/checktools/checktools.go:37
↓ 3 callers
Function
IsCached
IsCached returns true if the requested version of a runtime is installed in the given layer.
pkg/runtime/install.go:241
↓ 3 callers
Function
IsGo111Runtime
IsGo111Runtime returns true when the GOOGLE_RUNTIME is go111. This will be true when using GCF or GAE with go 1.11.
pkg/golang/golang.go:405
↓ 3 callers
Function
IsNodeJS8Runtime
IsNodeJS8Runtime returns true when the GOOGLE_RUNTIME is nodejs8. This will be true when using GCF or GAE with nodejs8. This function is useful for so
pkg/nodejs/nodejs.go:437
↓ 3 callers
Function
IsPackageManagerConfigured
IsPackageManagerConfigured checks if the environment is configured to use the specified package manager.
pkg/nodejs/nodejs.go:591
↓ 3 callers
Function
IsPipPyproject
IsPipPyproject checks if the application is a pip pyproject.
pkg/python/pyproject.go:546
↓ 3 callers
Function
IsPoetryProject
IsPoetryProject checks if the application is a Poetry project.
pkg/python/pyproject.go:63
↓ 3 callers
Function
IsReleaseCandidate
IsReleaseCandidate returns true if given string is a RC candidate version. When launching a new runtime, we need to test with RC candidate which will
pkg/version/version.go:139
↓ 3 callers
Function
IsUsingVendoredDependencies
IsUsingVendoredDependencies returns true if the builder should be using the vendored dependencies.
pkg/nodejs/npm.go:236
↓ 3 callers
Function
IsYarn2
IsYarn2 detects whether the given lockfile was generated with Yarn 2.
pkg/nodejs/yarn.go:115
↓ 3 callers
Method
JSON
JSON encodes a BuilderOutput as json
pkg/builderoutput/builderoutput.go:37
↓ 3 callers
Function
MainFromManifest
MainFromManifest returns the main class specified in the manifest at the input path.
pkg/java/java.go:142
↓ 3 callers
Function
MergeEnvVars
MergeEnvVars merges the environment variables from the original list with the override list. If there is a conflict between the environment variables,
pkg/firebase/apphostingschema/apphostingschema.go:347
↓ 3 callers
Function
MockData
MockData mocks the tooling versions json file for testing.
pkg/tooling/mock.go:27
↓ 3 callers
Function
ObjectPrototypeHasOwnProperty
(obj, prop)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10229
↓ 3 callers
Function
ObjectPrototypeHasOwnProperty
(obj, prop)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9124
↓ 3 callers
Function
PackVersion
PackVersion checks that the installed pack has the correct version.
internal/checktools/checktools.go:58
↓ 3 callers
Function
RequestedNodejsVersion
RequestedNodejsVersion returns any customer provided Node.js version constraint by inspecting the environment and the package.json.
pkg/nodejs/nodejs.go:311
← previous
next →
401–500 of 3,416, ranked by callers