package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev

# Functions

BuildByBuildConfigIndexFunc indexes Build items by their associated BuildConfig, if none, index with key "orphan".
NewBuildDeleter creates a new buildDeleter.
NewCmdPruneBuilds implements the OpenShift cli prune builds command.
NewDataSet returns a DataSet over the specified items.
NewFilterBeforePredicate is a function that returns true if the build was created before the current time minus specified duration.
NewOrphanBuildResolver returns a Resolver that matches Build objects with no associated BuildConfig and has a BuildPhase in filter.
NewPerBuildConfigResolver returns a Resolver that selects Builds to prune per BuildConfig.
NewPruner returns a Pruner over specified data using specified options.

# Constants

# Structs

PruneBuildsOptions holds all the required options for pruning builds.
PrunerOptions contains the fields used to initialize a new Pruner.

# Interfaces

DataSet provides functions for working with build data.
Filter filters the set of objects.
Resolver knows how to resolve the set of candidate objects to prune.

# Type aliases

FilterPredicate is a function that returns true if the object should be included in the filtered set.