Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/buildpacks
/ functions
Functions
3,416 in github.com/GoogleCloudPlatform/buildpacks
⨍
Functions
3,416
◇
Types & classes
435
↳
Endpoints
60
Function
Func
Func declares an HTTP handler.
builders/testdata/go/functions/without_framework_vendored/function.go:30
Method
Function
(IConfiguration configuration)
builders/testdata/dotnet/functions/cs_nested_configuration/function/Function.cs:26
Function
GetReturn
GetReturn returns a string "PASS"
pkg/fileutil/testdata/path_with_subdir/subdir/example.com/htmlreturn/htmlreturn.go:19
Function
GetReturn
GetReturn returns a string "PASS"
builders/testdata/go/appengine/gopath_main_ongopath_subdirgopathdeps/_gopath/src/htmlreturn/htmlreturn.go:19
Function
GetReturn
GetReturn returns a string "PASS"
builders/testdata/go/appengine/gopath_main_ongopath_gopathdeps/_gopath/src/htmlreturn/htmlreturn.go:19
Function
GetReturn
GetReturn returns a string "PASS"
builders/testdata/go/appengine/gopath_main_not_ongopath_gopathdeps/_gopath/src/htmlreturn/htmlreturn.go:19
Method
GetSecretVersion
GetSecretVersion gets the secret version for the given request.
internal/fakesecretmanager/fakesecretmanager.go:47
Function
HEAP8
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9592
Function
HEAP8
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8496
Function
HEAPU8
()
builders/testdata/nodejs/functions/yarn_two_pnp/.pnp.cjs:9595
Function
HEAPU8
()
builders/testdata/nodejs/appengine/yarn_two_pnp/.pnp.cjs:8499
Method
HandleAsync
(HttpContext context)
builders/testdata/dotnet/functions/cs_single_target_dotnet6/Function.cs:23
Method
HandleAsync
(HttpContext context)
builders/testdata/dotnet/functions/cs_nested_configuration/function/Function.cs:31
Method
HandleAsync
(HttpContext context)
builders/testdata/dotnet/functions/cs_single_target/Function.cs:23
Method
HandleAsync
(HttpContext context)
builders/testdata/dotnet/functions/cs_multiple_targets/Function.cs:23
Method
HandleAsync
(HttpContext context)
builders/testdata/dotnet/functions/cs_multiple_targets/Function.cs:31
Function
Handler
(execute)
cmd/nodejs/legacy_worker/converter/worker/worker.js:711
Function
Hello
Hello returns a greeting from fork.
builders/testdata/go/functions/declarative_with_replace/quote-forked/quote.go:5
Function
Home
()
builders/testdata/nodejs/apphosting/nextjs_turbo/apps/web/pages/index.js:2
Function
HomePage
()
builders/testdata/nodejs/generic/nextjs/app/page.js:17
Function
HomePage
()
builders/testdata/nodejs/apphosting/nextjs_pnpm/app/page.js:17
Function
HomePage
()
builders/testdata/nodejs/apphosting/nextjs_npm/app/page.js:17
Function
HomePage
()
builders/testdata/nodejs/apphosting/nextjs_yarn/app/page.js:17
Function
Init
builders/testdata/nodejs/generic/native_extensions/hello.cc:8
Method
Install
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
Method
Install
(ctx *gcp.Context, l *libcnb.Layer, reqs ...string)
pkg/python/python.go:659
Method
Install
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
Method
Install
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
Method
Install
Install does nothing, assuming Composer is already present in the environment.
pkg/php/php.go:330
Method
Install
(ctx *gcp.Context, l *libcnb.Layer)
pkg/ruby/ruby.go:202
Method
Install
Install does nothing, assuming RubyGems is already present in the environment.
pkg/ruby/ruby.go:209
Method
Install
(ctx *gcp.Context)
pkg/ruby/ruby.go:236
Method
Install
Install installs dependencies locally into .bundle/gems.
pkg/ruby/ruby.go:243
Method
Install
Install does nothing, avoiding the "file not found" error in maker mode.
pkg/execd/execd.go:38
Method
InstallBun
InstallBun does nothing, assuming bun is already present in the environment.
pkg/nodejs/bun.go:110
Method
InstallModules
InstallModules installs modules using yarn install in the application root.
pkg/nodejs/yarn.go:85
Method
InstallPNPM
InstallPNPM does nothing, assuming pnpm is already present in the environment.
pkg/nodejs/pnpm.go:180
Method
InstallTarballIfNotCached
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
Method
InstallYarn
(ctx *gcpbuildpack.Context, yarnLayer *libcnb.Layer, pjs *nodejs.PackageJSON)
pkg/nodejs/example_test.go:29
Method
InstallYarn
InstallYarn does nothing, assuming Yarn is already present in the environment.
pkg/nodejs/yarn.go:67
Function
IsBetaSupported
IsBetaSupported returns true if the release track is alpha or beta.
pkg/env/env.go:240
Method
IsEmpty
IsEmpty checks if the BuilderMetadata is empty.
pkg/buildermetadata/buildermetadata.go:86
Method
Labels
Labels returns the list of labels added by buildpacks.
pkg/gcpbuildpack/gcpbuildpack.go:265
Method
Lock
Lock prepares the lockfile locally for Maker.
pkg/ruby/ruby.go:226
Method
Main
()
builders/testdata/java/generic/simple/Main.java:63
Method
Main
()
builders/testdata/java/appengine/custom_entrypoint/Main.java:43
Method
Main
()
builders/testdata/java/appengine/custom_entrypoint_appengine_web_xml/Main.java:64
Method
Main
(string[] args)
builders/testdata/dotnet/generic/cs_assemblyname/Program.cs:28
Method
Main
(string[] args)
builders/testdata/dotnet/generic/cs_properties/Program.cs:28
Method
Main
(string[] args)
builders/testdata/dotnet/generic/cs_custom_entrypoint/Program.cs:28
Method
Main
(string[] args)
builders/testdata/dotnet/generic/cs_local_deps_reversed/Function/Program.cs:28
Method
Main
(string[] args)
builders/testdata/dotnet/generic/cs_with_dep/Program.cs:28
Method
Main
(string[] args)
builders/testdata/dotnet/generic/cs_nested_proj/app/Program.cs:28
Method
Main
(string[] args)
builders/testdata/dotnet/generic/cs_nested_proj/myproj/Program.cs:28
Method
Main
(string[] args)
builders/testdata/dotnet/generic/simple_dotnet6/Program.cs:14
Method
Main
(string[] args)
builders/testdata/dotnet/generic/cs_local_deps/App/Program.cs:28
Method
Main
(string[] args)
builders/testdata/dotnet/generic/simple_dotnet7/Program.cs:14
Method
Main
(string[] args)
builders/testdata/dotnet/generic/simple_with_global/Program.cs:14
Function
MainRunner
MainRunner is the main entrypoint for runners.
pkg/gcpbuildpack/gcpbuildpack.go:579
Method
MarshalJSON
MarshalJSON serializes a Counter into json
pkg/buildermetrics/counter.go:38
Method
MarshalJSON
MarshalJSON is a custom marshaler for BuilderMetrics
pkg/buildermetrics/buildermetrics.go:97
Method
MarshalJSON
MarshalJSON serializes a FloatDP into json
pkg/buildermetrics/floatdp.go:40
Method
MarshalJSON
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
Method
MarshalJSON
MarshalJSON is a custom marshaler for BuilderMetadata
pkg/buildermetadata/buildermetadata.go:126
Function
Method
builders/testdata/nodejs/generic/native_extensions/hello.cc:3
Function
NewMockExecCmd
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
Function
NonDeclarativeFunc
NonDeclarativeFunc is a CloudEvent function that is not declaratively registered.
builders/testdata/go/functions/declarative_cloud_event/function.go:42
Function
OptInAlways
OptInAlways is used to always opt into the build process.
pkg/gcpbuildpack/detect.go:59
Method
Pass
Pass is called when a buildpack passes.
pkg/gcpbuildpack/gcpbuildpack_test.go:689
Method
PatchSysconfig
PatchSysconfig does nothing, as no patching is required for maker.
pkg/python/python.go:579
Method
Publish
Publish restores, publishes, and determines the runtime entrypoint of the Dotnet application in maker mode.
pkg/dotnet/dotnet.go:77
Function
PullImages
PullImages returns the value of the -pull-images flag.
internal/acceptance/acceptance.go:1450
Function
ReadPackageLockJSONIfExists
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
Method
Reason
()
pkg/gcpbuildpack/detect.go:39
Function
Register
Register registers buildpack functions.
pkg/gcpbuildpack/registerbuildpacks.go:6
Function
Reset
Reset resets the state of the BuilderMetadata struct For testing use only.
pkg/buildermetadata/buildermetadata.go:104
Method
Restore
Restore copies files from the src path to the dst path.
pkg/nodejs/npm.go:312
Method
Restore
Restore is a no-op.
pkg/nodejs/npm.go:331
Method
Result
()
pkg/gcpbuildpack/detect.go:35
Function
RootLayout
({ children })
builders/testdata/nodejs/generic/nextjs/app/layout.js:17
Function
RootLayout
({ children })
builders/testdata/nodejs/apphosting/nextjs_pnpm/app/layout.js:17
Function
RootLayout
({ children })
builders/testdata/nodejs/apphosting/nextjs_npm/app/layout.js:17
Function
RootLayout
({ children })
builders/testdata/nodejs/apphosting/nextjs_yarn/app/layout.js:17
Method
Save
Save copies files from the src path to the dst path.
pkg/nodejs/npm.go:318
Method
Save
Save is a no-op.
pkg/nodejs/npm.go:336
Method
SaveLayerMetadataAndEnv
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
Method
SkipVariables
SkipVariables skips the launch environment variables setup.
pkg/dotnet/dotnet.go:56
Function
TestARGenericBinary
(t *testing.T)
pkg/fetch/fetch_test.go:223
Function
TestAcceptance
(t *testing.T)
builders/python/acceptance/gae_test.go:26
Function
TestAcceptance
(t *testing.T)
builders/python/acceptance/flex_test.go:26
Function
TestAcceptance
(t *testing.T)
builders/python/acceptance/gcf_test.go:35
Function
TestAcceptance
(t *testing.T)
builders/php/acceptance/gcp_test.go:22
Function
TestAcceptance
(t *testing.T)
builders/php/acceptance/gae_test.go:22
Function
TestAcceptance
(t *testing.T)
builders/php/acceptance/flex_test.go:13
Function
TestAcceptance
(t *testing.T)
builders/php/acceptance/gcf_test.go:23
Function
TestAcceptance
(t *testing.T)
builders/gcp/base/acceptance/php_test.go:27
Function
TestAcceptance
(t *testing.T)
builders/gcp/base/acceptance/ruby_fn_test.go:26
Function
TestAcceptance
(t *testing.T)
builders/gcp/base/acceptance/java_fn_test.go:28
Function
TestAcceptance
(t *testing.T)
builders/ruby/acceptance/gcp_test.go:42
Function
TestAcceptance
(t *testing.T)
builders/ruby/acceptance/gae_test.go:60
← previous
next →
1,801–1,900 of 3,416, ranked by callers