fscache

package
v0.0.0-...-953ae9e Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 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
}

Watcher encapsulate a synced cache and a watcher object used by minikube

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