Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for ErrUnsupported (0.16 sec)

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

    	return subPath.Path, nil, errUnsupported
    }
    
    func (sp *subpath) CleanSubPaths(podDir string, volumeName string) error {
    	return errUnsupported
    }
    
    func (sp *subpath) SafeMakeDir(pathname string, base string, perm os.FileMode) error {
    	return errUnsupported
    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/hostutil/hostutil_unsupported.go

    	return FileType("fake"), errUnsupported
    }
    
    // MakeFile always returns an error on unsupported platforms
    func (hu *HostUtil) MakeFile(pathname string) error {
    	return errUnsupported
    }
    
    // MakeDir always returns an error on unsupported platforms
    func (hu *HostUtil) MakeDir(pathname string) error {
    	return errUnsupported
    }
    
    // PathExists always returns an error on unsupported platforms
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 10:17:38 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. pkg/kubelet/cadvisor/cadvisor_unsupported.go

    	return &cadvisorUnsupported{}, nil
    }
    
    var errUnsupported = errors.New("cAdvisor is unsupported in this build")
    
    func (cu *cadvisorUnsupported) Start() error {
    	return errUnsupported
    }
    
    func (cu *cadvisorUnsupported) ContainerInfoV2(name string, options cadvisorapiv2.RequestOptions) (map[string]cadvisorapiv2.ContainerInfo, error) {
    	return nil, errUnsupported
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 22:07:20 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/errors/errors.go

    // return an error including appropriate context that satisfies
    //
    //	errors.Is(err, errors.ErrUnsupported)
    //
    // either by directly wrapping ErrUnsupported or by implementing an [Is] method.
    //
    // Functions and methods should document the cases in which an error
    // wrapping this will be returned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 19:45:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go

    	writeLock
    )
    
    func lock(f File, lt lockType) error {
    	return &fs.PathError{
    		Op:   lt.String(),
    		Path: f.Name(),
    		Err:  errors.ErrUnsupported,
    	}
    }
    
    func unlock(f File) error {
    	return &fs.PathError{
    		Op:   "Unlock",
    		Path: f.Name(),
    		Err:  errors.ErrUnsupported,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 563 bytes
    - Viewed (0)
  6. src/cmd/internal/osinfo/os_wasip1.go

    //go:build wasip1
    
    package osinfo
    
    import (
    	"errors"
    	"fmt"
    )
    
    // Version returns the OS version name/number.
    func Version() (string, error) {
    	return "", fmt.Errorf("unable to determine OS version: %w", errors.ErrUnsupported)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 22:37:50 UTC 2023
    - 390 bytes
    - Viewed (0)
  7. src/internal/testenv/testenv_notunix.go

    // On Unix we send SIGQUIT, but on non-Unix we only have os.Kill.
    var Sigquit = os.Kill
    
    func syscallIsNotSupported(err error) bool {
    	return errors.Is(err, fs.ErrPermission) || errors.Is(err, errors.ErrUnsupported)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 05:22:00 UTC 2023
    - 550 bytes
    - Viewed (0)
  8. src/cmd/go/internal/lockedfile/internal/filelock/filelock.go

    // report that a function is not supported (possibly for a specific input).
    // It is satisfied by errors.ErrUnsupported as well as some syscall errors.
    func IsNotSupported(err error) bool {
    	return errors.Is(err, errors.ErrUnsupported)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/internal/testenv/testenv_unix.go

    		case syscall.EINVAL:
    			// Some containers return EINVAL instead of EPERM if a system call is
    			// denied by security policy.
    			return true
    		}
    	}
    
    	if errors.Is(err, fs.ErrPermission) || errors.Is(err, errors.ErrUnsupported) {
    		return true
    	}
    
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 17:44:01 UTC 2023
    - 994 bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/fallocate_test.go

    	err := out.Open(filename)
    	if err != nil {
    		t.Fatalf("Open file failed: %v", err)
    	}
    	defer out.Close()
    
    	// Try fallocate first.
    	for {
    		err = out.fallocate(1 << 10)
    		if errors.Is(err, errors.ErrUnsupported) || err == errNoFallocate { // The underlying file system may not support fallocate
    			t.Skip("fallocate is not supported")
    		}
    		if err == syscall.EINTR {
    			continue // try again
    		}
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 14:17:36 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top