Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for parameters (0.14 sec)

  1. cmd/bucket-lifecycle.go

    func (o *OutputLocation) IsEmpty() bool {
    	return o.S3.BucketName == ""
    }
    
    // SelectParameters specifies sql select parameters
    type SelectParameters struct {
    	s3select.S3Select
    }
    
    // IsEmpty returns true if no select parameters set
    func (sp *SelectParameters) IsEmpty() bool {
    	return sp == nil
    }
    
    var selectParamsXMLName = "SelectParameters"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. cmd/auth-handler_test.go

    		{"AWSAccessKeyId", "", true},
    		// Test case - 3.
    		{"X-Amz-Content-Sha256", "", false},
    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    		// Only the query parameters are relevant for this particular test.
    		inputReq, err := http.NewRequest(http.MethodGet, "http://example.com", nil)
    		if err != nil {
    			t.Fatalf("Error initializing input HTTP request: %v", err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. docs/debugging/inspect/main.go

    			// convert CRLF to LF
    			*keyHex = strings.ReplaceAll(text, "\n", "")
    			*keyHex = strings.TrimSpace(*keyHex)
    		}
    	}
    
    	var inputFileName, outputFileName string
    
    	// Parse parameters
    	switch {
    	case *stdin:
    		// Parse 'mc support inspect --json' output
    		input := struct {
    			File string `json:"file"`
    			Key  string `json:"key"`
    		}{}
    		got, err := io.ReadAll(os.Stdin)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. cmd/warm-backend-minio.go

    )
    
    // optimalPartInfo - calculate the optimal part info for a given
    // object size.
    //
    // NOTE: Assumption here is that for any object to be uploaded to any S3 compatible
    // object storage it will have the following parameters as constants.
    //
    //	maxPartsCount - 10000
    //	maxMultipartPutObjectSize - 5TiB
    func optimalPartSize(objectSize int64) (partSize int64, err error) {
    	// object size is '-1' set it to 5TiB.
    	if objectSize == -1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. cmd/consolelogger.go

    	// Enable console logging for remote client.
    	if !sys.HasLogListeners() {
    		logger.AddSystemTarget(GlobalContext, sys)
    	}
    
    	cnt := 0
    	// by default send all console logs in the ring buffer unless node or limit query parameters
    	// are set.
    	var lastN []log.Info
    	if last > defaultLogBufferCount || last <= 0 {
    		last = defaultLogBufferCount
    	}
    
    	lastN = make([]log.Info, last)
    	sys.RLock()
    	sys.logBuf.Do(func(p interface{}) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser.go

    	credElement := strings.TrimPrefix(strings.Split(strings.TrimSpace(v4Auth), ",")[0], signV4Algorithm)
    	// Replace all spaced strings, some clients can send spaced
    	// parameters and some won't. So we pro-actively remove any spaces
    	// to make parsing easier.
    	v4Auth = strings.ReplaceAll(v4Auth, " ", "")
    	if v4Auth == "" {
    		return sv, ErrAuthHeaderEmpty
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. docs/ftp/README.md

    > TLS certificates via a different domain for your FTP servers you may choose the above command line options.
    
    
    ### Custom Algorithms (SFTP)
    
    Custom algorithms can be specified via command line parameters.
    Algorithms are comma separated. 
    Note that valid values does not in all cases represent default values.
    
    `--sftp=pub-key-algos=...` specifies the supported client public key
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. cmd/encryption-v1.go

    	errObjectTampered = errors.New("The requested object was modified and may be compromised")
    	// error returned when invalid encryption parameters are specified
    	errInvalidEncryptionParameters     = errors.New("The encryption parameters are not applicable to this object")
    	errInvalidEncryptionParametersSSEC = errors.New("SSE-C encryption parameters are not supported on this bucket")
    )
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  9. cmd/net.go

    // formats, point to the same machine, e.g:
    //
    //	':9000' and 'http://localhost:9000/' will return true
    func sameLocalAddrs(addr1, addr2 string) (bool, error) {
    	// Extract host & port from given parameters
    	host1, port1, err := extractHostPort(addr1)
    	if err != nil {
    		return false, err
    	}
    	host2, port2, err := extractHostPort(addr2)
    	if err != nil {
    		return false, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. cmd/config-current.go

    		KeysHelp:        help,
    	}, nil
    }
    
    func newServerConfig() config.Config {
    	return config.New()
    }
    
    // newSrvConfig - initialize a new server config, saves env parameters if
    // found, otherwise use default parameters
    func newSrvConfig(objAPI ObjectLayer) error {
    	// Initialize server config.
    	srvCfg := newServerConfig()
    
    	// hold the mutex lock before a new config is assigned.
    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)
Back to top