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
↓ 8 callers
Method
start
(Future<Void> startFuture)
builders/testdata/java/appengine/vertx-helloworld/src/main/java/hello/Application.java:29
↓ 8 callers
Method
symlinkSync
(target, p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3588
↓ 8 callers
Method
symlinkSync
(target, p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2506
↓ 7 callers
Function
EINVAL
(reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1611
↓ 7 callers
Function
EINVAL
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:533
↓ 7 callers
Method
Exit
Exit causes the buildpack to exit with the given exit code and message.
pkg/gcpbuildpack/gcpbuildpack.go:375
↓ 7 callers
Function
GetEnvVar
GetEnvVar returns the environment variable with the provided key, and whether it was found in the provided AppHostingSchema.
pkg/firebase/apphostingschema/apphostingschema.go:386
↓ 7 callers
Method
GetFloatDP
GetFloatDP returns the FloatDP with MetricID m, or creates it
pkg/buildermetrics/buildermetrics.go:58
↓ 7 callers
Function
NodeEnv
NodeEnv returns the value of NODE_ENV or `production`.
pkg/nodejs/nodejs.go:378
↓ 7 callers
Function
OptIn
OptIn is used during the detect phase to opt in to the build process.
pkg/gcpbuildpack/detect.go:54
↓ 7 callers
Function
OptOutTargetPlatformNotGAE
OptOutTargetPlatformNotGAE returns a DetectResult for when a buildpack is opting out because the value for 'X_GOOGLE_TARGET_PLATFORM' is not 'gae'. Th
pkg/appengine/appengine.go:115
↓ 7 callers
Method
Processes
Processes returns the list of processes added by buildpacks.
pkg/gcpbuildpack/gcpbuildpack.go:260
↓ 7 callers
Method
ReadDir
ReadDir is a pass through for ioutil.ReadDir(...) and returns any error with proper user / system attribution
pkg/gcpbuildpack/ioutil.go:57
↓ 7 callers
Function
RuntimeVersion
RuntimeVersion returns the runtime version for the go app.
pkg/golang/golang.go:410
↓ 7 callers
Function
StringPrototypeStartsWith
(str, ...rest)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10238
↓ 7 callers
Function
StringPrototypeStartsWith
(str, ...rest)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9133
↓ 7 callers
Function
Version
Version tries to get the concrete package version used based on lock file.
pkg/nodejs/nodejs.go:497
↓ 7 callers
Function
bail
* @param {string} name The package name * @param {string} entry The target entry, eg "." * @param {number} [condition] Unmatched condition?
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10144
↓ 7 callers
Function
bail
* @param {string} name The package name * @param {string} entry The target entry, eg "." * @param {number} [condition] Unmatched condition?
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9039
↓ 7 callers
Method
create
(fakeFs, path, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1407
↓ 7 callers
Method
registerEntry
(p, index)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3148
↓ 7 callers
Method
registerEntry
(p, index)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2066
↓ 7 callers
Method
renameSync
(oldP, newP)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3372
↓ 7 callers
Method
renameSync
(oldP, newP)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2290
↓ 7 callers
Method
resolveVirtual
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:4018
↓ 7 callers
Method
resolveVirtual
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2936
↓ 7 callers
Method
rmdirSync
(p, { recursive = false } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3553
↓ 7 callers
Method
rmdirSync
(p, { recursive = false } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2471
↓ 7 callers
Method
unlinkSync
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3493
↓ 7 callers
Method
unlinkSync
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2411
↓ 6 callers
Function
AssertFrameworkInjectionAllowed
AssertFrameworkInjectionAllowed returns an error if framework injection is disabled.
pkg/cloudfunctions/cloudfunctions.go:50
↓ 6 callers
Method
BuildpackName
BuildpackName returns the buildpack name.
pkg/gcpbuildpack/gcpbuildpack.go:225
↓ 6 callers
Method
Clean
(rootDir string, filesToInclude []string, dirsToIncludeAll []string)
cmd/nodejs/firebasebundle/lib/lib.go:238
↓ 6 callers
Function
EntrypointIfExists
EntrypointIfExists returns entrypoint from GAE app.yaml if it exists.
pkg/appyaml/appyaml.go:83
↓ 6 callers
Function
ExecutableJar
ExecutableJar looks for the jar with a Main-Class manifest. If there is not exactly 1 of these jars, throw an error.
pkg/java/java.go:70
↓ 6 callers
Function
FindManifestValueFromJar
FindManifestValueFromJar returns a manifest entry value from a JAR if found, or empty otherwise.
pkg/java/java.go:118
↓ 6 callers
Function
GetURL
GetURL makes an HTTP GET request to given URL and writes the body to the provided writer.
pkg/fetch/fetch.go:176
↓ 6 callers
Function
HasApphostingPackageBuild
HasApphostingPackageBuild returns true if the given package.json file includes a "apphosting:build" script.
pkg/nodejs/nodejs.go:281
↓ 6 callers
Method
HasAtLeastOne
HasAtLeastOne walks through file tree searching for at least one match.
pkg/gcpbuildpack/filepath.go:36
↓ 6 callers
Function
IsPyprojectEnabled
IsPyprojectEnabled checks if the pyproject feature is enabled.
pkg/python/pyproject.go:534
↓ 6 callers
Method
Lock
(ctx *gcp.Context)
pkg/ruby/ruby.go:219
↓ 6 callers
Function
ProjectFiles
ProjectFiles finds all project files supported by dotnet.
pkg/dotnet/dotnet.go:376
↓ 6 callers
Function
ResolveToolVersion
ResolveToolVersion resolves a pinned version based on language, runtime, stack, and toolName from tooling_versions.json.
pkg/tooling/resolver.go:52
↓ 6 callers
Method
String
()
pkg/appstart/appstart.go:58
↓ 6 callers
Function
UTF8ArrayToString
(heap, idx, maxBytesToRead)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5601
↓ 6 callers
Function
UTF8ArrayToString
(heap, idx, maxBytesToRead)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4505
↓ 6 callers
Function
Version
Version returns the installed version of Python.
pkg/python/python.go:106
↓ 6 callers
Function
VersionMatches
VersionMatches checks if the installed version of Go and the version specified in go.mod match the given version range. The range string has the follo
pkg/golang/golang.go:205
↓ 6 callers
Function
WithBuildPlans
WithBuildPlans adds build plans to the detect result.
pkg/gcpbuildpack/detect.go:47
↓ 6 callers
Function
WithEnvs
WithEnvs specifies env vars to set for the buildpack test.
internal/buildpacktest/buildpacktest.go:142
↓ 6 callers
Function
WithExecMocks
WithExecMocks mocks the behavior of shell commands.
internal/buildpacktest/buildpacktest.go:163
↓ 6 callers
Function
_interopDefaultLegacy
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1148
↓ 6 callers
Function
_interopDefaultLegacy
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:71
↓ 6 callers
Method
accessSync
(p, mode = fs.constants.F_OK)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3022
↓ 6 callers
Method
accessSync
(p, mode = fs.constants.F_OK)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1940
↓ 6 callers
Method
chmod
(mode)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:4999
↓ 6 callers
Method
chmod
(mode)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:3909
↓ 6 callers
Method
chownSync
(p, uid, gid)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3366
↓ 6 callers
Method
chownSync
(p, uid, gid)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2284
↓ 6 callers
Method
closePromise
(fd)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2907
↓ 6 callers
Method
closePromise
(fd)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1825
↓ 6 callers
Method
copyFilePromise
(sourceP, destP, flags)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3375
↓ 6 callers
Method
copyFilePromise
(sourceP, destP, flags)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2293
↓ 6 callers
Method
createReadStream
(p, { encoding } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2916
↓ 6 callers
Method
createReadStream
(p, { encoding } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1834
↓ 6 callers
Method
createWriteStream
(p, { encoding } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2949
↓ 6 callers
Method
createWriteStream
(p, { encoding } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1867
↓ 6 callers
Function
getPackageInformationSafe
(packageLocator)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11059
↓ 6 callers
Function
getPackageInformationSafe
(packageLocator)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9669
↓ 6 callers
Method
mapFromBase
(path)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3988
↓ 6 callers
Method
mapFromBase
(path)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:3860
↓ 6 callers
Method
opendirSync
(p, opts = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2865
↓ 6 callers
Method
opendirSync
(p, opts = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1783
↓ 6 callers
Function
processUserCodeError
(errorMessage)
cmd/nodejs/legacy_worker/converter/worker/worker.js:357
↓ 6 callers
Method
readPromise
(fd, buffer, offset, length, position)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2879
↓ 6 callers
Method
readPromise
(fd, buffer, offset, length, position)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1797
↓ 6 callers
Method
readdirPromise
(p, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3630
↓ 6 callers
Method
readdirPromise
(p, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2548
↓ 6 callers
Method
readlinkSync
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3653
↓ 6 callers
Method
readlinkSync
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2571
↓ 6 callers
Method
realpathPromise
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2990
↓ 6 callers
Method
realpathPromise
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1908
↓ 6 callers
Function
runScript
()
cmd/nodejs/functions_framework/bytecode_cache/main_test.js:18
↓ 6 callers
Method
truncateSync
(p, len = 0)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3682
↓ 6 callers
Method
truncateSync
(p, len = 0)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2600
↓ 6 callers
Method
unlinkPromise
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3490
↓ 6 callers
Method
unlinkPromise
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2408
↓ 6 callers
Method
utimesPromise
(p, atime, mtime)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3504
↓ 6 callers
Method
utimesPromise
(p, atime, mtime)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2422
↓ 5 callers
Function
CopyFile
CopyFile copies a file from src to dest
pkg/fileutil/fileutil.go:102
↓ 5 callers
Function
DependencyVersion
DependencyVersion returns the version of the given dependency in the given package.json file.
pkg/nodejs/nodejs.go:301
↓ 5 callers
Function
DevSyncEntrypoint
DevSyncEntrypoint returns the entrypoint command for dev sync mode.
pkg/nodejs/npm.go:71
↓ 5 callers
Function
ExecWithGoproxyFallback
ExecWithGoproxyFallback runs the given command with a GOPROXY fallback. Before Go 1.14, Go would fall back to direct only if a 404 or 410 error ocurre
pkg/golang/golang.go:379
↓ 5 callers
Function
GenerateErrorID
GenerateErrorID creates a short hash from the provided parts.
pkg/buildererror/error.go:74
↓ 5 callers
Function
GenerateNPMConfig
GenerateNPMConfig generates an .npmrc file in the user's HOME directory with the credentials necessary for NPM to make authenticated requests to Artif
pkg/ar/ar.go:197
↓ 5 callers
Method
HasAtLeastOneOutsideDependencyDirectories
HasAtLeastOneOutsideDependencyDirectories walks through file tree searching for at least one match while ignoring dependency-only directories.
pkg/gcpbuildpack/filepath.go:42
↓ 5 callers
Function
IsTPC
IsTPC returns true if the build universe is set and is not GDU.
pkg/tpc/tpc.go:11
↓ 5 callers
Function
OptInTargetPlatformGAE
OptInTargetPlatformGAE returns a DetectResult for when a buildpack is opting in because of a 'gae' value for 'X_GOOGLE_TARGET_PLATFORM'. The 'gae' val
pkg/appengine/appengine.go:109
↓ 5 callers
Function
OverrideAppHostingBuildScript
OverrideAppHostingBuildScript overrides the "apphosting:build" script in package.json with the build command from the preprocessed apphosting.yaml.
pkg/nodejs/nodejs.go:556
↓ 5 callers
Function
ResolveVersion
ResolveVersion returns the newest available version of a runtime that satisfies the provided version constraint.
pkg/runtime/install.go:588
← previous
next →
201–300 of 3,416, ranked by callers