fscache

package
v0.0.0-...-7ee3c9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2019 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	Cache *sync.Map
	// contains filtered or unexported fields
}

func NewWatch

func NewWatch(dir string) (*Watcher, error)

NewWatch creates a directory watcher and updates the cache when any file changes in that dir

func (*Watcher) Watch

func (w *Watcher) Watch()

Watch watches for when kubelet updates the volume mount content

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL