()
| 449 | } |
| 450 | |
| 451 | func (c *AuthConfig) Hosts() []string { |
| 452 | if c.hostsOverride != nil { |
| 453 | return c.hostsOverride() |
| 454 | } |
| 455 | return ghauth.KnownHosts() |
| 456 | } |
| 457 | |
| 458 | // APIHostForHost returns the api_host configured for host, reporting false when |
| 459 | // the host has no api_host set. It is the inverse of HostForAPIHost. |