Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for Natchev (0.22 sec)

  1. cmd/signature-v4.go

    }
    
    // doesPolicySignatureMatch - Verify query headers with post policy
    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html
    //
    // returns ErrNone if the signature matches.
    func doesPolicySignatureV4Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// Server region.
    	region := globalSite.Region
    
    	// Parse credential tag.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    	ifNoneMatchETagHeader := r.Header.Get(xhttp.AmzCopySourceIfNoneMatch)
    	if ifNoneMatchETagHeader != "" {
    		if isETagEqual(objInfo.ETag, ifNoneMatchETagHeader) {
    			// If the object ETag matches with the specified ETag.
    			writeHeaders()
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPreconditionFailed), r.URL)
    			return true
    		}
    	}
    	// Object content should be written to http.ResponseWriter
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. internal/etag/reader.go

    	return wrapReader{
    		Reader: wrapped,
    	}
    }
    
    // A Reader wraps an io.Reader and computes the
    // MD5 checksum of the read content as ETag.
    //
    // Optionally, a Reader can also verify that
    // the computed ETag matches an expected value.
    // Therefore, it compares both ETags once the
    // underlying io.Reader returns io.EOF.
    // If the computed ETag does not match the
    // expected ETag then Read returns a VerifyError.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. cmd/batch-job-common-types.go

    			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)
  5. cmd/metacache-set.go

    				topEntries[i] = entry
    				current = entry
    				agree++
    				continue
    			}
    			// If exact match, we agree.
    			if _, ok := current.matches(&entry, true); ok {
    				topEntries[i] = entry
    				agree++
    				continue
    			}
    			// If only the name matches we didn't agree, but add it for resolution.
    			if entry.name == current.name {
    				topEntries[i] = entry
    				continue
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. internal/pubsub/pubsub_test.go

    	ch3 := make(chan Maskable, 1)
    	doneCh := make(chan struct{})
    	defer close(doneCh)
    	// Mask matches maskString, should get result
    	if err := ps.Subscribe(Mask(1), ch1, doneCh, func(entry Maskable) bool { return true }); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	// Mask matches maskString, should get result
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top