Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for errString (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. docs/sts/client_grants/sts_element.py

                    return self.element.find('sts:{}'.format(name), _STS_NS).text
                except _ETREE_EXCEPTIONS as error:
                    raise InvalidXMLError(
                        ('Invalid XML provided for "{}" - erroring tag <{}>. '
                         'Message: {}').format(self.root_name, name, error.message)
                    )
            else:
                return self.element.findtext('sts:{}'.format(name), None, _STS_NS)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go

    			expectMatches: false,
    		},
    		{
    			name: "erroring namespace selector on otherwise non-matching rule doesn't error",
    			criteria: &v1.MatchResources{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  10. src/fmt/print.go

    	goodArgNum bool
    	// panicking is set by catchPanic to avoid infinite panic, recover, panic, ... recursion.
    	panicking bool
    	// erroring is set when printing an error string to guard against calling handleMethods.
    	erroring bool
    	// wrapErrs is set when the format string may contain a %w verb.
    	wrapErrs bool
    	// wrappedErrs records the targets of the %w verb.
    	wrappedErrs []int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
Back to top