Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // Marathon configuration Marathon Marathon // Services mapping configuration DomainMapping DomainMapping // HAProxy output configuration HAProxy HAProxy // StatsD configuration StatsD StatsD }
Service configuration struct
func FromFile ¶
func FromFile(filePath string) (Configuration, error)
func (*Configuration) FromFile ¶
func (config *Configuration) FromFile(filePath string) error
Returns Configuration struct from a given file path
Parameters:
filePath: full file path to the JSON configuration
type DomainMapping ¶
type DomainMapping struct {
Zookeeper Zookeeper
}
Services mapping information storage configuration Only support zookeeper at the moment
type Marathon ¶
type Marathon struct { // marathon http endpoint including port number Endpoint string // Zookeeper setting for marathon Zookeeper Zookeeper }
Mesos Marathon configuration
type StatsD ¶
func (*StatsD) CreateClient ¶
func (s *StatsD) CreateClient()
Click to show internal directories.
Click to hide internal directories.