package
0.13.0
Repository: https://github.com/tilt-dev/tilt-apiserver.git
Documentation: pkg.go.dev

# Functions

NewFilepathREST instantiates a new REST storage.
NewJSONFilepathStorageProvider use local host path as persistent layer storage: - For namespaced-scoped resources: the resource will be written under the root-path in the following structure: -- (root-path) --- /namespace1/ --- resource1 | | | --- resource2 | --- /namespace2/ --- resource3 - For cluster-scoped resources, there will be no mid-layer folders for namespaces: -- (root-path) --- resource1 | --- resource2 | --- resource3 Args: fs: An abstraction over the filesystem, so that the JSON can be stored in memory or on-disk.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrFileNotExists means the file doesn't actually exist.
ErrNamespaceNotExists means the directory for the namespace doesn't actually exist.
No description provided by the author

# Structs

An in-memory structure that pretends to be a filesystem, and supports all the storage interfaces that RealFS needs.
No description provided by the author
Keeps track of which watches need to be notified.

# Interfaces

A filesystem interface so we can sub out filesystem-based storage with memory-based storage.
No description provided by the author