Skip to content

Commit

Permalink
gcs: Add missing AnonListObjectsV2
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Jun 22, 2017
1 parent b90cefd commit a3b0853
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/gateway-gcs-anonymous.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ func (l *gcsGateway) AnonListObjects(bucket string, prefix string, marker string
return fromMinioClientListBucketResult(bucket, result), nil
}

// AnonListObjectsV2 - List objects anonymously v2
func (l *gcsGateway) AnonListObjectsV2(bucket, prefix, continuationToken string, fetchOwner bool, delimiter string, maxKeys int) (loi ListObjectsV2Info, e error) {
return loi, NotImplemented{}
}

// AnonGetBucketInfo - Get bucket metadata anonymously.
func (l *gcsGateway) AnonGetBucketInfo(bucket string) (bucketInfo BucketInfo, err error) {
resp, err := http.Head(toGCSPublicURL(bucket, ""))
Expand Down

0 comments on commit a3b0853

Please sign in to comment.