Documentation
¶
Overview ¶
Package engine is the core of OpenEngine that generates solutions nolint: wrapcheck
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SPEC string
SPEC is global variable to store OpenEngine default specifications nolint
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
An Engine is the OpenEngine interface - all actions should be done using it.
func (*Engine) AddResource ¶
AddResource adds resource to Engine.
type Resource ¶
type Resource struct {
Type string `json:"type"`
Name string `json:"name,omitempty"`
Properties map[string]interface{} `json:"properties"`
System System `json:"system,omitempty"`
Dependencies []string `json:"dependencies,omitempty"`
InterfacesDependencies []string `json:"interfacesDependencies,omitempty"`
}
Resource is the user requested resource with its type and parameters.
Click to show internal directories.
Click to hide internal directories.