- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 237 for notFound (0.21 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go
func TypeInvalid(field *Path, value interface{}, detail string) *Error { return &Error{ErrorTypeTypeInvalid, field.String(), value, detail} } // NotFound returns a *Error indicating "value not found". This is // used to report failure to find a requested value (e.g. looking up an ID). func NotFound(field *Path, value interface{}) *Error { return &Error{ErrorTypeNotFound, field.String(), value, ""} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 11.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/MixInClosurePropertiesAsMethodsDynamicObject.java
if (dynamicObject.hasMethod("call", arguments)) { return dynamicObject.tryInvokeMethod("call", arguments); } } return DynamicInvokeResult.notFound(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 09 10:19:11 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/DefaultBuildableComponentResolveResult.java
public DefaultBuildableComponentResolveResult failed(ModuleVersionResolveException failure) { state = null; this.failure = failure; return this; } @Override public void notFound(ModuleComponentIdentifier versionIdentifier) { failed(new ModuleVersionNotFoundException(DefaultModuleVersionIdentifier.newId(versionIdentifier), getAttempted())); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/auth.go
http.Error(w, "filename contains leading dot", http.StatusBadRequest) return } f, err := fs.Open(urlPath) if err != nil { if os.IsNotExist(err) { http.NotFound(w, req) } else { http.Error(w, err.Error(), http.StatusInternalServerError) } return } accessDir := urlPath if fi, err := f.Stat(); err == nil && !fi.IsDir() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 17:47:26 UTC 2023 - 2.7K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter.go
filename, err = lookupGorootExport(bp.Dir) if err == nil { _, err = os.Stat(filename) } if err == nil { return filename, bp.ImportPath, nil } } goto notfound } else { noext = strings.TrimSuffix(bp.PkgObj, ".a") } id = bp.ImportPath case build.IsLocalImport(path): // "./x" -> "/this/directory/x.ext", "/this/directory/x"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.4K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/vcweb.go
err := s.HandleScript(scriptPath, s.logger, func(handler http.Handler) { handler.ServeHTTP(w, req) }) if err != nil { s.logger.Print(err) if notFound := (ScriptNotFoundError{}); errors.As(err, ¬Found) { http.NotFound(w, req) } else if notInstalled := (ServerNotInstalledError{}); errors.As(err, ¬Installed) || errors.Is(err, exec.ErrNotFound) { http.Error(w, err.Error(), http.StatusNotImplemented)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 12.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
expect(path, false, ['GET'], notFound(), passwordCredentials) } void allowGetOrHeadMissing(String path) { allow(path, false, ['GET', 'HEAD'], notFound()) } /** * Expects one HEAD request for the given URL, which return 404 status code */ void expectHeadMissing(String path) { expect(path, false, ['HEAD'], notFound()) } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go
noxuWatch, err := noxuResourceClients[v.Name].Watch(context.TODO(), metav1.ListOptions{}) if disabledVersions[v.Name] { if !errors.IsNotFound(err) { t.Errorf("expected the watch operation fail with NotFound for disabled version %s, got error: %v", v.Name, err) } } else { if err != nil { t.Fatal(err) } noxuWatchs[v.Name] = noxuWatch } } defer func() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 11:35:33 UTC 2024 - 33.4K bytes - Viewed (0) -
pkg/kube/controllers/common.go
return empty } } return o } func ExtractObject(obj any) Object { return Extract[Object](obj) } // IgnoreNotFound returns nil on NotFound errors. // All other values that are not NotFound errors or nil are returned unmodified. func IgnoreNotFound(err error) error { if kerrors.IsNotFound(err) { return nil } return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 11 08:27:29 UTC 2024 - 8.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/init_dryrun_test.go
expectedHandled: true, expectedObjectJSON: []byte(``), expectedErr: true, // we expect a NotFound error here }, { // an ask for a kubernetes service in the _kube-system_ ns should not be answered name: "get kube-system services",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 09 04:58:02 UTC 2022 - 4.6K bytes - Viewed (0)