Documentation ¶
Index ¶
- type FakeSysFs
- func (self *FakeSysFs) GetBlockDeviceNumbers(name string) (string, error)
- func (self *FakeSysFs) GetBlockDeviceScheduler(name string) (string, error)
- func (self *FakeSysFs) GetBlockDeviceSize(name string) (string, error)
- func (self *FakeSysFs) GetBlockDevices() ([]os.FileInfo, error)
- func (self *FakeSysFs) GetCacheInfo(cpu int, cache string) (sysfs.CacheInfo, error)
- func (self *FakeSysFs) GetCaches(id int) ([]os.FileInfo, error)
- func (self *FakeSysFs) GetNetworkAddress(name string) (string, error)
- func (self *FakeSysFs) GetNetworkDevices() ([]os.FileInfo, error)
- func (self *FakeSysFs) GetNetworkMtu(name string) (string, error)
- func (self *FakeSysFs) GetNetworkSpeed(name string) (string, error)
- func (self *FakeSysFs) GetNetworkStatValue(name string, stat string) (uint64, error)
- func (self *FakeSysFs) GetSystemUUID() (string, error)
- func (self *FakeSysFs) SetCacheInfo(cache sysfs.CacheInfo)
- func (self *FakeSysFs) SetEntryName(name string)
- 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
}
func (*FakeSysFs) GetBlockDeviceNumbers ¶
func (*FakeSysFs) GetBlockDeviceScheduler ¶
func (*FakeSysFs) GetBlockDeviceSize ¶
func (*FakeSysFs) GetCacheInfo ¶
func (*FakeSysFs) GetNetworkAddress ¶
func (*FakeSysFs) GetNetworkDevices ¶
func (*FakeSysFs) GetNetworkSpeed ¶
func (*FakeSysFs) GetNetworkStatValue ¶
func (*FakeSysFs) GetSystemUUID ¶
func (*FakeSysFs) SetCacheInfo ¶
func (*FakeSysFs) SetEntryName ¶
Click to show internal directories.
Click to hide internal directories.