Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SRPeerGetIDPSettings (0.09 sec)

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

    		return
    	}
    
    	if err = json.NewEncoder(w).Encode(info); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    func (a adminAPIHandlers) SRPeerGetIDPSettings(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.SiteReplicationAddAction)
    	if objectAPI == nil {
    		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/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/site-replication/peer/idp-settings").HandlerFunc(adminMiddleware(adminAPI.SRPeerGetIDPSettings))
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/site-replication/edit").HandlerFunc(adminMiddleware(adminAPI.SiteReplicationEdit))
    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

    		admClient, err := getAdminClient(v.Endpoint, v.AccessKey, v.SecretKey)
    		if err != nil {
    			return errSRPeerResp(fmt.Errorf("unable to create admin client for %s: %w", v.Name, err))
    		}
    
    		is, err := admClient.SRPeerGetIDPSettings(ctx)
    		if err != nil {
    			return errSRPeerResp(fmt.Errorf("unable to fetch IDP settings from %s: %v", v.Name, err))
    		}
    		s = append(s, is)
    	}
    
    	for i := 1; i < len(s); i++ {
    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