Versions in this module Expand all Collapse all v1 v1.6.4 Jun 1, 2017 v1.6.0 Apr 14, 2017 Changes in this version + const MaxAppendFileSize — darwin/amd64, linux/amd64 + const Swarmfs_Version + func NewInode() uint64 + type MountInfo struct + LatestManifest string + MountPoint string + StartManifest string + func NewMountInfo(mhash, mpoint string, sapi *api.Api) *MountInfo + type SwarmDir struct — darwin/amd64, linux/amd64 + func NewSwarmDir(fullpath string, minfo *MountInfo) *SwarmDir + func (sd *SwarmDir) Attr(ctx context.Context, a *fuse.Attr) error + func (sd *SwarmDir) Create(ctx context.Context, req *fuse.CreateRequest, resp *fuse.CreateResponse) (fs.Node, fs.Handle, error) + func (sd *SwarmDir) Lookup(ctx context.Context, req *fuse.LookupRequest, resp *fuse.LookupResponse) (fs.Node, error) + func (sd *SwarmDir) Mkdir(ctx context.Context, req *fuse.MkdirRequest) (fs.Node, error) + func (sd *SwarmDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error) + func (sd *SwarmDir) Remove(ctx context.Context, req *fuse.RemoveRequest) error + type SwarmFS struct + func NewSwarmFS(api *api.Api) *SwarmFS + func (self *SwarmFS) Listmounts() ([]*MountInfo, error) + func (self *SwarmFS) Listmounts() []*MountInfo + func (self *SwarmFS) Mount(mhash, mountpoint string) (*MountInfo, error) + func (self *SwarmFS) Stop() bool + func (self *SwarmFS) Stop() error + func (self *SwarmFS) Unmount(mountpoint string) (*MountInfo, error) + func (self *SwarmFS) Unmount(mountpoint string) (bool, error) + type SwarmFile struct — darwin/amd64, linux/amd64 + func NewSwarmFile(path, fname string, minfo *MountInfo) *SwarmFile + func (file *SwarmFile) Attr(ctx context.Context, a *fuse.Attr) error + func (sf *SwarmFile) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error + func (sf *SwarmFile) Write(ctx context.Context, req *fuse.WriteRequest, resp *fuse.WriteResponse) error + type SwarmRoot struct — darwin/amd64, linux/amd64 + func (filesystem *SwarmRoot) Root() (fs.Node, error)