workbench

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Workbench

type Workbench struct {
	machine.Machine
	App string
}

Workbench represents a workbench and its app

func NewWorkbench

func NewWorkbench() (*Workbench, error)

NewWorkbench creates a new workbench

func (*Workbench) GetProxyIPs

func (w *Workbench) GetProxyIPs() ([]string, error)

GetProxyIPs returns a slice of IP address strings that should be browsable when using the Proxy command

func (*Workbench) PrintWorkbenchInfo

func (w *Workbench) PrintWorkbenchInfo()

PrintWorkbenchInfo prints the application URL using the app name and machine IP of the workbench

func (*Workbench) StartProxy

func (w *Workbench) StartProxy(ip, port string)

StartProxy will start a reverse proxy on the given IP address and port number for the workbench

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL