Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Value (0.15 sec)

  1. cmd/xl-storage-disk-id-check.go

    	cached    atomic.Pointer[AccElem]
    	mu        sync.Mutex
    	init      sync.Once
    	lastMinuteLatency
    }
    
    func (e *lockedLastMinuteLatency) add(value time.Duration) {
    	e.addSize(value, 0)
    }
    
    // addSize will add a duration and size.
    func (e *lockedLastMinuteLatency) addSize(value time.Duration, sz int64) {
    	// alloc on every call, so we have a clean entry to swap in.
    	t := time.Now().Unix()
    	e.init.Do(func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterValueInvalid: {
    		Code:           "InvalidArgument",
    		Description:    "Size of filter rule value cannot exceed 1024 bytes in UTF-8 representation",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrOverlappingConfigs: {
    		Code:           "InvalidArgument",
    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)
  3. internal/logger/console.go

    package logger
    
    import (
    	"encoding/json"
    	"fmt"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // ConsoleLoggerTgt is a stringified value to represent console logging
    const ConsoleLoggerTgt = "console+http"
    
    // ExitFunc is called by Fatal() class functions, by default it calls os.Exit()
    var ExitFunc = os.Exit
    
    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)
  4. helm/minio/values.yaml

    configPathmc: "/etc/minio/mc/"
    
    ## Path where PV would be mounted on the MinIO Pod
    mountPath: "/export"
    ## Override the root directory which the minio server should serve from.
    ## If left empty, it defaults to the value of {{ .Values.mountPath }}
    ## If defined, it must be a sub-directory of the path specified in {{ .Values.mountPath }}
    ##
    bucketRoot: ""
    
    # Number of drives attached to a node
    drivesPerNode: 1
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    				setIndex:  er.setIndex,
    				poolIndex: er.poolIndex,
    			})
    		}
    
    		return
    	}()
    
    	validResp := 0
    	totalResp := 0
    
    	// minDisks value is only to reduce the number of calls
    	// to the disks; this value is not accurate because we do
    	// not know the storage class of the object yet
    	minDisks := 0
    	if p := globalStorageClass.GetParityForSC(""); p > -1 {
    		minDisks = er.setDriveCount - p
    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)
  6. cmd/object-handlers.go

    	return defaultMeta, nil
    }
    
    // getRemoteInstanceTransport contains a roundtripper for external (not peers) servers
    var remoteInstanceTransport atomic.Value
    
    func setRemoteInstanceTransport(tr http.RoundTripper) {
    	remoteInstanceTransport.Store(tr)
    }
    
    func getRemoteInstanceTransport() http.RoundTripper {
    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)
  7. cmd/erasure-server-pool.go

    			}
    		}
    		var maxUsedPct int
    		for _, disk := range zinfo {
    			if disk == nil || disk.Total == 0 {
    				continue
    			}
    			available += disk.Total - disk.Used
    
    			// set maxUsedPct to the value from the disk with the least space percentage.
    			if pctUsed := int(disk.Used * 100 / disk.Total); pctUsed > maxUsedPct {
    				maxUsedPct = pctUsed
    			}
    		}
    
    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)
  8. cmd/common-main.go

    	// Enable if prometheus URL is set.
    	if value := env.Get(config.EnvMinIOPrometheusURL, ""); value != "" {
    		os.Setenv("CONSOLE_PROMETHEUS_URL", value)
    		if value := env.Get(config.EnvMinIOPrometheusJobID, "minio-job"); value != "" {
    			os.Setenv("CONSOLE_PROMETHEUS_JOB_ID", value)
    			// Support additional labels for more granular filtering.
    			if value := env.Get(config.EnvMinIOPrometheusExtraLabels, ""); value != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  9. internal/logger/target/console/console.go

    	for i, element := range entry.Trace.Source {
    		trace[i] = fmt.Sprintf("%8v: %s", traceLength-i, element)
    	}
    
    	tagString := ""
    	for key, value := range entry.Trace.Variables {
    		if value != "" {
    			if tagString != "" {
    				tagString += ", "
    			}
    			tagString += fmt.Sprintf("%s=%#v", key, value)
    		}
    	}
    
    	var apiString string
    	if entry.API != nil {
    		apiString = "API: " + entry.API.Name
    		if entry.API.Args != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/delmarker-expiration.go

    // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element.
    func (de DelMarkerExpiration) Empty() bool {
    	return de.Days == 0
    }
    
    // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value
    func (de *DelMarkerExpiration) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error {
    	type delMarkerExpiration DelMarkerExpiration
    	var dexp delMarkerExpiration
    	err := dec.DecodeElement(&dexp, &start)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top