Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for input (0.13 sec)

  1. cmd/xl-storage.go

    		return RawFileInfo{}, err
    	}
    
    	buf, _, err := s.readRaw(ctx, volume, volumeDir, filePath, readData)
    	return RawFileInfo{
    		Buf: buf,
    	}, err
    }
    
    // ReadOptions optional inputs for ReadVersion
    type ReadOptions struct {
    	ReadData bool
    	Healing  bool
    }
    
    // ReadVersion - reads metadata and returns FileInfo at path `xl.meta`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    	input := make(chan minio.SnowballObject, 1)
    	opts := minio.SnowballOptions{
    		Opts:     minio.PutObjectOptions{},
    		InMemory: *r.Source.Snowball.InMemory,
    		Compress: *r.Source.Snowball.Compress,
    		SkipErrs: *r.Source.Snowball.SkipErrs,
    	}
    
    	go func() {
    		defer xioutil.SafeClose(input)
    
    		for _, entry := range entries {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		if _, ok := objectsToDelete[object]; !ok {
    			objectsToDelete[object] = index
    		}
    	}
    
    	toNames := func(input map[ObjectToDelete]int) (output []ObjectToDelete) {
    		output = make([]ObjectToDelete, len(input))
    		idx := 0
    		for obj := range input {
    			output[idx] = obj
    			idx++
    		}
    		return
    	}
    
    	// Disable timeouts and cancellation
    	ctx = bgContext(ctx)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    		srcPath     string
    		expectedErr error
    	}{
    		// TestXLStorage case - 1.
    		// TestXLStorage case with valid inputs, expected to pass.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "success-file",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 2.
    		// TestXLStorage case with valid inputs, expected to pass.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "path/to/success-file",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    		return nil
    	}
    	if len(versions) == 1 {
    		return versions[0]
    	}
    	if quorum == 1 {
    		// No need for non-strict checks if quorum is 1.
    		strict = true
    	}
    	// Shallow copy input
    	versions = append(make([][]xlMetaV2ShallowVersion, 0, len(versions)), versions...)
    
    	var nVersions int // captures all non-free versions
    
    	// Our result
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  6. internal/bucket/lifecycle/lifecycle_test.go

    		t.Run(fmt.Sprintf("Test_%d", i+1), func(t *testing.T) {
    			lc, err := ParseLifecycleConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			// To ensure input lifecycle configurations are valid
    			if err := lc.Validate(); err != nil {
    				t.Fatalf("Invalid test case: %d %v", i+1, err)
    			}
    			if got := lc.HasActiveRules(tc.prefix); got != tc.want {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/grafana/replication/minio-replication.json

    {
      "__inputs": [
        {
          "name": "DS_PROMETHEUS",
          "label": "Prometheus",
          "description": "",
          "type": "datasource",
          "pluginId": "prometheus",
          "pluginName": "Prometheus"
        }
      ],
      "__elements": {},
      "__requires": [
        {
          "type": "panel",
          "id": "bargauge",
          "name": "Bar gauge",
          "version": ""
        },
        {
          "type": "panel",
          "id": "gauge",
    Json
    - Registered: Sun Mar 24 19:28:08 GMT 2024
    - Last Modified: Thu Feb 29 18:35:20 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	policyName := vars["name"]
    
    	// Policy has space characters in begin and end reject such inputs.
    	if hasSpaceBE(policyName) {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
    		return
    	}
    
    	// Error out if Content-Length is missing.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top