Harshavardhana
3a3c8645fc
Update comments across the codebase
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
6ebb48b4ea
Add object name validation
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
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
49641e3410
Adding storage modifications for upcoming fs system
10 years ago
Frederick F. Kautz IV
2368e7c936
Adding error support to all commands in storage interface
10 years ago
Frederick F. Kautz IV
d37bbfec41
Adding IsTruncated to minioapi
10 years ago
Harshavardhana
357a81e879
Add bucket to be part of object struct, reply back with BucketNotFound
...
for erroneous Object Put requests.
Other minor cleanups, to follow
- https://github.com/golang/go/wiki/CodeReviewComments
10 years ago
Frederick F. Kautz IV
8d1c447aac
Adding HEAD verb to minioapi
10 years ago
Frederick F. Kautz IV
8efd23b755
Migrating from unix ts to time.Time
10 years ago
Frederick F. Kautz IV
53a8536984
Fixing regex
10 years ago
Frederick F. Kautz IV
856781b2a4
Simplifying bucket name convention and making convention public
10 years ago
Frederick F. Kautz IV
9ca1e37235
Adding etag to headers
10 years ago
Frederick F. Kautz IV
c23fa26830
Extracting storage api to interface
10 years ago
Harshavardhana
d44404dd81
Provide ETag with sha256Sum of input object data
10 years ago
Harshavardhana
5b67da7d96
Add PutBucket and ListBuckets service
10 years ago
Harshavardhana
e22ae2475a
Add license headers and other cleanup
10 years ago
Frederick F. Kautz IV
9260e6404a
Adding error when object exists
10 years ago
Frederick F. Kautz IV
cc4329fb12
List objects in a bucket.
10 years ago
Frederick F. Kautz IV
53190e1210
Initial work for xml list objects
10 years ago
Frederick F. Kautz IV
36268f07ea
Adding error handling to storage get call
10 years ago
Frederick F. Kautz IV
c791c7bca4
Store objects in memory map
10 years ago
Frederick F. Kautz IV
718794205f
wip
10 years ago
Frederick F. Kautz IV
c766f3617b
Populating http handler with test scaffolding
10 years ago
Frederick F. Kautz IV
d3d1c1afb3
Minor refactoring, moving http request logic from storage to server
10 years ago
Frederick F. Kautz IV
f356599e22
Adding initial web server and storage server module infrastructure
10 years ago
Frederick F. Kautz IV
f550e84cf4
Removing old server
...
Removing storage drivers
10 years ago
Harshavardhana
6b36b5c551
A full restructure
10 years ago
Frederick F. Kautz IV
5efc0d54f8
storage.ObjectStorage List() is now List(objectPath string)
10 years ago
Frederick F. Kautz IV
d7e5e0df4f
Removing unneeded comment from storage.ObjectStorage
10 years ago
Frederick F. Kautz IV
dd7cd11c9c
ObjectDescription is now more exact, only exposes necessary details.
10 years ago
Harshavardhana
0148237e22
Refactor checksum code, and add Objectname hashing per uploaded objects
...
Add placeholder sha256, sha512 implementations from Intel with AVX, AVX2
and SSE4.1 extensions - with some boilerplate Go code.
10 years ago
Harshavardhana
71c774f99b
Update documentation for crc32c, cpu
10 years ago
Harshavardhana
0a0e1111cd
Add list() object support for erasure and append storage drivers
...
- Reply back objects with their protectionlevel and md5sum
- // TODO hash value
- Calculate md5sum after "storeBlocks()", to make sure data is committed
10 years ago
Frederick F. Kautz IV
19da9760b3
ObjectStorage refactor to take io.Reader instead of []byte
10 years ago
Frederick F. Kautz IV
cae9b288b0
Adding List(path) to object storage definition and accompanying definition to fs
10 years ago
Harshavardhana
f6a5b61b00
Make get/put more robust
...
- init folder if not present already in 'get()' call
- put.go was referencing wrong args - fix it
- if no OBJECTNAME is specified during 'get' - grab a
list of files under "~/.minio"
- Provide new API GetList() for ObjectStorage struct
10 years ago
Frederick F. Kautz IV
0cf80e075e
Refactoring file storage driver to fsstorage
10 years ago
Frederick F. Kautz IV
03beef3afc
Moving gateway and storage driver to packages
10 years ago
Frederick F. Kautz IV
44b28166f5
Adding simple file storage driver for persistent storage
10 years ago
Frederick F. Kautz IV
fc6a2a45cb
Setting up initial cli options and http handlers
10 years ago