proxy

command
v0.0.1-cli Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2016 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

To use the example app:

Push two differently named instances of the app

cd ~/workspace/netman-release/src/example-apps/proxy
cf push appA
cf push appB

See that they are reachable and what their IPs are

curl appa.<system-domain>
curl appb.<system-domain>

See that proxying from A to B works over both the router and overlay

curl appa.<system-domain>/proxy/appb.<system-domain>
curl appa.<system-domain>/proxy/<overlay-ip-of-appB>:8080

Configure extra ports for the app to listen on

cf set-env appB USER_PORTS 4444,3333
cf restage

See that appB listens on the new ports

curl appa.<system-domain>/proxy/<overlay-ip-of-appB>:3333
curl appa.<system-domain>/proxy/<overlay-ip-of-appB>:4444

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