- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 285 for errf (0.03 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/create.go
err = errors.NewBadRequest(err.Error()) scope.err(err, w, req) return } if errs := validation.ValidateCreateOptions(options); len(errs) > 0 { err := errors.NewInvalid(schema.GroupKind{Group: metav1.GroupName, Kind: "CreateOptions"}, "", errs) scope.err(err, w, req) return } options.TypeMeta.SetGroupVersionKind(metav1.SchemeGroupVersion.WithKind("CreateOptions"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:19:46 UTC 2023 - 10.1K bytes - Viewed (0) -
pkg/volume/fc/fc_util.go
func (util *fcUtil) AttachDisk(b fcDiskMounter) (string, error) { devicePath, err := searchDisk(b) if err != nil { return "", err } exists, err := mount.PathExists(devicePath) if exists && err == nil { return devicePath, nil } if exists == false { return "", fmt.Errorf("device %s does not exist", devicePath) } else { return "", err } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 11:12:06 UTC 2022 - 12.8K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks.go
// If it doesn't exist we are good: if _, err := os.Stat(dac.Path); os.IsNotExist(err) { return nil, nil } f, err := os.Open(dac.Path) if err != nil { return nil, []error{errors.Wrapf(err, "unable to check if %s is empty", dac.Path)} } defer f.Close() _, err = f.Readdirnames(1) if err != io.EOF { return nil, []error{errors.Errorf("%s is not empty", dac.Path)} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:20:55 UTC 2024 - 39.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/webhook_converter.go
clientManager, err := webhook.NewClientManager( []schema.GroupVersion{v1.SchemeGroupVersion, v1beta1.SchemeGroupVersion}, v1beta1.AddToScheme, v1.AddToScheme, ) if err != nil { return nil, err } authInfoResolver, err := webhook.NewDefaultAuthenticationInfoResolver("") if err != nil { return nil, err } // Set defaults which may be overridden later.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 19:37:55 UTC 2023 - 20.6K bytes - Viewed (0) -
pkg/volume/util/fsquota/quota_linux.go
// report incorrectly. isNotMount, err := m.IsLikelyNotMountPoint(path) if err != nil { return "/", err } if !isNotMount { return path, nil } path = filepath.Dir(path) } return "/", nil } func detectMountpoint(m mount.Interface, path string) (string, error) { xpath, err := filepath.Abs(path) if err != nil { return "/", err } xpath, err = filepath.EvalSymlinks(xpath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 07 08:07:51 UTC 2023 - 14.1K bytes - Viewed (0) -
misc/go_android_exec/main.go
if err := adb("push", modDir, deviceModDir); err != nil { return 0, err } } else { if err := adb("exec-out", "mkdir", "-p", deviceCwd); err != nil { return 0, err } if err := adbCopyTree(deviceCwd, importPath); err != nil { return 0, err } // Copy .go files from the package. goFiles, err := filepath.Glob("*.go") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
hack/update-vendor.sh
# other errors (https://github.com/golang/go/issues/59186) errs=() kube::util::read-array errs < <( go list -e -tags=tools -json all | jq -r '.Error.Err | select( . != null )' \ | grep -v "is a program, not an importable package" ) if (( "${#errs[@]}" != 0 )); then for err in "${errs[@]}"; do echo "${err}" >&2 done exit 1 fi
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:08 UTC 2024 - 15.6K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
return MakePos(p.base, line, col) } // errorAt reports an error at the given position. func (p *parser) errorAt(pos Pos, msg string) { err := Error{pos, msg} if p.first == nil { p.first = err } p.errcnt++ if p.errh == nil { panic(p.first) } p.errh(err) } // syntaxErrorAt reports a syntax error at the given position. func (p *parser) syntaxErrorAt(pos Pos, msg string) { if trace {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
pkg/registry/apps/statefulset/storage/storage.go
// statefulset -> old scale oldScale, err := scaleFromStatefulSet(statefulset) if err != nil { return nil, err } scaleManagedFields, err := managedFieldsHandler.ToSubresource() if err != nil { return nil, err } oldScale.ManagedFields = scaleManagedFields // old scale -> new scale newScaleObj, err := i.reqObjInfo.UpdatedObject(ctx, oldScale) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 12.7K bytes - Viewed (0) -
src/cmd/compile/internal/amd64/versions_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:19:15 UTC 2022 - 10.9K bytes - Viewed (0)