Versions in this module Expand all Collapse all v0 v0.1.0 Jun 6, 2021 Changes in this version + func ConfigDirectory() string + func ConfigFile() string + func DisableProxy() error + func EnableProxy() error + func ForwardRequest(container ProxiableContainer, writer http.ResponseWriter, ...) bool + func GetDockerClient() *client.Client + func GetKey(key string) (string, error) + func GetSupervisordConfig() (string, error) + func GetWhitelistedDomains() []string + func IsProxyEnabled() bool + func IsRunningAsRoot() bool + func RemoveContainer(name string) (string, error) + func SetKey(key string, value string) error + func StorageDirectory() string + type Application struct + ContainerPort int + Env []string + Host string + Image string + func (application Application) CreateContainer(isEphemeral bool) string + func (application Application) HasApplicationContainer() bool + func (application Application) Name(isEphemeral bool) string + func (application Application) RemoveApplicationContainer() (string, error) + func (application Application) RemoveEphemeralContainer() (string, error) + type Config string + func FindConfig(file string) Config + func (config Config) Checksum() (string, error) + func (config Config) IsValid() bool + func (config Config) Resolve() (ConfigData, error) + type ConfigData struct + Applications []Application + Proxy Proxy + type ProxiableContainer struct + Container *types.ContainerJSON + Ipv4 string + Name string + VirtualHost string + VirtualPort string + func GetProxiableContainers() ([]ProxiableContainer, error) + type Proxy struct + Logs struct{ ... } + Port int + SelfSigned *bool + Ssl int