fakecc

command module
v0.0.0-...-a118074 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

README

fakecc

A fake Cloud Controller server that response the specified "information" endpoints

Install:

Requires GoLang to be installed:

$ go get -u github.com/XenoPhex/fakecc

How to use:

First start the server (this can be backgrounded with an & at the end of the command):

$ fakecc --disable-ccv3 
API URL: http://localhost:8080

With the CF CLI, target the server:

$ cf api --skip-ssl-validation http://localhost:8080
Setting api endpoint to http://localhost:8080...
Warning: Insecure http API endpoint detected: secure https API endpoints are recommended
OK

api endpoint:   http://localhost:8080
api version:    2.101.0
Not logged in. Use 'cf login' to log in.

$ cf tasks foo
This command requires CF API version 3.0.0 or higher.
FAILED

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL