Documentation
¶
Overview ¶
Package architecture reads a microservice architecture definition from a file It creates and controls a collection of aws and netflix application microservices
Index ¶
- func AddContainer(a *archV0r1, name, machine, instance, container, process, gopackage string, ...)
- func ListDependencies(a *archV0r1, nodes *[]string, dependencies *[]Connection)
- func ListNames(a *archV0r1) (int, map[int]string)
- func MakeArch(arch, des string) *archV0r1
- func Pre_Handle() (*chan gotocol.Message, *map[string]chan gotocol.Message, ...)
- func ReadArch(arch string, judge_type bool) *archV0r1
- func Start(noodles *map[string]chan gotocol.Message, a *archV0r1)
- func Write(a *archV0r1)
- func WriteFile(a *archV0r1, fn string)
- type Connection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddContainer ¶
func AddContainer(a *archV0r1, name, machine, instance, container, process, gopackage string, regions, count int, dependencies []string)
AddContainer creates a new container level service
func ListDependencies ¶
func ListDependencies(a *archV0r1, nodes *[]string, dependencies *[]Connection)
Extract dependencies from an architecture
func MakeArch ¶
func MakeArch(arch, des string) *archV0r1
MakeArch returns a new architecture object
Types ¶
Click to show internal directories.
Click to hide internal directories.