Lines Matching refs:p
31 var p localBinder
32 p.mounter = mount.NewSystemMounter()
33 return &p
37 var p localBinder
38 p.mounter = mount.NewFakeMounter()
39 return &p
42 func (p localBinder) checkValidPath(inPath string) error {
52 func (p localBinder) BindReadOnly(source string, destination string) error {
62 err = p.mounter.Mount(source, destination,
67 err = p.mounter.Mount(source, destination,
72 func (p localBinder) BindReadWrite(source string, destination string) error {
82 err = p.mounter.Mount(source, destination,
87 func (p localBinder) Unbind(destination string) error {
93 err = p.mounter.Unmount(destination, syscall.MNT_DETACH)
97 func (p localBinder) List() ([]string, error) {
98 return p.mounter.List()