MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/buildpacks / functions

Functions3,416 in github.com/GoogleCloudPlatform/buildpacks

↓ 13 callersFunctionEROFS
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:551
↓ 13 callersMethodError
Error is called when an error is encountered.
pkg/gcpbuildpack/gcpbuildpack_test.go:678
↓ 13 callersFunctionInstallTarballIfNotCached
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 callersFunctionIsFlex
IsFlex returns true if the buildpack target platform is flex
pkg/env/env.go:265
↓ 13 callersFunctionOSForStack
OSForStack returns the Operating System being used by input stackID.
pkg/runtime/install.go:197
↓ 13 callersMethodResult
()
pkg/gcpbuildpack/detect.go:26
↓ 13 callersFunctionTestDetectWithStack
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 callersMethodlstatSync
(p, opts = { bigint: false, throwIfNoEntry: true })
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3068
↓ 13 callersMethodlstatSync
(p, opts = { bigint: false, throwIfNoEntry: true })
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1986
↓ 13 callersFunctionsimpleContext
(t *testing.T)
pkg/gcpbuildpack/gcpbuildpack_test.go:693
↓ 12 callersMethodExit
(exitCode int, err error)
pkg/gcpbuildpack/exit.go:23
↓ 12 callersMethodchmodSync
(p, mask)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3342
↓ 12 callersMethodchmodSync
(p, mask)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2260
↓ 12 callersMethodclose
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2931
↓ 12 callersFunctionmakeError$1
(code, message)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1602
↓ 12 callersFunctionmakeError$1
(code, message)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:524
↓ 12 callersMethodreadFilePromise
(p, encoding)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3603
↓ 12 callersMethodreadFilePromise
(p, encoding)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2521
↓ 12 callersMethodwriteSync
(fd, buffer, offset, length, position)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2901
↓ 12 callersMethodwriteSync
(fd, buffer, offset, length, position)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1819
↓ 11 callersMethodAddProcess
AddProcess adds the given command as named process, overwriting any previous process with the same name.
pkg/gcpbuildpack/gcpbuildpack.go:463
↓ 11 callersMethodclose
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1849
↓ 11 callersMethodgetFileSource
(index, opts = { asyncDecompress: false })
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3282
↓ 11 callersMethodgetFileSource
(index, opts = { asyncDecompress: false })
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2200
↓ 11 callersMethodisDirectory
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1210
↓ 11 callersMethodisDirectory
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:133
↓ 11 callersMethodisSymbolicLink
(index)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3270
↓ 11 callersMethodisSymbolicLink
(index)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2188
↓ 11 callersMethodwriteFilePromise
(p, content, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3439
↓ 11 callersMethodwriteFilePromise
(p, content, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2357
↓ 10 callersMethodBuildpackID
BuildpackID returns the buildpack id.
pkg/gcpbuildpack/gcpbuildpack.go:215
↓ 10 callersFunctionENOENT
(reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1617
↓ 10 callersFunctionENOENT
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:539
↓ 10 callersFunctionFilterFailureTests
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 callersFunctionReadNodeDependencies
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 callersMethodcloseSync
(fd)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2910
↓ 10 callersMethodcloseSync
(fd)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1828
↓ 10 callersFunctiongetPathForDisplay
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9757
↓ 10 callersFunctiongetPathForDisplay
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8661
↓ 10 callersMethodopenSync
(p, flags, mode)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2854
↓ 10 callersMethodopenSync
(p, flags, mode)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1772
↓ 10 callersFunctionsetupTest
(t *testing.T, files map[string]string)
pkg/python/pyproject_test.go:639
↓ 10 callersMethodwritePromise
(fd, buffer, offset, length, position)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2894
↓ 10 callersMethodwritePromise
(fd, buffer, offset, length, position)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1812
↓ 9 callersFunctionBuild
Build serves as a common builder for App Engine buildpacks.
pkg/appengine/appengine.go:80
↓ 9 callersMethodBuildpackVersion
BuildpackVersion returns the buildpack version.
pkg/gcpbuildpack/gcpbuildpack.go:220
↓ 9 callersFunctionENOTDIR
(reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1620
↓ 9 callersFunctionENOTDIR
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:542
↓ 9 callersFunctionEnabled
Enabled indicates that the builder is running in Development mode.
pkg/devmode/devmode.go:53
↓ 9 callersMethodError
()
pkg/firebase/faherror/faherror.go:20
↓ 9 callersFunctionIsGCF
IsGCF returns true if the buildpack target platform is gcf.
pkg/env/env.go:260
↓ 9 callersFunctionReadAndValidateFromFile
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 callersMethodRename
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 callersMethodSetFunctionsEnvVars
SetFunctionsEnvVars sets launch-time functions environment variables.
pkg/gcpbuildpack/env.go:25
↓ 9 callersMethodStackID
StackID returns the stack id.
pkg/gcpbuildpack/gcpbuildpack.go:247
↓ 9 callersFunctionWithApplicationRoot
WithApplicationRoot sets the application root in Context.
pkg/gcpbuildpack/gcpbuildpack.go:114
↓ 9 callersFunctioncontainsPackage
(s, name string)
pkg/python/dependencies.go:106
↓ 9 callersMethodlstatPromise
(p, opts = { bigint: false })
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3063
↓ 9 callersMethodlstatPromise
(p, opts = { bigint: false })
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1981
↓ 9 callersMethodmkdirSync
(p, { mode = 493, recursive = false } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3538
↓ 9 callersMethodread
(cb)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1671
↓ 9 callersMethodread
(cb)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:593
↓ 9 callersMethodreadSync
(fd, buffer, offset = 0, length = buffer.byteLength, position = -1)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2882
↓ 9 callersMethodreadSync
(fd, buffer, offset = 0, length = buffer.byteLength, position = -1)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1800
↓ 9 callersMethodreaddirSync
(p, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3633
↓ 9 callersMethodreaddirSync
(p, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2551
↓ 9 callersMethodrealpathSync
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2993
↓ 9 callersMethodrealpathSync
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1911
↓ 9 callersMethodutimesSync
(p, atime, mtime)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3507
↓ 9 callersMethodutimesSync
(p, atime, mtime)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2425
↓ 8 callersFunctionAdd
Add adds the key-value to the cache for the given layer for future builds.
pkg/cache/cache.go:78
↓ 8 callersMethodAddLabel
AddLabel adds a label to the user's application container.
pkg/gcpbuildpack/gcpbuildpack.go:507
↓ 8 callersFunctionApplicationDirectory
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 callersMethodBytes
()
pkg/gcpbuildpack/exec.go:274
↓ 8 callersFunctionCommonBuildpacks
CommonBuildpacks returns a map of common buildpacks that are used by all language runtimes.
pkg/commonbuildpacks/commonbuildpacks.go:14
↓ 8 callersMethodCreateFile
CreateFile is a pass through for os.Create(...) and returns any error with proper user / system attribution
pkg/gcpbuildpack/os.go:34
↓ 8 callersFunctionFailedFrameworkBuildError
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 callersFunctionHashAndCheck
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 callersMethodHomeDir
HomeDir returns the path of the $USER's $HOME directory.
pkg/gcpbuildpack/os.go:100
↓ 8 callersFunctionIsFAH
IsFAH returns true if the buildpack target platform is fah.
pkg/env/env.go:250
↓ 8 callersFunctionMaybeCopyPathContents
MaybeCopyPathContents recursively copies the contents of srcPath to destPath.
pkg/fileutil/fileutil.go:41
↓ 8 callersMethodMetadataAdded
MetadataAdded returns the builder metadata after the buildpack phase was executed.
internal/buildpacktest/buildpacktest.go:109
↓ 8 callersFunctionPackagePresent
PackagePresent checks if a given package is present in the requirements file.
pkg/python/dependencies.go:49
↓ 8 callersMethodReason
()
pkg/gcpbuildpack/detect.go:27
↓ 8 callersFunctionRunBuild
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 callersMethodTipf
Tipf emits a structured logging line for usage tips.
pkg/gcpbuildpack/gcpbuildpack.go:399
↓ 8 callersFunctionWithFile
WithFile sets the path of a file the server should send as a response.
internal/testserver/testserver.go:50
↓ 8 callersFunctionWithMessageProducer
WithMessageProducer sets a custom MessageProducer to produce the error message.
pkg/gcpbuildpack/exec.go:85
↓ 8 callersFunctionWithTestName
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 callersMethodchmodPromise
(p, mask)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3339
↓ 8 callersMethodchmodPromise
(p, mask)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2257
↓ 8 callersMethodfdToPath
(fd, reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3432
↓ 8 callersMethodfdToPath
(fd, reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2350
↓ 8 callersMethodfsMapToBase
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3974
↓ 8 callersMethodfsMapToBase
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2892
↓ 8 callersMethodfstatSync
(fd, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3051
↓ 8 callersMethodfstatSync
(fd, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1969
↓ 8 callersMethodmkdirSync
(p, { mode = 493, recursive = false } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2456
↓ 8 callersFunctionsetupFn
(target, name, replacement)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5252
↓ 8 callersFunctionsetupFn
(target, name, replacement)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4156
← previousnext →101–200 of 3,416, ranked by callers