Skip to content

Commit

Permalink
Add awssmpfs package
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
  • Loading branch information
hairyhenderson committed Sep 10, 2022
1 parent 253e605 commit 9fc15c3
Show file tree
Hide file tree
Showing 9 changed files with 975 additions and 51 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Here's the list of planned filesystem support, along with status:
| Scheme(s) | Description | Supported? |
|-----------|-------------|:----------:|
| [`aws+sm`](./url_schemes.md#awssm) | [AWS Secrets Manager][] ||
| [`aws+smp`](./url_schemes.md#awssmp) | [AWS Systems Manager Parameter Store][AWS SMP] | |
| [`aws+smp`](./url_schemes.md#awssmp) | [AWS Systems Manager Parameter Store][AWS SMP] | |
| [`azblob`](./url_schemes.md#azblob) | [Azure Blob Storage][] ||
| [`consul`, `consul+http`, `consul+https`](./url_schemes.md#consul) | [HashiCorp Consul][] ||
| [`file`](./url_schemes.md#file) | local filesystem ||
Expand Down
2 changes: 2 additions & 0 deletions autofs/lookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (

"github.com/hairyhenderson/go-fsimpl"
"github.com/hairyhenderson/go-fsimpl/awssmfs"
"github.com/hairyhenderson/go-fsimpl/awssmpfs"
"github.com/hairyhenderson/go-fsimpl/blobfs"
"github.com/hairyhenderson/go-fsimpl/consulfs"
"github.com/hairyhenderson/go-fsimpl/filefs"
Expand All @@ -31,6 +32,7 @@ func Lookup(u string) (fs.FS, error) {
muxInit.Do(func() {
mux = fsimpl.NewMux()
mux.Add(awssmfs.FS)
mux.Add(awssmpfs.FS)
mux.Add(blobfs.FS)
mux.Add(consulfs.FS)
mux.Add(filefs.FS)
Expand Down
Loading

0 comments on commit 9fc15c3

Please sign in to comment.