Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getPolicyDocKV (0.06 sec)

  1. cmd/iam-etcd-store.go

    		}
    		return err
    	}
    
    	var p PolicyDoc
    	err = p.parseJSON(data)
    	if err != nil {
    		return err
    	}
    
    	m[policy] = p
    	return nil
    }
    
    func (ies *IAMEtcdStore) getPolicyDocKV(ctx context.Context, kvs *mvccpb.KeyValue, m map[string]PolicyDoc) error {
    	data, err := decryptData(kvs.Value, string(kvs.Key))
    	if err != nil {
    		if err == errConfigNotFound {
    			return errNoSuchPolicy
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top