Documentation
¶
Overview ¶
Package syncer implements the syncer for synchronization of /var/lib/kubelet/pods.
Index ¶
Constants ¶
View Source
const UmountNoFollow = 0x8
UmountNoFollow is the flag to unmount without following symlinks. Sadly golang/sys doesn't have UmountNoFollow although it's there since Linux 2.6.34
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Syncer ¶
type Syncer struct {
// contains filtered or unexported fields
}
Syncer is the main syncer struct that contains settings and dependencies for the syncer.
func NewSyncer ¶
func NewSyncer(from, to string, log logrus.FieldLogger) *Syncer
NewSyncer creates bind mounts from to -> from based on changes in the from directory.
Click to show internal directories.
Click to hide internal directories.