Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartupService ¶
func StartupService(args Args)
Types ¶
type Args ¶
type Args struct { Listen string `arg:"-l,help: [Host:]Port the address to listen on (:8080)" env:"DOCKROUTE_LISTEN"` LogInfo bool `arg:"--log-info,help: Log on INFO level (false)" env:"DOCKROUTE_LOG_INFO"` LogDebug bool `arg:"--log-debug,help: Log on DEBUG level (false)" env:"DOCKROUTE_LOG_DEBUG"` LogJSON bool `arg:"--log-json,help: Log in JSON format (false)" env:"DOCKROUTE_LOG_JSON"` }
type DockerDiscovery ¶
type DockerDiscovery struct {
// contains filtered or unexported fields
}
func NewDockerDiscovery ¶
func NewDockerDiscovery() *DockerDiscovery
func (*DockerDiscovery) GetService ¶
func (dd *DockerDiscovery) GetService(name string) (hostAndPort string, err error)
Click to show internal directories.
Click to hide internal directories.