MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/buildpacks / functions

Functions3,416 in github.com/GoogleCloudPlatform/buildpacks

FunctionFunc
Func declares an HTTP handler.
builders/testdata/go/functions/without_framework_vendored/function.go:30
MethodFunction
(IConfiguration configuration)
builders/testdata/dotnet/functions/cs_nested_configuration/function/Function.cs:26
FunctionGetReturn
GetReturn returns a string "PASS"
pkg/fileutil/testdata/path_with_subdir/subdir/example.com/htmlreturn/htmlreturn.go:19
FunctionGetReturn
GetReturn returns a string "PASS"
builders/testdata/go/appengine/gopath_main_ongopath_subdirgopathdeps/_gopath/src/htmlreturn/htmlreturn.go:19
FunctionGetReturn
GetReturn returns a string "PASS"
builders/testdata/go/appengine/gopath_main_ongopath_gopathdeps/_gopath/src/htmlreturn/htmlreturn.go:19
FunctionGetReturn
GetReturn returns a string "PASS"
builders/testdata/go/appengine/gopath_main_not_ongopath_gopathdeps/_gopath/src/htmlreturn/htmlreturn.go:19
MethodGetSecretVersion
GetSecretVersion gets the secret version for the given request.
internal/fakesecretmanager/fakesecretmanager.go:47
FunctionHEAP8
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9592
FunctionHEAP8
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8496
FunctionHEAPU8
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9595
FunctionHEAPU8
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8499
MethodHandleAsync
(HttpContext context)
builders/testdata/dotnet/functions/cs_single_target_dotnet6/Function.cs:23
MethodHandleAsync
(HttpContext context)
builders/testdata/dotnet/functions/cs_nested_configuration/function/Function.cs:31
MethodHandleAsync
(HttpContext context)
builders/testdata/dotnet/functions/cs_single_target/Function.cs:23
MethodHandleAsync
(HttpContext context)
builders/testdata/dotnet/functions/cs_multiple_targets/Function.cs:23
MethodHandleAsync
(HttpContext context)
builders/testdata/dotnet/functions/cs_multiple_targets/Function.cs:31
FunctionHandler
(execute)
cmd/nodejs/legacy_worker/converter/worker/worker.js:711
FunctionHello
Hello returns a greeting from fork.
builders/testdata/go/functions/declarative_with_replace/quote-forked/quote.go:5
FunctionHome
()
builders/testdata/nodejs/apphosting/nextjs_turbo/apps/web/pages/index.js:2
FunctionHomePage
()
builders/testdata/nodejs/generic/nextjs/app/page.js:17
FunctionHomePage
()
builders/testdata/nodejs/apphosting/nextjs_pnpm/app/page.js:17
FunctionHomePage
()
builders/testdata/nodejs/apphosting/nextjs_npm/app/page.js:17
FunctionHomePage
()
builders/testdata/nodejs/apphosting/nextjs_yarn/app/page.js:17
FunctionInit
builders/testdata/nodejs/generic/native_extensions/hello.cc:8
MethodInstall
Install installs python dependencies to the target directory specified by GOOGLE_PIP_TARGET_DIR. If GOOGLE_PIP_TARGET_DIR is not set, it defaults to "
pkg/python/python.go:346
MethodInstall
(ctx *gcp.Context, l *libcnb.Layer, reqs ...string)
pkg/python/python.go:659
MethodInstall
Install installs python dependencies locally to the target directory specified by GOOGLE_PIP_TARGET_DIR using uv. This supports the Maker's artifact g
pkg/python/python.go:686
MethodInstall
Install does nothing, as uv is expected to be present in the maker environment. In Maker mode, we rely on the pre-installed `uv` binary on the user's
pkg/python/pyproject.go:285
MethodInstall
Install does nothing, assuming Composer is already present in the environment.
pkg/php/php.go:330
MethodInstall
(ctx *gcp.Context, l *libcnb.Layer)
pkg/ruby/ruby.go:202
MethodInstall
Install does nothing, assuming RubyGems is already present in the environment.
pkg/ruby/ruby.go:209
MethodInstall
(ctx *gcp.Context)
pkg/ruby/ruby.go:236
MethodInstall
Install installs dependencies locally into .bundle/gems.
pkg/ruby/ruby.go:243
MethodInstall
Install does nothing, avoiding the "file not found" error in maker mode.
pkg/execd/execd.go:38
MethodInstallBun
InstallBun does nothing, assuming bun is already present in the environment.
pkg/nodejs/bun.go:110
MethodInstallModules
InstallModules installs modules using yarn install in the application root.
pkg/nodejs/yarn.go:85
MethodInstallPNPM
InstallPNPM does nothing, assuming pnpm is already present in the environment.
pkg/nodejs/pnpm.go:180
MethodInstallTarballIfNotCached
InstallTarballIfNotCached for the maker tool only resolves the runtime version (locally if supported) and adds a label. It bypasses the actual downloa
pkg/runtime/install.go:744
MethodInstallYarn
(ctx *gcpbuildpack.Context, yarnLayer *libcnb.Layer, pjs *nodejs.PackageJSON)
pkg/nodejs/example_test.go:29
MethodInstallYarn
InstallYarn does nothing, assuming Yarn is already present in the environment.
pkg/nodejs/yarn.go:67
FunctionIsBetaSupported
IsBetaSupported returns true if the release track is alpha or beta.
pkg/env/env.go:240
MethodIsEmpty
IsEmpty checks if the BuilderMetadata is empty.
pkg/buildermetadata/buildermetadata.go:86
MethodLabels
Labels returns the list of labels added by buildpacks.
pkg/gcpbuildpack/gcpbuildpack.go:265
MethodLock
Lock prepares the lockfile locally for Maker.
pkg/ruby/ruby.go:226
MethodMain
()
builders/testdata/java/generic/simple/Main.java:63
MethodMain
()
builders/testdata/java/appengine/custom_entrypoint/Main.java:43
MethodMain
()
builders/testdata/java/appengine/custom_entrypoint_appengine_web_xml/Main.java:64
MethodMain
(string[] args)
builders/testdata/dotnet/generic/cs_assemblyname/Program.cs:28
MethodMain
(string[] args)
builders/testdata/dotnet/generic/cs_properties/Program.cs:28
MethodMain
(string[] args)
builders/testdata/dotnet/generic/cs_custom_entrypoint/Program.cs:28
MethodMain
(string[] args)
builders/testdata/dotnet/generic/cs_local_deps_reversed/Function/Program.cs:28
MethodMain
(string[] args)
builders/testdata/dotnet/generic/cs_with_dep/Program.cs:28
MethodMain
(string[] args)
builders/testdata/dotnet/generic/cs_nested_proj/app/Program.cs:28
MethodMain
(string[] args)
builders/testdata/dotnet/generic/cs_nested_proj/myproj/Program.cs:28
MethodMain
(string[] args)
builders/testdata/dotnet/generic/simple_dotnet6/Program.cs:14
MethodMain
(string[] args)
builders/testdata/dotnet/generic/cs_local_deps/App/Program.cs:28
MethodMain
(string[] args)
builders/testdata/dotnet/generic/simple_dotnet7/Program.cs:14
MethodMain
(string[] args)
builders/testdata/dotnet/generic/simple_with_global/Program.cs:14
FunctionMainRunner
MainRunner is the main entrypoint for runners.
pkg/gcpbuildpack/gcpbuildpack.go:579
MethodMarshalJSON
MarshalJSON serializes a Counter into json
pkg/buildermetrics/counter.go:38
MethodMarshalJSON
MarshalJSON is a custom marshaler for BuilderMetrics
pkg/buildermetrics/buildermetrics.go:97
MethodMarshalJSON
MarshalJSON serializes a FloatDP into json
pkg/buildermetrics/floatdp.go:40
MethodMarshalJSON
Legacy metrics must un/marshal in the same way as the original metrics for compatibility MarshalJSON serializes a Counter into json
pkg/buildermetrics/legacymetric.go:49
MethodMarshalJSON
MarshalJSON is a custom marshaler for BuilderMetadata
pkg/buildermetadata/buildermetadata.go:126
FunctionMethod
builders/testdata/nodejs/generic/native_extensions/hello.cc:3
FunctionNewMockExecCmd
NewMockExecCmd constructs an ExecCmd that can replace standard exec.Cmd calls with custom behavior for testing. It takes the path to the mock process
internal/buildpacktestenv/buildpacktestenv.go:190
FunctionNonDeclarativeFunc
NonDeclarativeFunc is a CloudEvent function that is not declaratively registered.
builders/testdata/go/functions/declarative_cloud_event/function.go:42
FunctionOptInAlways
OptInAlways is used to always opt into the build process.
pkg/gcpbuildpack/detect.go:59
MethodPass
Pass is called when a buildpack passes.
pkg/gcpbuildpack/gcpbuildpack_test.go:689
MethodPatchSysconfig
PatchSysconfig does nothing, as no patching is required for maker.
pkg/python/python.go:579
MethodPublish
Publish restores, publishes, and determines the runtime entrypoint of the Dotnet application in maker mode.
pkg/dotnet/dotnet.go:77
FunctionPullImages
PullImages returns the value of the -pull-images flag.
internal/acceptance/acceptance.go:1450
FunctionReadPackageLockJSONIfExists
ReadPackageLockJSONIfExists returns deserialized package-lock.json from the given dir. If the provided dir does not contain a package-lock.json file,
pkg/nodejs/nodejs.go:145
MethodReason
()
pkg/gcpbuildpack/detect.go:39
FunctionRegister
Register registers buildpack functions.
pkg/gcpbuildpack/registerbuildpacks.go:6
FunctionReset
Reset resets the state of the BuilderMetadata struct For testing use only.
pkg/buildermetadata/buildermetadata.go:104
MethodRestore
Restore copies files from the src path to the dst path.
pkg/nodejs/npm.go:312
MethodRestore
Restore is a no-op.
pkg/nodejs/npm.go:331
MethodResult
()
pkg/gcpbuildpack/detect.go:35
FunctionRootLayout
({ children })
builders/testdata/nodejs/generic/nextjs/app/layout.js:17
FunctionRootLayout
({ children })
builders/testdata/nodejs/apphosting/nextjs_pnpm/app/layout.js:17
FunctionRootLayout
({ children })
builders/testdata/nodejs/apphosting/nextjs_npm/app/layout.js:17
FunctionRootLayout
({ children })
builders/testdata/nodejs/apphosting/nextjs_yarn/app/layout.js:17
MethodSave
Save copies files from the src path to the dst path.
pkg/nodejs/npm.go:318
MethodSave
Save is a no-op.
pkg/nodejs/npm.go:336
MethodSaveLayerMetadataAndEnv
SaveLayerMetadataAndEnv iterates over the layer contributors and writes their metadata and environment files to disk. This function is required for t
pkg/gcpbuildpack/gcpbuildpack.go:531
MethodSkipVariables
SkipVariables skips the launch environment variables setup.
pkg/dotnet/dotnet.go:56
FunctionTestARGenericBinary
(t *testing.T)
pkg/fetch/fetch_test.go:223
FunctionTestAcceptance
(t *testing.T)
builders/python/acceptance/gae_test.go:26
FunctionTestAcceptance
(t *testing.T)
builders/python/acceptance/flex_test.go:26
FunctionTestAcceptance
(t *testing.T)
builders/python/acceptance/gcf_test.go:35
FunctionTestAcceptance
(t *testing.T)
builders/php/acceptance/gcp_test.go:22
FunctionTestAcceptance
(t *testing.T)
builders/php/acceptance/gae_test.go:22
FunctionTestAcceptance
(t *testing.T)
builders/php/acceptance/flex_test.go:13
FunctionTestAcceptance
(t *testing.T)
builders/php/acceptance/gcf_test.go:23
FunctionTestAcceptance
(t *testing.T)
builders/gcp/base/acceptance/php_test.go:27
FunctionTestAcceptance
(t *testing.T)
builders/gcp/base/acceptance/ruby_fn_test.go:26
FunctionTestAcceptance
(t *testing.T)
builders/gcp/base/acceptance/java_fn_test.go:28
FunctionTestAcceptance
(t *testing.T)
builders/ruby/acceptance/gcp_test.go:42
FunctionTestAcceptance
(t *testing.T)
builders/ruby/acceptance/gae_test.go:60
← previousnext →1,801–1,900 of 3,416, ranked by callers