Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setupFakeMounter (0.12 sec)

  1. pkg/volume/util/subpath/subpath_linux_test.go

    		}
    
    		os.RemoveAll(base)
    	}
    }
    
    var (
    	testVol       = "vol1"
    	testPod       = "pod0"
    	testContainer = "container0"
    	testSubpath   = 1
    )
    
    func setupFakeMounter(testMounts []string) *mount.FakeMounter {
    	mounts := []mount.MountPoint{}
    	for _, mountPoint := range testMounts {
    		mounts = append(mounts, mount.MountPoint{Device: "/foo", Path: mountPoint})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
Back to top