Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Only (0.13 sec)

  1. cmd/api-errors.go

    	ErrInvalidDataSource: {
    		Code:           "InvalidDataSource",
    		Description:    "Invalid data source type. Only CSV and JSON are supported at this time.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidExpressionType: {
    		Code:           "InvalidExpressionType",
    		Description:    "The ExpressionType is invalid. Only SQL expressions are supported at this time.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBusy: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/erasure-server-pool.go

    						res = append(res, disk)
    					}
    				}
    			}
    		}
    	}
    	return res
    }
    
    // GetRawData will return all files with a given raw path to the callback.
    // Errors are ignored, only errors from the callback are returned.
    // For now only direct file paths are supported.
    func (z *erasureServerPools) GetRawData(ctx context.Context, volume, file string, fn func(r io.Reader, host string, disk string, filename string, info StatInfo) error) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		if !httpWriter.HasWritten() && !statusCodeWritten {
    			// write error response only if no data or headers has been written to client yet
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		return
    	}
    
    	if err = httpWriter.Close(); err != nil {
    		if !httpWriter.HasWritten() && !statusCodeWritten { // write error response only if no data or headers has been written to client yet
    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/erasure-object.go

    		if onlineDisk != nil && onlineDisk.IsOnline() {
    			online++
    		}
    	}
    	return online
    }
    
    // CopyObject - copy object source object to destination object.
    // if source object and destination object are same we only
    // update metadata.
    func (er erasureObjects) CopyObject(ctx context.Context, srcBucket, srcObject, dstBucket, dstObject string, srcInfo ObjectInfo, srcOpts, dstOpts ObjectOptions) (oi ObjectInfo, err error) {
    	if !dstOpts.NoAuditLog {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/data-scanner_test.go

    		default:
    			t.Errorf("Unexpected versionID being expired: %#v\n", obj)
    		}
    	}
    }
    
    func TestEvalActionFromLifecycle(t *testing.T) {
    	// Tests cover only ExpiredObjectDeleteAllVersions and DelMarkerExpiration actions
    	obj := ObjectInfo{
    		Name:        "foo",
    		ModTime:     time.Now().Add(-31 * 24 * time.Hour),
    		Size:        100 << 20,
    		VersionID:   uuid.New().String(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. internal/logger/console.go

    		}
    		console.quiet(msg+"\n", args...)
    	default:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. cmd/metrics-v3-handler.go

    }
    
    // listMetrics - returns a handler that lists all the metrics that could be
    // returned for the requested path.
    //
    // FIXME: It currently only lists `minio_` prefixed metrics.
    func (h *metricsV3Server) listMetrics(path string) http.Handler {
    	// First collect all matching MetricsGroup's
    	matchingMG := make(map[collectorPath]*MetricsGroup)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    		for j := 0; j < setLen; j++ {
    			format.Erasure.Sets[i][j] = mustGetUUID()
    		}
    	}
    	return format
    }
    
    // Returns format Erasure version after reading `format.json`, returns
    // successfully the version only if the backend is Erasure.
    func formatGetBackendErasureVersion(b []byte) (string, error) {
    	meta := &formatMetaV1{}
    	if err := json.Unmarshal(b, meta); err != nil {
    		return "", err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    		return madmin.ReplicateAddStatus{}, err
    	}
    
    	// For this `add` API, either all clusters must be empty or the local
    	// cluster must be the only one having some buckets.
    	if localHasBuckets && nonLocalPeerWithBuckets != "" {
    		return madmin.ReplicateAddStatus{}, errSRInvalidRequest(errors.New("only one cluster may have data when configuring site replication"))
    	}
    
    	if !localHasBuckets && nonLocalPeerWithBuckets != "" {
    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)
  10. internal/logger/logrotate.go

    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    	// Writes to f are only synchronized once Close() is called,
    	// or when files are being rotated.
    	f *os.File
    
    	pw *xioutil.PipeWriter
    	pr *xioutil.PipeReader
    }
    
    // Write writes p into the current file, rotating if necessary.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top