Versions in this module Expand all Collapse all v0 v0.2.0 May 27, 2016 Changes in this version + const Extension + func ImportGraph(main, path string) (*graph.Graph, error) + func ImportGraphAsDot(main, path string, w io.Writer) error + type Config struct + Path string + ResourceConfig *resource.Config + type DiscoveredRegistry map[string]string + func Discover(root string) (DiscoveredRegistry, error) + type Import struct + Name string + Path string + type LoadedRegistry map[string]*Module + func DiscoverAndLoad(config *Config) (LoadedRegistry, error) + type Module struct + Config *Config + Imports []Import + Name string + Resources []resource.Resource + UnknownKeys []string + func Load(name string, config *Config, r io.Reader) (*Module, error) + type ResourceMap map[string]resource.Resource + func ResourceCollection(modules []*Module) (ResourceMap, error) + func (rm ResourceMap) DependencyGraph() (*graph.Graph, error)