Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for greeting (0.32 sec)

  1. cmd/sts-handlers_test.go

    	userAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure: s.secure,
    	})
    	if err != nil {
    		c.Fatalf("Err creating user admin client: %v", err)
    	}
    	userAdmClient.SetCustomTransport(s.TestSuiteCommon.client.Transport)
    
    	// Create svc acc
    	cr := c.mustCreateSvcAccount(ctx, value.AccessKeyID, userAdmClient)
    
    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)
  2. cmd/erasure-server-pool.go

    	if !isMinioMetaBucketName(bucket) {
    		if err := s3utils.CheckValidBucketNameStrict(bucket); err != nil {
    			return BucketNameInvalid{Bucket: bucket}
    		}
    
    		if !opts.NoLock {
    			// Lock the bucket name before creating.
    			lk := z.NewNSLock(minioMetaTmpBucket, bucket+".lck")
    			lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    			if err != nil {
    				return err
    			}
    
    			ctx = lkctx.Context()
    			defer lk.Unlock(lkctx)
    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)
  3. cmd/iam.go

    	// the plugin and they need not exist.
    	//
    	// If some mapped policies do not exist, we print some error
    	// messages but continue any way - they can be fixed in the
    	// running server by creating the policies after start up.
    	for arn, rolePolicies := range m {
    		specifiedPoliciesSet := newMappedPolicy(rolePolicies).policySet()
    		validPolicies, _ := sys.store.FilterPolicies(rolePolicies, "")
    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)
  4. cmd/encryption-v1_test.go

    		}
    		if err == nil {
    			if etag != test.ETag {
    				t.Fatalf("Test %d: ETag mismatch: got %s - want %s", i, etag, test.ETag)
    			}
    		}
    	}
    }
    
    // Tests for issue reproduced when getting the right encrypted
    // offset of the object.
    func TestGetDecryptedRange_Issue50(t *testing.T) {
    	rs, err := parseRequestRangeSpec("bytes=594870256-594870263")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    	if srcInfo.versionOnly {
    		versionID = dstOpts.VersionID
    		// preserve destination versionId if specified.
    		if versionID == "" {
    			versionID = mustGetUUID()
    			fi.IsLatest = true // we are creating a new version so this is latest.
    		}
    	}
    
    	modTime = UTCNow() // We only preserve modTime if dstOpts.MTime is true.
    	// in all other cases mtime is latest.
    
    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)
  6. cmd/server_test.go

    	// execute the HTTP request.
    	// the content is expected to have the content of previous disk.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// creating HTTP request to fetch the previously uploaded object.
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, objectName2),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		srcInfo.metadataOnly = true
    		srcInfo.keyRotation = true
    	} else {
    		if isSourceEncrypted || isTargetEncrypted {
    			// We are not only copying just metadata instead
    			// we are creating a new object at this point, even
    			// if source and destination are same objects.
    			if !srcInfo.keyRotation {
    				srcInfo.metadataOnly = false
    			}
    		}
    
    		// Calculate the size of the target object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    		// Test case - 8.
    		// "X-Amz-Content-Sha256" has a proper value cannot skip.
    		{"X-Amz-Content-Sha256", "somevalue", "", "", false},
    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    		// Only the headers are relevant for this particular test.
    		inputReq, err := http.NewRequest(http.MethodGet, "http://example.com", nil)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    	queryValue.Set("policy", "")
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    // return URL for creating the bucket.
    func getMakeBucketURL(endPoint, bucketName string) string {
    	return makeTestTargetURL(endPoint, bucketName, "", url.Values{})
    }
    
    // return URL for creating the bucket.
    func getBucketVersioningConfigURL(endPoint, bucketName string) string {
    	vals := make(url.Values)
    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/object-api-utils.go

    			// We have an inode count, but not enough inodes.
    			return false, nil
    		}
    		if int64(disk.Free) <= perDisk {
    			return false, nil
    		}
    	}
    
    	// Make sure we can fit "size" on to the disk without getting above the diskFillFraction
    	if available < uint64(size) {
    		return false, nil
    	}
    
    	// How much will be left after adding the file.
    	available -= uint64(size)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top