Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Rashed (0.28 sec)

  1. cmd/admin-handlers.go

    		if zerr != nil {
    			bugLogIf(ctx, zerr)
    			return nil
    		}
    		if _, err := io.Copy(zwriter, r); err != nil {
    			adminLogIf(ctx, err)
    		}
    		return nil
    	}
    
    	// save args passed to inspect command
    	var sb bytes.Buffer
    	fmt.Fprintf(&sb, "Inspect path: %s%s%s\n", volume, slashSeparator, file)
    	sb.WriteString("Server command line args:")
    	for _, pool := range globalEndpoints {
    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)
  2. cmd/iam-store.go

    		}
    		groups.Remove(group)
    		c.iamUserGroupMemberships[member] = groups
    	}
    }
    
    // policyDBGet - lower-level helper; does not take locks.
    //
    // If a group is passed, it returns policies associated with the group.
    //
    // If a user is passed, it returns policies of the user along with any groups
    // that the server knows the user is a member of.
    //
    // In LDAP users mode, the server does not store any group membership
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/object-api-multipart_test.go

    		}
    		if actualErr == nil && !testCase.shouldPass {
    			t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead.", i+1, instanceType, testCase.expectedError.Error())
    		}
    		// Failed as expected, but does it fail for the expected reason.
    		if actualErr != nil && !testCase.shouldPass {
    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)
  4. cmd/object-api-listobjects_test.go

    				t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    			}
    			if err == nil && !testCase.shouldPass {
    				t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error())
    			}
    			// Failed as expected, but does it fail for the expected reason.
    			if err != nil && !testCase.shouldPass {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    			return nil, errDiskAccessDenied
    		}
    		storageLogOnceIf(GlobalContext, err, "check-format-json") // log unexpected errors
    		return nil, errCorruptedBackend
    	}
    	return fi, nil
    }
    
    // GetDiskID - returns the cached disk uuid
    func (s *xlStorage) GetDiskID() (string, error) {
    	s.RLock()
    	diskID := s.diskID
    	fileInfo := s.formatFileInfo
    	lastCheck := s.formatLastCheck
    
    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)
  6. cmd/admin-handlers-users.go

    			})
    		}
    		sort.Slice(buckets, func(i, j int) bool {
    			return buckets[i].Name < buckets[j].Name
    		})
    	} else {
    		buckets, err = objectAPI.ListBuckets(ctx, BucketOptions{Cached: true})
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	accountName := cred.AccessKey
    	if cred.IsTemp() || cred.IsServiceAccount() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  7. cmd/iam.go

    	entityKeysInStorage := set.NewStringSet()
    	if iamOS, ok := sys.store.IAMStorageAPI.(*IAMObjectStore); ok {
    		// Load existing mapping keys from the cached listing for
    		// `IAMObjectStore`.
    		iamFilesListing := iamOS.cachedIAMListing.Load().(map[string][]string)
    		listKey := policyDBSTSUsersListKey
    		if isGroup {
    			listKey = policyDBGroupsListKey
    		}
    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)
  8. cmd/erasure-server-pool.go

    // that all buckets are present on all serverPools.
    func (z *erasureServerPools) ListBuckets(ctx context.Context, opts BucketOptions) (buckets []BucketInfo, err error) {
    	if opts.Cached {
    		listBucketsCache.InitOnce(time.Second,
    			cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    			func() ([]BucketInfo, error) {
    				ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    // Sign given request using Signature V4.
    func signStreamingRequest(req *http.Request, accessKey, secretKey string, currTime time.Time) (string, error) {
    	// Get hashed payload.
    	hashedPayload := req.Header.Get("x-amz-content-sha256")
    	if hashedPayload == "" {
    		return "", fmt.Errorf("Invalid hashed payload")
    	}
    
    	// Set x-amz-date.
    	req.Header.Set("x-amz-date", currTime.Format(iso8601Format))
    
    	// Get header map.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
Back to top