MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/buildpacks / functions

Functions3,416 in github.com/GoogleCloudPlatform/buildpacks

↓ 3 callersFunctionRequiresGlobalizationInvariant
RequiresGlobalizationInvariant returns true if the system lacks the OS packages necessary to support .NET globalization.
pkg/dotnet/dotnet.go:633
↓ 3 callersFunctionRuntimeConfigJSONFiles
RuntimeConfigJSONFiles returns all runtimeconfig.json files in 'path'. The runtimeconfig.json file is present for compiled .NET assemblies.
pkg/dotnet/dotnet.go:448
↓ 3 callersFunctionSetUpTempDirs
SetUpTempDirs sets up temp directories that mimic the layers of buildpacks.
internal/buildpacktestenv/buildpacktestenv.go:71
↓ 3 callersFunctionStringPrototypeEndsWith
(str, ...rest)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10232
↓ 3 callersFunctionStringPrototypeEndsWith
(str, ...rest)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9127
↓ 3 callersFunctionStringPrototypeIndexOf
(str, ...rest)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:10235
↓ 3 callersFunctionStringPrototypeIndexOf
(str, ...rest)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9130
↓ 3 callersFunctionSupervisorConfFiles
SupervisorConfFiles returns whether it is necessary to install supervisor and the necessary files to fetch.
pkg/flex/supervisor.go:66
↓ 3 callersFunctionSupportsBundler1
SupportsBundler1 returns true if the installed Ruby version is compatible with Bundler 1. Bundler 1 breaks with Ruby 3.2. This functions returns true
pkg/ruby/ruby.go:126
↓ 3 callersFunctionTempWorkingDir
TempWorkingDir creates a temp dir, sets the current working directory to it, and returns a clean up function to restore everything back.
internal/buildpacktestenv/buildpacktestenv.go:46
↓ 3 callersFunctionUnarchiveTestData
UnarchiveTestData extracts the test-data tgz into a temp dir and returns a cleanup function to be deferred. This function overwrites the "test-data" t
internal/acceptance/acceptance.go:120
↓ 3 callersFunctionUseFrozenLockfile
UseFrozenLockfile returns an true if the environment supporte Yarn's --frozen-lockfile flag. This is a hack to maintain backwards compatibility on App
pkg/nodejs/yarn.go:106
↓ 3 callersFunctionUserErrorf
UserErrorf constructs an Error with status StatusUnknown (user-attributed SLO).
pkg/buildererror/error.go:69
↓ 3 callersFunctionVersionMatchesSemver
VersionMatchesSemver checks if the provided version matches the given version semver range. The range string has the following format: https://github.
pkg/nodejs/nodejs.go:344
↓ 3 callersMethodWriteToFile
WriteToFile writes the given app hosting schema to the specified path.
pkg/firebase/apphostingschema/apphostingschema.go:396
↓ 3 callersMethodaccessPromise
(p, mode)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3019
↓ 3 callersMethodaccessPromise
(p, mode)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1937
↓ 3 callersFunctionaddProcfileProcesses
addProcfileProcesses adds all processes from the given Procfile contents.
cmd/config/entrypoint/lib/lib.go:104
↓ 3 callersFunctionadjustUserReqPath
(str)
cmd/nodejs/legacy_worker/converter/worker/worker.js:603
↓ 3 callersFunctionallocateUTF8
(str)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5698
↓ 3 callersFunctionallocateUTF8
(str)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4602
↓ 3 callersFunctionbaseuvPipInstallArgs
(req string)
pkg/python/python.go:692
↓ 3 callersFunctionbuildCommand
(srcDir, image, builderName, runName string, env map[string]string, cache bool)
internal/acceptance/acceptance.go:953
↓ 3 callersFunctionbuildCommandLine
buildCommandLine runs the native-image build via command line and returns the image entrypoint.
cmd/java/native_image/lib/lib.go:101
↓ 3 callersFunctioncallAfterFlushingLogs
(callback)
cmd/nodejs/legacy_worker/converter/worker/worker.js:480
↓ 3 callersFunctioncallRuntimeCallbacks
(callbacks)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5873
↓ 3 callersFunctioncallRuntimeCallbacks
(callbacks)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4777
↓ 3 callersMethodchown
(uid, gid)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:4991
↓ 3 callersMethodchown
(uid, gid)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:3901
↓ 3 callersFunctioncleanMainPath
(mp string)
cmd/go/appengine_gomod/lib/lib.go:129
↓ 3 callersFunctioncleanMainPath
(mp string)
cmd/go/flex_gomod/lib/lib.go:111
↓ 3 callersFunctioncomputeHash
(t *testing.T, ctx *gcp.Context, opts ...Option)
pkg/cache/cache_test.go:303
↓ 3 callersFunctioncopyImpl
(prelayout, postlayout, updateTime, destinationFs, destination, sourceFs, source, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1454
↓ 3 callersFunctioncopyImpl
(prelayout, postlayout, updateTime, destinationFs, destination, sourceFs, source, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:376
↓ 3 callersFunctioncreateMainGoFile
(ctx *gcp.Context, fn fnInfo, main, version string)
cmd/go/functions_framework/lib/lib.go:415
↓ 3 callersFunctioncreateMainGoFile
(ctx *gcp.Context, fn fnInfo, main string)
cmd/go/legacy_worker/lib/lib.go:247
↓ 3 callersFunctiondeleteFolder
deleteFolder returns whether the folder was deleted
pkg/dotnet/dotnet.go:272
↓ 3 callersMethoddiscardAndClose
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1761
↓ 3 callersFunctionensureUVVenv
ensureUVVenv checks for an existing environment at the given path and creates one if it doesn't exist.
pkg/python/pyproject.go:438
↓ 3 callersFunctionextract
extract extracts the name of the package in the specified directory. Expects that the specified directory contains one and only one Go package.
cmd/go/functions_framework/converter/get_package/main.go:40
↓ 3 callersFunctionextract
extract extracts the name of the package in the specified directory. Expects that the specified directory contains one and only one Go package.
cmd/go/legacy_worker/converter/get_package/main.go:32
↓ 3 callersFunctionfallbackRuntimeImageURL
(ctx *gcp.Context, hostname, registry, osName string, runtime InstallableRuntime, version string, isZstd bool)
pkg/runtime/install.go:433
↓ 3 callersMethodgetExtractHint
(hints)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2756
↓ 3 callersMethodgetExtractHint
(hints)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1678
↓ 3 callersFunctiongetImageStackID
(image string)
internal/acceptance/acceptance.go:808
↓ 3 callersMethodgetRealPath
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2768
↓ 3 callersMethodgetRealPath
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1690
↓ 3 callersFunctionhasEnvVar
(name string, env map[string]string)
internal/acceptance/environment.go:93
↓ 3 callersFunctionhasInterleavedString
(t *testing.T, s, sub string)
pkg/gcpbuildpack/exec_test.go:94
↓ 3 callersFunctioninstallTool
installTool handles the common logic of installing a python tool with either pip or uv.
pkg/python/pyproject.go:365
↓ 3 callersFunctionisBothPyprojectAndRequirementsPresent
isBothPyprojectAndRequirementsPresent checks if both pyproject.toml and requirements.txt are present.
pkg/python/python.go:518
↓ 3 callersMethodisFIFO
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1213
↓ 3 callersMethodisFIFO
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:136
↓ 3 callersFunctionisPackageManagerConfigured
isPackageManagerConfigured checks if the environment is configured to use the specified package manager.
pkg/python/python.go:486
↓ 3 callersFunctionisPathIgnored
(path)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11180
↓ 3 callersFunctionisPathIgnored
(path)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:9785
↓ 3 callersFunctionmakeEmptyArchive
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2636
↓ 3 callersFunctionmakeLinkOperation
(opFs, destination, source, sourceStat, linkStrategy)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:1539
↓ 3 callersFunctionmakeLinkOperation
(opFs, destination, source, sourceStat, linkStrategy)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:461
↓ 3 callersFunctionmaybeRunBuildRunner
(ctx *gcp.Context, dir string)
cmd/dart/compile/lib/lib.go:41
↓ 3 callersFunctionmmapAlloc
(size)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:6194
↓ 3 callersFunctionmmapAlloc
(size)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:5098
↓ 3 callersFunctionmockReadGoMod
mockReadGoMod mocks the readGoMod
pkg/golang/golang_test.go:739
↓ 3 callersFunctionmockResolveGoVersion
(t *testing.T, err error)
pkg/golang/golang_test.go:721
↓ 3 callersFunctionnewSpanInfo
(name string, start, end time.Time, attributes map[string]interface{}, status buildererror.Status)
pkg/gcpbuildpack/span.go:33
↓ 3 callersMethodopendirPromise
(p, opts)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2862
↓ 3 callersMethodopendirPromise
(p, opts)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1780
↓ 3 callersFunctionparseCommand
parseCommand parses a command string into a list of arguments. The command string is expected to be in the format of a shell command. It will split th
cmd/firebase/bundle/lib/lib.go:255
↓ 3 callersFunctionparseCommand
parseCommand parses a command string into a list of arguments. The command string is expected to be in the format of a shell command. It will split th
cmd/nodejs/firebasebundle/lib/lib.go:272
↓ 3 callersFunctionparsePackageManager
parsePackageManager parses the packageManager field and returns the manager name and version. packageManagerField must have this regex (pnpm|yarn|bun)
pkg/nodejs/nodejs.go:516
↓ 3 callersMethodprepareClose
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2816
↓ 3 callersMethodprepareClose
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1734
↓ 3 callersMethodregisterListing
(p)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3138
↓ 3 callersMethodregisterListing
(p)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2056
↓ 3 callersFunctionremovePrefix
(str, prefix)
cmd/nodejs/legacy_worker/converter/worker/worker.js:578
↓ 3 callersFunctionremoveRunDependency
(id)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5773
↓ 3 callersFunctionremoveRunDependency
(id)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:4677
↓ 3 callersFunctionreplaceInFile
replaceInFile is a helper to find and replace strings in a file at a given path.
builders/java/acceptance/gae_test.go:60
↓ 3 callersFunctionresolveUnqualified
(unqualifiedPath, { extensions = Object.keys(require$$0.Module._extensions) } = {})
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:11511
↓ 3 callersFunctionresolveUnqualified
(unqualifiedPath, { extensions = Object.keys(require$$0.Module._extensions) } = {})
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:10116
↓ 3 callersFunctionsetEnv
(t *testing.T, name, value string)
pkg/appengine/appengine_test.go:97
↓ 3 callersFunctionsetUpBuildEnvironment
setUpBuildEnvironment sets up an environment for testing buildpack build functionality.
pkg/gcpbuildpack/gcpbuildpack_test.go:714
↓ 3 callersFunctiontarballRegistry
()
pkg/runtime/install.go:219
↓ 3 callersFunctiontestApp
(t *testing.T, src, image, builderName, runName string, env map[string]string, cacheEnabled bool, checks *Stru
internal/acceptance/acceptance.go:307
↓ 3 callersMethodtruncate
(len)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5074
↓ 3 callersMethodtruncate
(len)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:3978
↓ 3 callersFunctionunwatchAllFiles
(fakeFs)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2612
↓ 3 callersFunctionunwatchAllFiles
(fakeFs)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1534
↓ 3 callersFunctionunwatchFile
(fakeFs, path, cb)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:2596
↓ 3 callersFunctionunwatchFile
(fakeFs, path, cb)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:1518
↓ 3 callersMethodunwatchFile
(p, cb)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3729
↓ 3 callersMethodunwatchFile
(p, cb)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2647
↓ 3 callersFunctionversionMatchesSemver
versionMatchesSemver checks if the provided version matches the given version semver range. The range string has the following format: https://github.
pkg/python/python.go:162
↓ 3 callersMethodwatchFile
(p, a, b)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:3725
↓ 3 callersMethodwatchFile
(p, a, b)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:2643
↓ 2 callersFunction$$SETUP_STATE
(hydrateRuntimeState, basePath)
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:5
↓ 2 callersFunction$$SETUP_STATE
(hydrateRuntimeState, basePath)
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:5
↓ 2 callersMethodAddInstalledRuntimeVersion
AddInstalledRuntimeVersion adds a runtime version to the list of installed runtimes. Used for versionless runtimes to provide feedback on the runtime
pkg/gcpbuildpack/gcpbuildpack.go:438
↓ 2 callersFunctionAssemblyName
AssemblyName retrieves the assembly name property from .csproj file.
pkg/dotnet/dotnet.go:304
↓ 2 callersFunctionCheckUVIncompatibleDependencies
CheckUVIncompatibleDependencies checks for incompatible dependencies using uv pip check.
pkg/python/python.go:664
← previousnext →501–600 of 3,416, ranked by callers