Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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
func NewPruneController ¶
func NewPruneController( targetNamespace string, podResourcePrefix string, command []string, configMapGetter corev1client.ConfigMapsGetter, secretGetter corev1client.SecretsGetter, podGetter corev1client.PodsGetter, operatorConfigClient v1helpers.StaticPodOperatorClient, eventRecorder events.Recorder, ) *PruneController
NewPruneController creates a new pruning controller
func (*PruneController) Run ¶
func (c *PruneController) Run(workers int, stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.