Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for validation (0.18 sec)

  1. cmd/server_test.go

    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    	// executing the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// validating the response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    	// reading the response body.
    	// response body is expected to have the copied content of the first uploaded object.
    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

    	dependGlobalBackgroundHealState bool
    	dependBucketTargetSys           bool
    }
    
    // RegisterRead register the metrics populator function to be used
    // to populate new values upon cache invalidation.
    func (g *MetricsGroupV2) RegisterRead(read func(context.Context) []MetricV2) {
    	g.metricsCache = cachevalue.NewFromFunc(g.cacheInterval,
    		cachevalue.Opts{ReturnLastGood: true},
    		func() ([]MetricV2, error) {
    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/site-replication.go

    		}
    		if err != nil {
    			return c.annotatePeerErr(peer.Name, "Error adding bucket replication rule", err)
    		}
    
    		// Now convert the configuration back to server's type so we can
    		// do some validation.
    		newReplCfgBytes, err := xml.Marshal(replicationConfig)
    		if err != nil {
    			return err
    		}
    		newReplicationConfig, err := sreplication.ParseConfig(bytes.NewReader(newReplCfgBytes))
    		if err != nil {
    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)
  4. cmd/object-handlers_test.go

    		objectName string
    		accessKey  string
    		secretKey  string
    		// expected output.
    		expectedRespStatus int // expected response status body.
    	}{
    		// Test case - 1.
    		// Fetching stat info of object and validating it.
    		{
    			bucketName:         bucketName,
    			objectName:         objectName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    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