Documentation
¶
Index ¶
Constants ¶
View Source
const ( HubModeRemote = "remote" // default HubModeLocal = "local" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Root ¶
type Root struct {
system.Config
// Ignore contains a list of enrolled host:port that we should not proxy.
// Useful if you setup more than one proxy enrolled with the same hub.
// This controller will always ignore it's own endpoint.
Ignore []string `json:"ignore,omitempty"`
// HubMode dictates how the proxy should connect to the hub. This will be "remote" for systems where the proxy is
// not running on the same host as the hub (default behaviour), and "local" where the proxy is also the hub.
HubMode string `json:"hubMode,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.