Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Containers map[string]*container.Container `json:"containers"` Requires []string `json:"require"` Volumes map[string]types.Volume `json"volumes"` }
Config holds the config in a file
func ProcessFile ¶
ProcessFile will process config files for constellation, and return an array of Config objects required files are processed as well. Accepts a filepath and an array of directories to search for files that are included via the 'require' stanza (or the file provided)
func (*Config) DependencyOrder ¶
DependencyOrder build a sorted list of containers based on each containers dependencies. We use a topological sort for this. Circular dependencies result in an error
Click to show internal directories.
Click to hide internal directories.