Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewNSEnter (0.67 sec)

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

    // New returns a subpath.Interface for the current system.
    func New(mount.Interface) Interface {
    	return &subpath{}
    }
    
    // NewNSEnter is to satisfy the compiler for having NewSubpathNSEnter exist for all
    // OS choices. however, NSEnter is only valid on Linux
    func NewNSEnter(mounter mount.Interface, ne *nsenter.Nsenter, rootDir string) Interface {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  2. pkg/volume/util/subpath/subpath_windows.go

    type subpath struct{}
    
    // New returns a subpath.Interface for the current system
    func New(mount.Interface) Interface {
    	return &subpath{}
    }
    
    // NewNSEnter is to satisfy the compiler for having NewSubpathNSEnter exist for all
    // OS choices. however, NSEnter is only valid on Linux
    func NewNSEnter(mounter mount.Interface, ne *nsenter.Nsenter, rootDir string) Interface {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top