- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for errString (0.15 sec)
-
pkg/kubeapiserver/options/authentication_test.go
}, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { config, contentData, err := loadAuthenticationConfig(tc.file()) if !strings.Contains(errString(err), tc.expectErr) { t.Fatalf("expected error %q, got %v", tc.expectErr, err) } if !reflect.DeepEqual(config, tc.expectedConfig) { t.Fatalf("unexpected config:\n%s", cmp.Diff(tc.expectedConfig, config))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 36.5K bytes - Viewed (0) -
pkg/apis/apps/validation/validation_test.go
} errs := ValidateDeploymentStatus(&status, field.NewPath("status")) if hasErr := len(errs) > 0; hasErr != test.expectedErr { errString := dump.Pretty(errs) t.Errorf("%s: expected error: %t, got error: %t\nerrors: %s", test.name, test.expectedErr, hasErr, errString) } } } func TestValidateDeploymentStatusUpdate(t *testing.T) { collisionCount := int32(1) otherCollisionCount := int32(2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation.go
if seen[v] { allErrors = append(allErrors, field.Invalid(fldPath.Index(i), v, "duplicate version")) continue } seen[v] = true for _, errString := range utilvalidation.IsDNS1035Label(v) { allErrors = append(allErrors, field.Invalid(fldPath.Index(i), v, errString)) } if isAcceptedAdmissionReviewVersion(v) { hasAcceptedVersion = true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
if seen[v] { allErrs = append(allErrs, field.Invalid(fldPath.Index(i), v, "duplicate version")) continue } seen[v] = true for _, errString := range utilvalidation.IsDNS1035Label(v) { allErrs = append(allErrs, field.Invalid(fldPath.Index(i), v, errString)) } if isAcceptedConversionReviewVersion(v) { hasAcceptedVersion = true } } if requireRecognizedVersion && !hasAcceptedVersion {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
} if len(apiGroup) > 0 && !allowInvalidAPIGroupInDataSourceOrRef { for _, errString := range validation.IsDNS1123Subdomain(apiGroup) { allErrs = append(allErrs, field.Invalid(fldPath.Child("apiGroup"), apiGroup, errString)) } } return allErrs } // validateDataSourceRef validates a DataSourceRef in a PersistentVolumeClaimSpec
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixtureTest.groovy
def listener = listener() when: listener.started(startedNotification(ErroringDetails)) then: def e = thrown(RuntimeException) e.message == "Failed to invoke erroring() of $ErroringDetails.name" e.cause instanceof RuntimeException e.cause.message == "!" } BuildOperationNotificationListener listener() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0) -
fastapi/security/api_key.py
automatically cancel the request and send the client an error. If `auto_error` is set to `False`, when the query parameter is not available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can be
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 23 22:29:18 UTC 2024 - 9.1K bytes - Viewed (0) -
fastapi/security/http.py
client an error. If `auto_error` is set to `False`, when the HTTP Basic authentication is not available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 15:29:38 UTC 2024 - 13.2K bytes - Viewed (0) -
fastapi/security/open_id_connect_url.py
and send the client an error. If `auto_error` is set to `False`, when the HTTP Authorization header is not available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can be
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 2.7K bytes - Viewed (0) -
fastapi/security/oauth2.py
send the client an error. If `auto_error` is set to `False`, when the HTTP Authorization header is not available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 21.1K bytes - Viewed (0)