Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Nelson (0.18 sec)

  1. cmd/warm-backend-gcs.go

    		// have StatusCode to help to convert to object errors.
    		return err
    	}
    
    	if len(googleAPIErr.Errors) == 0 {
    		return err
    	}
    
    	reason := googleAPIErr.Errors[0].Reason
    	message := googleAPIErr.Errors[0].Message
    
    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. tests/helper_test.go

    				"Birthday", "CompanyID", "ManagerID", "Active")
    		}
    	})
    }
    
    func tidbSkip(t *testing.T, reason string) {
    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    }
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. prepare_stmt.go

    	cacheStmt := Stmt{Transaction: isTransaction, prepared: make(chan struct{})}
    	db.Stmts[query] = &cacheStmt
    	db.Mux.Unlock()
    
    	// prepare completed
    	defer close(cacheStmt.prepared)
    
    	// Reason why cannot lock conn.PrepareContext
    	// suppose the maxopen is 1, g1 is creating record and g2 is querying record.
    	// 1. g1 begin tx, g1 is requeue because of waiting for the system call, now `db.ConnPool` db.numOpen == 1.
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Mar 28 08:47:39 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. cmd/bucket-metadata.go

    func loadBucketMetadataParse(ctx context.Context, objectAPI ObjectLayer, bucket string, parse bool) (BucketMetadata, error) {
    	b, err := readBucketMetadata(ctx, objectAPI, bucket)
    	b.Name = bucket // in-case parsing failed for some reason, make sure bucket name is not empty.
    	if err != nil && !errors.Is(err, errConfigNotFound) {
    		return b, err
    	}
    	if err == nil {
    		b.defaultTimestamps()
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/erasure.go

    			di, err := disk.DiskInfo(context.Background(), DiskInfoOptions{})
    			infos[i] = di
    			if err != nil {
    				// - Do not consume disks which are not reachable
    				//   unformatted or simply not accessible for some reason.
    				infos[i].Error = err.Error()
    			}
    		}()
    	}
    	wg.Wait()
    
    	var scanningDisks, healingDisks []StorageAPI
    	var scanningInfos, healingInfos []DiskInfo
    
    	for i, info := range infos {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  6. cmd/sts-handlers.go

    		return
    	}
    
    	// If authentication failed, return the error message to the user.
    	if res.Failure != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSUpstreamError, errors.New(res.Failure.Reason))
    		return
    	}
    
    	// It is required that parent user be set.
    	if res.Success.User == "" {
    		writeSTSErrorResponse(ctx, w, ErrSTSUpstreamError, errors.New("A valid user was not returned by the authenticator."))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  7. cmd/erasure-sets.go

    	var wg sync.WaitGroup
    	wg.Add(len(s.sets))
    	for _, s := range s.sets {
    		go func(s *erasureObjects) {
    			defer wg.Done()
    			// This is a force delete, no reason to throw errors.
    			s.DeleteObject(ctx, bucket, prefix, ObjectOptions{DeletePrefix: true})
    		}(s)
    	}
    	wg.Wait()
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  8. cmd/erasure-multipart.go

    			}
    		}
    	}
    
    	var checksumCombined []byte
    
    	// However, in case of encryption, the persisted part ETags don't match
    	// what we have sent to the client during PutObjectPart. The reason is
    	// that ETags are encrypted. Hence, the client will send a list of complete
    	// part ETags of which non can match the ETag of any part. For example
    	//   ETag (client):          30902184f4e62dd8f98f0aaff810c626
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    							reqType, bucketName, test.objectName, err)
    					}
    					// Validate whether the error has occurred for the expected reason.
    					if want.Code != errXML.Code {
    						t.Errorf("%s, Expected to fail with error \"%s\", but received \"%s\": %q.",
    							reqType, want.Code, errXML.Code, errXML.Message)
    					}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  10. internal/config/identity/plugin/config.go

    	Claims             map[string]interface{} `json:"claims"`
    }
    
    // AuthNErrorResponse - represents an error response from the authN plugin.
    type AuthNErrorResponse struct {
    	Reason string `json:"reason"`
    }
    
    // AuthNResponse - represents a result of the authentication operation.
    type AuthNResponse struct {
    	Success *AuthNSuccessResponse
    	Failure *AuthNErrorResponse
    }
    
    const (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
Back to top