github.com/Cloud-Foundations/Dominator@v0.3.4/proto/sub/types.go (about) 1 package sub 2 3 import ( 4 "github.com/Cloud-Foundations/Dominator/lib/filesystem" 5 "github.com/Cloud-Foundations/Dominator/lib/hash" 6 ) 7 8 type Configuration struct { 9 CpuPercent uint 10 OwnerGroups []string 11 OwnerUsers []string 12 NetworkSpeedPercent uint 13 ScanSpeedPercent uint 14 ScanExclusionList []string 15 } 16 17 type FileToCopyToCache struct { 18 Name string 19 Hash hash.Hash 20 DoHardlink bool 21 } 22 23 type Hardlink struct { 24 NewLink string 25 Target string 26 } 27 28 type Inode struct { 29 Name string 30 filesystem.GenericInode 31 }