Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + type FakeSubpath struct + func (fs *FakeSubpath) CleanSubPaths(podDir string, volumeName string) error + func (fs *FakeSubpath) PrepareSafeSubpath(subPath Subpath) (newHostPath string, cleanupAction func(), err error) + func (fs *FakeSubpath) SafeMakeDir(pathname string, base string, perm os.FileMode) error + type Interface interface + CleanSubPaths func(poodDir string, volumeName string) error + PrepareSafeSubpath func(subPath Subpath) (newHostPath string, cleanupAction func(), err error) + SafeMakeDir func(subdir string, base string, perm os.FileMode) error + func New(mount.Interface) Interface + func New(mounter mount.Interface) Interface + func NewNSEnter(mounter mount.Interface, ne *nsenter.Nsenter, rootDir string) Interface + type Subpath struct + ContainerName string + Path string + PodDir string + VolumeMountIndex int + VolumeName string + VolumePath string