MCPcopy
hub / github.com/IceWhaleTech/CasaOS / StorageService

Interface StorageService

service/storage.go:12–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type StorageService interface {
13 MountStorage(mountPoint, fs string) error
14 UnmountStorage(mountPoint string) error
15 GetStorages() (httper.MountList, error)
16 CreateConfig(data map[string]string, name string, t string) error
17 CheckAndMountByName(name string) error
18 CheckAndMountAll() error
19 GetConfigByName(name string) (map[string]string, error)
20 DeleteConfigByName(name string) error
21 GetConfig() (httper.RemotesResult, error)
22}
23
24type storageStruct struct {
25}

Callers 14

CheckAndMountByNameMethod · 0.65
CheckAndMountAllMethod · 0.65
GetRecoverStorageFunction · 0.65
UmountStorageFunction · 0.65
CheckAndMountByNameMethod · 0.65
CheckAndMountAllMethod · 0.65
ListStoragesFunction · 0.65
GetRecoverStorageFunction · 0.65
GetRecoverStorageFunction · 0.65
InitNetworkMountFunction · 0.65
ListStoragesFunction · 0.65
GetRecoverStorageFunction · 0.65

Implementers 1

storageStructservice/storage.go

Calls

no outgoing calls

Tested by

no test coverage detected