Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Invalid (0.16 sec)

  1. cmd/api-errors.go

    		Description:    "Invalid argument",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidBucketName: {
    		Code:           "InvalidBucketName",
    		Description:    "The specified bucket is not valid.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidDigest: {
    		Code:           "InvalidDigest",
    		Description:    "The Content-Md5 you specified is not valid.",
    		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/object-api-multipart_test.go

    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    		// Case with invalid object names.
    		{bucketName: bucket, PartID: 1, expectedError: fmt.Errorf("%s", "Object name invalid: minio-bucket/")},
    		// Test case - 6.
    		// Valid object and bucket names but non-existent bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    func (s *peerRESTServer) HealthHandler(w http.ResponseWriter, r *http.Request) {
    	s.IsValid(w, r)
    }
    
    // VerifyBinary - verifies the downloaded binary is in-tact
    func (s *peerRESTServer) VerifyBinaryHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    	if r.ContentLength < 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    		tags["pool"] = er.poolIndex
    		tags["merrs"] = joinErrs(errs)
    		tags["derrs"] = joinErrs(dataErrs)
    		if m.IsValid() {
    			tags["size"] = m.Size
    			tags["mtime"] = m.ModTime.Format(http.TimeFormat)
    			tags["data"] = m.Erasure.DataBlocks
    			tags["parity"] = m.Erasure.ParityBlocks
    		} else {
    			tags["invalid-meta"] = true
    			tags["data"] = er.setDriveCount - er.defaultParityCount
    			tags["parity"] = er.defaultParityCount
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/iam.go

    	TotalRefreshFailures            uint64
    
    	sync.Mutex
    
    	iamRefreshInterval time.Duration
    
    	LDAPConfig   xldap.Config  // only valid if usersSysType is LDAPUsers
    	OpenIDConfig openid.Config // only valid if OpenID is configured
    	STSTLSConfig xtls.Config   // only valid if STS TLS is configured
    
    	usersSysType UsersSysType
    
    	rolesMap map[arn.ARN]string
    
    	// Persistence layer for IAM subsystem
    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)
  6. cmd/erasure-server-pool.go

    // even if one of the sets fail to create buckets, we proceed all the successful
    // operations.
    func (z *erasureServerPools) MakeBucket(ctx context.Context, bucket string, opts MakeBucketOptions) error {
    	// Verify if bucket is valid.
    	if !isMinioMetaBucketName(bucket) {
    		if err := s3utils.CheckValidBucketNameStrict(bucket); err != nil {
    			return BucketNameInvalid{Bucket: bucket}
    		}
    
    		if !opts.NoLock {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    // the i-th server in this will be applied the i-th policy in `rolePolicies`. If
    // a rolePolicies entry is an empty string, that server will be configured as
    // policy-claim based openid server. NOTE that a valid configuration can have a
    // policy claim based provider only if it is the only OpenID provider.
    func (s *TestSuiteIAM) SetUpOpenIDs(c *check, testApps []OpenIDClientAppParams, rolePolicies []string) error {
    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)
  8. cmd/object-api-listobjects_test.go

    		maxKeys    int32
    		// Expected output of ListObjects.
    		result ListObjectsInfo
    		err    error
    		// Flag indicating whether the test is expected to pass or not.
    		shouldPass bool
    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    		{"Test", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: "Test"}, false},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    	// Get hashed payload.
    	hashedPayload := req.Header.Get("x-amz-content-sha256")
    	if hashedPayload == "" {
    		return "", fmt.Errorf("Invalid hashed payload")
    	}
    
    	// Set x-amz-date.
    	req.Header.Set("x-amz-date", currTime.Format(iso8601Format))
    
    	// Get header map.
    	headerMap := make(map[string][]string)
    	for k, vv := range req.Header {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	iamFormatVersion1 = 1
    
    	minServiceAccountExpiry time.Duration = 15 * time.Minute
    	maxServiceAccountExpiry time.Duration = 365 * 24 * time.Hour
    )
    
    var errInvalidSvcAcctExpiration = errors.New("invalid service account expiration")
    
    type iamFormat struct {
    	Version int `json:"version"`
    }
    
    func newIAMFormatVersion1() iamFormat {
    	return iamFormat{Version: iamFormatVersion1}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top