- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,659 for Validate2 (0.18 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) -
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) -
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) -
cmd/kubeadm/app/util/config/initconfiguration.go
// BytesToInitConfiguration converts a byte slice to an internal, defaulted and validated InitConfiguration object. // The map may contain many different YAML documents. These YAML documents are parsed one-by-one // and well-known ComponentConfig GroupVersionKinds are stored inside of the internal InitConfiguration struct. // The resulting InitConfiguration is then dynamically defaulted and validated prior to return.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 12:41:16 UTC 2024 - 17.3K bytes - Viewed (0) -
internal/bucket/replication/and.go
// isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && a.Prefix == "" } // Validate - validates the And field func (a And) Validate() error { if a.ContainsDuplicateTag() { return errDuplicateTagKey } for _, t := range a.Tags { if err := t.Validate(); err != nil { return err } } return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/upgradeconfiguration.go
return nil, err } } // Validates cfg if err := validation.ValidateUpgradeConfiguration(internalcfg).ToAggregate(); err != nil { return nil, err } return internalcfg, nil } // DocMapToUpgradeConfiguration converts documentMap to an internal, defaulted and validated UpgradeConfiguration object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 7.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation.go
type basicSchemaValidator struct { *validate.SchemaValidator } func (s basicSchemaValidator) Validate(new interface{}, options ...ValidationOption) *validate.Result { return s.SchemaValidator.Validate(new) } func (s basicSchemaValidator) ValidateUpdate(new, old interface{}, options ...ValidationOption) *validate.Result { return s.Validate(new, options...) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 18:23:28 UTC 2023 - 15K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/validation.go
"k8s.io/apimachinery/pkg/runtime/schema" utilvalidation "k8s.io/apimachinery/pkg/util/validation" "k8s.io/apimachinery/pkg/util/validation/field" ) // Validate validates embedded ObjectMeta and TypeMeta. // It also validate those at the root if isResourceRoot is true. func Validate(pth *field.Path, obj interface{}, s *structuralschema.Structural, isResourceRoot bool) field.ErrorList { if isResourceRoot { if s == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 17:46:57 UTC 2019 - 4K bytes - Viewed (0) -
operator/pkg/validate/validate_values.go
"global.proxy.excludeInboundPorts": validateStringList(validatePortNumberString), "meshConfig": validateMeshConfig, } // CheckValues validates the values in the given tree, which follows the Istio values.yaml schema. func CheckValues(root any) util.Errors { v := reflect.ValueOf(root) if root == nil || (v.Kind() == reflect.Ptr && v.IsNil()) { return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 2.3K bytes - Viewed (0) -
operator/pkg/apis/istio/common.go
"istio.io/api/operator/v1alpha1" operator_v1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1" "istio.io/istio/operator/pkg/util" "istio.io/istio/operator/pkg/validate" ) // UnmarshalAndValidateIOPS unmarshals a string containing IstioOperator YAML, validates it, and returns a struct // representation if successful. In case of validation errors, it returns both the IstioOperatorSpec struct and
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 23 17:19:38 UTC 2022 - 2K bytes - Viewed (0)