You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/cleaner/cleaner.go
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
-
// 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
1
+
// Package cleaner is a background process that compares the kubernetes namespace list with the
2
+
// folders in the local git home directory, deleting what's not in the namespace list.
2
3
package cleaner
3
4
4
5
import (
@@ -14,9 +15,11 @@ const (
14
15
dotGitSuffix=".git"
15
16
)
16
17
17
-
// Run starts the deleted app cleaner. This function listens to the Kubernetes event stream for events that indicate namespaces that were `DELETED`.
18
+
// Run starts the deleted app cleaner. This function listens to the Kubernetes event stream for
19
+
// events that indicate namespaces that were `DELETED`.
18
20
// If the namespace name matches a folder on the local filesystem, this func deletes that folder.
19
-
// Note that this function blocks until the watcher returned by `nsLister.Watch` is closed, so you should launch it in a goroutine.
21
+
// Note that this function blocks until the watcher returned by `nsLister.Watch` is closed, so
0 commit comments