fake-proxy-broker

command module
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 18 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

fake-proxy-broker Build Status

This is a fake service broker for creating proxy credentials which target a valid host (set in host) and optionally simulate fake user/password and subdomain.

Installation on a cloud foundry

  1. Get latest releases in releases page (only build is linux amd64)
  2. Unzip if you choose zipped version
  3. Create a user provided service to manage your configuration, you can use the file included in the repo and run cf cups <my-proxy-broker>-config -p service.json
  4. cf push mybroker -c ./fake-proxy-broker
  5. register your broker: cf create-service-broker myproxybroker <broker username> <broker password> <broker url>
  6. enable service: cf enable-service-access <proxy name>

Config file

Explanation of the config file given in /service.json:

{
  "broker_username": "user",
  "broker_password": "password",
  "proxy": {
    "name": "myproxy",
    "description": "description of my proxy",
    "host": "my.proxy.host",
    "port": 3128,
    "protocol": "http",
    "random_subdomain": true,
    "random_user": true
  }
}
  • name (Required): Name of your proxy, will be use in catalog and plans
  • description (Optional): Description of your service and plan
  • host (Required): Real host pointing to an existing proxy
  • port (Optional, Default: 3128): Port of the real host
  • protocol (Optional, Default: http): Protocol used for proxying
  • random_subdomain (Optional): If set to true it will add a generated subdomain in binding credentials on host. e.g.: configured host is my.proxy.host credentials will be <generated>.my.proxy.host
  • random_user (Optional): If set to true it will add a generated user and password in binding credentials.

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
⌂ 换网址