MCPcopy Create free account
hub / github.com/cloudfoundry/bosh-agent / SwapOn

Method SwapOn

platform/disk/mounter_interface.go:15–15  ·  view source on GitHub ↗
(partitionPath string)

Source from the content-addressed store, hash-verified

13 RemountInPlace(mountPoint string, mountOptions ...string) (err error)
14
15 SwapOn(partitionPath string) (err error)
16
17 IsMountPoint(path string) (parititionPath string, result bool, err error)
18 IsMounted(devicePathOrMountPoint string) (result bool, err error)

Callers 4

SwapOnMethod · 0.65

Implementers 3

linuxMounterplatform/disk/linux_mounter.go
linuxBindMounterplatform/disk/linux_bind_mounter.go
FakeMounterplatform/disk/diskfakes/fake_mounter.g

Calls

no outgoing calls

Tested by

no test coverage detected