Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SRPeerEdit (0.14 sec)

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

    	opts.EnableILMExpiryReplication = r.Form.Get("enableILMExpiryReplication") == "true"
    	return
    }
    
    // SRPeerEdit - PUT /minio/admin/v3/site-replication/peer/edit
    //
    // used internally to tell current cluster to update endpoint for peer
    func (a adminAPIHandlers) SRPeerEdit(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.SiteReplicationAddAction)
    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/admin-router.go

    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/site-replication/peer/edit").HandlerFunc(adminMiddleware(adminAPI.SRPeerEdit))
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/site-replication/peer/remove").HandlerFunc(adminMiddleware(adminAPI.SRPeerRemove))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    			}
    			if err != nil {
    				errs[dID] = errSRPeerResp(fmt.Errorf("unable to create admin client for %s: %w", pi.Name, err))
    				return
    			}
    			if err = admClient.SRPeerEdit(ctx, pi); err != nil {
    				errs[dID] = errSRPeerResp(fmt.Errorf("unable to update peer %s: %w", pi.Name, err))
    				return
    			}
    		}(p, dID)
    	}
    
    	wg.Wait()
    	for dID, err := range errs {
    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