Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,763 for perror (0.1 sec)

  1. pkg/kube/inject/validate.go

    	if ipRanges != "*" {
    		if e := validateCIDRList(ipRanges); e != nil {
    			return fmt.Errorf("includeIPRanges invalid: %v", e)
    		}
    	}
    	return nil
    }
    
    // ValidateExcludeIPRanges validates the excludeIPRanges parameter
    func ValidateExcludeIPRanges(ipRanges string) error {
    	if e := validateCIDRList(ipRanges); e != nil {
    		return fmt.Errorf("excludeIPRanges invalid: %v", e)
    	}
    	return nil
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. pkg/webhooks/validation/server/server.go

    	if warn == nil {
    		return nil
    	}
    	me, ok := warn.(*multierror.Error)
    	if ok {
    		res := []string{}
    		for _, e := range me.Errors {
    			res = append(res, e.Error())
    		}
    		return res
    	}
    	return []string{warn.Error()}
    }
    
    func checkFields(raw []byte, kind string, namespace string, name string) (string, error) {
    	trial := make(map[string]json.RawMessage)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 04 06:13:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	Update(ctx context.Context, example *v1.Example, opts metav1.UpdateOptions) (*v1.Example, error)
    	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
    	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
    	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Example, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modindex/scan.go

    	// non-nil *build.Package returned when an error occurs.
    	// We need to do this before we return early on FindOnly flag.
    	if !isDir(absdir) {
    		// package was not found
    		p.error = fmt.Errorf("cannot find package in:\n\t%s", absdir).Error()
    		return p
    	}
    
    	entries, err := fsys.ReadDir(absdir)
    	if err != nil {
    		p.error = err.Error()
    		return p
    	}
    
    	fset := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/internal/poll/fd_plan9.go

    // ReadLock wraps FD.readLock.
    func (fd *FD) ReadLock() error {
    	return fd.readLock()
    }
    
    // ReadUnlock wraps FD.readUnlock.
    func (fd *FD) ReadUnlock() {
    	fd.readUnlock()
    }
    
    func isHangup(err error) bool {
    	return err != nil && stringslite.HasSuffix(err.Error(), "Hangup")
    }
    
    func isInterrupted(err error) bool {
    	return err != nil && stringslite.HasSuffix(err.Error(), "interrupted")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go

    	return schema.GroupVersionKind{}, nil
    }
    func (doNothingRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error) {
    	return nil, nil
    }
    func (doNothingRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error) {
    	return schema.GroupVersionResource{}, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. 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)
  8. cmd/kubeadm/app/util/runtime/impl.go

    	NewRemoteImageService(endpoint string, connectionTimeout time.Duration) (criapi.ImageManagerService, error)
    	Status(ctx context.Context, runtimeService criapi.RuntimeService, verbose bool) (*runtimeapi.StatusResponse, error)
    	ListPodSandbox(ctx context.Context, runtimeService criapi.RuntimeService, filter *runtimeapi.PodSandboxFilter) ([]*runtimeapi.PodSandbox, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Result.java

            return success(model, problemsList);
        }
    
        /**
         * Error with problems describing the cause
         *
         * @param problems
         */
        public static <T> Result<T> error(Iterable<? extends ModelProblem> problems) {
            return error(null, problems);
        }
    
        public static <T> Result<T> error(T model) {
            return error(model, Collections.emptyList());
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. pkg/volume/util/hostutil/hostutil.go

    	MakeRShared(path string) error
    	// GetFileType checks for file/directory/socket/block/character devices.
    	GetFileType(pathname string) (FileType, error)
    	// PathExists tests if the given path already exists
    	// Error is returned on any other error than "file not found".
    	PathExists(pathname string) (bool, error)
    	// EvalHostSymlinks returns the path name after evaluating symlinks.
    	EvalHostSymlinks(pathname string) (string, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top