Documentation ¶
Overview ¶
* Copyright (C) 2024 Puter Technologies Inc. * * This file is part of puter-fuse. * * puter-fuse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.
* Copyright (C) 2024 Puter Technologies Inc. * * This file is part of puter-fuse. * * puter-fuse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.
* Copyright (C) 2024 Puter Technologies Inc. * * This file is part of puter-fuse. * * puter-fuse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.
* Copyright (C) 2024 Puter Technologies Inc. * * This file is part of puter-fuse. * * puter-fuse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.
* Copyright (C) 2024 Puter Technologies Inc. * * This file is part of puter-fuse. * * puter-fuse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.
* Copyright (C) 2024 Puter Technologies Inc. * * This file is part of puter-fuse. * * puter-fuse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.
* Copyright (C) 2024 Puter Technologies Inc. * * This file is part of puter-fuse. * * puter-fuse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.
* Copyright (C) 2024 Puter Technologies Inc. * * This file is part of puter-fuse. * * puter-fuse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.
* Copyright (C) 2024 Puter Technologies Inc. * * This file is part of puter-fuse. * * puter-fuse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.
Index ¶
- type CleanPathFAO
- 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
- type D_TreeCacheFAO
- type FileReadCacheFAO
- type FileWriteCacheFAO
- type IC_PuterFAO
- type 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
- 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
- type P_PuterFAO
- type P_TreeCacheFAO
- type 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
- 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
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanPathFAO ¶
func (*CleanPathFAO) Move ¶
func (f *CleanPathFAO) Move(source string, parent string, name string) error
func (*CleanPathFAO) ReadAll ¶
func (f *CleanPathFAO) ReadAll(path string) (io.ReadCloser, error)
func (*CleanPathFAO) Unlink ¶
func (f *CleanPathFAO) Unlink(path string) error
type D_PuterFAO ¶
type D_PuterFAO struct { EnqueueOperationRequest func( operation putersdk.Operation, blob []byte, ) engine.OperationRequestPromise }
type D_TreeCacheFAO ¶
type D_TreeCacheFAO struct { *engine.VirtualTreeService *engine.AssociationService }
type FileReadCacheFAO ¶
type FileReadCacheFAO struct { fao.ProxyFAO P_FileReadCacheFAO // contains filtered or unexported fields }
func CreateFileReadCacheFAO ¶
func CreateFileReadCacheFAO(delegate fao.FAO, services services.IServiceContainer, params P_FileReadCacheFAO) *FileReadCacheFAO
type FileWriteCacheFAO ¶
func CreateFileWriteCacheFAO ¶
func CreateFileWriteCacheFAO(delegate fao.FAO, services services.IServiceContainer) *FileWriteCacheFAO
type IC_PuterFAO ¶
type IC_PuterFAO interface { engine.I_Batcher_EnqueueOperationRequest }
type LogFAO ¶
LogFAO struct definition.
func CreateLogFAO ¶
CreateLogFAO creates a new instance of LogFAO.
func (*LogFAO) ReadAll ¶
func (f *LogFAO) ReadAll(path string) (io.ReadCloser, error)
Implementing the ReadAll method with logging.
type P_FileReadCacheFAO ¶
type P_TreeCacheFAO ¶
type PuterFAO ¶
type PuterFAO struct { fao.BaseFAO P_PuterFAO D_PuterFAO }
func CreatePuterFAO ¶
func CreatePuterFAO( params P_PuterFAO, deps D_PuterFAO, ) *PuterFAO
type RemoteToLocalUIDFAO ¶
func CreateRemoteToLocalUIDFAO ¶
func CreateRemoteToLocalUIDFAO( delegate fao.FAO, services services.IServiceContainer, ) *RemoteToLocalUIDFAO
func (*RemoteToLocalUIDFAO) MkDir ¶
func (f *RemoteToLocalUIDFAO) MkDir(parent, path string) (fao.NodeInfo, error)
type TreeCacheFAO ¶
type TreeCacheFAO struct { fao.ProxyFAO P_TreeCacheFAO D_TreeCacheFAO }
func CreateTreeCacheFAO ¶
func CreateTreeCacheFAO( delegate fao.FAO, params P_TreeCacheFAO, deps D_TreeCacheFAO, ) *TreeCacheFAO
func (*TreeCacheFAO) Move ¶
func (f *TreeCacheFAO) Move(oldPath, newParentPath, name string) error
func (*TreeCacheFAO) Symlink ¶
func (f *TreeCacheFAO) Symlink(parent, name, target string) (fao.NodeInfo, error)
func (*TreeCacheFAO) Unlink ¶
func (f *TreeCacheFAO) Unlink(path string) error