fscache

package
v0.0.0-...-30d3fc4 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

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