Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for Sanches (0.18 sec)

  1. cmd/sts-handlers.go

    			return
    		}
    	}
    
    	if !globalIAMSys.Initialized() {
    		writeSTSErrorResponse(ctx, w, ErrSTSIAMNotInitialized, errIAMNotInitialized)
    		return
    	}
    
    	// Validate JWT; check clientID in claims matches the one associated with the roleArn
    	if err := globalIAMSys.OpenIDConfig.Validate(r.Context(), roleArn, token, accessToken, r.Form.Get(stsDurationSeconds), claims); err != nil {
    		switch err {
    		case openid.ErrTokenExpired:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  2. cmd/bucket-versioning.go

    	vc, err := sys.Get(bucket)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return vc.Suspended()
    }
    
    // PrefixSuspended returns true if the given prefix matches an excluded prefix
    // pattern. This is part of a MinIO versioning configuration extension.
    func (sys *BucketVersioningSys) PrefixSuspended(bucket, prefix string) bool {
    	vc, err := sys.Get(bucket)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    			ModTime:    expPart.ModTime,
    			Index:      expPart.Index,
    			Checksums:  nil, // Not transferred since we do not need it.
    		}
    	}
    
    	if opts.WantChecksum != nil {
    		err := opts.WantChecksum.Matches(checksumCombined)
    		if err != nil {
    			return oi, err
    		}
    	}
    
    	// Hold namespace to complete the transaction
    	lk := er.NewNSLock(bucket, object)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    	}
    	ri.mu.Unlock()
    	return nil
    }
    
    // Note: to be used only with batch jobs that affect multiple versions through
    // a single action. e.g batch-expire has an option to expire all versions of an
    // object which matches the given filters.
    func (ri *batchJobInfo) trackMultipleObjectVersions(bucket string, info ObjectInfo, success bool) {
    	if success {
    		ri.Objects += int64(info.NumVersions)
    	} else {
    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)
  5. internal/crypto/header_test.go

    )
    
    func TestIsRequested(t *testing.T) {
    	for i, test := range kmsIsRequestedTests {
    		_, got := IsRequested(test.Header)
    		if Requested(test.Header) != got {
    			// Test if result matches.
    			t.Errorf("Requested mismatch, want %v, got %v", Requested(test.Header), got)
    		}
    		got = got && S3KMS.IsRequested(test.Header)
    		if got != test.Expected {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jul 13 14:52:15 GMT 2022
    - 21.4K bytes
    - Viewed (0)
  6. cmd/batch-job-common-types.go

    			col:  kv.col,
    			msg:  "key can't be empty",
    		}
    	}
    	return nil
    }
    
    // Empty indicates if kv is not set
    func (kv BatchJobKV) Empty() bool {
    	return kv.Key == "" && kv.Value == ""
    }
    
    // Match matches input kv with kv, value will be wildcard matched depending on the user input
    func (kv BatchJobKV) Match(ikv BatchJobKV) bool {
    	if kv.Empty() {
    		return true
    	}
    	if strings.EqualFold(kv.Key, ikv.Key) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils.go

    			continue
    		}
    		if !meta.IsValid() {
    			inconsistent++
    			continue
    		}
    		if meta.XLV1 != fi.XLV1 {
    			inconsistent++
    			continue
    		}
    		// check if erasure distribution order matches the index
    		// position if this is not correct we discard the disk
    		// and move to collect others
    		if distribution[i] != meta.Erasure.Index {
    			inconsistent++ // keep track of inconsistent entries
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errAmbiguousFieldName(err error) *s3Error {
    	return &s3Error{
    		code:       "AmbiguousFieldName",
    		message:    "Field name matches to multiple fields in the file. Check the SQL expression and the file, and try again.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errIntegerOverflow(err error) *s3Error {
    	return &s3Error{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    				if ver.header.ModTime > latest.header.ModTime {
    					versions[i] = versions[i][1:]
    					continue
    				}
    				// Truncate matches
    				if ver.header == latest.header {
    					versions[i] = versions[i][1:]
    					continue
    				}
    
    				// Truncate non-empty version and type matches
    				if latest.header.VersionID == ver.header.VersionID {
    					versions[i] = versions[i][1:]
    					continue
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. cmd/bucket-handlers.go

    // - Range over all the available buckets
    // - Check if a bucket has an entry in etcd backend
    // -- If no, make an entry
    // -- If yes, check if the entry matches local IP check if we
    //
    //	need to update the entry then proceed to update
    //
    // -- If yes, check if the IP of entry matches local IP.
    //
    //	This means entry is for this instance.
    //
    // -- If IP of the entry doesn't match, this means entry is
    //
    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)
Back to top