Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for policyDocs (0.08 sec)

  1. cmd/iam-object-store.go

    )
    
    func (iamOS *IAMObjectStore) loadPolicyDocConcurrent(ctx context.Context, policies ...string) ([]PolicyDoc, error) {
    	policyDocs := make([]PolicyDoc, len(policies))
    	g := errgroup.WithNErrs(len(policies))
    
    	for index := range policies {
    		index := index
    		g.Go(func() error {
    			policyName := path.Dir(policies[index])
    			policyDoc, err := iamOS.loadPolicy(ctx, policyName)
    			if err != nil && !errors.Is(err, errNoSuchPolicy) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. cmd/iam-etcd-store.go

    }
    
    func (ies *IAMEtcdStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, _ int) error {
    	return ies.loadPolicyDoc(ctx, policy, m)
    }
    
    func (ies *IAMEtcdStore) loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error {
    	data, err := ies.loadIAMConfigBytes(ctx, getPolicyDocPath(policy))
    	if err != nil {
    		if err == errConfigNotFound {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top