MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/buildpacks / functions

Functions3,416 in github.com/GoogleCloudPlatform/buildpacks

↓ 5 callersFunctionTarball
Tarball downloads a tarball from a URL and extracts it into the provided directory.
pkg/fetch/fetch.go:43
↓ 5 callersFunctionWithApp
WithApp specifies an app, by directory name, to build from testdata.
internal/buildpacktest/buildpacktest.go:135
↓ 5 callersFunctionWithBuildpackInfo
WithBuildpackInfo sets the buildpack info in Context.
pkg/gcpbuildpack/gcpbuildpack.go:128
↓ 5 callersMethodappendFileSync
(p, content, opts = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3421
↓ 5 callersMethodappendFileSync
(p, content, opts = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2339
↓ 5 callersFunctionappendVendoringFlags
appendVendoringFlags checks for and appends vendored dependency flags to the command.
pkg/python/python.go:492
↓ 5 callersFunctionarHostname
arHostname returns the Artifact Registry hostname for a given region, handling both GDU and TPC.
pkg/runtime/install.go:207
↓ 5 callersFunctionbuild
build implements the /bin/build phase of the buildpack.
pkg/gcpbuildpack/gcpbuildpack.go:363
↓ 5 callersFunctionc
(n, str)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11006
↓ 5 callersFunctionc
(n, str)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9616
↓ 5 callersFunctioncleanUpImage
cleanUpImage attempts to delete an image from the Docker daemon.
internal/acceptance/acceptance.go:596
↓ 5 callersFunctiondetect
detect implements the /bin/detect phase of the buildpack.
pkg/gcpbuildpack/gcpbuildpack.go:318
↓ 5 callersMethodexecWithErrCastToBuildError
(cmd []string, opts ...ExecOption)
pkg/gcpbuildpack/exec_test.go:223
↓ 5 callersFunctionfindPackageLocator
(location, { resolveIgnored = false, includeDiscardFromLookup = false } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11252
↓ 5 callersFunctionfindPackageLocator
(location, { resolveIgnored = false, includeDiscardFromLookup = false } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9857
↓ 5 callersFunctionfinish
(byteArray2)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:8630
↓ 5 callersFunctionfinish
(byteArray2)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:7534
↓ 5 callersFunctionhash
hash creates a sha256 hash from the given cache options.
pkg/cache/cache.go:57
↓ 5 callersFunctionisBuiltinModule
(request)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9765
↓ 5 callersFunctionisBuiltinModule
(request)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8666
↓ 5 callersFunctionkeepTail
(message string)
pkg/gcpbuildpack/builderoutput.go:128
↓ 5 callersMethodlinkSync
(existingP, newP)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3582
↓ 5 callersMethodlinkSync
(existingP, newP)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2500
↓ 5 callersMethodmkdirPromise
(p, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3535
↓ 5 callersMethodmkdirPromise
(p, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2453
↓ 5 callersFunctionmockReadGoVersion
mockReadGoVersion mocks the readGoVersion
pkg/golang/golang_test.go:730
↓ 5 callersMethodopenPromise
(p, flags, mode)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2851
↓ 5 callersMethodopenPromise
(p, flags, mode)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1769
↓ 5 callersFunctionopt
(pass bool, reason string, opts ...DetectResultOption)
pkg/gcpbuildpack/detect.go:88
↓ 5 callersFunctionoverrideProperties
(ctx *gcp.Context, configValue, defaultFile string)
pkg/webconfig/webconfig.go:84
↓ 5 callersFunctionprepareDependenciesLayer
prepareDependenciesLayer is a helper function that handles the common logic for preparing a dependency layer. It checks for empty requirements, manage
pkg/python/python.go:359
↓ 5 callersFunctionresolve
* @param {object} pkg package.json contents * @param {string} [entry] entry name or import path * @param {object} [options] * @param {boolean} [opt
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10171
↓ 5 callersFunctionresolve
* @param {object} pkg package.json contents * @param {string} [entry] entry name or import path * @param {object} [options] * @param {boolean} [opt
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9066
↓ 5 callersFunctionresolvePackageVersion
resolvePackageVersion returns the newest available version of an NPM package that satisfies the provided version constraint.
pkg/nodejs/registry.go:67
↓ 5 callersMethodsaveAndClose
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2821
↓ 5 callersMethodsaveAndClose
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1739
↓ 5 callersMethodsetFileSource
(p, content)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3248
↓ 5 callersMethodsetFileSource
(p, content)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2166
↓ 5 callersMethodstatPromise
(p, opts = { bigint: false })
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3030
↓ 5 callersMethodstatPromise
(p, opts = { bigint: false })
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1948
↓ 5 callersMethodsymlinkPromise
(target, p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3585
↓ 5 callersMethodsymlinkPromise
(target, p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2503
↓ 5 callersFunctionthrowInvalidPackageTarget
(subpath, target, packageJSONUrl, internal, base)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10432
↓ 5 callersFunctionthrowInvalidPackageTarget
(subpath, target, packageJSONUrl, internal, base)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9327
↓ 5 callersFunctiontoBuildSchema
(appHostingSchema apphostingschema.AppHostingSchema, bundleSchema bundleschema.BundleSchema)
pkg/firebase/publisher/publisher.go:74
↓ 5 callersFunctionwriteFile
(t *testing.T, tempDir, name, contents string)
pkg/cache/cache_test.go:294
↓ 4 callersFunctionCheckCacheExpiration
CheckCacheExpiration clears the m2 layer and sets a new expiry timestamp when the cache is past expiration.
pkg/java/java.go:171
↓ 4 callersFunctionCheckOrClearCache
CheckOrClearCache checks whether cached dependencies exist and match. If they do not match, the layer is cleared and the layer metadata is updated wit
pkg/nodejs/nodejs.go:388
↓ 4 callersFunctionCheckVulnerabilities
CheckVulnerabilities checks for known vulnerable dependencies.
pkg/nodejs/vulnerability.go:37
↓ 4 callersFunctionDetermineBuildCommands
DetermineBuildCommands returns a list of "npm run" commands to be executed during the build and a bool representing whether this is a "custom build" (
pkg/nodejs/npm.go:190
↓ 4 callersFunctionEISDIR
(reason)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1623
↓ 4 callersFunctionEISDIR
(reason)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:545
↓ 4 callersFunctionFile
File downloads a file from a URL and writes it to the provided path.
pkg/fetch/fetch.go:143
↓ 4 callersFunctionHasDevDependencies
HasDevDependencies returns true if the given directory contains a package.json file that lists more one or more devDependencies.
pkg/nodejs/nodejs.go:296
↓ 4 callersFunctionHasScript
HasScript returns true if the given package.json file defines a script with the given name.
pkg/nodejs/nodejs.go:286
↓ 4 callersMethodInstall
(ctx *gcp.Context, layerName string, scriptRelPath string)
pkg/execd/execd.go:29
↓ 4 callersFunctionIsDevMode
IsDevMode indicates that the builder is running in Development mode.
pkg/env/env.go:276
↓ 4 callersFunctionIsExactSemver
IsExactSemver returns true if a given string is valid semantic version.
pkg/version/version.go:121
↓ 4 callersFunctionIsFlutter
IsFlutter returns true if the given Dart project contains a pubspec.yaml that declares a dependency on flutter.
pkg/dart/flutter.go:166
↓ 4 callersFunctionIsUVPyproject
IsUVPyproject checks if the application is a UV Pyproject application.
pkg/python/pyproject.go:196
↓ 4 callersMethodIsWritable
IsWritable returns true if the file at the path constructed by joining elem is writable by the owner
pkg/gcpbuildpack/os.go:79
↓ 4 callersFunctionJSON
JSON fetches a JSON payload from a URL and unmarshals it into the value pointed to by v.
pkg/fetch/fetch.go:159
↓ 4 callersFunctionMvnCmd
MvnCmd returns the command that should be used to invoke maven for this build.
pkg/java/java.go:194
↓ 4 callersFunctionNPMInstallCommand
NPMInstallCommand returns the correct install command based on the version of Node.js. By default we prefer "npm ci" because it handles transitive dep
pkg/nodejs/npm.go:128
↓ 4 callersFunctionNewExecCmd
NewExecCmd constructs an command executor that can replace standard exec.Cmd calls with custom behavior for testing. It takes a series of mock command
internal/mockprocess/mockprocess.go:93
↓ 4 callersFunctionOptOut
OptOut is used during the detect phase to opt out of the build process.
pkg/gcpbuildpack/detect.go:74
↓ 4 callersFunctionParsePomFile
ParsePomFile unmarshals the provided pom.xml into a MavenProject.
pkg/java/maven.go:59
↓ 4 callersFunctionPhpConfiguration
PhpConfiguration returns the PHP configuration in runtime_config for GAE Flexible
pkg/appyaml/appyaml.go:99
↓ 4 callersFunctionReadComposerJSON
ReadComposerJSON returns the deserialized composer.json from the given dir. Empty dir uses the current working directory.
pkg/php/php.go:118
↓ 4 callersFunctionResolveVersion
ResolveVersion finds the largest version in a list of semantic versions that satisfies the provided constraint. If no version in the list satisfies th
pkg/version/version.go:44
↓ 4 callersFunctionRuntimeVersion
RuntimeVersion validate and returns the customer requested Python version by inspecting the environment variables and .python-version file.
pkg/python/python.go:116
↓ 4 callersFunctionShouldTestVersion
ShouldTestVersion returns true if the current test run's version is included in the constraint parameter. An empty inclusion constraint is treated as
internal/acceptance/acceptance.go:1509
↓ 4 callersFunctionSkipPruningDevSync
SkipPruningDevSync returns true if dev sync is enabled, or if dev sync status cannot be determined.
pkg/nodejs/nodejs.go:597
↓ 4 callersMethodSpan
Span emits a structured Stackdriver span.
pkg/gcpbuildpack/gcpbuildpack.go:417
↓ 4 callersMethodString
()
pkg/cloudfunctions/labels.go:24
↓ 4 callersFunctionStringPrototypeSlice
(str, ...rest)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10237
↓ 4 callersFunctionStringPrototypeSlice
(str, ...rest)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9132
↓ 4 callersFunctionWithEnv
WithEnv sets environment variables (of the form "KEY=value").
pkg/gcpbuildpack/exec.go:60
↓ 4 callersFunctionWithStderr
WithStderr configures what a mocked command prints to stderr.
internal/mockprocess/mockprocess.go:77
↓ 4 callersFunctionaddEnvVar
(t *testing.T, env map[string]string, name, value string)
internal/acceptance/environment.go:85
↓ 4 callersFunctionaddToCacheAndReturn
(start, end, target)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11710
↓ 4 callersFunctionaddToCacheAndReturn
(start, end, target)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:10314
↓ 4 callersMethodappendFilePromise
(p, content, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3410
↓ 4 callersMethodappendFilePromise
(p, content, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2328
↓ 4 callersMethodchownPromise
(p, uid, gid)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3363
↓ 4 callersMethodchownPromise
(p, uid, gid)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2281
↓ 4 callersMethodcopyFileSync
(sourceP, destP, flags = 0)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3383
↓ 4 callersMethodcopyFileSync
(sourceP, destP, flags = 0)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2301
↓ 4 callersFunctioncreateErrorType
(code, messageCreator, errorType)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10242
↓ 4 callersFunctioncreateErrorType
(code, messageCreator, errorType)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9137
↓ 4 callersMethoddiscardAndClose
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2843
↓ 4 callersFunctiondoGet
doGet performs an HTTP GET request for a URL.
pkg/fetch/fetch.go:334
↓ 4 callersMethodexistsPromise
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2999
↓ 4 callersMethodexistsPromise
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1917
↓ 4 callersMethodfchmodPromise
(fd, mask)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3333
↓ 4 callersMethodfchmodPromise
(fd, mask)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2251
↓ 4 callersMethodfchmodSync
(fd, mask)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3336
↓ 4 callersMethodfchmodSync
(fd, mask)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2254
↓ 4 callersMethodfchownPromise
(fd, uid, gid)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3357
↓ 4 callersMethodfchownPromise
(fd, uid, gid)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2275
← previousnext →301–400 of 3,416, ranked by callers