Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UtilPackageName = "?"
Functions ¶
Types ¶
type Factory ¶
type Factory struct { // Name is a unique key for this factory. Name string // DbPath is the location of the database for // any doc drivers. DbPath string // Open gets called when the factory is opened. Open OpenFunc // Prepare allows factories to modify env vars // before a graph is run. Prepare PrepareRunFunc // contains filtered or unexported fields }
func Open ¶
Open a backend. The backend will register any required dependencies (nodes, filesystems, etc.)
func (*Factory) GraphNames ¶
type NewDriverFunc ¶
NewDriverFunc returns a new instance of a doc.Driver.
type OpenFunc ¶
type OpenFunc func() error
OpenFunc is called on a factory when a backend is loaded.
type PrepareRunFunc ¶
PrepareRunFunc provides factories a change to make any changes before running a graph.
type ProcessTemplateFunc ¶
Click to show internal directories.
Click to hide internal directories.