cf-lookup-route

command module
v0.0.0-...-89f881c Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 11 Imported by: 0

README

Cloud Foundry Route Lookup Plugin

This is a Cloud Foundry CLI plugin to quickly identify applications, a given route is pointing to. Note this will only show applications in organizations and spaces, that the logged-in user has permissions to view. The plugin also supports targeting to the organization and space of the applications, a given route is pointing to.

Installation

Run

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

Alternatively:

  1. Download the appropriate binary from the Releases page.

  2. Run

    cf install-plugin PATH_TO_ROUTE_LOOKUP_BINARY
    

Usage

OPTIONS:

-t: Target the org/space containing the route

EXAMPLES:

$ cf lookup-route <https://my.example.com>
Bound to:
Organization: <org> (<org_guid>)
Space       : <space> (<space_guid>)
App         : <app1> (<app_guid_1>)
App         : <app2> (<app_guid_2>)

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

Bound to:
Organization: <org> (<org_guid>)
Space       : <space> (<space_guid>)
App         : <app> (<app_guid>)

Targeting an app's organization and space...
<cf target command output>
Targeting an app's organization and space successful.

$ cf lookup-route <https://unknown.example.com>
Error retrieving apps: Route <unknown.example.com> not found.

Uninstallation

cf uninstall-plugin lookup-route

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