Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Tanghe (0.28 sec)

  1. cmd/erasure-server-pool.go

    func (z *erasureServerPools) GetDisksID(ids ...string) []StorageAPI {
    	idMap := make(map[string]struct{})
    	for _, id := range ids {
    		idMap[id] = struct{}{}
    	}
    	res := make([]StorageAPI, 0, len(idMap))
    	for _, s := range z.serverPools {
    		for _, set := range s.sets {
    			for _, disk := range set.getDisks() {
    				if disk == OfflineDisk {
    					continue
    				}
    				if id, _ := disk.GetDiskID(); id != "" {
    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)
  2. cmd/erasure-object.go

    			if disk == nil {
    				for i := range objects {
    					delObjErrs[index][i] = errDiskNotFound
    				}
    				return
    			}
    			errs := disk.DeleteVersions(ctx, bucket, dedupVersions, DeleteOptions{})
    			for i, err := range errs {
    				if err == nil {
    					continue
    				}
    				for _, v := range dedupVersions[i].Versions {
    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/xl-storage-format-v2_gen.go

    	for za0004 := range z.PartNumbers {
    		o = msgp.AppendInt(o, z.PartNumbers[za0004])
    	}
    	// string "PartETags"
    	o = append(o, 0xa9, 0x50, 0x61, 0x72, 0x74, 0x45, 0x54, 0x61, 0x67, 0x73)
    	if z.PartETags == nil { // allownil: if nil
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendArrayHeader(o, uint32(len(z.PartETags)))
    		for za0005 := range z.PartETags {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  4. cmd/iam.go

    // Prints IAM role ARNs.
    func (sys *IAMSys) printIAMRoles() {
    	if len(sys.rolesMap) == 0 {
    		return
    	}
    	var arns []string
    	for arn := range sys.rolesMap {
    		arns = append(arns, arn.String())
    	}
    	sort.Strings(arns)
    	msgs := make([]string, 0, len(arns))
    	for _, arn := range arns {
    		msgs = append(msgs, color.Bold(arn))
    	}
    
    	logger.Info(fmt.Sprintf("%s %s", color.Blue("IAM Roles:"), strings.Join(msgs, " ")))
    }
    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)
  5. cmd/sts-handlers_test.go

    		c.Fatalf("import %d: Unable to get policy entities: %v", caseNum, err)
    	}
    
    	for _, entity := range policyQueryRes.PolicyMappings {
    		m := gotContent.ldapUserPolicyMappings
    		for _, user := range entity.Users {
    			m[user] = append(m[user], entity.Policy)
    		}
    		m = gotContent.ldapGroupPolicyMappings
    		for _, group := range entity.Groups {
    			m[group] = append(m[group], entity.Policy)
    		}
    	}
    
    	{
    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)
  6. docs/metrics/prometheus/grafana/minio-dashboard.json

              "editorMode": "code",
              "exemplar": true,
              "expr": "max(minio_cluster_usage_total_bytes{job=~\"$scrape_jobs\"})",
              "interval": "",
              "legendFormat": "Usage",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Data Usage Growth",
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "prometheus",
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  7. cmd/api-errors.go

    	},
    	ErrInvalidRange: {
    		Code:           "InvalidRange",
    		Description:    "The requested range is not satisfiable",
    		HTTPStatusCode: http.StatusRequestedRangeNotSatisfiable,
    	},
    	ErrInvalidRangePartNumber: {
    		Code:           "InvalidRequest",
    		Description:    "Cannot specify both Range header and partNumber query parameter",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMalformedXML: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  8. cmd/iam-store.go

    	policies := make(map[string]MappedPolicy, m.Size())
    	m.Range(func(k string, v MappedPolicy) bool {
    		policies[k] = v
    		return true
    	})
    	return policies
    }
    
    // converts a mapped policy into a slice of distinct policies
    func (mp MappedPolicy) toSlice() []string {
    	var policies []string
    	for _, policy := range strings.Split(mp.Policies, ",") {
    		if strings.TrimSpace(policy) == "" {
    			continue
    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)
  9. cmd/bucket-stats_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Stats")
    				return
    			}
    			if z.Stats == nil {
    				z.Stats = make(map[string]*BucketReplicationStat, zb0002)
    			} else if len(z.Stats) > 0 {
    				for key := range z.Stats {
    					delete(z.Stats, key)
    				}
    			}
    			for zb0002 > 0 {
    				zb0002--
    				var za0001 string
    				var za0002 *BucketReplicationStat
    				za0001, err = dc.ReadString()
    				if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	if err != nil {
    		return err
    	}
    
    	// Clear and repopulate
    	for k := range foundDirs {
    		delete(foundDirs, k)
    	}
    
    	// Populate into map
    	for _, k := range dirs {
    		foundDirs[k] = struct{}{}
    	}
    
    	// Delete all directories we expect to be there.
    	for _, dir := range wantDirs {
    		delete(foundDirs, dir)
    	}
    
    	// Nothing to delete
    	if len(foundDirs) == 0 {
    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)
Back to top