-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for "internal:" import scheme #29
Comments
I've seen this called |
I'm thinking perhaps |
I am now wondering how to define internal paths. The paths the The single unix spec for paths has this to say:
This means I could use |
With Go 1.16 having landed with a simple way for embedding files, the
Importer
should be extended to support theinternal:
scheme that imports from afs.FS
instance. Or perhaps something a little more generic - registering a scheme (not necessarilyinternal:
) with afs.FS
so it is clear what application provides the files - e.g.jube://k8s/base.jsonnet
would let you know it is an internal source in thejube
application.The text was updated successfully, but these errors were encountered: