Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustUpload (0.08 sec)

  1. cmd/admin-handlers-users_test.go

    		if err != nil {
    			c.Fatalf("upload did not succeed got %#v", err)
    		}
    		versions = append(versions, ui.VersionID)
    	}
    	return versions
    }
    
    func (c *check) mustUpload(ctx context.Context, client *minio.Client, bucket string) {
    	c.Helper()
    	_, err := client.PutObject(ctx, bucket, "some-object", bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	svcClient := s.getUserClient(c, cr.AccessKey, cr.SecretKey, "")
    
    	// 1. Check S3 access for service account ListObjects()
    	c.mustListObjects(ctx, svcClient, bucket)
    
    	// 2. Check S3 access for upload
    	c.mustUpload(ctx, svcClient, bucket)
    
    	// 3. Check S3 access for download
    	c.mustDownload(ctx, svcClient, bucket)
    }
    
    func (s *TestSuiteIAM) TestSTSWithDenyDeleteVersion(c *check) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top