Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for tetchy (0.17 sec)

  1. cmd/server_test.go

    	// assert the http response.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// make HTTP request to fetch the object.
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	// execute the http request to fetch object.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// assert the http response status code.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    		return cred, ErrNone
    	}
    
    	return cred, ErrAccessDenied
    }
    
    // Fetch the security token set by the client.
    func getSessionToken(r *http.Request) (token string) {
    	token = r.Header.Get(xhttp.AmzSecurityToken)
    	if token != "" {
    		return token
    	}
    	return r.Form.Get(xhttp.AmzSecurityToken)
    }
    
    // Fetch claims in the security token returned by the client, doesn't return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  3. cmd/update.go

    		}
    	}
    
    	if IsKubernetes() {
    		// In Kubernetes environment, try to fetch the helm package version
    		helmChartVersion := getHelmVersion("/podinfo/labels")
    		if helmChartVersion != "" {
    			uaAppend(" helm-", helmChartVersion)
    		}
    		// In Kubernetes environment, try to fetch the Operator, VSPHERE plugin version
    		opVersion := env.Get("MINIO_OPERATOR_VERSION", "")
    		if opVersion != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	erasure, err := NewErasure(ctx, fi.Erasure.DataBlocks, fi.Erasure.ParityBlocks, fi.Erasure.BlockSize)
    	if err != nil {
    		return ObjectInfo{}, toObjectErr(err, minioMetaBucket, key)
    	}
    
    	// Fetch buffer for I/O, returns from the pool if not allocates a new one and returns.
    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. Makefile

    	@(env bash $(PWD)/buildscripts/checkdeps.sh)
    
    help: ## print this help
    	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' Makefile | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-40s\033[0m %s\n", $$1, $$2}'
    
    getdeps: ## fetch necessary dependencies
    	@mkdir -p ${GOPATH}/bin
    	@echo "Installing golangci-lint" && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOLANGCI_DIR)
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  6. cmd/erasure-server-pool-rebalance.go

    	r := &rebalanceMeta{
    		ID:        shortuuid.New(),
    		PoolStats: make([]*rebalanceStats, len(z.serverPools)),
    	}
    
    	// Fetch disk capacity and available space.
    	si := z.StorageInfo(ctx, true)
    	diskStats := make([]struct {
    		AvailableSpace uint64
    		TotalSpace     uint64
    	}, len(z.serverPools))
    	var totalCap, totalFree uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    	mg := &MetricsGroupV2{
    		cacheInterval:    1 * time.Minute,
    		metricsGroupOpts: opts,
    	}
    	mg.RegisterRead(func(ctx context.Context) (metrics []MetricV2) {
    		objLayer := newObjectLayerFn()
    
    		// Fetch disk space info, ignore errors
    		metrics = make([]MetricV2, 0, 10)
    		storageInfo := objLayer.StorageInfo(ctx, true)
    		onlineDrives, offlineDrives := getOnlineOfflineDisksStats(storageInfo.Disks)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    	if err != nil {
    		for i := range derrs {
    			derrs[i] = err
    		}
    		return dobjects, derrs
    	}
    	ctx = lkctx.Context()
    	defer multiDeleteLock.Unlock(lkctx)
    
    	// Fetch location of up to 10 objects concurrently.
    	poolObjIdxMap := map[int][]ObjectToDelete{}
    	origIndexMap := map[int][]int{}
    
    	// Always perform 1/10th of the number of objects per delete
    	concurrent := len(objects) / 10
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    func (api objectAPIHandlers) SelectObjectContentHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "SelectObject")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	// Fetch object stat info.
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    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)
  10. cmd/tier-sweeper.go

    )
    
    // objSweeper determines if a transitioned object needs to be removed from the remote tier.
    // A typical usage would be like,
    // os := newObjSweeper(bucket, object)
    // // Perform a ObjectLayer.GetObjectInfo to fetch object version information
    // goiOpts := os.GetOpts()
    // gerr := objAPI.GetObjectInfo(ctx, bucket, object, goiOpts)
    //
    //	if gerr == nil {
    //	   os.SetTransitionState(goi)
    //	}
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top