Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for Valid (0.18 sec)

  1. internal/crypto/sse_test.go

    	}
    }
    
    var ssecUnsealObjectKeyTests = []struct {
    	Headers        http.Header
    	Bucket, Object string
    	Metadata       map[string]string
    
    	ExpectedErr error
    }{
    	{ // 0 - Valid HTTP headers and valid metadata entries for bucket/object
    		Headers: http.Header{
    			"X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  2. docs/sts/tls.md

    - MinIO verifies that the client certificate is valid.
    - MinIO tries to find a policy that matches the `CN` of the client certificate.
    - MinIO returns temp. S3 credentials associated to the found policy.
    
    The returned credentials expiry after a certain period of time that can be configured via `&DurationSeconds=3600`. By default, the STS credentials are valid for 1 hour. The minimum expiration allowed is 15 minutes.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 6K bytes
    - Viewed (0)
  3. cmd/bucket-policy.go

    	if err != nil {
    		// This should not happen because bucketPolicy is valid to convert to JSON data.
    		return nil, err
    	}
    
    	var policyInfo miniogopolicy.BucketAccessPolicy
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(data, &policyInfo); err != nil {
    		// This should not happen because data is valid to JSON data.
    		return nil, err
    	}
    
    	return &policyInfo, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common_test.go

    				nil, nil, nil, nil, nil, nil, nil, nil,
    			},
    			_tamperBackend: noTamper,
    		},
    		{
    			modTimes:     modTimesThreeNone,
    			expectedTime: threeNanoSecs,
    			errs: []error{
    				// Disks that have a valid xl.meta.
    				nil, nil, nil, nil, nil, nil, nil, nil,
    				nil, nil, nil, nil, nil,
    				// Some disks can't access xl.meta.
    				errFileNotFound, errDiskAccessDenied, errDiskNotFound,
    			},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  5. internal/bucket/lifecycle/expiration_test.go

    	validationTestCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Expiration with a valid ISO 8601 date
    			inputXML: `<Expiration>
                                        <Date>2019-04-20T00:00:00Z</Date>
                                        </Expiration>`,
    			expectedErr: nil,
    		},
    		{ // Expiration with a valid number of days
    			inputXML: `<Expiration>
                                        <Days>3</Days>
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. cmd/httprange.go

    	// Check if range string contains delimiter '-', else return error. eg. "bytes=8"
    	sepIndex := strings.Index(byteRangeString, "-")
    	if sepIndex == -1 {
    		return nil, fmt.Errorf("'%s' does not have a valid range value", rangeString)
    	}
    
    	offsetBeginString := byteRangeString[:sepIndex]
    	offsetBegin := int64(-1)
    	// Convert offsetBeginString only if its not empty.
    	if len(offsetBeginString) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 24 14:56:28 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. internal/s3select/csv/reader.go

    		return make([]byte, csvSplitSize+1024)
    	}
    
    	// Return first block
    	next, nextErr := r.nextSplit(csvSplitSize, r.bufferPool.Get().([]byte))
    	// Check if first block is valid.
    	if !utf8.Valid(next) {
    		return errInvalidTextEncodingError()
    	}
    
    	// Create queue
    	r.queue = make(chan *queueItem, runtime.GOMAXPROCS(0))
    	r.input = make(chan *queueItem, runtime.GOMAXPROCS(0))
    	r.readerWg.Add(1)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. docs/batch-jobs/README.md

    Following YAML describes the structure of a replication job, each value is documented and self-describing.
    
    ```yaml
    replicate:
      apiVersion: v1
      # source of the objects to be replicated
      source:
    	type: TYPE # valid values are "minio"
    	bucket: BUCKET
    	prefix: PREFIX
    	# NOTE: if source is remote then target must be "local"
    	# endpoint: ENDPOINT
    	# credentials:
    	#   accessKey: ACCESS-KEY
    	#   secretKey: SECRET-KEY
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Oct 06 06:00:43 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock.go

    const (
    	// RetGovernance - governance mode.
    	RetGovernance RetMode = "GOVERNANCE"
    
    	// RetCompliance - compliance mode.
    	RetCompliance RetMode = "COMPLIANCE"
    )
    
    // Valid - returns if retention mode is valid
    func (r RetMode) Valid() bool {
    	switch r {
    	case RetGovernance, RetCompliance:
    		return true
    	}
    	return false
    }
    
    func parseRetMode(modeStr string) (mode RetMode) {
    	switch strings.ToUpper(modeStr) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    }
    
    // ShardSize - returns actual shared size from erasure blockSize.
    func (e ErasureInfo) ShardSize() int64 {
    	return ceilFrac(e.BlockSize, int64(e.DataBlocks))
    }
    
    // IsValid - tells if erasure info fields are valid.
    func (fi FileInfo) IsValid() bool {
    	if fi.Deleted {
    		// Delete marker has no data, no need to check
    		// for erasure coding information
    		return true
    	}
    	dataBlocks := fi.Erasure.DataBlocks
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top