Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustPutObjectWithTags (0.13 sec)

  1. cmd/admin-handlers-users_test.go

    	res := client.ListObjects(ctx, bucket, minio.ListObjectsOptions{})
    	v, ok := <-res
    	if !ok || v.Err == nil {
    		c.Fatalf("user was able to list unexpectedly! on %s", bucket)
    	}
    }
    
    func (c *check) mustPutObjectWithTags(ctx context.Context, client *minio.Client, bucket, object string) {
    	c.Helper()
    	_, err := client.PutObject(ctx, bucket, object, bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{
    		UserTags: map[string]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top