Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for json (0.19 sec)

  1. cmd/metrics-v2.go

    type MetricDescription struct {
    	Namespace MetricNamespace `json:"MetricNamespace"`
    	Subsystem MetricSubsystem `json:"Subsystem"`
    	Name      MetricName      `json:"MetricName"`
    	Help      string          `json:"Help"`
    	Type      MetricTypeV2    `json:"Type"`
    }
    
    // MetricV2 captures the details for a metric
    type MetricV2 struct {
    	Description          MetricDescription `json:"Description"`
    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)
  2. cmd/server_test.go

    	// Uploading a new object with Content-Type  "application/json".
    	objectName = "test-object.json"
    	buffer2 := bytes.NewReader([]byte("hello world"))
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buffer2.Len()), buffer2, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    	// setting the request header to be application/json.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    // ----------
    // This implementation of the GET operation retrieves object content based
    // on an SQL expression. In the request, along with the sql expression, you must
    // also specify a data serialization format (JSON, CSV) of the object.
    func (api objectAPIHandlers) SelectObjectContentHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "SelectObject")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    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/admin-handlers.go

    	Host          string                        `json:"host"`
    	Err           string                        `json:"err,omitempty"`
    	WaitingDrives map[string]madmin.DiskMetrics `json:"waitingDrives,omitempty"`
    }
    
    type serviceResult struct {
    	Action  madmin.ServiceAction `json:"action"`
    	DryRun  bool                 `json:"dryRun"`
    	Results []servicePeerResult  `json:"results,omitempty"`
    }
    
    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)
  5. cmd/site-replication.go

    // format.
    type srStateV1 struct {
    	Name string `json:"name"`
    
    	// Peers maps peers by their deploymentID
    	Peers                   map[string]madmin.PeerInfo `json:"peers"`
    	ServiceAccountAccessKey string                     `json:"serviceAccountAccessKey"`
    	UpdatedAt               time.Time                  `json:"updatedAt"`
    }
    
    // srStateData represents the format of the current `srStateFile`.
    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/object-handlers_test.go

    			accessKey:        credentials.AccessKey,
    			secretKey:        credentials.SecretKey,
    			metadata: map[string]string{
    				"Content-Type": "application/json",
    			},
    			expectedRespStatus: http.StatusOK,
    		},
    
    		// Test case - 2.
    		// Test case with invalid source object.
    		2: {
    			bucketName:       bucketName,
    			newObjectName:    "newObject1",
    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