Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getA (0.16 sec)

  1. cmd/iam.go

    		if err != nil {
    			return UserIdentity{}, nil, err
    		}
    	}
    
    	return tmpAcc, embeddedPolicy, nil
    }
    
    // getAccountWithClaims - gets information about an account with claims
    func (sys *IAMSys) getAccountWithClaims(ctx context.Context, accessKey string) (UserIdentity, *jwt.MapClaims, error) {
    	if !sys.Initialized() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/erasure-object.go

    	}
    
    	// Get start part index and offset.
    	partIndex, partOffset, err := fi.ObjectToPartOffset(ctx, startOffset)
    	if err != nil {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Calculate endOffset according to length
    	endOffset := startOffset
    	if length > 0 {
    		endOffset += length - 1
    	}
    
    	// Get last part index to read given length.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. cmd/erasure-server-pool.go

    	go func() {
    		updateTicker := time.NewTicker(30 * time.Second)
    		defer updateTicker.Stop()
    		var lastUpdate time.Time
    
    		// We need to merge since we will get the same buckets from each pool.
    		// Therefore to get the exact bucket sizes we must merge before we can convert.
    		var allMerged dataUsageCache
    
    		update := func() {
    			mu.Lock()
    			defer mu.Unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	// 2. Check S3 access for upload
    	c.mustUpload(ctx, svcClient, bucket)
    
    	// 3. Check S3 access for download
    	c.mustDownload(ctx, svcClient, bucket)
    }
    
    // In this test, the parent users gets their permissions from a group, rather
    // than having a policy set directly on them.
    func (s *TestSuiteIAM) TestLDAPSTSServiceAccountsWithGroups(c *check) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    func getAPIError(code APIErrorCode) APIError {
    	if apiErr, ok := errorCodes[code]; ok {
    		return apiErr
    	}
    	return errorCodes.ToAPIErr(ErrInternalError)
    }
    
    // getErrorResponse gets in standard error and resource value and
    // provides a encodable populated response values
    func getAPIErrorResponse(ctx context.Context, err APIError, resource, requestID, hostID string) APIErrorResponse {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  6. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

              "exemplar": true,
              "expr": "minio_cluster_replication_proxied_get_tagging_requests_total{job=\"$scrape_jobs\"}",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{instance}}",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Total Proxied Get Tag Requests",
          "type": "timeseries"
        },
        {
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/iam-store.go

    			err = nil
    		}
    		if err != nil {
    			return err
    		}
    	}
    
    	delete(cache.iamPolicyDocsMap, policy)
    	cache.updatedAt = time.Now()
    
    	return nil
    }
    
    // GetPolicy - gets the policy definition. Allows specifying multiple comma
    // separated policies - returns a combined policy.
    func (store *IAMStoreSys) GetPolicy(name string) (policy.Policy, error) {
    	if name == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cmd/xl-storage.go

    		return osErrToFileErr(err)
    	}
    
    	var bufp *[]byte
    	switch {
    	case fileSize <= xioutil.SmallBlock:
    		bufp = xioutil.ODirectPoolSmall.Get().(*[]byte)
    		defer xioutil.ODirectPoolSmall.Put(bufp)
    	default:
    		bufp = xioutil.ODirectPoolLarge.Get().(*[]byte)
    		defer xioutil.ODirectPoolLarge.Put(bufp)
    	}
    
    	var written int64
    	if odirectEnabled {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    		s.writeErrorResponse(w, errServerNotInitialized)
    		return
    	}
    
    	sizeStr := r.Form.Get(peerRESTSize)
    	durationStr := r.Form.Get(peerRESTDuration)
    	concurrentStr := r.Form.Get(peerRESTConcurrent)
    	storageClass := r.Form.Get(peerRESTStorageClass)
    	bucketName := r.Form.Get(peerRESTBucket)
    	enableSha256 := r.Form.Get(peerRESTEnableSha256) == "true"
    
    	size, err := strconv.Atoi(sizeStr)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  10. internal/s3select/select_test.go

    				if !testCase.wantErr {
    					t.Fatal(err)
    				}
    				t.Logf("got expected error: %v", err)
    				return
    			} else if testCase.wantErr {
    				t.Error("did not get expected error")
    				return
    			}
    
    			w := &testResponseWriter{}
    			s3Select.Evaluate(w)
    			s3Select.Close()
    			resp := http.Response{
    				StatusCode:    http.StatusOK,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
Back to top