Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHostNotFound = errors.New("host not found")
Functions ¶
func IsHostNotFound ¶
Types ¶
type HostDiscovery ¶
type HostDiscovery interface {
IsLocal(name string) bool
GetHost(name string) (HostInfo, error)
GetHosts() (map[string]HostInfo, error)
Close()
}
func NewDebugHostDiscovery ¶
func NewDebugHostDiscovery(local string, hosts map[string]HostInfo) (HostDiscovery, error)
func NewK8sHostDiscovery ¶
Click to show internal directories.
Click to hide internal directories.