Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for loadPolicyDocWithRetry (0.19 sec)

  1. cmd/iam-etcd-store.go

    	}
    	return decryptData(data, path)
    }
    
    func (ies *IAMEtcdStore) deleteIAMConfig(ctx context.Context, path string) error {
    	return deleteKeyEtcd(ctx, ies.client, path)
    }
    
    func (ies *IAMEtcdStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, _ int) error {
    	return ies.loadPolicyDoc(ctx, policy, m)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    			if _, found = cache.iamPolicyDocsMap[policy]; !found {
    				store.loadPolicyDocWithRetry(ctx, policy, cache.iamPolicyDocsMap, 3)
    			}
    		}
    	} else {
    		pols, _ := cache.iamSTSPolicyMap.Load(stsUserCred.Credentials.AccessKey)
    		for _, policy := range pols.toSlice() {
    			if _, found = cache.iamPolicyDocsMap[policy]; !found {
    				store.loadPolicyDocWithRetry(ctx, policy, cache.iamPolicyDocsMap, 3)
    			}
    		}
    	}
    }
    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)
  3. cmd/iam-object-store.go

    	return json.Unmarshal(data, item)
    }
    
    func (iamOS *IAMObjectStore) deleteIAMConfig(ctx context.Context, path string) error {
    	return deleteConfig(ctx, iamOS.objAPI, path)
    }
    
    func (iamOS *IAMObjectStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, retries int) error {
    	for {
    	retry:
    		data, objInfo, err := iamOS.loadIAMConfigBytesWithMetadata(ctx, getPolicyDocPath(policy))
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top