Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,407 for Validate2 (0.24 sec)

  1. cmd/batch-handlers.go

    	}
    	return madmin.BatchJobType("unknown")
    }
    
    // Validate validates the current job, used by 'save()' before
    // persisting the job request
    func (j BatchJobRequest) Validate(ctx context.Context, o ObjectLayer) error {
    	switch {
    	case j.Replicate != nil:
    		return j.Replicate.Validate(ctx, j, o)
    	case j.KeyRotate != nil:
    		return j.KeyRotate.Validate(ctx, j, o)
    	case j.Expire != nil:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  2. cmd/kube-apiserver/app/server.go

    				return err
    			}
    			cliflag.PrintFlags(fs)
    
    			// set default options
    			completedOptions, err := s.Complete()
    			if err != nil {
    				return err
    			}
    
    			// validate options
    			if errs := completedOptions.Validate(); len(errs) != 0 {
    				return utilerrors.NewAggregate(errs)
    			}
    			// add feature enablement metrics
    			utilfeature.DefaultMutableFeatureGate.AddMetrics()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. pkg/registry/apps/daemonset/strategy.go

    		return
    	}
    	if !apiequality.Semantic.DeepEqual(oldDaemonSet.Spec, newDaemonSet.Spec) {
    		newDaemonSet.Generation = oldDaemonSet.Generation + 1
    	}
    }
    
    // Validate validates a new daemon set.
    func (daemonSetStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	daemonSet := obj.(*apps.DaemonSet)
    	opts := pod.GetValidationOptionsFromPodTemplate(&daemonSet.Spec.Template, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  4. pkg/config/validation/agent/validation.go

    	}
    	return errs
    }
    
    // ValidateZipkinCollector validates the configuration for sending envoy spans to Zipkin
    func ValidateZipkinCollector(z *meshconfig.Tracing_Zipkin) error {
    	return ValidateProxyAddress(strings.Replace(z.GetAddress(), "$(HOST_IP)", "127.0.0.1", 1))
    }
    
    // ValidateDatadogCollector validates the configuration for sending envoy spans to Datadog
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top