Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for fetches2 (0.07 sec)

  1. cmd/object-handlers_test.go

    	}
    
    	ctx := context.Background()
    
    	// test cases with inputs and expected result for GetObject.
    	testCases := []struct {
    		bucketName string
    		objectName string
    		byteRange  string // range of bytes to be fetched from GetObject.
    		accessKey  string
    		secretKey  string
    		// expected output.
    		expectedContent    []byte // expected response body.
    		expectedRespStatus int    // expected response status body.
    	}{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	for key, value := range lambdaMap {
    		v := make(map[string][]madmin.TargetIDStatus)
    		v[key] = value
    		notify[counter] = v
    		counter++
    	}
    	return notify
    }
    
    // fetchKMSStatus fetches KMS-related status information for all instances
    func fetchKMSStatus(ctx context.Context) []madmin.KMS {
    	if GlobalKMS == nil {
    		return []madmin.KMS{}
    	}
    
    	stat, err := GlobalKMS.Status(ctx)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	var buffer2 bytes.Buffer
    	// retrieve the contents of response body.
    	n, err := io.Copy(&buffer2, response.Body)
    	c.Assert(err, nil)
    	c.Assert(n, int64(len([]byte("hello world"))))
    	// 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.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    		metrics = append(metrics, MetricV2{
    			Description: getMinIOGORoutineCountMD(),
    			Value:       float64(runtime.NumGoroutine()),
    		})
    		return
    	})
    	return mg
    }
    
    // getHistogramMetrics fetches histogram metrics and returns it in a []Metric
    // Note: Typically used in MetricGroup.RegisterRead
    //
    // The toLowerAPILabels parameter is added for compatibility,
    // if set, it lowercases the `api` label values.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.5.md

    * Fix a bug under the rkt runtime whereby image-registries with ports would not be fetched from ([#34375](https://github.com/kubernetes/kubernetes/pull/34375), [@euank](https://github.com/euank))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    		rData, err := xml.Marshal(*r)
    		if err != nil {
    			return false
    		}
    		if string(prevRData) != string(rData) {
    			return false
    		}
    	}
    	return true
    }
    
    // cache of IAM info fetched in last SiteReplicationMetaInfo call
    type srIAMCache struct {
    	sync.RWMutex
    	lastUpdate time.Time
    	srIAMInfo  madmin.SRInfo // caches IAM info
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
Back to top