- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for mustListBuckets (0.14 sec)
-
cmd/admin-handlers-users_test.go
c.Helper() res := client.ListObjects(ctx, bucket, minio.ListObjectsOptions{}) v, ok := <-res if ok && v.Err != nil { c.Fatalf("user was unable to list: %v", v.Err) } } func (c *check) mustListBuckets(ctx context.Context, client *minio.Client) { c.Helper() _, err := client.ListBuckets(ctx) if err != nil { c.Fatalf("user was unable to list buckets: %v", err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 47.3K bytes - Viewed (0) -
cmd/sts-handlers_test.go
} return minioClient } // user dillon's groups attribute is ["projecta", "projectb"] dillonClient := makeSTSClient("******@****.***", "dillon") // Validate client's permissions c.mustListBuckets(ctx, dillonClient) c.mustListObjects(ctx, dillonClient, "projecta") c.mustListObjects(ctx, dillonClient, "projectb") c.mustListObjects(ctx, dillonClient, "projectaorb")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (0)