flist

package
v0.4.0-rc9-b Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: Apache-2.0 Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Flist module

How to run the tests of this module

Because 0-fs requires root permission to mount the filesystems, you need to run the tests using the root user

An easy way to configure your system to have all your user GOPATH in the root directory is to create a symlink to /root/go. Because if $GOPATH is not set, go automatically use $HOME/go

ln -s $GOPATH /root/go

Then to the tests:

su
go test -v

RPC test

Because RPC tests requires to have a local redis running, RPC tests are not run by default. In order to run the RPC test, you need to have redis running and listening on port 6379 and pass the -rpc flag to the go test command.

go test -v -rpc

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAlreadyMounted = errors.New("path is already mounted")

ErrAlreadyMounted is returned when checking if a path has already something mounted on it

Functions

func New

func New(root string, storage pkg.VolumeAllocater) pkg.Flister

New creates a new flistModule

Types

This section is empty.

Jump to

Keyboard shortcuts

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