MCPcopy
hub / github.com/google/cadvisor / Name

Method Name

lib/fs/plugin.go:29–29  ·  view source on GitHub ↗

Name returns the plugin identifier (e.g., "zfs", "devicemapper", "vfs").

()

Source from the content-addressed store, hash-verified

27type FsPlugin interface {
28 // Name returns the plugin identifier (e.g., "zfs", "devicemapper", "vfs").
29 Name() string
30
31 // CanHandle returns true if this plugin handles the given filesystem type.
32 CanHandle(fsType string) bool

Callers 15

TestValidIdentifiersFunction · 0.65
processStatsFromProcsFunction · 0.65
watchDirectoryMethod · 0.65
ListDirectoriesFunction · 0.65
GetBlockDeviceInfoFunction · 0.65
GetNetworkDevicesFunction · 0.65
GetHugePagesInfoFunction · 0.65
GetCacheInfoFunction · 0.65
TestGetHugePagesInfoFunction · 0.65
GetNetworkDevicesMethod · 0.65
GetMachineMemoryByTypeFunction · 0.65
TestDirDiskUsageFunction · 0.65

Implementers 8

testPluginlib/fs/fs_test.go
btrfsPluginlib/fs/btrfs/plugin.go
vfsPluginlib/fs/vfs/plugin.go
nfsPluginlib/fs/nfs/plugin.go
tmpfsPluginlib/fs/tmpfs/plugin.go
zfsPluginlib/fs/zfs/plugin.go
overlayPluginlib/fs/overlay/plugin.go
dmPluginfs/devicemapper/plugin.go

Calls

no outgoing calls

Tested by 3

TestValidIdentifiersFunction · 0.52
TestGetHugePagesInfoFunction · 0.52
TestDirDiskUsageFunction · 0.52