Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	opts := getSREditOptions(r)
    	status, err := globalSiteReplicationSys.EditPeerCluster(ctx, site, opts)
    	if err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	body, err := json.Marshal(status)
    	if err != nil {
    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

    	if opts.Users && opts.Groups && opts.Policies && !opts.Buckets {
    		c.srCacheIAMInfo(info)
    	}
    
    	return info, nil
    }
    
    // EditPeerCluster - edits replication configuration and updates peer endpoint.
    func (c *SiteReplicationSys) EditPeerCluster(ctx context.Context, peer madmin.PeerInfo, opts madmin.SREditOptions) (madmin.ReplicateEditStatus, error) {
    	sites, err := c.GetClusterInfo(ctx)
    	if err != nil {
    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