Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InternalRemoveReq (0.13 sec)

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

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

    		st.Status = madmin.ReplicateRemoveStatusPartial
    		st.ErrDetail = errs[errdID].Error()
    	}
    	return st, nil
    }
    
    // InternalRemoveReq - sends an unlink request to peer cluster to remove one or more sites
    // from the site replication configuration.
    func (c *SiteReplicationSys) InternalRemoveReq(ctx context.Context, objectAPI ObjectLayer, rreq madmin.SRRemoveReq) error {
    	if !c.isEnabled() {
    		return 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