Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kahing/goofys
a high-performance, POSIX-ish Amazon S3 file system written in Go
https://github.com/kahing/goofys
aws-s3 azure-blob azure-blob-storage azure-data-lake azure-storage cloud-storage filesystem fuse fuse-filesystem gcs golang google-cloud-storage openstack-swift posix s3 s3-bucket
Last synced: 4 days ago
JSON representation
a high-performance, POSIX-ish Amazon S3 file system written in Go
- Host: GitHub
- URL: https://github.com/kahing/goofys
- Owner: kahing
- License: apache-2.0
- Created: 2015-09-14T20:30:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T14:25:03.000Z (5 months ago)
- Last Synced: 2024-12-02T13:24:17.955Z (11 days ago)
- Topics: aws-s3, azure-blob, azure-blob-storage, azure-data-lake, azure-storage, cloud-storage, filesystem, fuse, fuse-filesystem, gcs, golang, google-cloud-storage, openstack-swift, posix, s3, s3-bucket
- Language: Go
- Homepage:
- Size: 4.69 MB
- Stars: 5,221
- Watchers: 121
- Forks: 523
- Open Issues: 288
-
Metadata Files:
- Readme: README-azure.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go-storage - goofys - A high-performance, POSIX-ish Amazon S3 file system written in Go. (File System)
- awesome - goofys
- awesome-repositories - kahing/goofys - a high-performance, POSIX-ish Amazon S3 file system written in Go (Go)
- awesome-starred - goofys - a high-performance, POSIX-ish Amazon S3 file system written in Go (Go)
- awesome-starred - kahing/goofys - a high-performance, POSIX-ish Amazon S3 file system written in Go (golang)
- jimsghstars - kahing/goofys - a high-performance, POSIX-ish Amazon S3 file system written in Go (Go)
- awesome-go-storage - goofys - A high-performance, POSIX-ish Amazon S3 file system written in Go. (File System)
- my-awesome - kahing/goofys - s3,azure-blob,azure-blob-storage,azure-data-lake,azure-storage,cloud-storage,filesystem,fuse,fuse-filesystem,gcs,golang,google-cloud-storage,openstack-swift,posix,s3,s3-bucket pushed_at:2024-07 star:5.2k fork:0.5k a high-performance, POSIX-ish Amazon S3 file system written in Go (Go)
README
# Azure Blob Storage
```ShellSession
$ cat ~/.azure/config
[storage]
account = "myblobstorage"
key = "MY-STORAGE-KEY"
$ $GOPATH/bin/goofys wasb://container
$ $GOPATH/bin/goofys wasb://container:prefix # if you only want to mount objects under a prefix
```Users can also configure credentials via `AZURE_STORAGE_ACCOUNT` and
`AZURE_STORAGE_KEY` environment variables. See [Azure CLI configuration](https://docs.microsoft.com/en-us/cli/azure/azure-cli-configuration?view=azure-cli-latest#cli-configuration-values-and-environment-variables) for details. Goofys does not support `connection_string` or `sas_token` yet.Goofys also accepts full `wasb` URIs:
```ShellSession
$ $GOPATH/bin/goofys wasb://[email protected]
$ $GOPATH/bin/goofys wasb://[email protected]/prefix
```In this case account configuration in `~/.azure/config` or `AZURE_STORAGE_ACCOUNT` can be omitted. Alternatively, `--endpoint` can also be used to specify storage account:
```ShellSession
$ $GOPATH/bin/goofys --endpoint https://myaccount.blob.core.windows.net wasb://container
$ $GOPATH/bin/goofys --endpoint https://myaccount.blob.core.windows.net wasb://container:prefix
```Note that if full `wasb` URI is not specified, prefix separator is `:`.
Finally, insteading of specifying storage account access key, goofys
can also use [Azure
CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)
access tokens:```ShellSession
$ az login
# list all subscribtions and select the needed one
$ az account list
# select current subscription (get its id from previous step)
$ az account set --subscription
$ $GOPATH/bin/goofys wasb://[email protected]
```# Azure Data Lake Storage Gen1
Follow the Azure CLI login sequence from above, and then:
```ShellSession
$ $GOPATH/bin/goofys adl://servicename.azuredatalakestore.net
$ $GOPATH/bin/goofys adl://servicename.azuredatalakestore.net:prefix
```# Azure Data Lake Storage Gen2
Configure your credentials the same way as [Azure Blob Storage](https://github.com/kahing/goofys/blob/master/README-azure.md#azure-blob-storage) above, and then:
```ShellSession
$ $GOPATH/bin/goofys abfs://container
$ $GOPATH/bin/goofys abfs://container:prefix
```