Documentation ¶
Overview ¶
Package asgard contains shared code that is used to create an aws/netflixoss style architecture (including lamp and migration)
Index ¶
- func Connect(source, target string)
- func ConnectEveryEureka(name string)
- func Create(servicename, packagename string, regions, count int, dependencies ...string) string
- func CreateChannels()
- func CreateEureka()
- func Reload(arch string) string
- func Run(rootservice, victim string)
- func SendToName(name string, msg gotocol.Message)
- func ShutdownEureka()
- func ShutdownNodes()
- func StartNode(name string, dependencies ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(source, target string)
Connect tells a source node how to connect to a target node directly by name, only used when Eureka can't be used
func ConnectEveryEureka ¶
func ConnectEveryEureka(name string)
ConnectEveryEureka service in every region
func Create ¶
Create a tier and specify any dependencies, return the full name of the last node created
func SendToName ¶
SendToName sends a message directly to a name via asgard, only used during setup
func ShutdownEureka ¶
func ShutdownEureka()
ShutdownEureka shuts down the Eureka service registries and wait for them to go away
func ShutdownNodes ¶
func ShutdownNodes()
ShutdownNodes - shut down the nodes and wait for them to go away
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.