Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for meteor (0.15 sec)

  1. internal/crypto/error.go

    func (e Error) Unwrap() error { return e.cause }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.msg == "" {
    		return "crypto: cause <nil>"
    	}
    	return e.msg
    }
    
    var (
    	// ErrInvalidEncryptionMethod indicates that the specified SSE encryption method
    	// is not supported.
    	ErrInvalidEncryptionMethod = Errorf("The encryption method is not supported")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. cmd/generic-handlers_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	r := &http.Request{
    		Proto:  "HTTP/1.0",
    		Method: http.MethodPost,
    		URL:    u,
    	}
    	if !guessIsRPCReq(r) {
    		t.Fatal("Test shouldn't fail for a possible net/rpc request.")
    	}
    	r = &http.Request{
    		Proto:  "HTTP/1.1",
    		Method: http.MethodGet,
    	}
    	if guessIsRPCReq(r) {
    		t.Fatal("Test shouldn't report as net/rpc for a non net/rpc request.")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/rule.go

    	return r.NoncurrentVersionTransition.Validate()
    }
    
    // GetPrefix - a rule can either have prefix under <rule></rule>, <filter></filter>
    // or under <filter><and></and></filter>. This method returns the prefix from the
    // location where it is available.
    func (r Rule) GetPrefix() string {
    	if p := r.Prefix.String(); p != "" {
    		return p
    	}
    	if p := r.Filter.Prefix.String(); p != "" {
    		return p
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    	if err != nil {
    		return false
    	}
    	return mediaType == "multipart/form-data" && r.Method == http.MethodPost
    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256 &&
    		r.Method == http.MethodPut
    }
    
    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. cmd/object-api-errors.go

    type SignatureDoesNotMatch struct{}
    
    func (e SignatureDoesNotMatch) Error() string {
    	return "The request signature we calculated does not match the signature you provided. Check your key and signing method."
    }
    
    // StorageFull storage ran out of space.
    type StorageFull struct{}
    
    func (e StorageFull) Error() string {
    	return "Storage reached its minimum free drive threshold."
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		Description:    "The request signature we calculated does not match the signature you provided. Check your key and signing method.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrMethodNotAllowed: {
    		Code:           "MethodNotAllowed",
    		Description:    "The specified method is not allowed against this resource.",
    		HTTPStatusCode: http.StatusMethodNotAllowed,
    	},
    	ErrInvalidPart: {
    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)
  7. cmd/iam.go

    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.ListSTSAccounts(ctx, accessKey)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // GetServiceAccount - wrapper method to get information about a service account
    func (sys *IAMSys) GetServiceAccount(ctx context.Context, accessKey string) (auth.Credentials, *policy.Policy, error) {
    	sa, embeddedPolicy, err := sys.getServiceAccount(ctx, accessKey)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. cmd/object-multipart-handlers.go

    			if len(etag) >= 32 && strings.Count(etag, "-") != 1 {
    				etag = etag[len(etag)-32:]
    			}
    		}
    	}
    
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	verifyError(c, response, "SignatureDoesNotMatch", "The request signature we calculated does not match the signature you provided. Check your key and signing method.", http.StatusForbidden)
    }
    
    // This tests validate if PUT handler can successfully detect SHA256 mismatch.
    func (s *TestSuiteCommon) TestSHA256Mismatch(c *check) {
    	// generate a random bucket name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    				size:    int64(sz),
    				mode:    0o600,
    				modTime: time.Now(),
    				isDir:   false,
    				sys:     nil,
    			})
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			if _, err := io.Copy(zwriter, r); err != nil {
    				adminLogIf(ctx, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top