Versions in this module Expand all Collapse all v1 v1.0.0 Jul 5, 2019 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) Mount(mhash, mountpoint string) (*MountInfo, error) + func (self *SwarmFS) Stop() error + func (self *SwarmFS) Unmount(mountpoint string) (bool, error) + func (swarmfs *SwarmFS) Listmounts() []*MountInfo + func (swarmfs *SwarmFS) Mount(mhash, mountpoint string) (*MountInfo, error) + func (swarmfs *SwarmFS) Stop() bool + func (swarmfs *SwarmFS) Unmount(mountpoint string) (*MountInfo, error) + type SwarmFile struct — darwin/amd64, linux/amd64 + func NewSwarmFile(path, fname string, minfo *MountInfo) *SwarmFile + func (sf *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)