Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustGetObject (0.23 sec)

  1. cmd/admin-handlers-users_test.go

    			"security": "public",
    			"virus":    "true",
    		},
    	})
    	if err != nil {
    		c.Fatalf("user was unable to upload the object: %v", err)
    	}
    }
    
    func (c *check) mustGetObject(ctx context.Context, client *minio.Client, bucket, object string) {
    	c.Helper()
    
    	r, err := client.GetObject(ctx, bucket, object, minio.GetObjectOptions{})
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	}
    
    	// confirm that the user is able to access the bucket
    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    	c.mustPutObjectWithTags(ctx, uClient, bucket, object)
    	c.mustGetObject(ctx, uClient, bucket, object)
    
    	assumeRole := cr.STSAssumeRole{
    		Client:      s.TestSuiteCommon.client,
    		STSEndpoint: s.endPoint,
    		Options: cr.STSAssumeRoleOptions{
    			AccessKey: accessKey,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
Back to top