Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for validate (0.2 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:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	}
    
    	// TestXLStoragecases to validate different conditions for ReadVersion API.
    	testCases := []struct {
    		volume string
    		path   string
    		err    error
    	}{
    		// TestXLStorage case - 1.
    		// Validate volume does not exist.
    		{
    			volume: "i-dont-exist",
    			path:   "",
    			err:    errVolumeNotFound,
    		},
    		// TestXLStorage case - 2.
    		// Validate bad condition file does not exist.
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Validate that a bucket can be created
    	bucket2 := getRandomBucketName()
    	err = minioClient.MakeBucket(ctx, bucket2, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. 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:
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  5. istioctl/pkg/proxyconfig/testdata/config_dump.json

                                      "name": "default"
                                    }
                                  ]
                                }
                              ],
                              "validate_clusters": false
                            },
                            "http_filters": [
                              {
                                "name": "envoy.filters.http.grpc_stats",
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 54.8K bytes
    - Viewed (1)
  6. cmd/iam.go

    			entityKeysInStorage.Add(k)
    			return true
    		})
    	}
    
    	return entityKeysInStorage
    }
    
    // NormalizeLDAPMappingImport - validates the LDAP policy mappings. Keys in the
    // given map may not correspond to LDAP DNs - these keys are ignored.
    //
    // For validated mappings, it updates the key in the given map to be in
    // normalized form.
    func (sys *IAMSys) NormalizeLDAPMappingImport(ctx context.Context, isGroup bool,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/object-api-multipart_test.go

    func TestObjectAPIIsUploadIDExists(t *testing.T) {
    	ExecObjectLayerTest(t, testObjectAPIIsUploadIDExists)
    }
    
    // Tests validates the validator for existence of uploadID.
    func testObjectAPIIsUploadIDExists(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	bucket := "minio-bucket"
    	object := "minio-object"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    // ----------
    // Enable server profiling
    func (a adminAPIHandlers) StartProfilingHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Validate request signature.
    	_, adminAPIErr := checkAdminRequestAuth(ctx, r, policy.ProfilingAdminAction, "")
    	if adminAPIErr != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(adminAPIErr), r.URL)
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  9. cmd/xl-storage.go

    		return s.Delete(ctx, volume, path, DeleteOptions{
    			Recursive: false,
    			Immediate: false,
    		})
    	}
    
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return err
    	}
    
    	// Validate file path length, before reading.
    	filePath := pathJoin(volumeDir, path)
    	if err = checkPathLength(filePath); err != nil {
    		return err
    	}
    
    	var legacyJSON bool
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            // phase 1
            DefaultModelBuilderResult result = new DefaultModelBuilderResult();
    
            DefaultModelProblemCollector problems = new DefaultModelProblemCollector(result);
    
            // read and validate raw model
            Model fileModel = readFileModel(request, problems);
            result.setFileModel(fileModel);
    
            Model activatedFileModel = activateFileModel(fileModel, request, result, problems);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 59.1K bytes
    - Viewed (0)
Back to top