Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,659 for Validate2 (0.55 sec)

  1. pilot/pkg/xds/eds_test.go

    					},
    				})
    
    			// Validate that endpoints are pushed.
    			validateEndpoints(true, []string{"10.0.0.53:53", "10.0.0.54:53"}, nil)
    
    			// Remove last healthy endpoints
    			s.MemRegistry.SetEndpoints("unhealthy.svc.cluster.local", "", []*model.IstioEndpoint{})
    			validateEndpoints(true, nil, nil)
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  2. src/math/big/float.go

    		panic("validate called but debugFloat is not set")
    	}
    	if msg := x.validate0(); msg != "" {
    		panic(msg)
    	}
    }
    
    func (x *Float) validate0() string {
    	if x.form != finite {
    		return ""
    	}
    	m := len(x.mant)
    	if m == 0 {
    		return "nonzero finite number with empty mantissa"
    	}
    	const msb = 1 << (_W - 1)
    	if x.mant[m-1]&msb == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  3. pkg/registry/core/replicationcontroller/strategy.go

    	// the controller has *seen*.
    	if !apiequality.Semantic.DeepEqual(oldController.Spec, newController.Spec) {
    		newController.Generation = oldController.Generation + 1
    	}
    }
    
    // Validate validates a new replication controller.
    func (rcStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	controller := obj.(*api.ReplicationController)
    	opts := pod.GetValidationOptionsFromPodTemplate(controller.Spec.Template, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:06:10 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy.go

    				newCRD.Status.StoredVersions = append(newCRD.Status.StoredVersions, v.Name)
    			}
    			break
    		}
    	}
    	dropDisabledFields(newCRD, oldCRD)
    }
    
    // Validate validates a new CustomResourceDefinition.
    func (strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	return validation.ValidateCustomResourceDefinition(ctx, obj.(*apiextensions.CustomResourceDefinition))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/join_test.go

    			},
    			expectError: true,
    		},
    		{
    			name: "pass if file discovery is set",
    			flags: map[string]string{
    				options.FileDiscovery: "https://foo",
    			},
    			validate: func(t *testing.T, data *joinData) {
    				// validate that file discovery settings are set into join data
    				if data.cfg.Discovery.File == nil || data.cfg.Discovery.File.KubeConfigPath != "https://foo" {
    					t.Error("Invalid data.cfg.Discovery.File")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. pkg/registry/certificates/certificates/strategy.go

    	oldCSR := old.(*certificates.CertificateSigningRequest)
    
    	newCSR.Spec = oldCSR.Spec
    	newCSR.Status = oldCSR.Status
    }
    
    // Validate validates a new CSR. Validation must check for a correct signature.
    func (csrStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	csr := obj.(*certificates.CertificateSigningRequest)
    	return validation.ValidateCertificateSigningRequestCreate(csr)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 21:41:43 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/options/validation.go

    		}
    	}
    	return err
    }
    
    // Validate checks Options and return a slice of found errs.
    func (s *Options) Validate() []error {
    	var errs []error
    
    	errs = append(errs, s.Etcd.Validate()...)
    	errs = append(errs, validateAPIPriorityAndFairness(s)...)
    	errs = append(errs, s.SecureServing.Validate()...)
    	errs = append(errs, s.Authentication.Validate()...)
    	errs = append(errs, s.Authorization.Validate()...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 12:46:24 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidatePlugins.java

    import java.util.stream.Stream;
    
    import static com.google.common.collect.ImmutableList.toImmutableList;
    import static java.util.stream.Collectors.joining;
    import static org.gradle.api.problems.Severity.ERROR;
    
    /**
     * Validates plugins by checking property annotations on work items like tasks and artifact transforms.
     *
     * This task should be used in Gradle plugin projects for doing static analysis on the plugin classes.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. cmd/object-api-input-checks.go

    	return checkObjectArgs(ctx, bucket, object)
    }
    
    // Checks for PutObjectPart arguments validity, also validates if bucket exists.
    func checkPutObjectPartArgs(ctx context.Context, bucket, object, uploadID string) error {
    	return checkMultipartObjectArgs(ctx, bucket, object, uploadID)
    }
    
    // Checks for ListParts arguments validity, also validates if bucket exists.
    func checkListPartsArgs(ctx context.Context, bucket, object, uploadID string) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validate("missing-artifactId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertEquals("'artifactId' is missing.", result.getErrors().get(0));
        }
    
        @Test
        void testMissingGroupId() throws Exception {
            SimpleProblemCollector result = validate("missing-groupId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 32.8K bytes
    - Viewed (0)
Back to top