Skip to content

A Cloud Foundry CLI plugin to find the application(s) associated with a given hostname

License

Notifications You must be signed in to change notification settings

isabella232/cf-route-lookup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Cloud Foundry CLI plugin to find the application(s) associated with a given hostname

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.8%
  • Shell 3.2%