MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/buildpacks / functions

Functions3,416 in github.com/GoogleCloudPlatform/buildpacks

↓ 1 callersFunctionInstallUV
InstallUV installs UV into a dedicated layer, respecting version constraints.
pkg/python/pyproject.go:290
↓ 1 callersFunctionInternalErrorf
InternalErrorf covers internal Google-attributed errors.
pkg/firebase/faherror/faherror.go:38
↓ 1 callersFunctionInvalidAppHostingYamlError
InvalidAppHostingYamlError creates a FahError with metadata about an invalid apphosting.yaml file that caused the build to fail.
pkg/firebase/faherror/faherror.go:139
↓ 1 callersFunctionIsAngularApplication
IsAngularApplication returns true if angular.json exists or @angular/core is present in package.json.
pkg/nodejs/nodejs.go:635
↓ 1 callersFunctionIsDevSyncUseRunitUniversalMaker
IsDevSyncUseRunitUniversalMaker indicates that Runit supervision and universal_maker for DevSync are enabled.
pkg/env/env.go:286
↓ 1 callersFunctionIsRuby25
IsRuby25 returns true if the build environment has Ruby 2.5.x installed.
pkg/ruby/ruby.go:115
↓ 1 callersFunctionIsRuby4
IsRuby4 returns true if the build environment has Ruby 4.x.y installed.
pkg/ruby/ruby.go:120
↓ 1 callersFunctionIsSkipFrameworkInjectionEnabled
IsSkipFrameworkInjectionEnabled returns true if skipping Functions Framework injection is enabled.
pkg/cloudfunctions/env.go:24
↓ 1 callersFunctionIsStaticBaseImage
IsStaticBaseImage returns true if the workload is being built on a static base image (e.g., static24). In generic run images, GOOGLE_RUNTIME is set to
pkg/env/env.go:317
↓ 1 callersMethodIsSystemError
IsSystemError determines if the error type is a SYSTEM-attributed error
pkg/builderoutput/builderoutput.go:65
↓ 1 callersFunctionIsUVInstalledInPath
IsUVInstalledInPath checks if the uv executable is installed in the PATH.
pkg/python/pyproject.go:257
↓ 1 callersFunctionIsUsingNativeImage
IsUsingNativeImage returns true if the Java application should be built as a native image.
pkg/env/env.go:291
↓ 1 callersFunctionIsWritable
IsWritable returns true if the file at the path constructed by joining elem is writable by the owner.
pkg/fileutil/fileutil.go:168
↓ 1 callersFunctionMain
Main is the main entrypoint to a buildpack's detect and build functions.
pkg/gcpbuildpack/gcpbuildpack.go:270
↓ 1 callersFunctionMainManifestEntry
MainManifestEntry returns the Main-Class manifest entry of the jar at the given filepath, or an empty string if the entry does not exist.
pkg/java/java.go:113
↓ 1 callersFunctionMajorVersion
MajorVersion returns the major version of a version string of format "major.minor.patch".
pkg/nodejs/nodejs.go:525
↓ 1 callersMethodMarshalJSON
MarshalJSON marshals the enum as a quoted json string.
pkg/buildererror/status.go:94
↓ 1 callersMethodMessage
()
builders/testdata/dotnet/generic/cs_local_deps_reversed/Dep/Common.cs:28
↓ 1 callersMethodMessage
()
builders/testdata/dotnet/generic/cs_local_deps/Dep/Common.cs:28
↓ 1 callersFunctionMisconfiguredSecretError
MisconfiguredSecretError creates a FahError belonging to a class of errors that occur when a secret is either not found or permissions are not properl
pkg/firebase/faherror/faherror.go:76
↓ 1 callersFunctionNew
New constructs a BuilderOutput and returns a pointer.
pkg/builderoutput/builderoutput.go:57
↓ 1 callersFunctionOptInEnvSet
OptInEnvSet is used to opt into the build process based on env var presence.
pkg/gcpbuildpack/detect.go:69
↓ 1 callersFunctionOptInFileFound
OptInFileFound is used to opt into the build process based on file presence.
pkg/gcpbuildpack/detect.go:64
↓ 1 callersFunctionOptOutEnvNotSet
OptOutEnvNotSet is used to opt out of the build process based on env var absence.
pkg/gcpbuildpack/detect.go:84
↓ 1 callersFunctionOptOutFileNotFound
OptOutFileNotFound is used to opt out of the build process based on file absence.
pkg/gcpbuildpack/detect.go:79
↓ 1 callersFunctionOverrideAngularBuildScript
OverrideAngularBuildScript overrides the build script to be the Angular build script.
pkg/nodejs/angular.go:82
↓ 1 callersFunctionOverrideNextjsBuildScript
OverrideNextjsBuildScript overrides the build script to be the Nextjs build script
pkg/nodejs/nextjs.go:81
↓ 1 callersFunctionPIPInstallRequirements
PIPInstallRequirements installs dependencies from the given requirements files in a virtual env. It will install the files in order in which they are
pkg/python/python.go:218
↓ 1 callersFunctionParseFirebaseConfig
ParseFirebaseConfig reads and parses a firebase.json file. If the file does not exist, it returns an empty slice and no error.
pkg/static/firebase.go:108
↓ 1 callersFunctionParseNodeOptionsEnvVar
(node_options, errors)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10931
↓ 1 callersFunctionPatchSysconfig
PatchSysconfig patches the python sysconfig variable prefix.
pkg/python/python.go:525
↓ 1 callersMethodPatchSysconfig
(ctx *gcp.Context, layer *libcnb.Layer)
pkg/python/python.go:94
↓ 1 callersFunctionPerformBuild
PerformBuild consolidates the build logic for Go applications.
pkg/golang/golang.go:97
↓ 1 callersFunctionPipInstallPyproject
PipInstallPyproject installs dependencies from a pyproject.toml file in the current directory.
pkg/python/pyproject.go:551
↓ 1 callersFunctionPoetryInstallDependenciesAndConfigureEnv
PoetryInstallDependenciesAndConfigureEnv installs dependencies and sets up the runtime environment.
pkg/python/pyproject.go:144
↓ 1 callersMethodPublish
(ctx *gcp.Context, proj, buildArgs string)
pkg/dotnet/dotnet.go:70
↓ 1 callersFunctionPyprojectPackagePresent
PyprojectPackagePresent checks if a given package is present in pyproject.toml.
pkg/python/dependencies.go:73
↓ 1 callersFunctionRead
Read reads in the custom env file to a map. This is a very dumb function that just splits each line with the format KEY=VALUE and adds it to the outpu
pkg/firebase/envvars/envvars.go:85
↓ 1 callersFunctionReadProjectFile
ReadProjectFile returns a .NET Project object.
pkg/dotnet/dotnet.go:419
↓ 1 callersMethodRestore
(ctx *gcp.Context, src, dst string)
pkg/nodejs/npm.go:283
↓ 1 callersMethodSave
(ctx *gcp.Context, src, dst string)
pkg/nodejs/npm.go:284
↓ 1 callersFunctionShouldTestStack
ShouldTestStack returns true if the current test should be included on test runs using the given buildpack stack.
internal/acceptance/acceptance.go:1491
↓ 1 callersFunctionStringPrototypeIncludes
(str, ...rest)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10233
↓ 1 callersFunctionStringPrototypeIncludes
(str, ...rest)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9128
↓ 1 callersFunctionStringPrototypeLastIndexOf
(str, ...rest)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10234
↓ 1 callersFunctionStringPrototypeLastIndexOf
(str, ...rest)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9129
↓ 1 callersFunctionStringPrototypeReplace
(str, ...rest)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10236
↓ 1 callersFunctionStringPrototypeReplace
(str, ...rest)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9131
↓ 1 callersFunctionSupportsAppEngineApis
SupportsAppEngineApis is a Go buildpack specific function that returns true if App Engine API access is enabled
pkg/golang/golang.go:152
↓ 1 callersFunctionSupportsAppEngineApis
SupportsAppEngineApis is a function that returns true if App Engine API access is enabled
pkg/php/php.go:109
↓ 1 callersFunctionSupportsGoCleanModCache
SupportsGoCleanModCache returns true if the Go version supports `go clean -modcache` without loading the packages. The command fails if the packages a
pkg/golang/golang.go:176
↓ 1 callersFunctionSupportsGoGet
SupportsGoGet returns true if the Go version supports `go get`. For versions above 1.22.0+ `go get` is not supported outside of modules in legacy gopa
pkg/golang/golang.go:182
↓ 1 callersFunctionSupportsGoProxyFallback
SupportsGoProxyFallback returns true if the Go version supports fallback in GOPROXY using the pipe character. This feature is supported by Go 1.15 and
pkg/golang/golang.go:168
↓ 1 callersFunctionSupportsVendorModificaton
SupportsVendorModificaton returns true if the Go version supports modifying vendor directory without modifying vendor/modules.txt. Versions 1.23.0 and
pkg/golang/golang.go:195
↓ 1 callersFunctionSymlinkBin
SymlinkBin finds any gem-installed binary directory under gemsDir and creates a relative symlink at binDir pointing to it.
pkg/ruby/ruby.go:327
↓ 1 callersFunctionTarballDownloadURL
TarballDownloadURL returns URL to download tarball from lorry.
pkg/runtime/install.go:455
↓ 1 callersFunctionUVInstallDependenciesAndConfigureEnv
UVInstallDependenciesAndConfigureEnv installs dependencies and sets up the runtime environment using uv.
pkg/python/pyproject.go:323
↓ 1 callersFunctionUVInstallRequirements
UVInstallRequirements installs dependencies from requirements.txt using 'uv pip install' and returns the path to the venv.
pkg/python/requirements.go:38
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON unmashals a quoted json string to the enum value
pkg/buildererror/status.go:99
↓ 1 callersFunctionUnmarshalMockProcessMap
UnmarshalMockProcessMap is a utility function that marshals a map[string]MockProcess from JSON.
internal/mockprocess/mockprocessutil/mockprocessutil.go:43
↓ 1 callersFunctionUserErrorf
UserErrorf covers all other user-attributed errors that don't fit into the other known error types.
pkg/firebase/faherror/faherror.go:50
↓ 1 callersFunctionUsingStaticServe
UsingStaticServe returns true if the static serve buildpack is active.
pkg/env/env.go:311
↓ 1 callersMethodValue
Value retrieves the value of a FloatDP. Not threadsafe.
pkg/buildermetrics/floatdp.go:35
↓ 1 callersFunctionWithBuildContext
WithBuildContext sets the buildContext in Context.
pkg/gcpbuildpack/gcpbuildpack.go:135
↓ 1 callersFunctionWithCapabilities
WithCapabilities sets the capabilities for the buildpack test.
internal/buildpacktest/buildpacktest.go:173
↓ 1 callersFunctionWithCapability
WithCapability allows the entrypoint (Maker or Runner) to inject a strategy/capability. This is used to override default behaviors with specialized im
pkg/gcpbuildpack/gcpbuildpack.go:168
↓ 1 callersFunctionWithStackID
WithStackID sets the StackID in Context.
pkg/gcpbuildpack/gcpbuildpack.go:158
↓ 1 callersFunction_gmtime_r
(time, tmPtr)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5892
↓ 1 callersFunction_gmtime_r
(time, tmPtr)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4796
↓ 1 callersFunction_interopNamespace
(e)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1150
↓ 1 callersFunction_interopNamespace
(e)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:73
↓ 1 callersMethod_set_headers
(self)
builders/testdata/python/generic/requirements_vendored_dependencies/main.py:24
↓ 1 callersMethod_set_headers
(self)
builders/testdata/python/generic/pyproject_vendored_dependencies/main.py:24
↓ 1 callersFunction_tzset
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9265
↓ 1 callersFunction_tzset
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8169
↓ 1 callersFunction_wrapNodeError
(func)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9363
↓ 1 callersFunction_wrapNodeError
(func)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8267
↓ 1 callersFunctionaccessSecretVersion
Access secret version. Includes secret's sensitive data.
pkg/firebase/secrets/secrets.go:150
↓ 1 callersMethodadapt
(cmd []string, scriptCmd []string)
pkg/python/python.go:602
↓ 1 callersFunctionaddFrameworkVersionLabel
(ctx *gcp.Context, layer *libcnb.Layer, frameworkJar string)
cmd/java/functions_framework/lib/lib.go:323
↓ 1 callersFunctionaddGradioEnvVarLayer
(ctx *gcp.Context)
cmd/python/missing_entrypoint/lib/lib.go:214
↓ 1 callersFunctionaddJettyAtBuildTime
(ctx *gcp.Context, appEngineWebXMLApp *java.AppEngineWebXMLApp)
cmd/java/appengine/lib/lib.go:151
↓ 1 callersFunctionaddJvmConfig
addJvmConfig is a workaround for https://github.com/google/guice/issues/1133, an "illegal reflective access" warning. When that bug has been fixed in
cmd/java/maven/lib/lib.go:172
↓ 1 callersFunctionaddOnInit
(cb)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5759
↓ 1 callersFunctionaddOnInit
(cb)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4663
↓ 1 callersFunctionaddOnPostRun
(cb)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5762
↓ 1 callersFunctionaddOnPostRun
(cb)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4666
↓ 1 callersFunctionaddOnPreRun
(cb)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5756
↓ 1 callersFunctionaddOnPreRun
(cb)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4660
↓ 1 callersFunctionaddPHPIni
(ctx *gcp.Context, phpl *libcnb.Layer)
cmd/php/runtime/lib/lib.go:97
↓ 1 callersFunctionadjustUserReq
(req)
cmd/nodejs/legacy_worker/converter/worker/worker.js:617
↓ 1 callersFunctionalignMemory
(size, factor)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5491
↓ 1 callersFunctionalignMemory
(size, factor)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4395
↓ 1 callersFunctionalignUp
(x, multiple)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5708
↓ 1 callersFunctionalignUp
(x, multiple)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4612
↓ 1 callersFunctionallDeps
(ctx *gcp.Context)
cmd/php/appengine/lib/lib.go:96
↓ 1 callersFunctionallDeps
(ctx *gcp.Context)
cmd/go/appengine/lib/lib.go:91
↓ 1 callersMethodallocateSource
(content)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3239
↓ 1 callersMethodallocateSource
(content)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2157
↓ 1 callersMethodallocateUnattachedSource
(content)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3229
← previousnext →1,001–1,100 of 3,416, ranked by callers