Versions in this module Expand all Collapse all v0 v0.5.2 May 19, 2015 Changes in this version + func BuildByBuildConfigIndexFunc(obj interface{}) (string, error) + type DataSet interface + GetBuildConfig func(build *buildapi.Build) (*buildapi.BuildConfig, bool, error) + ListBuildConfigs func() ([]*buildapi.BuildConfig, error) + ListBuilds func() ([]*buildapi.Build, error) + ListBuildsByBuildConfig func(buildConfig *buildapi.BuildConfig) ([]*buildapi.Build, error) + func NewDataSet(buildConfigs []*buildapi.BuildConfig, builds []*buildapi.Build) DataSet + type Filter interface + Filter func(builds []*buildapi.Build) []*buildapi.Build + type FilterPredicate func(build *buildapi.Build) bool + func NewFilterBeforePredicate(d time.Duration) FilterPredicate + type PruneFunc func(build *buildapi.Build) error + type PruneTasker interface + PruneTask func() error + func NewPruneTasker(buildConfigs []*buildapi.BuildConfig, builds []*buildapi.Build, ...) PruneTasker + type Resolver interface + Resolve func() ([]*buildapi.Build, error) + func NewOrphanBuildResolver(dataSet DataSet, buildStatusFilter []buildapi.BuildStatus) Resolver + func NewPerBuildConfigResolver(dataSet DataSet, keepComplete int, keepFailed int) Resolver