Documentation ¶
Overview ¶
Package cleaner is a background process that compares the kubernetes namespace list with the folders in the local git home directory, deleting what's not in the namespace list.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run starts the deleted app cleaner. This function listens to the Kubernetes event stream for events that indicate namespaces that were `DELETED`. If the namespace name matches a folder on the local filesystem, this func deletes that folder. Note that this function blocks until the watcher returned by `nsLister.Watch` is closed, so you should launch it in a goroutine.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.