Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getRemoteInstanceClient (0.57 sec)

  1. cmd/object-multipart-handlers.go

    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    		// Send PutObject request to appropriate instance (in federated deployment)
    		core, rerr := getRemoteInstanceClient(r, getHostFromSrv(dstRecords))
    		if rerr != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, rerr), r.URL)
    			return
    		}
    
    		popts := minio.PutObjectPartOptions{
    			SSE: dstOpts.ServerSideEncryption,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	if ok {
    		return rt
    	}
    	return nil
    }
    
    // Returns a minio-go Client configured to access remote host described by destDNSRecord
    // Applicable only in a federated deployment
    var getRemoteInstanceClient = func(r *http.Request, host string) (*miniogo.Core, error) {
    	cred := getReqAccessCred(r, globalSite.Region())
    	// In a federated deployment, all the instances share config files
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top