Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PeerBucketPolicyHandler (0.27 sec)

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

    			err = globalSiteReplicationSys.PeerBucketPolicyHandler(ctx, item.Bucket, nil, item.UpdatedAt)
    		} else {
    			bktPolicy, berr := policy.ParseBucketPolicyConfig(bytes.NewReader(item.Policy), item.Bucket)
    			if berr != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, berr), r.URL)
    				return
    			}
    			if bktPolicy.IsEmpty() {
    				err = globalSiteReplicationSys.PeerBucketPolicyHandler(ctx, item.Bucket, nil, item.UpdatedAt)
    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

    		meta.QuotaConfigJSON = item.Quota
    		meta.QuotaConfigUpdatedAt = item.UpdatedAt
    	}
    
    	return globalBucketMetadataSys.save(ctx, meta)
    }
    
    // PeerBucketPolicyHandler - copies/deletes policy to local cluster.
    func (c *SiteReplicationSys) PeerBucketPolicyHandler(ctx context.Context, bucket string, policy *policy.BucketPolicy, updatedAt time.Time) error {
    	// skip overwrite if local update is newer than peer update.
    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