- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ValidatePathNoBacksteps (0.2 sec)
-
pkg/volume/hostpath/host_path.go
Managed: false, SELinuxRelabel: false, } } // SetUp does nothing. func (b *hostPathMounter) SetUp(mounterArgs volume.MounterArgs) error { err := validation.ValidatePathNoBacksteps(b.GetPath()) if err != nil { return fmt.Errorf("invalid HostPath `%s`: %v", b.GetPath(), err) } if *b.pathType == v1.HostPathUnset { return nil } if b.noTypeChecker { return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 15.3K bytes - Viewed (0) -
pkg/volume/local/local.go
defer m.plugin.volumeLocks.UnlockKey(m.globalPath) if m.globalPath == "" { return fmt.Errorf("LocalVolume volume %q path is empty", m.volName) } err := validation.ValidatePathNoBacksteps(m.globalPath) if err != nil { return fmt.Errorf("invalid path: %s %v", m.globalPath, err) } notMnt, err := mount.IsNotMountPoint(m.mounter, dir)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 22.2K bytes - Viewed (0)