Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RemovePeerCluster (0.24 sec)

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

    	var rreq madmin.SRRemoveReq
    	err := parseJSONBody(ctx, r.Body, &rreq, "")
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	status, err := globalSiteReplicationSys.RemovePeerCluster(ctx, objectAPI, rreq)
    	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

    	defer c.RUnlock()
    	return c.enabled
    }
    
    var errMissingSRConfig = fmt.Errorf("unable to find site replication configuration")
    
    // RemovePeerCluster - removes one or more clusters from site replication configuration.
    func (c *SiteReplicationSys) RemovePeerCluster(ctx context.Context, objectAPI ObjectLayer, rreq madmin.SRRemoveReq) (st madmin.ReplicateRemoveStatus, err error) {
    	if !c.isEnabled() {
    		return st, errSRNotEnabled
    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