35694229ca
This change introduces a basic JavaScript SDK (actually in TypeScript, but consumable either way). This is just scaffolding but provides the minimal set of abstractions necessary to start writing real stacks.
15 lines
538 B
TypeScript
15 lines
538 B
TypeScript
// Copyright 2016 Marapongo, Inc. All rights reserved.
|
|
|
|
import { Arch } from './arch';
|
|
import { Cluster } from './cluster';
|
|
import { Options } from './options';
|
|
|
|
// A collection of information pertaining to the current compilation activity, like target cloud architecture, the
|
|
// cluster name, any compile-time options, and so on.
|
|
export interface Context {
|
|
arch: Arch; // the cloud architecture to target.
|
|
cluster: Cluster; // the cluster we will be deploying to.
|
|
options: Options; // any compiler options supplied.
|
|
}
|
|
|