fuse

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: GPL-3.0 Imports: 18 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