Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 302 for Are (0.14 sec)

  1. cmd/api-errors.go

    	ErrInvalidEncryptionParameters: {
    		Code:           "InvalidRequest",
    		Description:    "The encryption parameters are not applicable to this object.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidEncryptionParametersSSEC: {
    		Code:           "InvalidRequest",
    		Description:    "SSE-C encryption parameters are not supported on replicated bucket.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/tier-handlers.go

    		StatusCode: http.StatusBadRequest,
    	}
    	// error returned when remote tier credentials are invalid.
    	errTierInvalidCredentials = AdminError{
    		Code:       "XMinioAdminTierInvalidCredentials",
    		Message:    "Invalid remote tier credentials",
    		StatusCode: http.StatusBadRequest,
    	}
    	// error returned when reserved internal names are used.
    	errTierReservedName = AdminError{
    		Code:       "XMinioAdminTierReserved",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 19:52:44 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. cmd/untar.go

    			asyncErrMu.Lock()
    			err := asyncErr
    			asyncErrMu.Unlock()
    			if err != nil {
    				return err
    			}
    		}
    
    		header, err := tarReader.Next()
    		switch {
    
    		// if no more files are found return
    		case err == io.EOF:
    			wg.Wait()
    			return asyncErr
    
    		// return any other error
    		case err != nil:
    			wg.Wait()
    			extra := ""
    			if n > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    			// Verify if date headers are set, if not reject the request
    			amzDate, errCode := parseAmzDateHeader(r)
    			if errCode != ErrNone {
    				if ok {
    					tc.FuncName = "handler.Auth"
    					tc.ResponseRecorder.LogErrBody = true
    				}
    
    				// All our internal APIs are sensitive towards Date
    				// header, for all requests where Date header is not
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. internal/grid/types.go

    func (m *MSS) Recycle() {
    	if m != nil && *m != nil {
    		mssPool.Put(map[string]string(*m))
    		*m = nil
    	}
    }
    
    // ToQuery constructs a URL query string from the MSS, including "?" if there are any keys.
    func (m MSS) ToQuery() string {
    	if len(m) == 0 {
    		return ""
    	}
    	var buf strings.Builder
    	buf.WriteByte('?')
    	keys := make([]string, 0, len(m))
    	for k := range m {
    		keys = append(keys, k)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. internal/s3select/json/errors.go

    func (err *s3Error) Error() string {
    	return err.message
    }
    
    func errInvalidJSONType(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidJsonType",
    		message:    "The JsonType is invalid. Only DOCUMENT and LINES are supported.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errJSONParsingError(err error) *s3Error {
    	return &s3Error{
    		code:       "JSONParsingError",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  7. cmd/signature-v2_test.go

    		if err != nil {
    			t.Errorf("(%d) failed to create http.Request, got %v", i, err)
    		}
    		if testCase.expected != ErrNone {
    			// Should be set since we are simulating a http server.
    			req.RequestURI = req.URL.RequestURI()
    			// Check if it matches!
    			errCode := doesPresignV2SignatureMatch(req)
    			if errCode != testCase.expected {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  8. internal/http/server.go

    			if err == nil {
    				_ = pprof.Lookup("goroutine").WriteTo(tmp, 1)
    				tmp.Close()
    				return errors.New("timed out. some connections are still active. goroutines written to " + tmp.Name())
    			}
    			return errors.New("timed out. some connections are still active")
    		case <-timer.C:
    			if atomic.LoadInt32(&srv.requestCount) <= 0 {
    				return nil
    			}
    			timer.Reset(nextPollInterval())
    		}
    	}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. cmd/naughty-disk_test.go

    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    // naughtyDisk wraps a POSIX disk and returns programmed errors
    // specified by the developer. The purpose is to simulate errors
    // that are hard to simulate in practice like DiskNotFound.
    // Programmed errors are stored in errors field.
    type naughtyDisk struct {
    	// The real disk
    	disk StorageAPI
    	// Programmed errors: API call number => error to return
    	errors map[int]error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    			return
    		}
    
    		// Since we are rotating the keys, make sure to update the metadata.
    		srcInfo.metadataOnly = true
    		srcInfo.keyRotation = true
    	} else {
    		if isSourceEncrypted || isTargetEncrypted {
    			// We are not only copying just metadata instead
    			// we are creating a new object at this point, even
    			// if source and destination are same objects.
    			if !srcInfo.keyRotation {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top