Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for Value (0.14 sec)

  1. cmd/server-main.go

    		EnvVar: "MINIO_CONFIG",
    	},
    	cli.StringFlag{
    		Name:   "address",
    		Value:  ":" + GlobalMinioDefaultPort,
    		Usage:  "bind to a specific ADDRESS:PORT, ADDRESS can be an IP or hostname",
    		EnvVar: "MINIO_ADDRESS",
    	},
    	cli.IntFlag{
    		Name:   "listeners", // Deprecated Oct 2022
    		Value:  1,
    		Usage:  "bind N number of listeners per ADDRESS:PORT",
    		EnvVar: "MINIO_LISTENERS",
    		Hidden: true,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  2. docs/auditlog/auditlog-echo.md

    # `auditlog-echo`: A tool to view MinIO Audit logs on the console
    
    1. Run the tool with:
    
    ```
    go run docs/auditlog/auditlog-echo.go
    ```
    
    The listen port has a default value (8080), but can be set with the `-port` flag.
    
    2. Configure audit logging in MinIO with for example:
    
    ```
    mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 447 bytes
    - Viewed (0)
  3. cmd/handler-api.go

    		// Useful in container mode
    		limit := cgroupMemLimit()
    		if limit > 0 {
    			// A valid value is found, return its 75%
    			available = (limit * 3) / 4
    			return
    		}
    	} // for all other platforms limits are based on virtual memory.
    
    	memStats, err := mem.VirtualMemory()
    	if err != nil {
    		return
    	}
    	// A valid value is available return its 75%
    	available = (memStats.Available * 3) / 4
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. internal/auth/credentials.go

    	Description  string                 `xml:"-" json:"description,omitempty"`
    
    	// Deprecated: In favor of Description - when reading credentials from
    	// storage the value of this field is placed in the Description field above
    	// if the existing Description from storage is empty.
    	Comment string `xml:"-" json:"comment,omitempty"`
    }
    
    func (cred Credentials) String() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	forceDelete := false
    	if value := r.Header.Get(xhttp.MinIOForceDelete); value != "" {
    		var err error
    		forceDelete, err = strconv.ParseBool(value)
    		if err != nil {
    			apiErr := errorCodes.ToAPIErr(ErrInvalidRequest)
    			apiErr.Description = err.Error()
    			writeErrorResponse(ctx, w, apiErr, r.URL)
    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)
  6. cmd/batch-handlers.go

    				if err != nil {
    					return false
    				}
    				tagMap = t.ToMap()
    			}
    			for _, kv := range r.Flags.Filter.Tags {
    				for t, v := range tagMap {
    					if kv.Match(BatchJobKV{Key: t, Value: v}) {
    						return true
    					}
    				}
    			}
    
    			// None of the provided tags filter match skip the object
    			return false
    		}
    
    		for _, kv := range r.Flags.Filter.Metadata {
    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)
  7. cmd/object-handlers_test.go

    	invalidStorageClassHeader := map[string]string{xhttp.AmzStorageClass: "INVALID"}
    
    	addCustomHeaders := func(req *http.Request, customHeaders map[string]string) {
    		for k, value := range customHeaders {
    			req.Header.Set(k, value)
    		}
    	}
    
    	checksumData := func(b []byte, h hash.Hash) string {
    		h.Reset()
    		_, err := h.Write(b)
    		if err != nil {
    			t.Fatal(err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    	blockSize, err := strconv.ParseUint(blockSizeStr, 10, 64)
    	if err != nil {
    		blockSize = 4 * humanize.MiByte // default value
    	}
    
    	fileSize, err := strconv.ParseUint(fileSizeStr, 10, 64)
    	if err != nil {
    		fileSize = 1 * humanize.GiByte // default value
    	}
    
    	opts := madmin.DriveSpeedTestOpts{
    		Serial:    serial,
    		BlockSize: blockSize,
    		FileSize:  fileSize,
    	}
    
    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)
  9. cmd/erasure.go

    var bucketMetadataOpIgnoredErrs = append(bucketOpIgnoredErrs, errVolumeNotFound)
    
    // OfflineDisk represents an unavailable disk.
    var OfflineDisk StorageAPI // zero value is nil
    
    // erasureObjects - Implements ER object layer.
    type erasureObjects struct {
    	setDriveCount      int
    	defaultParityCount int
    
    	setIndex  int
    	poolIndex int
    
    	// getDisks returns list of storageAPIs.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  10. internal/bucket/lifecycle/lifecycle.go

    func (lc Lifecycle) Eval(obj ObjectOpts) Event {
    	return lc.eval(obj, time.Now().UTC())
    }
    
    // eval returns the lifecycle event applicable at the given now. If now is the
    // zero value of time.Time, it returns the upcoming lifecycle event.
    func (lc Lifecycle) eval(obj ObjectOpts, now time.Time) Event {
    	var events []Event
    	if obj.ModTime.IsZero() {
    		return Event{}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top