pulumi/sdk/javascript/context.ts
joeduffy 35694229ca Add a minimal JavaScript (TypeScript) SDK
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.
2016-12-12 16:07:39 -08:00

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.
}