Documentation ¶
Overview ¶
Package archaius holds all configuration information, named after the netflixoss project
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Conf = Configuration{ RegionNames: []string{"us-east-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-southeast-1", "ap-southeast-2"}, ZoneNames: []string{"zoneA", "zoneB", "zoneC"}, IPRanges: [][]string{ {"54.198.", "54.221.", "50.19."}, {"54.245.", "54.244.", "54.214."}, {"54.247.", "54.246.", "54.288."}, {"54.93.", "54.28.", "54.78."}, {"54.251.", "54.254.", "54.255."}, {"54.252.", "54.253.", "54.206."}, }, }
Conf data instance
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { // Arch names the architecture pattern being simulated Arch string `json:"arch"` // GraphmlFile is set to a filename to turn on GraphML logging GraphmlFile string `json:"graphmlfile"` // GraphjsonFile is set to a filename to turn on GraphML logging GraphjsonFile string `json:"graphjsonfile"` // Neo4jURL is pointed at a database instance to turn on GraphML logging Neo4jURL string `json:"neo4jurl"` // RunDuration is the time in seconds to let the microservices chat RunDuration time.Duration `json:"runduration"` // Dunbar is a population scale factor Dunbar int `json:"dunbar"` // Population is the number of microservices in a network Population int `json:"population"` // Msglog if true, log each message received on the console Msglog bool `json:"msglog"` // Regions is the number of regions to create Regions int `json:"regions"` // RegionNames is the default names of the regions RegionNames []string `json:"regionnames"` // IPRanges maps an IP address range to each region and zone IPRanges [][]string `json:"ipranges"` // ZoneNames is the default names of the zones ZoneNames []string `json:"zonenames"` // Collect turns on Metrics collection Collect bool `json:"collect"` // Kafka turns on Zipkin compatible Flow export if array of host:port strings is not empty Kafka []string `json:"kafka"` // StopStep stops building new microservices at this step, 0 means don't stop StopStep int `json:"stopstep"` // EurekaPoll interval in seconds EurekaPoll string `json:"eurekapoll"` // Filter spec for output names to simplify graph Filter bool `json:"filter"` // Keys and values for configuring services, passed in as one string Keyvals string `json:"keyvals"` RunToEnd bool `json:"Runendless"` }
Configuration information for spigo
Click to show internal directories.
Click to hide internal directories.