Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
/ cf-route-lookup Public archive

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

cloud-gov/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

Security policy

Stars

Watchers

Forks

Packages

No packages published