Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 633 for Validate2 (0.26 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    	}
    	return allErrs
    }
    
    // ValidateLabelName validates that the label name is correctly defined.
    func ValidateLabelName(labelName string, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	for _, msg := range validation.IsQualifiedName(labelName) {
    		allErrs = append(allErrs, field.Invalid(fldPath, labelName, msg))
    	}
    	return allErrs
    }
    
    // ValidateLabels validates that a set of labels are correctly defined.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  2. architecture/environments/operator.md

    ### Validations
    
    Both the `IstioOperatorSpec` and Helm APIs are validated. The `IstioOperatorSpec` API is validated through a
    table of validation rules in
    [pkg/validate/validate.go](pkg/validate/validate.go). These rules
    refer to the Go struct path schema and hence have names with a capitalized first letter.
    The Helm values.yaml API is validated in
    [validate_values.go](pkg/validate/validate_values.go)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 22:09:18 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

            "Trying to register filesystem without `length` operation on read only "
            "memory regions");
    
      return OkStatus();
    }
    
    // Validates the operations supplied by the plugin.
    //
    // Uses the 4 simpler `ValidateHelper(const TF_...*)` to validate each
    // individual function table and then checks that the function table for a
    // specific file type exists if the plugin offers support for creating that
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 07 22:08:43 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  4. cmd/batch-rotate.go

    	}
    	if err := r.Encryption.Validate(); err != nil {
    		return err
    	}
    
    	for _, tag := range r.Flags.Filter.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range r.Flags.Filter.Metadata {
    		if err := meta.Validate(); err != nil {
    			return err
    		}
    	}
    
    	return r.Flags.Retry.Validate()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. pkg/apis/networking/validation/validation.go

    // name is valid.
    func ValidateNetworkPolicyName(name string, prefix bool) []string {
    	return apimachineryvalidation.NameIsDNSSubdomain(name, prefix)
    }
    
    // ValidateNetworkPolicyPort validates a NetworkPolicyPort
    func ValidateNetworkPolicyPort(port *networking.NetworkPolicyPort, portPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 14:48:01 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Traverser.java

        ImmutableSet<N> validated = validate(startNodes);
        return new Iterable<N>() {
          @Override
          public Iterator<N> iterator() {
            return newTraversal().postOrder(validated.iterator());
          }
        };
      }
    
      abstract Traversal<N> newTraversal();
    
      @SuppressWarnings("CheckReturnValue")
      private ImmutableSet<N> validate(Iterable<? extends N> startNodes) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 30 20:12:45 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/Traverser.java

        ImmutableSet<N> validated = validate(startNodes);
        return new Iterable<N>() {
          @Override
          public Iterator<N> iterator() {
            return newTraversal().postOrder(validated.iterator());
          }
        };
      }
    
      abstract Traversal<N> newTraversal();
    
      @SuppressWarnings("CheckReturnValue")
      private ImmutableSet<N> validate(Iterable<? extends N> startNodes) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 30 20:12:45 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta.go

    }
    
    // ValidateFinalizerName validates finalizer names.
    func ValidateFinalizerName(stringValue string, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	for _, msg := range validation.IsQualifiedName(stringValue) {
    		allErrs = append(allErrs, field.Invalid(fldPath, stringValue, msg))
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 07 03:12:31 UTC 2022
    - 12K bytes
    - Viewed (0)
  9. pkg/serviceaccount/claims.go

    		return nil, fmt.Errorf("service account token claims could not be validated: %w", err) // safe to pass these errors back to the user
    
    	default:
    		klog.Errorf("service account token claim validation got unexpected error type: %T", err)                         // avoid leaking unexpected information into the logs
    		return nil, errors.New("service account token claims could not be validated due to unexpected validation error") // return an opaque error
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go

    	errs = append(errs, a.validator.Validate(ctx, u, a.scale)...)
    
    	// validate embedded resources
    	errs = append(errs, schemaobjectmeta.Validate(nil, u.Object, a.structuralSchema, false)...)
    
    	// validate x-kubernetes-list-type "map" and "set" invariant
    	errs = append(errs, structurallisttype.ValidateListSetsAndMaps(nil, a.structuralSchema, u.Object)...)
    
    	// validate x-kubernetes-validations rules
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 21:22:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top