Skip to content

Add a readonly backend#236

Open
donny-dont wants to merge 2 commits into
WasabiAiR:masterfrom
donny-dont:readonly-backend
Open

Add a readonly backend#236
donny-dont wants to merge 2 commits into
WasabiAiR:masterfrom
donny-dont:readonly-backend

Conversation

@donny-dont
Copy link
Copy Markdown

Create a backend which provides a read only view over another backend. This could be used to prevent a user from modifying a backend.

ConfigMap is expanded to support for nesting of configs.

@donny-dont
Copy link
Copy Markdown
Author

With the ability to specify nested configs this can be expanded to caching. So as an example if a file is present locally that one would be used but if its not then it would hit a cloud storage service cache it locally and return the file to the caller. This is similar to what's possible in https://github.com/spf13/afero.

I have that in a separate config that's dependent on having the nested configs. Let me know if this or the caching implementation is of interest to you all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant