Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for validate (0.2 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    	response.Body.Close()
    }
    
    // TestCopyObject - Validates copy object.
    // The following is the test flow.
    // 1. Create bucket.
    // 2. Insert Object.
    // 3. Use "X-Amz-Copy-Source" header to copy the previously created object.
    // 4. Validate the content of copied object.
    func (s *TestSuiteCommon) TestCopyObject(c *check) {
    	// generate a random bucket name.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	// validate the request
    	if err := rreq.validate(ctx, objectAPI); err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    							reqType, bucketName, test.objectName, err)
    					}
    					// Validate whether the error has occurred for the expected reason.
    					if want.Code != errXML.Code {
    						t.Errorf("%s, Expected to fail with error \"%s\", but received \"%s\": %q.",
    							reqType, want.Code, errXML.Code, errXML.Message)
    					}
    					// Validate the HTTP response status code  with the expected one.
    					if want.HTTPStatusCode != rec.Code {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    			return madmin.ReplicateAddStatus{}, errSRInvalidRequest(fmt.Errorf("all existing replicated sites must be specified - missing %s", strings.Join(diffSlc, " ")))
    		}
    	}
    
    	// validate that all clusters are using the same IDP settings.
    	err = c.validateIDPSettings(ctx, sites)
    	if err != nil {
    		return madmin.ReplicateAddStatus{}, err
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  5. go.sum

    github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
    github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A=
    github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew=
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 15:22:54 GMT 2024
    - 109.1K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    		}
    		clnt := globalBucketTargetSys.GetRemoteTargetClient(bucket, arnStr)
    		if clnt == nil {
    			return sameTarget, toAPIError(ctx, BucketRemoteTargetNotFound{Bucket: bucket})
    		}
    		if checkRemote { // validate remote bucket
    			found, err := clnt.BucketExists(ctx, arn.Bucket)
    			if err != nil {
    				return sameTarget, errorCodes.ToAPIErrWithErr(ErrRemoteDestinationNotFoundError, err)
    			}
    			if !found {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  7. istioctl/pkg/authz/testdata/configdump.yaml

                      "operation": ":0/*"
                     },
                     "name": "default"
                    }
                   ]
                  }
                 ],
                 "validate_clusters": false
                },
                "http_filters": [
                 {
                  "name": "istio.metadata_exchange",
                  "typed_config": {
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 206.7K bytes
    - Viewed (2)
  8. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    type: array issuer: description: Identifies the issuer that issued the JWT. type: string jwks: description: JSON Web Key Set of public keys to validate signature of the JWT. type: string jwks_uri: description: URL of the provider's public key set to validate signature of the JWT. type: string jwksUri: description: URL of the provider's public key set to validate signature of the JWT. type: string outputClaimToHeaders: description: This field specifies a list of operations to copy the claim to HTTP headers...
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  9. cmd/metrics-v2.go

    				),
    				prometheus.GaugeValue,
    				float64(v),
    				append(values, k)...)
    			if err != nil {
    				// Enable for debugging
    				if serverDebugLog {
    					bugLogIf(GlobalContext, fmt.Errorf("unable to validate prometheus metric (%w) %v+%v", err, values, metric.Histogram))
    				}
    			} else {
    				out <- pmetric
    			}
    		}
    		return
    	}
    	metricType := prometheus.GaugeValue
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  10. fastapi/routing.py

                    exclude_none=exclude_none,
                )
            if is_coroutine:
                value, errors_ = field.validate(response_content, {}, loc=("response",))
            else:
                value, errors_ = await run_in_threadpool(
                    field.validate, response_content, {}, loc=("response",)
                )
            if isinstance(errors_, list):
                errors.extend(errors_)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top