Harshavardhana
58082cd8dc
Add gocyclo into source build, choosing cyclomatic complexity tolerance of 15 and below
10 years ago
Harshavardhana
0474439b43
Code restructuring, assigning proper subsystems to each
...
- Drivers contain
* donut/*
* file/*
* memory/*
- Storage format contains
* donut/*
- GetObject() --> renamed to GetObjectReader()
- Deleted stale objectwriter.go, renamed donutwriter.go to object_writer.go
Simplifying, and documenting codebase further
10 years ago
Harshavardhana
74b3d092f2
Now MinioAPI handles Content-MD5 set during putObject()
...
- This change also facilitates proper error response
in case of md5 mismatch or corruption
- TODO a test function needs to be implemented
10 years ago
Frederick F. Kautz IV
583c32c774
Metadata now stores hex md5, not base64. Minio API now converts md5 hex to base64.
10 years ago
Harshavardhana
15f68972a5
Some necessary cleanup
...
- Rename 'fs' as 'file' for brevity
- Rename 'inmemory' as 'memory' for brevity
- Change everywhere else
10 years ago
Frederick F. Kautz IV
348c4d9a88
Removing old donut format
10 years ago
Frederick F. Kautz IV
2f4b92eb8d
Minor refactor to prepare for file version of donut
10 years ago
Harshavardhana
67888cbaa9
Restructure and use human readable names
10 years ago
Harshavardhana
a42a48a455
Get object range request added
10 years ago
Frederick F. Kautz IV
24d5018037
Rename StoreBucket to CreateBucket
10 years ago
Harshavardhana
01e98eb326
Make BucketPolicy strictly typed
10 years ago
Harshavardhana
8866b2cc5f
Add delimiter and prefix tests, also add inmemory to support delimiters
10 years ago
Harshavardhana
f8e2b75e23
Get object metadata needs to filter based of Prefix when delimiter is specified
10 years ago
Harshavardhana
e5af8a3f5d
Further fixes -
...
- All test files have been renamed to their respective <package>_test name,
this is done in accordance with
- https://github.com/golang/go/wiki/CodeReviewComments#import-dot
imports are largely used in testing, but to avoid namespace collision
and circular dependencies
- Never use _* in package names other than "_test" change fragment_v1 to expose
fragment just like 'gopkg.in/check.v1'
10 years ago
Harshavardhana
540723d7ae
Golint cleanup pkg/api
10 years ago
Harshavardhana
76e601b26b
Golint cleanup pkg/storage
10 years ago
Harshavardhana
137584d658
Add comments
10 years ago
Harshavardhana
53669a0854
Implement delimiter, path prefix
10 years ago
Harshavardhana
fab954f13f
Run govet and fix
10 years ago
Harshavardhana
eeae64935e
Implement bucket policy handler and with galore of cleanup
10 years ago
Harshavardhana
966cdd4f05
Reply in xml from validate and ignore handlers
10 years ago
Harshavardhana
ac4f07906c
Implement S3 Style ErrorCodes and Response
...
This patchset also brings in lot of cleanup in terms of minioapi codebase
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
a092b44cf1
Adding test to ensure list objects returns an error for non existant buckets to match previous bug fix and fix for inmemory
10 years ago
Frederick F. Kautz IV
54026dbc78
Setting order when retrieving buckets
10 years ago
Frederick F. Kautz IV
7ca87e06aa
Adding list bucket tests and fixing inmemory behavior.
10 years ago
Frederick F. Kautz IV
044dc9af80
Adding more tests, including ordering of objects in prefix
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
Frederick F. Kautz IV
0da193e6d6
Adding paging count tests
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
079cdcd909
Making in memory storage data type private
10 years ago
Frederick F. Kautz IV
8efd23b755
Migrating from unix ts to time.Time
10 years ago
Frederick F. Kautz IV
856781b2a4
Simplifying bucket name convention and making convention public
10 years ago
Frederick F. Kautz IV
ae0b88f319
Simplfying bucket naming convention
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