core module

class core.Tycho(backplane='kubernetes', config='conf/tycho.yaml')

Bases: object

An organizing abstraction for the Tycho system.

Tycho adds a layer of system architecture and policy support to cloud native container orchestration platforms. It’s true you can do just about anything with the Kubernetes API. Tycho let’s teams design, decide, automate, test, and enforce what should be done.

get_compute()

Get the Tycho API for the compute fabric.

Returns

A compute fabric code emitter implementation specified to the constructor.

static is_valid_backplane(backplane)

Determine if the argument is a valid backplane.

parse(request)

Parse a request to construct an abstract syntax tree for a system.

Parameters

request – JSON object formatted to contain name, structure, env, and service elements. Name is a string. Structue is the JSON object resulting from loading a docker-compose.yaml. Env is a JSON dictionary mapping environment variables to values. These will be substituted into the specification. Services is a JSON object representing which containers and ports to expose, and other networking rules.

Returns

.System

static supported_backplanes()