// getNestedMountpoints returns a list of mountpoint directories that should be created // for the volume indicated by name. // note: the returned list is relative to baseDir func getNestedMountpoints(name, baseDir string, pod v1.Pod) ([]string, error) { … } // MakeNestedMountpoints creates mount points in baseDir for volumes mounted beneath name func MakeNestedMountpoints(name, baseDir string, pod v1.Pod) error { … }