mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 06:43:54 +00:00
Reverted change: types and const removed
This commit is contained in:
parent
0d46f104e1
commit
3f7c2286e3
@ -34,11 +34,20 @@ import (
|
|||||||
utilio "k8s.io/utils/io"
|
utilio "k8s.io/utils/io"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type podEventType int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
podAdd podEventType = iota
|
||||||
|
podModify
|
||||||
|
podDelete
|
||||||
|
|
||||||
eventBufferLen = 10
|
eventBufferLen = 10
|
||||||
)
|
)
|
||||||
|
|
||||||
type watchEvent struct{}
|
type watchEvent struct {
|
||||||
|
fileName string
|
||||||
|
eventType podEventType
|
||||||
|
}
|
||||||
|
|
||||||
type sourceFile struct {
|
type sourceFile struct {
|
||||||
path string
|
path string
|
||||||
|
Loading…
Reference in New Issue
Block a user