fuse

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2017 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Swarmfs_Version = "0.1"
)

Variables

This section is empty.

Functions

func NewInode

func NewInode() uint64

Inode numbers need to be unique, they are used for caching inside fuse

Types

type MountInfo

type MountInfo struct {
	MountPoint     string
	StartManifest  string
	LatestManifest string
}

type SwarmFS

type SwarmFS struct {
	// contains filtered or unexported fields
}

func NewSwarmFS

func NewSwarmFS(api *api.Api) *SwarmFS

func (*SwarmFS) Listmounts

func (self *SwarmFS) Listmounts() ([]*MountInfo, error)

func (*SwarmFS) Mount

func (self *SwarmFS) Mount(mhash, mountpoint string) (*MountInfo, error)

func (*SwarmFS) Stop

func (self *SwarmFS) Stop() error

func (*SwarmFS) Unmount

func (self *SwarmFS) Unmount(mountpoint string) (bool, error)

Jump to

Keyboard shortcuts

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