package domain // Route represents a mapping from a domain to a container image. type Route struct { Domain string Image string HTTPS bool } // ProxyTarget represents the destination for proxying requests. type ProxyTarget struct { Host string Port int ContainerID string Scheme string // "http" or "https" } // RouteMatch represents the result of matching a request to a route. type RouteMatch struct { Route Route Container *Container Target *ProxyTarget }