Documentation
¶
Index ¶
- type FakeSysFs
- func (fs *FakeSysFs) GetBlockDeviceNumbers(name string) (string, error)
- func (fs *FakeSysFs) GetBlockDeviceScheduler(name string) (string, error)
- func (fs *FakeSysFs) GetBlockDeviceSize(name string) (string, error)
- func (fs *FakeSysFs) GetBlockDevices() ([]os.FileInfo, error)
- func (fs *FakeSysFs) GetCPUPhysicalPackageID(cpuPath string) (string, error)
- func (fs *FakeSysFs) GetCPUsPaths(cpusPath string) ([]string, error)
- func (fs *FakeSysFs) GetCacheInfo(cpu int, cache string) (sysfs.CacheInfo, error)
- func (fs *FakeSysFs) GetCaches(id int) ([]os.FileInfo, error)
- func (fs *FakeSysFs) GetCoreID(coreIDPath string) (string, error)
- func (fs *FakeSysFs) GetDistances(nodeDir string) (string, error)
- func (fs *FakeSysFs) GetHugePagesInfo(hugepagesDirectory string) ([]os.FileInfo, error)
- func (fs *FakeSysFs) GetHugePagesNr(hugepagesDirectory string, hugePageName string) (string, error)
- func (fs *FakeSysFs) GetMemInfo(nodePath string) (string, error)
- func (fs *FakeSysFs) GetNetworkAddress(name string) (string, error)
- func (fs *FakeSysFs) GetNetworkDevices() ([]os.FileInfo, error)
- func (fs *FakeSysFs) GetNetworkMtu(name string) (string, error)
- func (fs *FakeSysFs) GetNetworkSpeed(name string) (string, error)
- func (fs *FakeSysFs) GetNetworkStatValue(name string, stat string) (uint64, error)
- func (fs *FakeSysFs) GetNodesPaths() ([]string, error)
- func (fs *FakeSysFs) GetSystemUUID() (string, error)
- func (fs *FakeSysFs) IsCPUOnline(dir string) bool
- func (fs *FakeSysFs) SetCPUsPaths(paths map[string][]string, err error)
- func (fs *FakeSysFs) SetCacheInfo(cache sysfs.CacheInfo)
- func (fs *FakeSysFs) SetCoreThreads(coreThread map[string]string, coreThreadErrors map[string]error)
- func (fs *FakeSysFs) SetDistances(nodeDir string, distances string, err error)
- func (fs *FakeSysFs) SetEntryName(name string)
- func (fs *FakeSysFs) SetHugePages(hugePages []os.FileInfo, err error)
- func (fs *FakeSysFs) SetHugePagesNr(hugePagesNr map[string]string, err error)
- func (fs *FakeSysFs) SetMemory(memTotal string, err error)
- func (fs *FakeSysFs) SetNodesPaths(paths []string, err error)
- func (fs *FakeSysFs) SetOnlineCPUs(online map[string]interface{})
- func (fs *FakeSysFs) SetPhysicalPackageIDs(physicalPackageIDs map[string]string, physicalPackageIDErrors map[string]error)
- type FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSysFs ¶
type FakeSysFs struct {
// contains filtered or unexported fields
}