Versions in this module Expand all Collapse all v0 v0.5.2 May 19, 2015 Changes in this version + func DeploymentByDeploymentConfigIndexFunc(obj interface{}) (string, error) + func FilterDeploymentsPredicate(item *kapi.ReplicationController) bool + func FilterZeroReplicaSize(item *kapi.ReplicationController) bool + type DataSet interface + GetDeploymentConfig func(deployment *kapi.ReplicationController) (*deployapi.DeploymentConfig, bool, error) + ListDeploymentConfigs func() ([]*deployapi.DeploymentConfig, error) + ListDeployments func() ([]*kapi.ReplicationController, error) + ListDeploymentsByDeploymentConfig func(config *deployapi.DeploymentConfig) ([]*kapi.ReplicationController, error) + func NewDataSet(deploymentConfigs []*deployapi.DeploymentConfig, ...) DataSet + type Filter interface + Filter func(items []*kapi.ReplicationController) []*kapi.ReplicationController + type FilterPredicate func(item *kapi.ReplicationController) bool + func NewFilterBeforePredicate(d time.Duration) FilterPredicate + type PruneFunc func(item *kapi.ReplicationController) error + type PruneTasker interface + PruneTask func() error + func NewPruneTasker(deploymentConfigs []*deployapi.DeploymentConfig, ...) PruneTasker + type Resolver interface + Resolve func() ([]*kapi.ReplicationController, error) + func NewOrphanDeploymentResolver(dataSet DataSet, deploymentStatusFilter []deployapi.DeploymentStatus) Resolver + func NewPerDeploymentConfigResolver(dataSet DataSet, keepComplete int, keepFailed int) Resolver