Documentation
¶
Overview ¶
Package mntmon is responsible for monitoring filesystem mount/umount/remount events and publishing them as pubsub events.
It watches /proc/self/mountinfo for changes via the kernel's POLLPRI/POLLERR wakeup mechanism.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager monitors mount/umount events and publishes them to the message bus
func NewManager ¶
func NewManager(drainDuration time.Duration, subQS pubsub.QueueSizer) *Manager
NewManager creates a new mount monitor manager