Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for inro (0.14 sec)

  1. cmd/peer-rest-server.go

    		return nil, grid.NewRemoteErr(err)
    	}
    	info := getLocalServerProperty(globalEndpoints, &r, metrics)
    	return madminServerProperties.NewJSONWith(&info), nil
    }
    
    // GetCPUsHandler - returns CPU info.
    func (s *peerRESTServer) GetCPUsHandler(_ *grid.MSS) (*grid.JSON[madmin.CPUs], *grid.RemoteErr) {
    	info := madmin.GetCPUs(context.Background(), globalLocalNodeName)
    	return madminCPUs.NewJSONWith(&info), 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)
  2. cmd/test-utils_test.go

    		urlStr += s3utils.EncodePath(objectName)
    	}
    	if len(queryValues) > 0 {
    		urlStr = urlStr + "?" + queryValues.Encode()
    	}
    	return urlStr
    }
    
    // return URL for uploading object into the bucket.
    func getPutObjectURL(endPoint, bucketName, objectName string) string {
    	return makeTestTargetURL(endPoint, bucketName, objectName, url.Values{})
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    func (s *xlStorage) DiskInfo(_ context.Context, _ DiskInfoOptions) (info DiskInfo, err error) {
    	info, err = s.diskInfoCache.Get()
    	info.NRRequests = s.nrRequests
    	info.Rotational = s.rotational
    	info.MountPath = s.drivePath
    	info.Endpoint = s.endpoint.String()
    	info.Scanning = atomic.LoadInt32(&s.scanning) == 1
    	return info, err
    }
    
    // getVolDir - will convert incoming volume names to
    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)
  4. cmd/iam-store.go

    }
    
    func newUserIdentity(cred auth.Credentials) UserIdentity {
    	return UserIdentity{Version: 1, Credentials: cred, UpdatedAt: UTCNow()}
    }
    
    // GroupInfo contains info about a group
    type GroupInfo struct {
    	Version   int       `json:"version"`
    	Status    string    `json:"status"`
    	Members   []string  `json:"members"`
    	UpdatedAt time.Time `json:"updatedAt,omitempty"`
    }
    
    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)
  5. cmd/object-api-multipart_test.go

    		{bucketNames[2], "minio-object", objectNames[1], "", "", 10, listMultipartResults[34], nil, true},
    	}
    
    	for i, testCase := range testCases {
    		// fmt.Println(i+1, testCase) // uncomment to peek into the test cases.
    		actualResult, actualErr := obj.ListMultipartUploads(context.Background(), testCase.bucket, testCase.prefix, testCase.keyMarker, testCase.uploadIDMarker, testCase.delimiter, testCase.maxUploads)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  6. cmd/object-api-listobjects_test.go

    		// Without delimteter the code should recurse into the prefix Dir.
    		// Tests with prefix, but without delimiter (53-54).
    		{"test-bucket-list-object", "Asia/India/", "", "", 10, resultCases[23], nil, true},
    		{"test-bucket-list-object", "Asia", "", "", 10, resultCases[24], nil, true},
    		// Tests with prefix and delimiter (55-57).
    		// With delimiter the code should not recurse into the sub-directories of prefix Dir.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    		storageLogOnceIf(ctx, err, "get-object-file-info-manually-modified")
    		return fi, nil, nil, toObjectErr(err, bucket, object, opts.VersionID)
    	}
    
    	filterOnlineDisksInplace(fi, onlineMeta, onlineDisks)
    	for i := range onlineMeta {
    		// verify metadata is valid, it has similar erasure info
    		// as well as common modtime, if modtime is not possible
    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)
  8. cmd/iam.go

    				continue
    			}
    
    			ldapUsername, ok := jwtClaims.Lookup(ldapUserN)
    			if !ok {
    				// skip this cred - we dont have the
    				// username info needed
    				continue
    			}
    
    			// Collect each new cred.ParentUser into parentUsers
    			parentUsers = append(parentUsers, cred.ParentUser)
    
    			// Update the ldapUsernameMap
    			parentUserToLDAPUsernameMap[cred.ParentUser] = ldapUsername
    		}
    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)
  9. cmd/erasure-server-pool.go

    			defer mu.Unlock()
    
    			allMerged = dataUsageCache{Info: dataUsageCacheInfo{Name: dataUsageRoot}}
    			for _, info := range results {
    				if info.Info.LastUpdate.IsZero() {
    					// Not filled yet.
    					return
    				}
    				allMerged.merge(info)
    			}
    			if allMerged.root() != nil && allMerged.Info.LastUpdate.After(lastUpdate) {
    				updates <- allMerged.dui(allMerged.Info.Name, allBuckets)
    				lastUpdate = allMerged.Info.LastUpdate
    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)
  10. cmd/sts-handlers_test.go

    	time.Sleep(2 * time.Second) // wait for listbuckets cache to be invalidated
    
    	accInfo, err := userAdmClient.AccountInfo(ctx, madmin.AccountOpts{})
    	if err != nil {
    		c.Fatalf("root user STS should be able to get account info: %v", err)
    	}
    
    	gotBuckets := set.NewStringSet()
    	for _, b := range accInfo.Buckets {
    		gotBuckets.Add(b.Name)
    		if !(b.Access.Read && b.Access.Write) {
    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)
Back to top