Reverted change: types and const removed

This commit is contained in:
Nils Carstensen 2024-08-24 22:47:17 +02:00
parent 0d46f104e1
commit 3f7c2286e3
No known key found for this signature in database
GPG Key ID: 1F25989330BF84C3

View File

@ -34,11 +34,20 @@ import (
utilio "k8s.io/utils/io"
)
type podEventType int
const (
podAdd podEventType = iota
podModify
podDelete
eventBufferLen = 10
)
type watchEvent struct{}
type watchEvent struct {
fileName string
eventType podEventType
}
type sourceFile struct {
path string