Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,659 for Validate2 (0.28 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	return &clone
    }
    
    func (v *specStandardValidatorV3) forbidOldSelfValidations() *field.Path {
    	return v.uncorrelatableOldSelfValidationPath
    }
    
    // validate validates against OpenAPI Schema v3.
    func (v *specStandardValidatorV3) validate(schema *apiextensions.JSONSchemaProps, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    
    	if schema == nil {
    		return allErrs
    	}
    
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/async-sql-encode-databases.md

    * Notes to be returned (`Note`).
    
    ```Python hl_lines="31-33  36-39"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    By creating these Pydantic models, the input data will be validated, serialized (converted), and annotated (documented).
    
    So, you will be able to see it all in the interactive API docs.
    
    ## Connect and disconnect
    
    * Create your `FastAPI` application.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. pkg/registry/core/namespace/strategy.go

    	newNamespace := obj.(*api.Namespace)
    	oldNamespace := old.(*api.Namespace)
    	newNamespace.Spec.Finalizers = oldNamespace.Spec.Finalizers
    	newNamespace.Status = oldNamespace.Status
    }
    
    // Validate validates a new namespace.
    func (namespaceStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	namespace := obj.(*api.Namespace)
    	return validation.ValidateNamespace(namespace)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 07 08:51:17 UTC 2021
    - 8.3K bytes
    - Viewed (0)
  4. pilot/test/mock/config.go

    }
    
    // CheckCacheFreshness validates operational invariants of a cache
    func CheckCacheFreshness(cache model.ConfigStoreController, namespace string, t *testing.T) {
    	stop := make(chan struct{})
    	done := make(chan bool)
    	o := Make(namespace, 0)
    
    	// validate cache consistency
    	cache.RegisterEventHandler(mockGvk, func(_, config config2.Config, ev model.Event) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  5. docs/en/docs/features.md

    * Validate **complex structures**:
        * Use of hierarchical Pydantic models, Python `typing`’s `List` and `Dict`, etc.
        * And validators allow complex data schemas to be clearly and easily defined, checked and documented as JSON Schema.
        * You can have deeply **nested JSON** objects and have them all validated and annotated.
    * **Extensible**:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype/validation.go

    */
    
    package listtype
    
    import (
    	"k8s.io/apimachinery/pkg/util/json"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    
    	"k8s.io/apiextensions-apiserver/pkg/apiserver/schema"
    )
    
    // ValidateListSetsAndMaps validates that arrays with x-kubernetes-list-type "map" and "set" fulfill the uniqueness
    // invariants for the keys (maps) and whole elements (sets).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 16 02:47:24 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  7. docs/hotfixes.md

    ```
    λ make verify-healing
    ```
    
    At this point in time the backport is ready to be submitted as a pull request to the relevant branch. A pull request is recommended to ensure [mint](http://github.com/minio/mint) tests are validated. Pull request also ensures code-reviews for the backports in case of any unforeseen regressions.
    
    ### Building a hotfix binary and container
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. pkg/apis/batch/validation/validation.go

    		// Therefore cronjob names must have length <= 63-11=52. If we don't validate this here,
    		// then job creation will fail later.
    		allErrs = append(allErrs, field.Invalid(field.NewPath("metadata").Child("name"), cronJob.ObjectMeta.Name, "must be no more than 52 characters"))
    	}
    	return allErrs
    }
    
    // ValidateCronJobUpdate validates an update to a CronJob and returns an ErrorList with any errors.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. pkg/registry/apps/replicaset/strategy.go

    	// the ReplicaSet has *seen*.
    	if !apiequality.Semantic.DeepEqual(oldRS.Spec, newRS.Spec) {
    		newRS.Generation = oldRS.Generation + 1
    	}
    }
    
    // Validate validates a new ReplicaSet.
    func (rsStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	rs := obj.(*apps.ReplicaSet)
    	opts := pod.GetValidationOptionsFromPodTemplate(&rs.Spec.Template, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:06:43 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/join.go

    		&cfg.Discovery.BootstrapToken.Token, options.TokenDiscovery, "",
    		"For token-based discovery, the token used to validate cluster information fetched from the API server.",
    	)
    	flagSet.StringSliceVar(
    		&cfg.Discovery.BootstrapToken.CACertHashes, options.TokenDiscoveryCAHash, []string{},
    		"For token-based discovery, validate that the root CA public key matches this hash (format: \"<type>:<value>\").",
    	)
    	flagSet.BoolVar(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top