Skip to content
A Cloud Foundry CLI plugin to find the application(s) associated with a given hostname
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.
.gitignore add release instructions Dec 13, 2016
CONTRIBUTING.md update release instructions Jan 10, 2017
LICENSE.md
README.md print a message when targeting an org/space Jan 10, 2017
api.go remove debugging statements Dec 6, 2016
glide.lock
glide.yaml
main.go
models.go add -t flag to target the space containing this route Jan 10, 2017
run.sh improve naming of plugin/subcommand Dec 4, 2016

README.md

Cloud Foundry Route Lookup Plugin

This is a Cloud Foundry CLI plugin to find the application a given hostname/domain/route is bound to. Note this will only show applications in orgs/spaces that the logged-in user has permissions to view.

Installation

  1. Download the appropriate binary from the Releases page.

  2. Run

    cf install-plugin -r CF-Community route-lookup

Usage

$ cf lookup-route <my.example.com>
Bound to:
<org>/<space>/<app>

# use -t to target the org/space containing the route
$ cf lookup-route -t <my.example.com>
Bound to:
<org>/<space>/<app>
Changed target to: <org>/<space>

$ cf lookup-route <unknown.example.com>
Error retrieving apps: Route not found.
You can’t perform that action at this time.