Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 633 for Validate2 (0.15 sec)

  1. cmd/kubeadm/app/preflight/checks.go

    	}
    	return warns, nil
    }
    
    // KubernetesVersionCheck validates Kubernetes and kubeadm versions
    type KubernetesVersionCheck struct {
    	KubeadmVersion    string
    	KubernetesVersion string
    }
    
    // Name will return KubernetesVersion as name for KubernetesVersionCheck
    func (KubernetesVersionCheck) Name() string {
    	return "KubernetesVersion"
    }
    
    // Check validates Kubernetes and kubeadm versions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  2. 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)
  3. internal/bucket/lifecycle/lifecycle.go

    	}
    	return &lc, nil
    }
    
    // Validate - validates the lifecycle configuration
    func (lc Lifecycle) Validate(lr lock.Retention) error {
    	// Lifecycle config can't have more than 1000 rules
    	if len(lc.Rules) > 1000 {
    		return errLifecycleTooManyRules
    	}
    	// Lifecycle config should have at least one rule
    	if len(lc.Rules) == 0 {
    		return errLifecycleNoRule
    	}
    
    	// Validate all the rules in the lifecycle config
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/kube-controller-manager/app/options/options.go

    	errs = append(errs, s.AttachDetachController.Validate()...)
    	errs = append(errs, s.CSRSigningController.Validate()...)
    	errs = append(errs, s.DaemonSetController.Validate()...)
    	errs = append(errs, s.DeploymentController.Validate()...)
    	errs = append(errs, s.StatefulSetController.Validate()...)
    	errs = append(errs, s.DeprecatedFlags.Validate()...)
    	errs = append(errs, s.EndpointController.Validate()...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    }
    
    // validateMinCandidateNodesAbsolute validates that minCandidateNodesAbsolute
    // is within the allowed range.
    func validateMinCandidateNodesAbsolute(minCandidateNodesAbsolute int32, p *field.Path) *field.Error {
    	if minCandidateNodesAbsolute < 0 {
    		return field.Invalid(p, minCandidateNodesAbsolute, "not in valid range [0, inf)")
    	}
    	return nil
    }
    
    // ValidateInterPodAffinityArgs validates that InterPodAffinityArgs are correct.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top