Skip to content

firasnajjar/go-cfclient

This branch is 11 commits ahead of, 677 commits behind cloudfoundry/go-cfclient:main.

Folders and files

NameName
Last commit message
Last commit date
Aug 23, 2017
Apr 7, 2015
Oct 5, 2017
Mar 17, 2017
Aug 23, 2017
Apr 12, 2017
Aug 4, 2017
Oct 6, 2017
Oct 6, 2017
Mar 14, 2017
Apr 10, 2017
Oct 20, 2017
Jul 8, 2017
Aug 6, 2017
Oct 15, 2017
May 30, 2017
May 23, 2017
Oct 15, 2017
Aug 6, 2017
Mar 14, 2017
Apr 10, 2017
Sep 27, 2017
Sep 27, 2017
Nov 4, 2017
Oct 22, 2017
Oct 22, 2017
Oct 15, 2017
Apr 10, 2017
Aug 22, 2017
Aug 4, 2017
Nov 6, 2017
Nov 4, 2017
Oct 30, 2017
Oct 5, 2017
Oct 27, 2017
Oct 27, 2017
Nov 6, 2017
May 21, 2017
Nov 4, 2017
Aug 4, 2017
Nov 4, 2017
Nov 4, 2017
Mar 14, 2017
Apr 10, 2017
Oct 16, 2017
Oct 16, 2017
Mar 14, 2017
Apr 10, 2017
Jul 8, 2017
Jul 8, 2017
Mar 11, 2017
Jul 8, 2017
Jul 8, 2017
Jul 17, 2017
Jul 17, 2017

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

NOTE: Currently this project is not versioning its releases and so breaking changes might be introduced. Whilst hopefully notifications of breaking changes are made via commit messages, ideally your project will use a local vendoring system to lock in a version of go-cfclient that is known to work for you. This will allow you to control the timing and maintenance of upgrades to newer versions of this library.

Some example code:

package main

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

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

Developing & Contributing

You can use Godep to restore the dependency Tested with go1.5.3

godep go build

Pull requests welcome.

About

Golang client lib for Cloud Foundry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%