Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for _isInvalid (0.24 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

                        // Don't check a value for a project that is already out-of-date
                        val state = projects.entryFor(input.projectPath)
                        if (!state.isInvalid) {
                            val reason = check(input.value)
                            if (reason != null) {
                                if (firstReason == null) {
                                    firstReason = reason
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go

    			// Param not yet available. User may need to wait a bit
    			// before being able to use it for validation.
    			//
    			// Set params to nil to prepare for not found action
    			params = nil
    		case apierrors.IsInvalid(err):
    			// Param mis-configured
    			// require to set namespace for namespaced resource
    			// and unset namespace for cluster scoped resource
    			return nil, err
    		default:
    			// Internal error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/addons/dns/dns.go

    		// Ignore if the Service is invalid with this error message:
    		// 	Service "kube-dns" is invalid: spec.clusterIP: Invalid value: "10.96.0.10": provided IP is already allocated
    
    		if !apierrors.IsAlreadyExists(err) && !apierrors.IsInvalid(err) {
    			return errors.Wrap(err, "unable to create a new DNS service")
    		}
    
    		if _, err := client.CoreV1().Services(metav1.NamespaceSystem).Update(context.TODO(), dnsService, metav1.UpdateOptions{}); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    	//   2. the content is so large that that the server sends a validation error "Too long: must have at most 1048576 characters"
    	if apierrors.IsRequestEntityTooLargeError(err) || (apierrors.IsInvalid(err) && strings.Contains(err.Error(), "Too long")) {
    		if deleteErr := configMapClient.ConfigMaps(required.Namespace).Delete(context.TODO(), required.Name, metav1.DeleteOptions{}); deleteErr != nil {
    			return deleteErr
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go

    				"apiVersion": "mygroup.example.com/" + version,
    				"kind":       "WishIHadChosenNoxu",
    			},
    		}
    		if _, err := noxuResourceClient.Create(context.TODO(), typedNoBodyInstance, metav1.CreateOptions{}); !errors.IsInvalid(err) {
    			t.Errorf("expected invalid request for submitting malformed object, got %#v", err)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 11:35:33 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation_test.go

    	valid := []string{
    		"net.foo.bar",
    		"kernel.shmmax",
    		"net.ipv4.conf.enp3s0/200.forwarding",
    		"net/ipv4/conf/enp3s0.200/forwarding",
    	}
    	invalid := []string{
    		"i..nvalid",
    		"_invalid",
    	}
    
    	invalidWithHostNet := []string{
    		"net.ipv4.conf.enp3s0/200.forwarding",
    		"net/ipv4/conf/enp3s0.200/forwarding",
    	}
    
    	invalidWithHostIPC := []string{
    		"kernel.shmmax",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top