Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PeerAddPolicyHandler (0.12 sec)

  1. cmd/admin-handlers-site-replication.go

    		if item.Policy == nil {
    			err = globalSiteReplicationSys.PeerAddPolicyHandler(ctx, item.Name, nil, item.UpdatedAt)
    		} else {
    			policy, perr := policy.ParseConfig(bytes.NewReader(item.Policy))
    			if perr != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, perr), r.URL)
    				return
    			}
    			if policy.IsEmpty() {
    				err = globalSiteReplicationSys.PeerAddPolicyHandler(ctx, item.Name, nil, item.UpdatedAt)
    			} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	},
    		replicateIAMItem,
    	)
    	return errors.Unwrap(cerr)
    }
    
    // PeerAddPolicyHandler - copies IAM policy to local. A nil policy argument,
    // causes the named policy to be deleted.
    func (c *SiteReplicationSys) PeerAddPolicyHandler(ctx context.Context, policyName string, p *policy.Policy, updatedAt time.Time) error {
    	var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top