Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for where (0.12 sec)

  1. cmd/object-api-errors.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    )
    
    // Converts underlying storage error. Convenience function written to
    // handle all cases where we have known types of errors returned by
    // underlying storage layer.
    func toObjectErr(oerr error, params ...string) error {
    	if oerr == nil {
    		return nil
    	}
    
    	// Unwarp the error first
    	err := unwrapAll(oerr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/format-erasure.go

    		// time when fresh disks were supplied.
    		JBOD []string `json:"jbod"`
    	} `json:"xl"` // Erasure field holds xl format.
    }
    
    // Represents the V2 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    // formatErasureV2 - structure holds format config version '2'.
    // The V2 format to support "large bucket" support where a bucket
    // can span multiple erasure sets.
    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)
  3. cmd/common-main.go

    		// If TLS certificates are provided enforce the HTTPS.
    		server.EnabledListeners = []string{"https"}
    		server.TLSPort = consolePort
    		// Need to store tls-port, tls-host un config variables so secure.middleware can read from there
    		consoleapi.TLSPort = globalMinioConsolePort
    		consoleapi.Hostname = globalMinioConsoleHost
    	}
    
    	return server, nil
    }
    
    // Check for updates and print a notification message
    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)
  4. cmd/config-current.go

    			configLogIf(ctx, fmt.Errorf("Invalid api configuration: %w", err))
    		}
    
    		globalAPIConfig.init(apiConfig, setDriveCounts, objAPI.Legacy())
    		autoGenerateRootCredentials() // Generate the KMS root credentials here since we don't know whether API root access is disabled until now.
    		setRemoteInstanceTransport(NewHTTPTransportWithTimeout(apiConfig.RemoteTransportDeadline))
    	case config.CompressionSubSys:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    	type delObj struct {
    		// Set index associated to this object
    		setIndex int
    		// Original index from the list of arguments
    		// where this object is passed
    		origIndex int
    		// object to delete
    		object ObjectToDelete
    	}
    
    	// Transform []delObj to the list of object names
    	toNames := func(delObjs []delObj) []ObjectToDelete {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  6. cmd/data-scanner.go

    	dataScannerCompactLeastObject    = 500                              // Compact when there is less than this many objects in a branch.
    	dataScannerCompactAtChildren     = 10000                            // Compact when there are this many children in a branch.
    	dataScannerCompactAtFolders      = dataScannerCompactAtChildren / 4 // Compact when this many subfolders in a single folder.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  7. cmd/handler-api.go

    	}
    
    	if cap(t.requestsPool) != apiRequestsMaxPerNode {
    		// Only replace if needed.
    		// Existing requests will use the previous limit,
    		// but new requests will use the new limit.
    		// There will be a short overlap window,
    		// but this shouldn't last long.
    		t.requestsPool = make(chan struct{}, apiRequestsMaxPerNode)
    	}
    	t.requestsDeadline = cfg.RequestsDeadline
    	listQuorum := cfg.ListQuorum
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. cmd/server-main.go

    			continue
    		}
    
    		// Any other unhandled return right here.
    		return fmt.Errorf("Unable to initialize sub-systems: %w", err)
    	}
    }
    
    func initConfigSubsystem(ctx context.Context, newObject ObjectLayer) error {
    	// %w is used by all error returns here to make sure
    	// we wrap the underlying error, make sure when you
    	// are modifying this code that you do so, if and when
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (2)
  9. internal/logger/logger.go

    var trimStrings []string
    
    // TimeFormat - logging time format.
    const TimeFormat string = "15:04:05 MST 01/02/2006"
    
    var matchingFuncNames = [...]string{
    	"http.HandlerFunc.ServeHTTP",
    	"cmd.serverMain",
    	// add more here ..
    }
    
    // quietFlag: Hide startup messages if enabled
    // jsonFlag: Display in JSON format, if enabled
    var (
    	quietFlag, jsonFlag, anonFlag bool
    	// Custom function to format error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top