Skip to content

shinji62/go-cfclient

 
 

Repository files navigation

go-cfclient

Overview

Build Status GoDoc

cfclient is a package to assist you in writing apps that need information out of Cloud Foundry. It provides functions and structures to retrieve

Usage

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

package main

import (
	"github.com/cloudfoundry-community/go-cfclient"
)

func main() {
  c := &Config{
    ApiAddress:   "https://api.10.244.0.34.xip.io",
    LoginAddress: "https://login.10.244.0.34.xip.io",
    Username:     "admin",
    Password:     "admin",
  }
  client := NewClient(c)
  apps := client.ListApps()
  fmt.Println(apps)
}

Developing & Contributing

You can use Godep to restor the dependency

godep go build

Pull requests welcomed. Please ensure you make your changes in a branch off of the develop branch, not the master branch.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%