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

# Functions

DeploymentByDeploymentConfigIndexFunc indexes Deployment items by their associated DeploymentConfig, if none, index with key "orphan".
FilterDeploymentsPredicate is a function that returns true if the replication controller is associated with a DeploymentConfig.
FilterZeroReplicaSize is a function that returns true if the replication controller size is 0.
NewCmdPruneDeployments implements the OpenShift cli prune deployments command.
NewDataSet returns a DataSet over the specified items.
NewDeploymentDeleter creates a new deploymentDeleter.
NewFilterBeforePredicate is a function that returns true if the build was created before the current time minus specified duration.
NewOrphanDeploymentResolver returns a Resolver that matches objects with no associated DeploymentConfig and has a DeploymentStatus in filter.
NewPerDeploymentConfigResolver returns a Resolver that selects items to prune per config.
NewPruner returns a Pruner over specified data using specified options.

# Constants

# Structs

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

# Interfaces

DataSet provides functions for working with deployment data.
DeploymentDeleter knows how to delete deployments from OpenShift.
Filter filters the set of objects.
Resolver knows how to resolve the set of candidate objects to prune.

# Type aliases

ByMostRecent sorts deployments by most recently created.
FilterPredicate is a function that returns true if the object should be included in the filtered set.