Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilesystemCache ¶
NewFilesystemCache returns a client.Fetcher implementation that uses a local filesystem to cache Catalog contents. When fetching the Catalog contents it will: - Check if the Catalog is cached
- IF !cached it will fetch from the catalogd HTTP server and cache the response
- IF cached it will verify the cache is up to date. If it is up to date it will return the cached contents, if not it will fetch the new contents from the catalogd HTTP server and update the cached contents.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.