Documentation
¶
Overview ¶
Package db provides helper functionality for interacting with the database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB is a wrapper for the standard library DB object (via embedding), with some added helpers. This effectively emulates inheritance. Note that since this simply contains a pointer, we can recreate freely, no need to worry passing this by value.
func (DB) GetOutput ¶
GetOutput returns the playbook output for a particular path and time. Will error if more than one that output is returned.
func (DB) GetPathTimes ¶
GetPathTimes returns the paths and start times of all previously executed runs.
Click to show internal directories.
Click to hide internal directories.