Registry / cloud / cloudfoundry-community-go-cfclient

cloudfoundry-community-go-cfclient

JSON →
librarygogounverified

A Go client library for interacting with the Cloud Foundry API.

go get github.com/cloudfoundry-community/go-cfclient
INSTALL
IMPORT
SIG · CLOUDFOUNDRY-COMMU
C
cloudfoundry-community-go-cfclient
cloudgo
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.

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

Creates a Cloud Foundry client and lists organizations.

package main import ( "fmt" "github.com/cloudfoundry-community/go-cfclient" ) func main() { config := &cfclient.Config{ ApiAddress: "https://api.example.com", Username: "user", Password: "pass", } client, _ := cfclient.NewClient(config) orgs, _ := client.ListOrgs() fmt.Printf("Found %d orgs\n", len(orgs)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
22
Resources
cloudfoundry-community-go-cfclient — go get cloudfoundry-community-go-cfclient · libregistry