Versions in this module Expand all Collapse all v1 v1.0.0 Mar 11, 2024 Changes in this version + type CleanPathFAO struct + func (f *CleanPathFAO) Create(path string, name string) (fao.NodeInfo, error) + func (f *CleanPathFAO) MkDir(path string, name string) (fao.NodeInfo, error) + func (f *CleanPathFAO) Move(source string, parent string, name string) error + func (f *CleanPathFAO) Read(path string, dest []byte, off int64) (int, error) + func (f *CleanPathFAO) ReadAll(path string) (io.ReadCloser, error) + func (f *CleanPathFAO) ReadDir(path string) ([]fao.NodeInfo, error) + func (f *CleanPathFAO) Stat(path string) (fao.NodeInfo, bool, error) + func (f *CleanPathFAO) Symlink(parent string, name string, target string) (fao.NodeInfo, error) + func (f *CleanPathFAO) Truncate(path string, size uint64) error + func (f *CleanPathFAO) Unlink(path string) error + func (f *CleanPathFAO) Write(path string, src []byte, off int64) (int, error) + type D_PuterFAO struct + EnqueueOperationRequest func(operation putersdk.Operation, blob []byte) engine.OperationRequestPromise + type D_TreeCacheFAO struct + type FileReadCacheFAO struct + func CreateFileReadCacheFAO(delegate fao.FAO, services services.IServiceContainer, ...) *FileReadCacheFAO + func (f *FileReadCacheFAO) Read(path string, dest []byte, offset int64) (int, error) + type FileWriteCacheFAO struct + func CreateFileWriteCacheFAO(delegate fao.FAO, services services.IServiceContainer) *FileWriteCacheFAO + func (f *FileWriteCacheFAO) Read(path string, dest []byte, offset int64) (int, error) + func (f *FileWriteCacheFAO) Write(path string, data []byte, offset int64) (int, error) + type IC_PuterFAO interface + type LogFAO struct + Log debug.ILogger + func CreateLogFAO(delegate fao.FAO, logger debug.ILogger) *LogFAO + func (f *LogFAO) Create(path string, name string) (fao.NodeInfo, error) + func (f *LogFAO) MkDir(path string, name string) (fao.NodeInfo, error) + func (f *LogFAO) Move(source, parent, name string) error + func (f *LogFAO) Read(path string, dest []byte, off int64) (int, error) + func (f *LogFAO) ReadAll(path string) (io.ReadCloser, error) + func (f *LogFAO) ReadDir(path string) ([]fao.NodeInfo, error) + func (f *LogFAO) Stat(path string) (fao.NodeInfo, bool, error) + func (f *LogFAO) Symlink(parent, name, target string) (fao.NodeInfo, error) + func (f *LogFAO) Truncate(path string, size uint64) error + func (f *LogFAO) Unlink(path string) error + func (f *LogFAO) Write(path string, src []byte, off int64) (int, error) + type MemFAO struct + Tree *node + func CreateMemFAO() *MemFAO + func (f *MemFAO) Create(path string, name string) (fao.NodeInfo, error) + func (f *MemFAO) MkDir(parent, path string) (fao.NodeInfo, error) + func (f *MemFAO) Move(source, parent, name string) error + func (f *MemFAO) Read(path string, dest []byte, off int64) (int, error) + func (f *MemFAO) ReadAll(path string) (io.ReadCloser, error) + func (f *MemFAO) ReadDir(path string) ([]fao.NodeInfo, error) + func (f *MemFAO) Stat(path string) (fao.NodeInfo, bool, error) + func (f *MemFAO) Symlink(parent, name, target string) (fao.NodeInfo, error) + func (f *MemFAO) Truncate(path string, size uint64) error + func (f *MemFAO) Unlink(path string) error + func (f *MemFAO) Write(path string, src []byte, off int64) (int, error) + type P_FileReadCacheFAO struct + TTL time.Duration + type P_PuterFAO struct + ReadFAO fao.FAO + SDK *putersdk.PuterSDK + type P_TreeCacheFAO struct + TTL time.Duration + type PuterFAO struct + func CreatePuterFAO(params P_PuterFAO, deps D_PuterFAO) *PuterFAO + func (f *PuterFAO) Create(path string, name string) (fao.NodeInfo, error) + func (f *PuterFAO) MkDir(parent string, path string) (fao.NodeInfo, error) + func (f *PuterFAO) Move(source string, parent string, name string) error + func (f *PuterFAO) Read(path string, dest []byte, off int64) (int, error) + func (f *PuterFAO) ReadAll(path string) (io.ReadCloser, error) + func (f *PuterFAO) ReadDir(path string) ([]fao.NodeInfo, error) + func (f *PuterFAO) Stat(path string) (fao.NodeInfo, bool, error) + func (f *PuterFAO) Symlink(parent string, name string, target string) (fao.NodeInfo, error) + func (f *PuterFAO) Truncate(path string, size uint64) error + func (f *PuterFAO) Unlink(path string) error + func (f *PuterFAO) Write(path string, src []byte, off int64) (int, error) + type RemoteToLocalUIDFAO struct + func CreateRemoteToLocalUIDFAO(delegate fao.FAO, services services.IServiceContainer) *RemoteToLocalUIDFAO + func (f *RemoteToLocalUIDFAO) Create(path string, name string) (fao.NodeInfo, error) + func (f *RemoteToLocalUIDFAO) MkDir(parent, path string) (fao.NodeInfo, error) + func (f *RemoteToLocalUIDFAO) ReadDir(path string) ([]fao.NodeInfo, error) + func (f *RemoteToLocalUIDFAO) Stat(path string) (fao.NodeInfo, bool, error) + type SlowFAO struct + Delay time.Duration + func CreateSlowFAO(delegate fao.FAO, d time.Duration) *SlowFAO + func (f *SlowFAO) Create(path string, name string) (fao.NodeInfo, error) + func (f *SlowFAO) MkDir(parent, path string) (fao.NodeInfo, error) + func (f *SlowFAO) Move(source, parent, name string) error + func (f *SlowFAO) Read(path string, dest []byte, off int64) (int, error) + func (f *SlowFAO) ReadDir(path string) ([]fao.NodeInfo, error) + func (f *SlowFAO) Stat(path string) (fao.NodeInfo, bool, error) + func (f *SlowFAO) Symlink(parent, name, target string) (fao.NodeInfo, error) + func (f *SlowFAO) Truncate(path string, size uint64) error + func (f *SlowFAO) Unlink(path string) error + func (f *SlowFAO) Write(path string, src []byte, off int64) (int, error) + type TreeCacheFAO struct + func CreateTreeCacheFAO(delegate fao.FAO, params P_TreeCacheFAO, deps D_TreeCacheFAO) *TreeCacheFAO + func (f *TreeCacheFAO) Create(parent string, path string) (fao.NodeInfo, error) + func (f *TreeCacheFAO) MkDir(parent string, path string) (fao.NodeInfo, error) + func (f *TreeCacheFAO) Move(oldPath, newParentPath, name string) error + func (f *TreeCacheFAO) ReadDir(path string) ([]fao.NodeInfo, error) + func (f *TreeCacheFAO) Stat(path string) (fao.NodeInfo, bool, error) + func (f *TreeCacheFAO) Symlink(parent, name, target string) (fao.NodeInfo, error) + func (f *TreeCacheFAO) Unlink(path string) error