pulumi/pkg/compiler
joeduffy 63ddbc6e7a Add an "include" template function
This lets YAML files include others, often conditionally, based on things
like the cloud target.  For example, I am currently using this to define the
overall cluster stack by doing things like:

        name: mu/cluster
        services:
        {{if eq .Target "aws"}}
                {{include "Mu-aws.yaml" | indent 4}}
        {{else}}
                ...
        {{end}}
2016-11-28 14:54:41 -08:00
..
backends Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
core Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
predef Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
testdata Implement dependency versions 2016-11-22 16:58:23 -08:00
binder.go Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
binder_test.go Finish dependency and type binding 2016-11-23 07:26:45 -08:00
common_test.go Add a diag.Sink.Success helper function 2016-11-22 09:40:09 -08:00
compiler.go Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
compiler_be.go Implement diag.Diagable on ast.Workspace and ast.Stack 2016-11-23 07:54:40 -08:00
compiler_fe.go Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
compiler_sema.go Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
compiler_test.go Implement dependency versions 2016-11-22 16:58:23 -08:00
opts.go Support Workspaces 2016-11-22 10:41:07 -08:00
parser.go Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
parsetree.go Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
symbols.go Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
templates.go Add an "include" template function 2016-11-28 14:54:41 -08:00