Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for Reed (0.17 sec)

  1. cmd/admin-handlers-idp-config.go

    		return
    	}
    
    	if err = validateConfig(ctx, cfg, subSys); err != nil {
    
    		var validationErr ldap.Validation
    		if errors.As(err, &validationErr) {
    			// If we got an LDAP validation error, we need to send appropriate
    			// error message back to client (likely mc).
    			writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigLDAPValidation),
    				validationErr.FormatError(), r.URL)
    			return
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    		}
    		break
    	}
    
    	for i := range uploadIDs {
    		uploadIDs[i] = strings.TrimSuffix(uploadIDs[i], SlashSeparator)
    	}
    
    	// S3 spec says uploadIDs should be sorted based on initiated time, we need
    	// to read the metadata entry.
    	var uploads []MultipartInfo
    
    	populatedUploadIDs := set.NewStringSet()
    
    	for _, uploadID := range uploadIDs {
    		if populatedUploadIDs.Contains(uploadID) {
    			continue
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. cmd/sftp-server-driver.go

    	if err != nil {
    		return nil, err
    	}
    
    	return obj, nil
    }
    
    // TransferError will catch network errors during transfer.
    // When TransferError() is called Close() will also
    // be called, so we do not need to Wait() here.
    func (w *writerAt) TransferError(err error) {
    	_ = w.w.CloseWithError(err)
    	_ = w.r.CloseWithError(err)
    	w.err = err
    }
    
    func (w *writerAt) Close() (err error) {
    	switch {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-utils.go

    }
    
    // hashDeterministicString will return a deterministic hash for the map values.
    // Trivial collisions are avoided, but this is by no means a strong hash.
    func hashDeterministicString(m map[string]string) uint64 {
    	// Seed (random)
    	crc := uint64(0xc2b40bbac11a7295)
    	// Xor each value to make order independent
    	for k, v := range m {
    		// Separate key and value with an individual xor with a random number.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. .github/workflows/multipart/migrate.sh

    failed_count_site2=$(s3-check-md5 -versions -access-key minioadmin -secret-key minioadmin -endpoint http://site2-nginx:9002 -bucket testbucket 2>&1 | grep FAILED | wc -l)
    
    ## we do not need to fail here, since we are going to test
    ## upgrading to master, healing and being able to recover
    ## the last version.
    if [ $failed_count_site1 -ne 0 ]; then
    	echo "failed with multipart on site1 uploads ${failed_count_site1}"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. cmd/signature-v4.go

    	stringToSign += scope + "\n"
    	canonicalRequestBytes := sha256.Sum256([]byte(canonicalRequest))
    	stringToSign += hex.EncodeToString(canonicalRequestBytes[:])
    	return stringToSign
    }
    
    // getSigningKey hmac seed to calculate final signature.
    func getSigningKey(secretKey string, t time.Time, region string, stype serviceType) []byte {
    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(t.Format(yyyymmdd)))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. cmd/admin-handlers_test.go

    	"net/url"
    	"sort"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/mux"
    )
    
    // adminErasureTestBed - encapsulates subsystems that need to be setup for
    // admin-handler unit tests.
    type adminErasureTestBed struct {
    	erasureDirs []string
    	objLayer    ObjectLayer
    	router      *mux.Router
    	done        context.CancelFunc
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    		}
    
    		for _, kv := range r.Flags.Filter.Metadata {
    			for k, v := range oi.UserDefined {
    				if !stringsHasPrefixFold(k, "x-amz-meta-") && !isStandardHeader(k) {
    					continue
    				}
    				// We only need to match x-amz-meta or standardHeaders
    				if kv.Match(BatchJobKV{Key: k, Value: v}) {
    					return true
    				}
    			}
    		}
    
    		// None of the provided filters match
    		return false
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    	// IndexCB will return any index created but the compression.
    	// Object must have been read at this point.
    	IndexCB func() []byte
    
    	// InclFreeVersions indicates that free versions need to be included
    	// when looking up a version by fi.VersionID
    	InclFreeVersions bool
    	// SkipFreeVersion skips adding a free version when a tiered version is
    	// being 'replaced'
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    		return false
    	}
    
    	// Check if the part number is correct.
    	if opts.PartNumber > 1 && opts.PartNumber > len(objInfo.Parts) {
    		// According to S3 we don't need to set any object information here.
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidPartNumber), r.URL)
    		return true
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top