prune

package
v0.0.0-...-bb0df7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

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

Directories

Path Synopsis
Code generated for package bindata by go-bindata DO NOT EDIT.
Code generated for package bindata by go-bindata DO NOT EDIT.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL