Documentation ¶
Index ¶
Constants ¶
View Source
const ( StateUnknown ServiceState = "Unknown" StateRest = "At rest" StateInProgress = "Release in progress" )
Variables ¶
View Source
var ( // ErrNoSchemaDefinedForDriver is the error for when you've used a driver // with no schema defined. Programmer error. ErrNoSchemaDefinedForDriver = errors.New("schema not defined for driver") )
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { // AllEvents returns a history for every service in the given // namespace AllEvents(namespace string) ([]Event, error) // EventsForService returns the history for a particular // (namespaced) service EventsForService(namespace, service string) ([]Event, error) // LogEvent records a message in the history of a service LogEvent(namespace, service, msg string) error // Close the database Close() error }
type ServiceState ¶
type ServiceState string
Click to show internal directories.
Click to hide internal directories.