Documentation ¶
Index ¶
- func Kill(webstrateID string) error
- func List() ([]docker.APIContainers, error)
- func NewGolemReverseProxy(prefix string, ...) *httputil.ReverseProxy
- func PortOf(webstrate string, privatePort int64) (int64, error)
- func Restart(webstrateID string) (string, error)
- func Spawn(webstrateID string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGolemReverseProxy ¶ added in v1.2.0
func NewGolemReverseProxy(prefix string, portLookup func(webstrate string, privatePort int64) (int64, error)) *httputil.ReverseProxy
NewGolemReverseProxy creates and returns a proxy for running golem
func PortOf ¶ added in v1.2.0
PortOf returns the public port mapped to the given privatePort for a golem on the given webstrate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.