Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for transpose (0.2 sec)

  1. cmd/bucket-replication.go

    	}
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodGet, reqURL.String(), nil)
    	if err != nil {
    		return err
    	}
    
    	client := &http.Client{
    		Transport: globalRemoteTargetTransport,
    		Timeout:   10 * time.Second,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		return err
    	}
    	if err == nil {
    		// Drain the connection.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. cmd/site-replication.go

    	}
    
    	return minioClient.New(ep.Host, &minioClient.Options{
    		Creds:     credentials.NewStaticV4(pc.AccessKey, pc.SecretKey, ""),
    		Secure:    ep.Scheme == "https",
    		Transport: globalRemoteTargetTransport,
    	})
    }
    
    func getPriorityHelper(replicationConfig replication.Config) int {
    	maxPrio := 0
    	for _, rule := range replicationConfig.Rules {
    		if rule.Priority > maxPrio {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. cmd/config-current.go

    		logger.Fatal(errors.New("no KMS configured"), "MINIO_KMS_AUTO_ENCRYPTION requires a valid KMS configuration")
    	}
    
    	transport := NewHTTPTransport()
    
    	bootstrapTraceMsg("initialize the event notification targets")
    	globalNotifyTargetList, err = notify.FetchEnabledTargets(GlobalContext, s, transport)
    	if err != nil {
    		configLogIf(ctx, fmt.Errorf("Unable to initialize notification target(s): %w", err))
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  4. internal/rest/client.go

    	}
    	// The host's colon:port should be normalized. See Issue 14836.
    	u.Host = removeEmptyPort(u.Host)
    
    	// Transport is exactly same as Go default in https://golang.org/pkg/net/http/#RoundTripper
    	// except custom DialContext and TLSClientConfig.
    	clnt := &Client{
    		httpClient:               &http.Client{Transport: tr},
    		url:                      u,
    		newAuthToken:             newAuthToken,
    		connected:                connected,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    		// value is cached we should attempt to invalidate it if such calls
    		// were attempted. This can lead to false success under certain conditions
    		// - this change attempts to avoid stale information if the underlying
    		// transport is already down.
    		return "", errDiskNotFound
    	}
    
    	// This call should never be over the network, this is always
    	// a cached value - caller should make sure to use this
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  6. cmd/bucket-targets.go

    	creds := credentials.NewStaticV4(config.AccessKey, config.SecretKey, "")
    
    	api, err := minio.New(tcfg.Endpoint, &minio.Options{
    		Creds:     creds,
    		Secure:    tcfg.Secure,
    		Region:    tcfg.Region,
    		Transport: globalRemoteTargetTransport,
    	})
    	if err != nil {
    		return nil, err
    	}
    	api.SetAppInfo("minio-replication-target", ReleaseTag+" "+tcfg.Arn)
    
    	hcDuration := defaultHealthCheckDuration
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    	// and hence expected to have same credentials.
    	core, err := miniogo.NewCore(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, ""),
    		Secure:    globalIsTLS,
    		Transport: getRemoteInstanceTransport(),
    	})
    	if err != nil {
    		return nil, err
    	}
    	core.SetAppInfo("minio-federated", ReleaseTag)
    	return core, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    	if err != nil {
    		return err
    	}
    
    	if token != "" {
    		req.Header.Set("Authorization", token)
    	}
    	req.Header.Set("Content-Type", "application/json")
    
    	clnt := http.Client{Transport: getRemoteInstanceTransport()}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return err
    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/server-main.go

    		ClientWriteTimeout: ctxt.ConnClientWriteDeadline,
    		Interface:          ctxt.Interface,
    		SendBufSize:        ctxt.SendBufSize,
    		RecvBufSize:        ctxt.RecvBufSize,
    	}
    
    	// allow transport to be HTTP/1.1 for proxying.
    	globalProxyEndpoints = GetProxyEndpoints(globalEndpoints)
    	globalInternodeTransport = NewInternodeHTTPTransport(ctxt.MaxIdleConnsPerHost)()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  10. cmd/admin-handlers.go

    	req, err := http.NewRequestWithContext(ctx, http.MethodGet, kubernetesVersionEndpoint, nil)
    	if err != nil {
    		ki.Error = err.Error()
    		return ki
    	}
    
    	client := &http.Client{
    		Transport: globalRemoteTargetTransport,
    		Timeout:   10 * time.Second,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		ki.Error = err.Error()
    		return ki
    	}
    	defer resp.Body.Close()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top