- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 595 for validate (0.1 sec)
-
internal/bucket/lifecycle/filter_test.go
var filter Filter err := xml.Unmarshal([]byte(tc.inputXML), &filter) if err != nil { t.Fatalf("%d: Expected no error but got %v", i+1, err) } err = filter.Validate() if err != tc.expectedErr { t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err) } }) } } func TestObjectSizeFilters(t *testing.T) { f1 := Filter{ set: true,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
common/scripts/metallb-native.yaml
name: metallb-webhook-configuration webhooks: - admissionReviewVersions: - v1 clientConfig: service: name: webhook-service namespace: metallb-system path: /validate-metallb-io-v1beta2-bgppeer failurePolicy: Fail name: bgppeersvalidationwebhook.metallb.io rules: - apiGroups: - metallb.io apiVersions: - v1beta2 operations:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Feb 23 23:56:31 UTC 2024 - 63.9K bytes - Viewed (0) -
docs_src/security/tutorial004_an.py
return encoded_jwt async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]): credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username: str = payload.get("sub")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.2K bytes - Viewed (0) -
internal/s3select/errors.go
func (err *s3Error) Error() string { return err.message } func errMalformedXML(err error) *s3Error { return &s3Error{ code: "MalformedXML", message: "The XML provided was not well-formed or did not validate against our published schema. Check the service documentation and try again: " + err.Error(), statusCode: 400, cause: err, } } func errInvalidCompressionFormat(err error) *s3Error { return &s3Error{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 14 16:48:36 UTC 2022 - 4.3K bytes - Viewed (0) -
cmd/utils_test.go
bucket: "bucket", object: "///object////", }, // Test case 8 url path is empty. { path: "", bucket: "", object: "", }, } // Validate all test cases. for _, testCase := range testCases { testCase := testCase t.Run("", func(t *testing.T) { bucketName, objectName := path2BucketObject(testCase.path) if bucketName != testCase.bucket {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 23 21:28:14 UTC 2024 - 10.2K bytes - Viewed (0) -
cmd/metrics-v3-types.go
loader MetricsLoaderFn, ) *MetricsGroup { mg := &MetricsGroup{ CollectorPath: path, Descriptors: descriptors, loader: loader, } mg.validate() return mg } // NewBucketMetricsGroup creates a new MetricsGroup for metrics with a `bucket` // dimension (label). // // The `loader` function loads metrics from the cache and the system for a given
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:28:46 UTC 2024 - 15.6K bytes - Viewed (0) -
internal/event/target/amqp.go
EnvAMQPPublisherConfirms = "MINIO_NOTIFY_AMQP_PUBLISHING_CONFIRMS" EnvAMQPQueueDir = "MINIO_NOTIFY_AMQP_QUEUE_DIR" EnvAMQPQueueLimit = "MINIO_NOTIFY_AMQP_QUEUE_LIMIT" ) // Validate AMQP arguments func (a *AMQPArgs) Validate() error { if !a.Enable { return nil } if _, err := amqp091.ParseURI(a.URL.String()); err != nil { return err } if a.QueueDir != "" { if !filepath.IsAbs(a.QueueDir) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 10K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc
# "pip tests" run a similar suite of tests the "nonpip" tests, but do something # odd to attempt to validate the quality of the pip package. The wheel is # installed into a virtual environment, and then that venv is used to run all # bazel tests with a special flag "--define=no_tensorflow_py_deps=true", which
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Jul 12 20:16:57 UTC 2024 - 5.7K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
If an incoming request does not validate correctly then a `400` response will be sent. ## `GZipMiddleware` Handles GZip responses for any request that includes `"gzip"` in the `Accept-Encoding` header.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:45:50 UTC 2024 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java
// ------------- @Execute @Secured({ ROLE }) public HtmlResponse delete(final EditForm form) { verifyCrudMode(form.crudMode, CrudMode.DETAILS); validate(form, messages -> {}, this::asDetailsHtml); verifyToken(this::asDetailsHtml); searchLogService.getSearchLog(form.logType, form.id).alwaysPresent(e -> { searchLogService.deleteSearchLog(e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.2K bytes - Viewed (0)