Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Model = func(ctx facade.Context) (state.ModelAccessor, error) {
return ctx.State().Model()
}
Model returns the model for a context (override for tests).
View Source
var Prune = state.PruneStatusHistory
Prune performs the status history pruner operation (override for tests).
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { *common.ModelWatcher // contains filtered or unexported fields }
API is the concrete implementation of the Pruner endpoint.
Click to show internal directories.
Click to hide internal directories.