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
↓ 13 callers
Function
EROFS
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:551
↓ 13 callers
Method
Error
Error is called when an error is encountered.
pkg/gcpbuildpack/gcpbuildpack_test.go:678
↓ 13 callers
Function
InstallTarballIfNotCached
InstallTarballIfNotCached installs a runtime tarball hosted on dl.google.com into the provided layer with caching. Returns true if a cached layer is u
pkg/runtime/install.go:328
↓ 13 callers
Function
IsFlex
IsFlex returns true if the buildpack target platform is flex
pkg/env/env.go:265
↓ 13 callers
Function
OSForStack
OSForStack returns the Operating System being used by input stackID.
pkg/runtime/install.go:197
↓ 13 callers
Method
Result
()
pkg/gcpbuildpack/detect.go:26
↓ 13 callers
Function
TestDetectWithStack
TestDetectWithStack is a helper for testing a buildpack's implementation of bin/detect which allows setting a custom stack name. This MUST be called f
internal/buildpacktest/buildpacktest.go:192
↓ 13 callers
Method
lstatSync
(p, opts = { bigint: false, throwIfNoEntry: true })
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3068
↓ 13 callers
Method
lstatSync
(p, opts = { bigint: false, throwIfNoEntry: true })
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1986
↓ 13 callers
Function
simpleContext
(t *testing.T)
pkg/gcpbuildpack/gcpbuildpack_test.go:693
↓ 12 callers
Method
Exit
(exitCode int, err error)
pkg/gcpbuildpack/exit.go:23
↓ 12 callers
Method
chmodSync
(p, mask)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3342
↓ 12 callers
Method
chmodSync
(p, mask)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2260
↓ 12 callers
Method
close
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2931
↓ 12 callers
Function
makeError$1
(code, message)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1602
↓ 12 callers
Function
makeError$1
(code, message)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:524
↓ 12 callers
Method
readFilePromise
(p, encoding)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3603
↓ 12 callers
Method
readFilePromise
(p, encoding)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2521
↓ 12 callers
Method
writeSync
(fd, buffer, offset, length, position)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2901
↓ 12 callers
Method
writeSync
(fd, buffer, offset, length, position)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1819
↓ 11 callers
Method
AddProcess
AddProcess adds the given command as named process, overwriting any previous process with the same name.
pkg/gcpbuildpack/gcpbuildpack.go:463
↓ 11 callers
Method
close
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1849
↓ 11 callers
Method
getFileSource
(index, opts = { asyncDecompress: false })
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3282
↓ 11 callers
Method
getFileSource
(index, opts = { asyncDecompress: false })
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2200
↓ 11 callers
Method
isDirectory
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1210
↓ 11 callers
Method
isDirectory
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:133
↓ 11 callers
Method
isSymbolicLink
(index)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3270
↓ 11 callers
Method
isSymbolicLink
(index)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2188
↓ 11 callers
Method
writeFilePromise
(p, content, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3439
↓ 11 callers
Method
writeFilePromise
(p, content, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2357
↓ 10 callers
Method
BuildpackID
BuildpackID returns the buildpack id.
pkg/gcpbuildpack/gcpbuildpack.go:215
↓ 10 callers
Function
ENOENT
(reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1617
↓ 10 callers
Function
ENOENT
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:539
↓ 10 callers
Function
FilterFailureTests
FilterFailureTests returns a new slice with only tests that should be run. Tests are filtered out if their VersionInclusionConstraint does not match t
internal/acceptance/acceptance.go:1471
↓ 10 callers
Function
ReadNodeDependencies
ReadNodeDependencies looks for a package.json and lockfile in either appDir or rootDir. The lockfile must either be in the same directory as package.j
pkg/nodejs/nodejs.go:217
↓ 10 callers
Method
closeSync
(fd)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2910
↓ 10 callers
Method
closeSync
(fd)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1828
↓ 10 callers
Function
getPathForDisplay
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9757
↓ 10 callers
Function
getPathForDisplay
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8661
↓ 10 callers
Method
openSync
(p, flags, mode)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2854
↓ 10 callers
Method
openSync
(p, flags, mode)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1772
↓ 10 callers
Function
setupTest
(t *testing.T, files map[string]string)
pkg/python/pyproject_test.go:639
↓ 10 callers
Method
writePromise
(fd, buffer, offset, length, position)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2894
↓ 10 callers
Method
writePromise
(fd, buffer, offset, length, position)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1812
↓ 9 callers
Function
Build
Build serves as a common builder for App Engine buildpacks.
pkg/appengine/appengine.go:80
↓ 9 callers
Method
BuildpackVersion
BuildpackVersion returns the buildpack version.
pkg/gcpbuildpack/gcpbuildpack.go:220
↓ 9 callers
Function
ENOTDIR
(reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1620
↓ 9 callers
Function
ENOTDIR
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:542
↓ 9 callers
Function
Enabled
Enabled indicates that the builder is running in Development mode.
pkg/devmode/devmode.go:53
↓ 9 callers
Method
Error
()
pkg/firebase/faherror/faherror.go:20
↓ 9 callers
Function
IsGCF
IsGCF returns true if the buildpack target platform is gcf.
pkg/env/env.go:260
↓ 9 callers
Function
ReadAndValidateFromFile
ReadAndValidateFromFile converts the provided file into an AppHostingSchema. Returns an empty AppHostingSchema{} if the file does not exist.
pkg/firebase/apphostingschema/apphostingschema.go:254
↓ 9 callers
Method
Rename
Rename is a pass through for os.Rename(...) and logs an informational statement and returns any error with proper user / system attribution
pkg/gcpbuildpack/os.go:25
↓ 9 callers
Method
SetFunctionsEnvVars
SetFunctionsEnvVars sets launch-time functions environment variables.
pkg/gcpbuildpack/env.go:25
↓ 9 callers
Method
StackID
StackID returns the stack id.
pkg/gcpbuildpack/gcpbuildpack.go:247
↓ 9 callers
Function
WithApplicationRoot
WithApplicationRoot sets the application root in Context.
pkg/gcpbuildpack/gcpbuildpack.go:114
↓ 9 callers
Function
containsPackage
(s, name string)
pkg/python/dependencies.go:106
↓ 9 callers
Method
lstatPromise
(p, opts = { bigint: false })
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3063
↓ 9 callers
Method
lstatPromise
(p, opts = { bigint: false })
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1981
↓ 9 callers
Method
mkdirSync
(p, { mode = 493, recursive = false } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3538
↓ 9 callers
Method
read
(cb)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1671
↓ 9 callers
Method
read
(cb)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:593
↓ 9 callers
Method
readSync
(fd, buffer, offset = 0, length = buffer.byteLength, position = -1)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2882
↓ 9 callers
Method
readSync
(fd, buffer, offset = 0, length = buffer.byteLength, position = -1)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1800
↓ 9 callers
Method
readdirSync
(p, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3633
↓ 9 callers
Method
readdirSync
(p, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2551
↓ 9 callers
Method
realpathSync
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2993
↓ 9 callers
Method
realpathSync
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1911
↓ 9 callers
Method
utimesSync
(p, atime, mtime)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3507
↓ 9 callers
Method
utimesSync
(p, atime, mtime)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2425
↓ 8 callers
Function
Add
Add adds the key-value to the cache for the given layer for future builds.
pkg/cache/cache.go:78
↓ 8 callers
Method
AddLabel
AddLabel adds a label to the user's application container.
pkg/gcpbuildpack/gcpbuildpack.go:507
↓ 8 callers
Function
ApplicationDirectory
ApplicationDirectory looks up the path to the application directory from the environment. Returns the application root by default.
pkg/firebase/util/util.go:35
↓ 8 callers
Method
Bytes
()
pkg/gcpbuildpack/exec.go:274
↓ 8 callers
Function
CommonBuildpacks
CommonBuildpacks returns a map of common buildpacks that are used by all language runtimes.
pkg/commonbuildpacks/commonbuildpacks.go:14
↓ 8 callers
Method
CreateFile
CreateFile is a pass through for os.Create(...) and returns any error with proper user / system attribution
pkg/gcpbuildpack/os.go:34
↓ 8 callers
Function
FailedFrameworkBuildError
FailedFrameworkBuildError creates a FahError belonging to the class of errors that occur when the framework build command fails.
pkg/firebase/faherror/faherror.go:115
↓ 8 callers
Function
HashAndCheck
HashAndCheck computes a hash value according to the cache options provided and checks if there is a cache hit or miss by looking at the provided layer
pkg/cache/cache.go:85
↓ 8 callers
Method
HomeDir
HomeDir returns the path of the $USER's $HOME directory.
pkg/gcpbuildpack/os.go:100
↓ 8 callers
Function
IsFAH
IsFAH returns true if the buildpack target platform is fah.
pkg/env/env.go:250
↓ 8 callers
Function
MaybeCopyPathContents
MaybeCopyPathContents recursively copies the contents of srcPath to destPath.
pkg/fileutil/fileutil.go:41
↓ 8 callers
Method
MetadataAdded
MetadataAdded returns the builder metadata after the buildpack phase was executed.
internal/buildpacktest/buildpacktest.go:109
↓ 8 callers
Function
PackagePresent
PackagePresent checks if a given package is present in the requirements file.
pkg/python/dependencies.go:49
↓ 8 callers
Method
Reason
()
pkg/gcpbuildpack/detect.go:27
↓ 8 callers
Function
RunBuild
RunBuild is a helper for testing a buildpack's implementation of /bin/build. This MUST be called from a test function with the stub `func TestBuild(t
internal/buildpacktest/buildpacktest.go:210
↓ 8 callers
Method
Tipf
Tipf emits a structured logging line for usage tips.
pkg/gcpbuildpack/gcpbuildpack.go:399
↓ 8 callers
Function
WithFile
WithFile sets the path of a file the server should send as a response.
internal/testserver/testserver.go:50
↓ 8 callers
Function
WithMessageProducer
WithMessageProducer sets a custom MessageProducer to produce the error message.
pkg/gcpbuildpack/exec.go:85
↓ 8 callers
Function
WithTestName
WithTestName specifies the test case name if a table-driven test is being used. This is important when invoking the test binary again as a child proce
internal/buildpacktest/buildpacktest.go:128
↓ 8 callers
Method
chmodPromise
(p, mask)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3339
↓ 8 callers
Method
chmodPromise
(p, mask)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2257
↓ 8 callers
Method
fdToPath
(fd, reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3432
↓ 8 callers
Method
fdToPath
(fd, reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2350
↓ 8 callers
Method
fsMapToBase
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3974
↓ 8 callers
Method
fsMapToBase
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2892
↓ 8 callers
Method
fstatSync
(fd, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3051
↓ 8 callers
Method
fstatSync
(fd, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1969
↓ 8 callers
Method
mkdirSync
(p, { mode = 493, recursive = false } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2456
↓ 8 callers
Function
setupFn
(target, name, replacement)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5252
↓ 8 callers
Function
setupFn
(target, name, replacement)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4156
← previous
next →
101–200 of 3,416, ranked by callers