Skip to content
A plugin for the CF CLI to report on service usage
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apihelper
vendor
.gitignore
README.md
build-all.sh
re-install-plugin.bat
re-install-plugin.sh
service-use.go
service-use_suite_test.go
service-use_test.go
wercker.yml

README.md

service-use

A cf CLI plugin to display info about service use. wercker status

Installation

Install from CF Community Plugins Repo

  1. cf install-plugin -r CF-Community "service-use"

Install from project releases section

  1. Download the version of plugin for your architecture from the "Releases" tab of the service-use project.
  2. If you are on Linux or Mac, you will need to chmod +x the file you downloaded.
  3. If you already had the plugin installed, uninstall it first with cf uninstall-plugin service-use
  4. Now, install the plugin with cf install-plugin <path-to-downloaded-plugin> replacing <path-to-downloaded-plugin> with the path to the plugin binary you downloaded.

Usage

Calling cf service-use will print out a report of all the Services and their Plans, with the instances that have been created of those services. You will see all the services and service instances that you have access to.

$ cf service-use
Getting service use information as auser@domain.com...

Service searchify:
 Plan small:
 Plan plus:
 Plan pro:

Service blazemeter:
 Plan free-tier:
 Plan basic1kmr:
 Plan pro5kmr:

Service rediscloud:
 Plan 100mb:
 Plan 250mb:
 Plan 500mb:
 Plan 1gb:
 Plan 2-5gb:
 Plan 5gb:
 Plan 10gb:
 Plan 50gb:
 Plan 30mb:
  Org: MyOrg, Space: staging, Instance: redis-service, Managers: [auser2@domain.com]
  Org: MyOrg, Space: production, Instance: df-redis, Managers: [auser2@domain.com]
...
You can’t perform that action at this time.