Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusInProgress = "InProgress" StatusAbandoned = "Abandoned" )
Variables ¶
This section is empty.
Functions ¶
func NewPruneController ¶
func NewPruneController( targetNamespace string, podResourcePrefix string, command []string, configMapGetter corev1client.ConfigMapsGetter, secretGetter corev1client.SecretsGetter, podGetter corev1client.PodsGetter, operatorClient v1helpers.StaticPodOperatorClient, eventRecorder events.Recorder, ) factory.Controller
NewPruneController creates a new pruning controller
Types ¶
type PruneController ¶
type PruneController struct {
// contains filtered or unexported fields
}
PruneController is a controller that watches static installer pod revision statuses and spawns a pruner pod to delete old revision resources from disk
Click to show internal directories.
Click to hide internal directories.