Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetEndpointURL (0.1 sec)

  1. cmd/perf-tests.go

    	result = madmin.SiteNetPerfNodeResult{}
    	cli, err := globalSiteReplicationSys.getAdminClient(ctx, deploymentID)
    	if err != nil {
    		result.Error = err.Error()
    		return
    	}
    	rp := cli.GetEndpointURL()
    	reqURL := &url.URL{
    		Scheme: rp.Scheme,
    		Host:   rp.Host,
    		Path:   reqPath,
    	}
    	result.Endpoint = rp.String()
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, reqURL.String(), reader)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	if err == nil || err.Error() != "Access Denied." {
    		c.Fatalf("bucket was deleted unexpectedly or got unexpected err: %v", err)
    	}
    
    	// 3. Craft a request to update the user's permissions
    	ep := s.adm.GetEndpointURL()
    	urlValue := url.Values{}
    	urlValue.Add("accessKey", accessKey)
    	u, err := url.Parse(fmt.Sprintf("%s://%s/minio/admin/v3/add-user?%s", ep.Scheme, ep.Host, s3utils.QueryEncode(urlValue)))
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    				cli, err := globalSiteReplicationSys.getAdminClient(ctx, info.DeploymentID)
    				if err != nil {
    					result.Error = err.Error()
    				} else {
    					result = siteNetperf(ctx, duration)
    					result.Endpoint = cli.GetEndpointURL().String()
    				}
    				resultsMu.Lock()
    				results.NodeResults = append(results.NodeResults, result)
    				resultsMu.Unlock()
    				return
    			}()
    			continue
    		}
    		wg.Add(1)
    		go func() {
    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