Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ends (0.31 sec)

  1. cmd/server_test.go

    	// asserted the contents of the fetched object with the expected result.
    	c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
    
    	// Test the response when object name ends with a slash.
    	// This is a special case with size as '0' and object ends with
    	// a slash separator, we treat it like a valid operation and
    	// return success.
    	// The response Etag headers should contain Md5Sum of empty string.
    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/metrics-v2.go

    	ch := make(chan prometheus.Metric)
    	go func() {
    		defer xioutil.SafeClose(ch)
    		// Collects prometheus metrics from hist and sends it over ch
    		hist.Collect(ch)
    	}()
    
    	// Converts metrics received into internal []Metric type
    	var metrics []MetricV2
    	for promMetric := range ch {
    		dtoMetric := &dto.Metric{}
    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)
  3. cmd/object-handlers.go

    		return
    	}
    
    	objectRSC := s3select.NewObjectReadSeekCloser(
    		func(offset int64) (io.ReadCloser, error) {
    			rs := &HTTPRangeSpec{
    				IsSuffixLength: false,
    				Start:          offset,
    				End:            -1,
    			}
    			opts.NoLock = true
    			return getObjectNInfo(ctx, bucket, object, rs, r.Header, opts)
    		},
    		actualSize,
    	)
    	defer objectRSC.Close()
    	s3Select, err := s3select.NewS3Select(r.Body)
    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)
  4. cmd/bucket-replication.go

    			if err := p.queueMRFHeal(); err != nil && !osIsNotExist(err) {
    				replLogIf(p.ctx, err)
    			}
    			pTimer.Reset(mrfQueueInterval)
    		case <-p.ctx.Done():
    			return
    		}
    	}
    }
    
    // process sends error logs to the heal channel for an attempt to heal replication.
    func (p *ReplicationPool) queueMRFHeal() error {
    	p.mrfMU.Lock()
    	defer p.mrfMU.Unlock()
    
    	if !p.initialized() {
    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)
  5. cmd/site-replication.go

    	}
    	if errs[errdID] != nil {
    		st.Status = madmin.ReplicateRemoveStatusPartial
    		st.ErrDetail = errs[errdID].Error()
    	}
    	return st, nil
    }
    
    // InternalRemoveReq - sends an unlink request to peer cluster to remove one or more sites
    // from the site replication configuration.
    func (c *SiteReplicationSys) InternalRemoveReq(ctx context.Context, objectAPI ObjectLayer, rreq madmin.SRRemoveReq) error {
    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)
  6. cmd/admin-handlers.go

    		opts.Storage = true
    		opts.OS = true
    		// Older mc - cannot deal with more types...
    	}
    	return
    }
    
    // TraceHandler - POST /minio/admin/v3/trace
    // ----------
    // The handler sends http trace to the connected HTTP client.
    func (a adminAPIHandlers) TraceHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Validate request signature.
    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)
  7. cmd/object-handlers_test.go

    	for i, testCase := range testCases {
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		// construct HTTP request for Get Object end point.
    		req, err := newTestSignedRequestV4(http.MethodHead, getHeadObjectURL("", testCase.bucketName, testCase.objectName),
    			0, nil, testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top