Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddPeerClusters (0.29 sec)

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

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	opts := getSRAddOptions(r)
    	status, err := globalSiteReplicationSys.AddPeerClusters(ctx, sites, opts)
    	if err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	body, err := json.Marshal(status)
    	if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    			Empty:        len(buckets) == 0,
    			self:         info.DeploymentID == globalDeploymentID(),
    		})
    	}
    	return
    }
    
    // AddPeerClusters - add cluster sites for replication configuration.
    func (c *SiteReplicationSys) AddPeerClusters(ctx context.Context, psites []madmin.PeerSite, opts madmin.SRAddOptions) (madmin.ReplicateAddStatus, error) {
    	sites, serr := c.getSiteStatuses(ctx, psites...)
    	if serr != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 182.7K bytes
    - Viewed (1)
Back to top