Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
Name string `json:"context"`
Global map[string]interface{} `json:"global"`
ResourceSets []ResourceSet `json:"include"`
BaseDir string
}
func LoadContextFromFile ¶
Attempt to load and deserialise a Context from the specified file.
type ContextLoadingError ¶
type ResourceSet ¶
type ResourceSet struct {
Name string `json:"name"`
Values map[string]interface{} `json:"values"`
// Fields for resource set collections
Include []ResourceSet `json:"include"`
Parent string
}
Click to show internal directories.
Click to hide internal directories.