Registry / cloud / cloudfoundry-community-go-cfenv

cloudfoundry-community-go-cfenv

JSON →
library1.18.0gogounverified

Package cfenv provides information about the current app deployed on Cloud Foundry, including any bound service(s).

go get github.com/cloudfoundry-community/go-cfenv
INSTALL
IMPORT
SIG · CLOUDFOUNDRY-COMMU
C
cloudfoundry-community-go-cfenv
cloudgov1.18.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cfenv
github.com/cloudfoundry-community/go-cfenv

Retrieves and prints the current Cloud Foundry app name.

package main import ( "fmt" "github.com/cloudfoundry-community/go-cfenv" ) func main() { app, _ := cfenv.Current() fmt.Println(app.Name) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.18.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
cloudfoundry-community-go-cfenv — go get cloudfoundry-community-go-cfenv · libregistry