Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for valida (0.16 sec)

  1. 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)
  2. 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)
  3. cmd/sts-handlers_test.go

    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Validate that a bucket can be created
    	bucket2 := getRandomBucketName()
    	err = minioClient.MakeBucket(ctx, bucket2, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", 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)
  4. cmd/erasure-object.go

    			}
    		}
    		return ObjectInfo{}, toObjectErr(err, srcBucket, srcObject)
    	}
    
    	// List all online disks.
    	onlineDisks, modTime, etag := listOnlineDisks(storageDisks, metaArr, errs, readQuorum)
    
    	// Pick latest valid metadata.
    	fi, err := pickValidFileInfo(ctx, metaArr, modTime, etag, readQuorum)
    	if err != nil {
    		return oi, toObjectErr(err, srcBucket, srcObject)
    	}
    	if fi.Deleted {
    		if srcOpts.VersionID == "" {
    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/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)
  6. 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)
  7. 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)
  8. cmd/object-api-listobjects_test.go

    		{"---", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: "---"}, false},
    		{"ad", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: "ad"}, false},
    		// Valid bucket names, but they do not exist (6-8).
    		{"volatile-bucket-1", "", "", "", 1000, ListObjectsInfo{}, BucketNotFound{Bucket: "volatile-bucket-1"}, 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/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)
  10. cmd/test-utils_test.go

    	expiresStr := req.Header.Get("Expires")
    	if expiresStr == "" {
    		expiresStr = strconv.FormatInt(epochExpires, 10)
    		req.Header.Set("Expires", expiresStr)
    	}
    
    	// url.RawPath will be valid if path has any encoded characters, if not it will
    	// be empty - in which case we need to consider url.Path (bug in net/http?)
    	encodedResource := req.URL.RawPath
    	encodedQuery := req.URL.RawQuery
    	if encodedResource == "" {
    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)
Back to top