Documentation
¶
Index ¶
Constants ¶
View Source
const (
API_PREFIX = "/v_beta"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentConfig ¶ added in v0.1.7
type AgentConfig struct {
DataDir string `json:"dataDir"`
LogLevel string `json:"logLevel"`
ListenAddr string `json:"listenAddr"`
AdvertiseAddr string `json:"advertiseAddr"`
GossipListenAddr string `json:"gossipListenAddr"`
GossipJoinAddr string `json:"gossipJoinAddr"`
JoinAddrs []string `json:"joinAddrs"`
DNS DNS `json:"dns"`
Janitor Janitor `json:"janitor"`
}
func NewAgentConfig ¶ added in v0.1.7
func NewAgentConfig(c *cli.Context) AgentConfig
type DNS ¶
type DNS struct {
Domain string `json:"domain"`
RecurseOn bool `json:"recurseOn"`
ListenAddr string `json:"listenAddr"`
SOARname string `json:"soarname"`
SOAMname string `json:"soamname"`
SOASerial uint32 `json:"soaserial"`
SOARefresh uint32 `json:"soarefresh"`
SOARetry uint32 `json:"soaretry"`
SOAExpire uint32 `json:"soaexpire"`
TTL int `json:"ttl"`
Resolvers []string `json:"resolvers"`
ExchangeTimeout time.Duration `json:"exchangeTimeout"`
}
type ManagerConfig ¶ added in v0.1.7
type ManagerConfig struct {
LogLevel string `json:"logLevel"`
ListenAddr string `json:"listenAddr"`
MesosFrameworkUser string `json:"mesosFrameworkUser"`
Hostname string `json:"hostname"`
MesosZkPath *url.URL `json:"mesosZkPath"`
ZkPath *url.URL `json:"zkPath"`
}
func NewManagerConfig ¶ added in v0.1.7
func NewManagerConfig(c *cli.Context) (ManagerConfig, error)
Click to show internal directories.
Click to hide internal directories.