Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 3,592 for perror (0.31 sec)

  1. pkg/util/filesystem/watcher.go

    				}
    			case err := <-w.watcher.Errors:
    				if w.errorHandler != nil {
    					w.errorHandler(err)
    				}
    			}
    		}
    	}()
    }
    
    type watchAddRemover interface {
    	Add(path string) error
    	Remove(path string) error
    }
    type noopWatcher struct{}
    
    func (noopWatcher) Add(path string) error    { return nil }
    func (noopWatcher) Remove(path string) error { return nil }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. pkg/kubelet/container/testing/fake_runtime.go

    	KilledContainers  []string
    	RuntimeStatus     *kubecontainer.RuntimeStatus
    	VersionInfo       string
    	APIVersionInfo    string
    	RuntimeType       string
    	Err               error
    	InspectErr        error
    	StatusErr         error
    	// If BlockImagePulls is true, then all PullImage() calls will be blocked until
    	// UnblockImagePulls() is called. This is used to simulate image pull latency
    	// from container runtime.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/apiclient/wait.go

    	var (
    		lastError       error
    		start           = time.Now()
    		healthzEndpoint = fmt.Sprintf("http://%s:%d/healthz", healthzAddress, healthzPort)
    	)
    
    	fmt.Printf("[kubelet-check] Waiting for a healthy kubelet. This can take up to %v\n", w.timeout)
    
    	formatError := func(cause string) error {
    		return errors.Errorf("The HTTP call equal to 'curl -sSL %s' returned %s\n",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. tests/associations_has_many_test.go

    	}
    
    	if count := tx.Model(&item).Association("Contents").Count(); count != 3 {
    		t.Errorf("expected %d contents, got %d", 3, count)
    	}
    
    	var contents []ItemContent
    	if err := tx.Find(&contents).Error; err != nil {
    		t.Errorf("failed to find contents, got error: %v", err)
    	}
    	if len(contents) != 3 {
    		t.Errorf("expected %d contents, got %d", 3, len(contents))
    	}
    
    	// test delete
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/zsyscall_windows.go

    // Errno values.
    const (
    	errnoERROR_IO_PENDING = 997
    )
    
    var (
    	errERROR_IO_PENDING error = syscall.Errno(errnoERROR_IO_PENDING)
    	errERROR_EINVAL     error = syscall.EINVAL
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    func errnoErr(e syscall.Errno) error {
    	switch e {
    	case 0:
    		return errERROR_EINVAL
    	case errnoERROR_IO_PENDING:
    		return errERROR_IO_PENDING
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. src/net/http/h2_bundle.go

    	unread   int             // bytes unread when done
    	err      error           // read error once empty. non-nil means closed.
    	breakErr error           // immediate read error (caller doesn't see rest of b)
    	donec    chan struct{}   // closed on error
    	readFn   func()          // optional code to run in Read before error
    }
    
    type http2pipeBuffer interface {
    	Len() int
    	io.Writer
    	io.Reader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  7. pkg/scheduler/util/assumecache/assume_cache.go

    	cache.delete(obj)
    }
    
    // Sentinel errors that can be checked for with errors.Is.
    var (
    	ErrWrongType  = errors.New("object has wrong type")
    	ErrNotFound   = errors.New("object not found")
    	ErrObjectName = errors.New("cannot determine object name")
    )
    
    type WrongTypeError struct {
    	TypeName string
    	Object   interface{}
    }
    
    func (e WrongTypeError) Error() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. pilot/pkg/security/authz/model/generator.go

    	return nil, fmt.Errorf("unimplemented")
    }
    
    func (envoyFilterGenerator) extendedPrincipal(_ string, _ []string, _ bool) (*rbacpb.Principal, error) {
    	return nil, fmt.Errorf("unimplemented")
    }
    
    type srcIPGenerator struct{}
    
    func (srcIPGenerator) permission(_, _ string, _ bool) (*rbacpb.Permission, error) {
    	return nil, fmt.Errorf("unimplemented")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. pkg/volume/testing/testing.go

    	// nil is success, else error
    	return nil
    }
    
    func (fv *FakeVolumePathHandler) UnmapDevice(mapDir string, linkName string, bindMount bool) error {
    	// nil is success, else error
    	return nil
    }
    
    func (fv *FakeVolumePathHandler) RemoveMapPath(mapPath string) error {
    	// nil is success, else error
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    	err := adc.populateActualStateOfWorld(logger)
    	if err != nil {
    		t.Fatalf("Run failed with error. Expected: <no error> Actual: <%v>", err)
    	}
    
    	err = adc.populateDesiredStateOfWorld(logger)
    	if err != nil {
    		t.Fatalf("Run failed with error. Expected: <no error> Actual: %v", err)
    	}
    
    	// Test the ActualStateOfWorld contains all the node volumes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top