package
1.10.0-alpha.1
Repository: https://github.com/carmark/kubernetes.git
Documentation: pkg.go.dev

# Functions

NewFakeFs returns a fake Filesystem that exists in-memory, useful for unit tests.
NewFsnotifyWatcher returns an implementation of FSWatcher that continuously listens for fsnotify events and calls the event handler as soon as an event is received.

# Structs

DefaultFs implements Filesystem using same-named functions from "os" and "io/ioutil".

# Interfaces

File is an interface that we can use to mock various filesystem operations typically accessed through the File object from the "os" package.
Filesystem is an interface that we can use to mock various filesystem operations.
FSWatcher is a callback-based filesystem watcher abstraction for fsnotify.

# Type aliases

FSErrorHandler is called when a fsnotify error occurs.
FSEventHandler is called when a fsnotify event occurs.