Harshavardhana
eb9a4a83ac
Move AppendUstr(), AppendUint() into helpers
10 years ago
Harshavardhana
0c2d58bc6d
Implement proper delimiter and prefix handling
...
With this change Minio server now responds with, delimited
'object names' in conjunction with prefix filtering
~~~
<ListBucketResult>
<Name>example-bucket</Name>
<Prefix></Prefix>
<Marker></Marker>
<MaxKeys>1000</MaxKeys>
<Delimiter>/</Delimiter>
<IsTruncated>false</IsTruncated>
<Contents>
<Key>sample.html</Key>
<LastModified>2011-02-26T01:56:20.000Z</LastModified>
<ETag>example-bucket#sample.html</ETag>
<Size>142863</Size>
<Owner>
<ID>minio</ID>
<DisplayName>minio</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
<CommonPrefixes>
<Prefix>photos/</Prefix>
</CommonPrefixes>
</ListBucketResult>
~~~
~~~
<ListBucketResult>
<Name>example-bucket</Name>
<Prefix>photos/2006/</Prefix>
<Marker></Marker>
<MaxKeys>1000</MaxKeys>
<Delimiter>/</Delimiter>
<IsTruncated>false</IsTruncated>
<CommonPrefixes>
<Prefix>photos/2006/feb/</Prefix>
</CommonPrefixes>
<CommonPrefixes>
<Prefix>photos/2006/jan/</Prefix>
</CommonPrefixes>
</ListBucketResult>
~~~
10 years ago
Harshavardhana
d5e5a3b3e6
Use validString
10 years ago
Harshavardhana
53669a0854
Implement delimiter, path prefix
10 years ago
Harshavardhana
51e80eaa6d
Add domain and subdomain support for MinioAPI
...
This change brings in domain and subdomain support
- ./minio --domain "yourminiodomain.com"
This change brings in a much needed feature by keeping
bucketnames as part of your 'DNS' name.
All your existing applications can be migrated off from s3 to
Minio without little to no modifications.
NOTE: Setting up DNS for your `buckets` is out of scope of this feature
10 years ago
Harshavardhana
a3e5121f7b
Make channels more aware of errors and shutdown on error - some cleanup
10 years ago
Harshavardhana
f04beab7c2
Skip policy files
10 years ago
Harshavardhana
eeae64935e
Implement bucket policy handler and with galore of cleanup
10 years ago
Harshavardhana
680848bdcb
Add license header
10 years ago
Frederick F. Kautz IV
288bc3fcc7
Adding content type to backend storage drivers
10 years ago
Frederick F. Kautz IV
7152712f34
Accessing dir as object should return ObjectNotFound
10 years ago
Harshavardhana
5d197dd063
Reply back errors properly
10 years ago
Harshavardhana
82baccb8bf
Prefix if empty skip it before IsValidBucket
10 years ago
Frederick F. Kautz IV
ca7b1a7fc6
Fix build
10 years ago
Harshavardhana
2ccecd3f32
Add list buckets for 'fs'
10 years ago
Frederick F. Kautz IV
5daa408e2c
Creating subdirectories in fs now works
10 years ago
Frederick F. Kautz IV
74ef65daac
Removing log from fs_test.go
10 years ago
Frederick F. Kautz IV
163a6c35db
Adding fs storage
10 years ago