- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for ErrorIs (0.29 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
schema *schema.Structural oldObj interface{} newObj interface{} // Errors that should occur when evaluating this operation with // ratcheting feature enabled errors []string // Errors that should occur when evaluating this operation with // ratcheting feature disabled // These errors should be raised as warnings when ratcheting is enabled warnings []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
docs/metrics/prometheus/grafana/bucket/minio-bucket.json
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 11:11:51 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/config/validation/validation.go
return errors.Join(errors.New("UriRegexRewrite has errors"), err) } return nil } func validateURIRegexRewrite(regexRewrite *networking.RegexRewrite) error { if regexRewrite == nil { return nil } if regexRewrite.Match == "" || regexRewrite.Rewrite == "" { return errors.New("UriRegexRewrite requires both Rewrite and Match fields to be specified")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
_, err = registry.Create(testContext, podA, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}) if err == nil || !errors.IsAlreadyExists(err) { t.Fatalf("Expected 'already exists' error from storage, but got %v", err) } // check the 'alredy exists' msg was edited msg := &err.(*errors.StatusError).ErrStatus.Message if !strings.Contains(*msg, "object is being deleted:") {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
if err != nil { klog.ErrorS(err, "Container runtime sanity check failed") return } if s == nil { klog.ErrorS(nil, "Container runtime status is nil") return } // Periodically log the whole runtime status for debugging. klog.V(4).InfoS("Container runtime status", "status", s) klogErrorS := klog.ErrorS if !kl.containerRuntimeReadyExpected {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
*/ package kubelet import ( "bytes" "context" goerrors "errors" "fmt" "io" "net/http" "net/url" "os" "os/exec" "os/user" "path/filepath" "runtime" "sort" "strconv" "strings" "github.com/google/go-cmp/cmp" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// and modload.PackageNotInModuleError; and the malformed module path errors // produced in golang.org/x/mod/module.CheckMod) implement an interface // to make it easier to check for them? That would save us from having to // move the modload errors into this package to avoid a package import cycle, // and from having to export an error type for the errors produced in build. if !isMatchErr && (nogoErr != nil || isScanErr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/database/sql/sql.go
dc.Lock() defer dc.Unlock() if dc.closed { return func() error { return errors.New("sql: duplicate driverConn close") } } dc.closed = true return dc.db.removeDepLocked(dc, dc) } func (dc *driverConn) Close() error { dc.Lock() if dc.closed { dc.Unlock() return errors.New("sql: duplicate driverConn close") } dc.closed = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
cmd/site-replication.go
) var ( errSRCannotJoin = SRError{ Cause: errors.New("this site is already configured for site-replication"), Code: ErrSiteReplicationInvalidRequest, } errSRDuplicateSites = SRError{ Cause: errors.New("duplicate sites provided for site-replication"), Code: ErrSiteReplicationInvalidRequest, } errSRSelfNotFound = SRError{ Cause: errors.New("none of the given sites correspond to the current one"),
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0) -
src/database/sql/sql_test.go
return errors.New(want) } defer func() { rowsCursorNextHook = nil }() err := db.QueryRow("SELECT|people|name|").Scan(&v) if err == nil || err.Error() != want { t.Errorf("error = %q; want %q", err, want) } rowsCursorNextHook = nil want = "error in rows.Close" setRowsCloseHook(func(rows *Rows, err *error) { *err = errors.New(want) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0)