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
resolvePackageTarget
(packageJSONUrl, target, subpath, packageSubpath, base, pattern, internal, conditions)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9390
↓ 2 callers
Function
resolveRequest
(request, issuer, opts2 = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11580
↓ 2 callers
Function
resolveRequest
(request, issuer, opts2 = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:10184
↓ 2 callers
Function
resolveToUnqualified
(request, issuer, { considerBuiltins = true } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11279
↓ 2 callers
Function
resolveToUnqualified
(request, issuer, { considerBuiltins = true } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9884
↓ 2 callers
Function
resolveVersionFromList
resolveVersionFromList returns the newest available version from a list of versions that satisfies the provided version constraint.
pkg/runtime/install.go:554
↓ 2 callers
Function
run
(args)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9502
↓ 2 callers
Function
run
(args)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8406
↓ 2 callers
Function
runBuildpackPhaseForTest
runBuildpackPhaseForTest runs a buildpack phase as a separate child process. A child process is used to avoid the test suite itself being terminated b
internal/buildpacktest/buildpacktest.go:240
↓ 2 callers
Function
runCombinedOutput
(args ...string)
internal/acceptance/acceptance.go:576
↓ 2 callers
Function
runtimeImageURL
(hostname, registry, osName string, runtime InstallableRuntime, version string)
pkg/runtime/install.go:402
↓ 2 callers
Function
runtimeImageURLZstd
(hostname, registry, osName string, runtime InstallableRuntime, version string)
pkg/runtime/install.go:406
↓ 2 callers
Function
runtimeMatchesInstallableRuntime
runtimeMatchesInstallableRuntime returns true if the GOOGLE_RUNTIME should match the installable runtime. This is because PHP might install python and
pkg/runtime/install.go:682
↓ 2 callers
Method
saveErrorOutput
saveErrorOutput saves to the builder output file, if appropriate.
pkg/gcpbuildpack/builderoutput.go:71
↓ 2 callers
Method
saveSuccessOutput
saveSuccessOutput saves information from the context into BUILDER_OUTPUT.
pkg/gcpbuildpack/builderoutput.go:149
↓ 2 callers
Function
sendRequest
(url string, header http.Header)
pkg/nodejs/registry.go:135
↓ 2 callers
Function
sendRequestWithTimeout
sendRequestWithTimeout makes an http call to a given host:port/path with the specified timeout or send a cloud event payload with timeout to host:port
internal/acceptance/acceptance.go:454
↓ 2 callers
Function
setMetadata
detect if the app uses AI (Genkit or GenAI API) and the corresponding version, and set metadata accordingly
cmd/firebase/bundle/lib/lib.go:233
↓ 2 callers
Function
setMetadata
detect if the app uses AI (Genkit or GenAI API) and the corresponding version, and set metadata accordingly
cmd/nodejs/firebasebundle/lib/lib.go:250
↓ 2 callers
Function
setOSArgs
(t *testing.T, args []string)
pkg/gcpbuildpack/gcpbuildpack_test.go:722
↓ 2 callers
Function
setRuntimeEnvVars
(ctx *gcp.Context, rtl *libcnb.Layer)
cmd/dotnet/runtime/lib/lib.go:105
↓ 2 callers
Function
setSDKEnvVars
(ctx *gcp.Context, sdkl *libcnb.Layer, isDevMode bool)
cmd/dotnet/sdk/lib/lib.go:91
↓ 2 callers
Function
setupSource
setupSource runs the given setup function to set up the source directory before a test.
internal/acceptance/acceptance.go:913
↓ 2 callers
Function
setupTestLayer
(t *testing.T, ctx *gcp.Context)
pkg/java/java_test.go:259
↓ 2 callers
Function
setupTestManifest
(t *testing.T, mfContent []byte)
pkg/java/java_test.go:274
↓ 2 callers
Function
shouldApplyRuntimeVersion
(environment map[string]string)
internal/acceptance/environment.go:54
↓ 2 callers
Function
springBootPluginDefined
springBootPluginDefined checks if the spring-boot-maven-plugin is defined.
cmd/java/native_image/lib/lib.go:217
↓ 2 callers
Function
stackToVersion
stackToVersion returns the default feature version for the given stack.
cmd/java/runtime/lib/lib.go:132
↓ 2 callers
Method
stat
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2509
↓ 2 callers
Method
stat
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1431
↓ 2 callers
Function
stringToUTF8
(str, outPtr, maxBytesToWrite)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5678
↓ 2 callers
Function
stringToUTF8
(str, outPtr, maxBytesToWrite)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4582
↓ 2 callers
Function
stubNPMRegistry
(t *testing.T, responseData string, httpStatus int)
pkg/nodejs/registry_test.go:257
↓ 2 callers
Function
tarDestination
tarDestination returns the filepath that a tar entry should be written to when extracted.
pkg/fetch/fetch.go:297
↓ 2 callers
Method
throwIfClosed
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1656
↓ 2 callers
Method
throwIfClosed
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:578
↓ 2 callers
Function
toPortablePath
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1423
↓ 2 callers
Function
toPortablePath
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:345
↓ 2 callers
Function
trace
(entry)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11003
↓ 2 callers
Function
trace
(entry)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9613
↓ 2 callers
Function
triggerLogReporting
()
cmd/nodejs/legacy_worker/converter/worker/worker.js:188
↓ 2 callers
Function
trim
(arr)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:6025
↓ 2 callers
Function
trim
(arr)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4929
↓ 2 callers
Function
tryParseAsDataURI
(filename)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9406
↓ 2 callers
Function
tryParseAsDataURI
(filename)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8310
↓ 2 callers
Method
unref
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2552
↓ 2 callers
Method
unref
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1474
↓ 2 callers
Method
unregisterChangeListener
(listener)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2532
↓ 2 callers
Method
unregisterChangeListener
(listener)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1454
↓ 2 callers
Function
untar
untar extracts a tarball from a reader and writes it to the given directory.
pkg/fetch/fetch.go:191
↓ 2 callers
Function
updateGlobalBufferAndViews
(buf)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5715
↓ 2 callers
Function
updateGlobalBufferAndViews
(buf)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4619
↓ 2 callers
Method
utimesImpl
(resolvedP, mtime)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3522
↓ 2 callers
Method
utimesImpl
(resolvedP, mtime)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2440
↓ 2 callers
Function
validateAppEngineAPIs
(ctx *gcp.Context)
cmd/go/appengine/lib/lib.go:45
↓ 2 callers
Function
validateDescriptor
validateDescriptor is used to validate the descriptors in the descriptors table.
pkg/buildermetrics/descriptor_test.go:203
↓ 2 callers
Function
volumeNames
(image string)
internal/acceptance/acceptance.go:1431
↓ 2 callers
Function
watchEntrypointFile
watchEntrypointFile returns the entrypoint file to be used with node --watch. The entrypoint file is determined in the following order of preference:
pkg/nodejs/npm.go:56
↓ 2 callers
Function
watchFile
(fakeFs, path, a, b)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2560
↓ 2 callers
Function
watchFile
(fakeFs, path, a, b)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1482
↓ 2 callers
Function
writeBuildAndRunScript
writeBuildAndRunScript writes the contents of a file that builds code and then runs the resulting program
pkg/devmode/devmode.go:89
↓ 2 callers
Function
writeFakePythonScript
writeFakePythonScript is a helper to create fake python3 executable
pkg/python/python_test.go:482
↓ 2 callers
Function
writeFile
(path, root string, content []byte, envs []string, t *testing.T)
pkg/appyaml/appyaml_test.go:135
↓ 2 callers
Method
writeFile
(data, options)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5085
↓ 2 callers
Method
writeFile
(data, options)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:3989
↓ 2 callers
Function
writeFpmConfig
(ctx *gcp.Context, path string, overrides webconfig.OverrideProperties)
cmd/php/webconfig/lib/lib.go:186
↓ 2 callers
Function
writeTemplateConfigToPath
(path string, template *template.Template, config any)
cmd/php/supervisor/lib/lib.go:151
↓ 1 callers
Method
AccessSecretVersion
(ctx context.Context, req *smpb.AccessSecretVersionRequest, opts ...gax.CallOption)
pkg/firebase/secrets/secrets.go:37
↓ 1 callers
Function
Build
Build serves as a common builder for Cloud Functions buildpacks.
pkg/cloudfunctions/cloudfunctions.go:63
↓ 1 callers
Function
CheckIncompatibleDependencies
CheckIncompatibleDependencies checks for incompatible dependencies using pip check.
pkg/python/python.go:308
↓ 1 callers
Method
Configure
(ctx *gcp.Context)
pkg/php/php.go:340
↓ 1 callers
Function
DetectFn
DetectFn is the exported detect function.
cmd/utils/devsync/lib/lib.go:36
↓ 1 callers
Function
ENOTEMPTY
(reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1632
↓ 1 callers
Function
ENOTEMPTY
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:554
↓ 1 callers
Function
EOPNOTSUPP
(reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1635
↓ 1 callers
Function
EOPNOTSUPP
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:557
↓ 1 callers
Function
ERR_DIR_CLOSED
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1638
↓ 1 callers
Function
ERR_DIR_CLOSED
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:560
↓ 1 callers
Function
ERR_REQUIRE_ESM
(filename, parentPath = null)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9790
↓ 1 callers
Function
ERR_REQUIRE_ESM
(filename, parentPath = null)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8691
↓ 1 callers
Function
EnsureLockfile
EnsureLockfile returns the name of the lockfile, generating a package-lock.json if necessary.
pkg/nodejs/npm.go:102
↓ 1 callers
Function
EnsurePoetryLockfile
EnsurePoetryLockfile checks for poetry.lock and generates it if it doesn't exist.
pkg/python/pyproject.go:191
↓ 1 callers
Function
EnsureUVLockfile
EnsureUVLockfile checks for uv.lock and generates it if it doesn't exist.
pkg/python/pyproject.go:316
↓ 1 callers
Method
Error
()
pkg/buildererror/error_test.go:38
↓ 1 callers
Function
FindProjectFile
FindProjectFile finds the csproj file using the 'GOOGLE_BUILDABLE' env var and falling back with a search of the current directory.
pkg/dotnet/dotnet.go:552
↓ 1 callers
Method
ForEachFloatDP
ForEachFloatDP executes a function for each initialized FloatDP
pkg/buildermetrics/buildermetrics.go:66
↓ 1 callers
Method
GetSecretVersion
(ctx context.Context, req *smpb.GetSecretVersionRequest, opts ...gax.CallOption)
pkg/firebase/secrets/secrets.go:36
↓ 1 callers
Function
GradleCmd
GradleCmd returns the command that should be used to invoke gradle for this build.
pkg/java/java.go:207
↓ 1 callers
Method
HTTPStatus
HTTPStatus returns the status code for a url.
pkg/gcpbuildpack/gcpbuildpack.go:498
↓ 1 callers
Function
HasYarnWorkspacePlugin
HasYarnWorkspacePlugin returns true if this project has Yarn2's workspaces plugin installed.
pkg/nodejs/yarn.go:136
↓ 1 callers
Function
ImproperSecretFormatError
ImproperSecretFormatError creates a FahError with metadata about an improperly formatted secret in the user's apphosting.yaml that caused the build to
pkg/firebase/faherror/faherror.go:127
↓ 1 callers
Method
Install
(ctx *gcp.Context, l *libcnb.Layer, version string)
pkg/php/php.go:323
↓ 1 callers
Function
InstallBun
InstallBun installs Bun in the given layer using the curl installer.
pkg/nodejs/bun.go:31
↓ 1 callers
Method
InstallBun
(ctx *gcp.Context, bunLayer *libcnb.Layer, pjs *PackageJSON)
pkg/nodejs/bun.go:18
↓ 1 callers
Method
InstallModules
(ctx *gcpbuildpack.Context, pjs *nodejs.PackageJSON)
pkg/nodejs/example_test.go:44
↓ 1 callers
Method
InstallModules
(ctx *gcp.Context, pjs *nodejs.PackageJSON)
cmd/nodejs/yarn/lib/lib.go:41
↓ 1 callers
Method
InstallPNPM
(ctx *gcp.Context, pnpmLayer *libcnb.Layer, pjs *PackageJSON)
pkg/nodejs/pnpm.go:22
↓ 1 callers
Function
InstallPoetry
InstallPoetry installs the poetry CLI using uv to speed up the installation.
pkg/python/pyproject.go:104
↓ 1 callers
Function
InstallSupervisor
InstallSupervisor installs supervisor package to the layer.
pkg/flex/supervisor.go:108
↓ 1 callers
Method
InstallTarballIfNotCached
(ctx *gcp.Context, runtime InstallableRuntime, versionConstraint string, layer *libcnb.Layer)
pkg/runtime/install.go:46
← previous
next →
901–1,000 of 3,416, ranked by callers