Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ListPolicyDocs (2.4 sec)

  1. cmd/iam-store.go

    			ret[k] = v.Policy
    		}
    	}
    
    	return ret, nil
    }
    
    // ListPolicyDocs - fetches all policy docs from storage and updates cache as well.
    // If bucketName is non-empty, returns policy docs matching the bucket.
    func (store *IAMStoreSys) ListPolicyDocs(ctx context.Context, bucketName string) (map[string]PolicyDoc, error) {
    	cache := store.lock()
    	defer store.unlock()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. cmd/iam.go

    	}
    
    	return sys.store.ListPolicies(ctx, bucketName)
    }
    
    // ListPolicyDocs - lists all canned policy docs.
    func (sys *IAMSys) ListPolicyDocs(ctx context.Context, bucketName string) (map[string]PolicyDoc, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	return sys.store.ListPolicyDocs(ctx, bucketName)
    }
    
    // SetPolicy - sets a new named policy.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top