- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,793 for validate0 (0.14 sec)
-
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ValidateStepTest.groovy
boolean validated = false when: def result = step.execute(work, context) then: result == delegateResult 1 * delegate.execute(work, { ValidationFinishedContext context -> context.validationProblems.empty }) >> delegateResult _ * work.validate(_ as WorkValidationContext) >> { validated = true } then: validated
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 9K bytes - Viewed (0) -
pkg/fuzz/util.go
h.t.Skip(err.Error()) } r := *d validate(h, validators, r) res = append(res, r) } return res } func validate[T any](h Helper, validators []func(T) bool, r T) { if fz, ok := any(r).(Validator); ok { if !fz.FuzzValidate() { h.t.Skip("struct didn't pass validator") } } for i, v := range validators { if !v(r) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 30 15:31:14 UTC 2022 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/chain.go
} } } return nil } // Validate performs an admission control check using a chain of handlers, and returns immediately on first error func (admissionHandler chainAdmissionHandler) Validate(ctx context.Context, a Attributes, o ObjectInterfaces) error { for _, handler := range admissionHandler { if !handler.Handles(a.GetOperation()) { continue } if validator, ok := handler.(ValidationInterface); ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 2.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationAction.java
import java.util.function.Supplier; /** * An action that validates property values. */ public interface ValidationAction { /** * Validates the given property value according to some rule. * * @param propertyName * @param value a supplier of a non-null value - side effects are guaranteed to happen only once * @param context */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 15 01:05:28 UTC 2023 - 1.1K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/externalcontrolplane-valid-urls-custom-ns.yaml
kind: ValidatingWebhookConfiguration metadata: name: istio-validator-custom-ns webhooks: - admissionReviewVersions: - v1beta1 - v1 clientConfig: url: https://test.com:15017/validate name: rev.validation.istio.io --- apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: name: istiod-default-validator webhooks: - admissionReviewVersions: - v1beta1 - v1
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 08 02:20:29 UTC 2024 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/validation.go
clone.XEmbeddedResource = true s = &clone } } allErr, error, _ := validate(ctx, pth, s, s, f, false, requirePrunedDefaults, celconfig.RuntimeCELCostBudget) return allErr, error } // validate is the recursive step func for the validation. insideMeta is true if s specifies // TypeMeta or ObjectMeta. The SurroundingObjectFunc f is used to validate defaults of // TypeMeta or ObjectMeta fields.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 22:34:13 UTC 2023 - 8.3K bytes - Viewed (0) -
pkg/security/apparmor/validate_test.go
{Name: "init"}, }, Containers: []v1.Container{ {Name: "test1"}, {Name: "test2"}, {Name: "no-profile"}, }, }, } assert.NoError(t, v.Validate(pod), "Multi-container pod should validate") } func getPodWithProfile(profile string) *v1.Pod { annotations := map[string]string{ v1.DeprecatedAppArmorBetaContainerAnnotationKeyPrefix + "test": profile, } if profile == "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 18:46:31 UTC 2024 - 3.4K bytes - Viewed (0) -
fastapi/openapi/models.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 22:49:33 UTC 2024 - 15K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/audit_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 5.8K bytes - Viewed (0) -
cmd/batch-replicate.go
} // BatchJobReplicateResourceType defines the type of batch jobs type BatchJobReplicateResourceType string // Validate validates if the replicate resource type is recognized and supported func (t BatchJobReplicateResourceType) Validate() error { switch t { case BatchJobReplicateResourceMinIO: case BatchJobReplicateResourceS3: default: return errInvalidArgument } return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Nov 22 18:51:46 UTC 2023 - 6.3K bytes - Viewed (0)