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

Method CanHandle

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

CanHandle returns true if this plugin handles the given filesystem type.

(fsType string)

Source from the content-addressed store, hash-verified

30
31 // CanHandle returns true if this plugin handles the given filesystem type.
32 CanHandle(fsType string) bool
33
34 // Priority returns the plugin priority (higher = checked first).
35 // Allows specific plugins (zfs, btrfs) to override generic (vfs).

Callers 1

GetPluginForFsTypeFunction · 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

no test coverage detected