Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for valide (0.47 sec)

  1. cmd/test-utils_test.go

    			t.Fatal(failTestStr(anonTestStr, "error response bucket name differs from expected value"))
    		}
    
    		if actualError.Key != objectName {
    			t.Fatal(failTestStr(anonTestStr, "error response object name differs from expected value"))
    		}
    	}
    
    	// test for unknown auth case.
    	anonReq.Body = readerTwo
    	// Setting the `Authorization` header to a random value so that the signature falls into unknown auth case.
    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)
  2. src/bytes/bytes_test.go

    		if input == nil && clone != nil {
    			t.Errorf("Clone(%#v) return value should be equal to nil slice.", input)
    		}
    
    		if input != nil && clone == nil {
    			t.Errorf("Clone(%#v) return value should not be equal to nil slice.", input)
    		}
    
    		if cap(input) != 0 && unsafe.SliceData(input) == unsafe.SliceData(clone) {
    			t.Errorf("Clone(%q) return value should not reference inputs backing memory.", input)
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    		{bucketName: "------", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: ------")},
    		{
    			bucketName: "$this-is-not-valid-too", objName: "obj", PartID: 1,
    			expectedError: fmt.Errorf("%s", "Bucket name invalid: $this-is-not-valid-too"),
    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    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)
  4. cmd/xl-storage.go

    			// Skip if entry is neither a directory not a valid volume name.
    			continue
    		}
    		volsInfo = append(volsInfo, VolInfo{
    			Name: pathutil.Clean(entry),
    		})
    	}
    	return volsInfo, nil
    }
    
    // StatVol - get volume info.
    func (s *xlStorage) StatVol(ctx context.Context, volume string) (vol VolInfo, err error) {
    	// Verify if volume is valid and it exists.
    	volumeDir, err := s.getVolDir(volume)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  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/object-api-listobjects_test.go

    		// Testing for negative value of maxKey, this should set maxKeys to listObjectsLimit (19).
    		{"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true},
    		// Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (20).
    		{"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], nil, true},
    		// Testing for trancated value (21-24).
    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)
  7. cmd/iam-store.go

    	if group == "" {
    		return updatedAt, errInvalidArgument
    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	// Validate that all members exist.
    	for _, member := range members {
    		u, ok := cache.iamUsersMap[member]
    		if !ok {
    			return updatedAt, errNoSuchUser
    		}
    		cr := u.Credentials
    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)
  8. cmd/api-errors.go

    	},
    	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,
    	},
    	ErrInvalidRange: {
    		Code:           "InvalidRange",
    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)
  9. cmd/sts-handlers_test.go

    			}, nil
    		},
    		RoleARN: roleARN,
    	}
    
    	value, err := webID.Retrieve()
    	if err != nil {
    		c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    	}
    	// fmt.Printf("value: %#v\n", value)
    
    	minioClient, err := minio.New(s.endpoint, &minio.Options{
    		Creds:     cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure:    s.secure,
    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)
  10. cmd/erasure-object.go

    				setIndex:  er.setIndex,
    				poolIndex: er.poolIndex,
    			})
    		}
    
    		return
    	}()
    
    	validResp := 0
    	totalResp := 0
    
    	// minDisks value is only to reduce the number of calls
    	// to the disks; this value is not accurate because we do
    	// not know the storage class of the object yet
    	minDisks := 0
    	if p := globalStorageClass.GetParityForSC(""); p > -1 {
    		minDisks = er.setDriveCount - p
    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)
Back to top