Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for one (0.15 sec)

  1. cmd/api-errors.go

    	ErrInvalidPart: {
    		Code:           "InvalidPart",
    		Description:    "One or more of the specified parts could not be found.  The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingPart: {
    		Code:           "InvalidRequest",
    		Description:    "You must specify at least one part",
    		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/erasure-object.go

    			}(i, disk)
    		}
    
    		wg.Wait()
    		xioutil.SafeClose(done)
    
    		fi, ok := <-mrfCheck
    		if !ok {
    			return
    		}
    
    		if fi.Deleted {
    			return
    		}
    
    		// if one of the disk is offline, return right here no need
    		// to attempt a heal on the object.
    		if countErrs(errs, errDiskNotFound) > 0 {
    			return
    		}
    
    		var missingBlocks int
    		for i := range errs {
    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)
  3. cmd/erasure-server-pool.go

    // If the object does not exist ObjectNotFound error is returned.
    // If any other error is found, it is returned.
    // The check is skipped if there is only one pool, and 0, nil is always returned in that case.
    func (z *erasureServerPools) getPoolIdxExistingNoLock(ctx context.Context, bucket, object string) (idx int, err error) {
    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)
  4. cmd/sts-handlers_test.go

    	ldap "github.com/minio/pkg/v2/ldap"
    	"golang.org/x/exp/slices"
    )
    
    func runAllIAMSTSTests(suite *TestSuiteIAM, c *check) {
    	suite.SetUpSuite(c)
    	// The STS for root test needs to be the first one after setup.
    	suite.TestSTSForRoot(c)
    	suite.TestSTS(c)
    	suite.TestSTSWithDenyDeleteVersion(c)
    	suite.TestSTSWithTags(c)
    	suite.TestSTSServiceAccountsWithUsername(c)
    	suite.TestSTSWithGroupPolicy(c)
    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)
  5. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    }
    
    // SetTempUser - set temporary user credentials, these credentials have an
    // expiry. The permissions for these STS credentials is determined in one of the
    // following ways:
    //
    // - RoleARN - if a role-arn is specified in the request, the STS credential's
    // policy is the role's policy.
    //
    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-multipart_test.go

    		// `KeyMarker` is set. It contains part of the objectname as `KeyPrefix`.
    		// `MaxUploads` is set equal to the number of meta data entries in the result, the result contains only one entry.
    		// Expecting the result to contain one MultipartInfo entry and IsTruncated to be false.
    		{
    			MaxUploads:  1,
    			KeyMarker:   "min",
    			IsTruncated: false,
    			Uploads: []MultipartInfo{
    				{
    					Object:   objectNames[0],
    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. internal/s3select/select_test.go

    		},
    	}
    
    	jsonData := []byte(`{"three":true,"two":"foo","one":-1}
    {"three":false,"two":"bar","one":null}
    {"three":true,"two":"baz","one":2.5}
    `)
    
    	for i, testCase := range testTable {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			s3Select, err := NewS3Select(bytes.NewReader(testCase.requestXML))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    }
    
    // nextSuffix - provides a new unique suffix every time the function is called.
    func nextSuffix() string {
    	randmu.Lock()
    	r := randN
    	// Initial seed required, generate one.
    	if r == 0 {
    		r = reseed()
    	}
    	// constants from Numerical Recipes
    	r = r*1664525 + 1013904223
    	randN = r
    	randmu.Unlock()
    	return strconv.Itoa(int(1e9 + r%1e9))[1:]
    }
    
    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)
  9. cmd/xl-storage.go

    		return nil, osErrToFileErr(err)
    	}
    
    	w, err := OpenFile(filePath, mode, 0o666)
    	if err != nil {
    		// File path cannot be verified since one of the parents is a file.
    		switch {
    		case isSysErrIsDir(err):
    			return nil, errIsNotRegular
    		case osIsPermission(err):
    			return nil, errFileAccessDenied
    		case isSysErrNotDir(err):
    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)
  10. cmd/iam-store.go

    	// values loaded from disk are not stale. They might be stale if the
    	// cached.updatedAt is more recent than the refresh cycle began.
    	if cache.updatedAt.Before(loadedAt) {
    		// No one has updated anything since the config was loaded,
    		// so we just replace whatever is on the disk into memory.
    		cache.iamGroupPolicyMap = newCache.iamGroupPolicyMap
    		cache.iamGroupsMap = newCache.iamGroupsMap
    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