Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for listPolicyDocs (0.22 sec)

  1. 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top