architecture

package
v0.0.0-...-168b963 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

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

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

func ReadArch

func ReadArch(arch string) *archV0r1

ReadArch parses archjson

func Start

func Start(a *archV0r1)

Start architecture

func Write

func Write(a *archV0r1)

Write coverts the architecture to json and writes to stdout

func WriteFile

func WriteFile(a *archV0r1, fn string)

WriteFile writes the architecture to a file in json format

Types

type Connection

type Connection struct {
	Source, Dest string
}

Connection

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL