myown-filesystem

module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2024 License: MIT

README

myown-filesystem

local file system

motivation

you can access to cloud file storage such as aws s3, gcp gcs, azure blob as if you ran linux command like ls touch

TODO:

  • sample code (access memory file directory)
  • docker set up
  • fix code to access localstack
  • fix code to run ls linux command ls
  • fix code to run other linux command touch
  • fix code to run other linux command rm
  • fix code to run other linux command rm -r
  • fix code to run other linux command mv
  • fix code to run other linux command tree
  • fix code to access not only localstack but also other cloud storage
  • fix code to umount directory when kill go process
  • go cli

how to use

install FUSE into your PC https://osxfuse.github.io/2024/04/05/macFUSE-4.7.0.html

how to develop in local

do umount after kill go process

$ umount /tmp/myown-filesystem

if you want to confirm what filesystem are mounted, you run following command

$ mount
set up local test data
$ ./test-data/insert-test-data.sh
execute custom filesystem process
$ go run cfs/main.go -mountdir /tmp/myown-filesystem -provider aws -env local -bucket my-bucket

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL