Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Nelson (0.24 sec)

  1. docs/iam/identity-manager-plugin.go

    	"encoding/json"
    	"errors"
    	"fmt"
    	"log"
    	"net/http"
    )
    
    func writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusBadRequest)
    	json.NewEncoder(w).Encode(map[string]string{
    		"reason": fmt.Sprintf("%v", err),
    	})
    }
    
    type Resp struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    			t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead.", i+1, instanceType, testCase.expectedError.Error())
    		}
    		// Failed as expected, but does it fail for the expected reason.
    		if actualErr != nil && !testCase.shouldPass {
    			if testCase.expectedError.Error() != actualErr.Error() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    				t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error())
    			}
    			// Failed as expected, but does it fail for the expected reason.
    			if err != nil && !testCase.shouldPass {
    				if !strings.Contains(err.Error(), testCase.err.Error()) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  4. internal/s3select/select_test.go

          }
        }
      ],
      "data": "asdascasdc1234e123erdasdas"
    }`,
    		},
    		{
    			name:       "limit-2",
    			query:      `select * from s3object[*].person[*] limit 1`,
    			wantResult: `{"Id":1,"Name":"Anshu","Address":"Templestowe","Car":"Jeep"}`,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  5. cmd/license-update.go

    		// will keep performing the license update. If the leader goes down for some
    		// reason, the lock will be released and another node will acquire it and
    		// take over because of this loop.
    		for {
    			licenceUpdaterLoop(ctx, objAPI)
    
    			// license update stopped for some reason.
    			// sleep for some time and try again.
    			duration := time.Duration(r.Float64() * float64(time.Hour))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. cmd/erasure-common.go

    			}
    			di, err := disks[i].DiskInfo(context.Background(), DiskInfoOptions{})
    			if err != nil || di.Healing {
    				// - Do not consume disks which are not reachable
    				//   unformatted or simply not accessible for some reason.
    				//
    				// - Do not consume disks which are being healed
    				//
    				// - Future: skip busy disks
    				return
    			}
    
    			mu.Lock()
    			newDisks = append(newDisks, disks[i])
    			mu.Unlock()
    		}()
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. cmd/object-api-getobjectinfo_test.go

    		if err == nil && !testCase.shouldPass {
    			t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error())
    		}
    		// Failed as expected, but does it fail for the expected reason.
    		if err != nil && !testCase.shouldPass {
    			if testCase.err.Error() != err.Error() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  8. cmd/object-api-errors.go

    }
    
    // SlowDown  too many file descriptors open or backend busy .
    type SlowDown struct{}
    
    func (e SlowDown) Error() string {
    	return "Please reduce your request rate"
    }
    
    // RQErrType reason for read quorum error.
    type RQErrType int
    
    const (
    	// RQInsufficientOnlineDrives - not enough online drives.
    	RQInsufficientOnlineDrives RQErrType = 1 << iota
    	// RQInconsistentMeta - inconsistent metadata.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. internal/s3select/message.go

    	207, 151, 211, 146, // message crc.
    }
    
    // newErrorMessage - creates new Request Level Error Message. S3 sends this message if the request failed for any reason.
    // It contains the error code and error message for the failure. If S3 sends a RequestLevelError message,
    // it doesn't send an End message.
    //
    // Header specification:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    				HTTPStatusCode: e.Code,
    			}
    			// GCS may send multiple errors, just pick the first one
    			// since S3 only sends one Error XML response.
    			if len(e.Errors) >= 1 {
    				apiErr.Code = e.Errors[0].Reason
    			}
    		case azblob.StorageError:
    			apiErr = APIError{
    				Code:           string(e.ServiceCode()),
    				Description:    e.Error(),
    				HTTPStatusCode: e.Response().StatusCode,
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
Back to top