Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for globals (0.29 sec)

  1. cmd/metrics-v2.go

    				}
    			}
    			if g.metricsGroupOpts.dependGlobalNotificationSys {
    				if globalNotificationSys == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalKMS {
    				if GlobalKMS == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalLambdaTargetList {
    				if globalLambdaTargetList == nil {
    					return []MetricV2{}, nil
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    		}
    		if !v.Empty && !currDeploymentIDsSet.Contains(v.DeploymentID) {
    			nonLocalPeerWithBuckets = v.Name
    		}
    	}
    	if selfIdx == -1 {
    		return madmin.ReplicateAddStatus{}, errSRBackendIssue(fmt.Errorf("global deployment ID %s mismatch, expected one of %s", globalDeploymentID(), deploymentIDsSet))
    	}
    	if !currDeploymentIDsSet.IsEmpty() {
    		// If current cluster is already SR enabled and no new site being added ,fail.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. cmd/admin-handlers.go

    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSCreateKeyAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if GlobalKMS == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    
    	if err := GlobalKMS.CreateKey(ctx, r.Form.Get("key-id")); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  4. cmd/object-handlers_test.go

    		// Assert the response code with the expected status.
    		if rec.Code != testCase.expectedRespStatus {
    			if testCase.copySourceSame {
    				// encryption will rotate creds, so fail only for non-encryption scenario.
    				if GlobalKMS == nil {
    					t.Errorf("Test %d: %s:  Expected the response status to be `%d`, but instead found `%d`", i, instanceType, testCase.expectedRespStatus, rec.Code)
    					continue
    				}
    			} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top