Nate Rosenblum
ec347f96fd
Fix OS X build
...
- Explicitly cast statfs_t members to int64 (this structure is
platform-specific)
- Add pass-through New methods to Darwin SHA package
- Move scsi pkg types to common translation unit (package was empty)
- Add stub implementations mount/disk ops for OS X
10 years ago
Harshavardhana
7fa514351c
Rename definitions to log.go, add valid prefixes
10 years ago
Harshavardhana
d461fa5ab1
Add mountinfo functions for detecting mount disks, and other rpc changes
10 years ago
Harshavardhana
11b893804c
Moving os.MkdirAll() inside atomic for auto parent directory creates
10 years ago
Harshavardhana
52cd23ad9f
Move atomic file writes into its own package, use them inside quick and disk packages
10 years ago
Harshavardhana
75788c7a1d
Fix go installation check on amazon instance
10 years ago
Harshavardhana
e66a84242a
Add disk detection for Linux, add new RPC service GetDiskInfoService(), remove dummy HelloService()
10 years ago
Harshavardhana
aa67a19e99
Implement new CPU detection using cpuid, cpuidex plan9 instructions from klauspost/cpuid project, remove C code
10 years ago
Harshavardhana
30fc14e703
Restructure codebase move crypto, checksum to top-level, move ``split`` into donut, move crypto/keys into api/auth
10 years ago
Harshavardhana
3498872467
Add sha256 and sha512 windows compatibility layer
10 years ago
Harshavardhana
77d35b87d4
Fix a bug on windows regarding blockSSE3 calculation
10 years ago
Harshavardhana
f1410731db
Add windows code for sha1 and crc32c
10 years ago
Harshavardhana
e11f9110b6
add missing validate access keys after being extracted from AuthHeader
10 years ago
Harshavardhana
8d06504068
Change all minio-io path to minio
10 years ago
Frederick F. Kautz IV
289c859675
Adding software fallback
10 years ago
Frederick F. Kautz IV
e71cc8d833
Adding Debug logger to log package
10 years ago
Frederick F. Kautz IV
be4bc44b4d
Replacing gopkg.in/check.v1 with minio-io/check
10 years ago
Frederick F. Kautz IV
d5db891094
Simplfying code in api, round 1. Decoupling functions which both write headers and data.
10 years ago
Frederick F. Kautz IV
b165efdfcb
Refactoring pkg/utils/log, copying from golang's log and modifying
10 years ago
Harshavardhana
2cbd15b690
Golint fixes
10 years ago
Harshavardhana
914962bd93
Implement log package as drop-in replacement for handling Debug log-level
10 years ago
Harshavardhana
a8056c4c12
Return error during JoinFiles back to the caller for inspection
10 years ago
Harshavardhana
2b0b5f014a
Update license header Mini should be Minimalist really
10 years ago
Harshavardhana
a1baed3bbc
Refactor to move config handling into api/
10 years ago
Harshavardhana
7ce3ab3193
Restructure minio api, move signature checks from utils to Api.
10 years ago
Harshavardhana
765fde13f1
Remove x509 package, janitor continuation monad
10 years ago
Harshavardhana
596eeb097e
Move from fmt.Errorf to errors.New
...
In many cases fmt.Errorf is good enough, but since
error is an interface, you can use arbitrary data
structures as error values, to allow callers to
inspect the details of the error.
10 years ago
Harshavardhana
4c86e594d6
Add crc32c license headers Golang and Minio
10 years ago
Harshavardhana
b952855779
Add strict checks with vet, golint and gofmt
10 years ago
Harshavardhana
01e98eb326
Make BucketPolicy strictly typed
10 years ago
Harshavardhana
bf5a314144
clang lacks proper gas support, implement stubs for sha256,sha512 for darwin.
...
REF: http://llvm.org/bugs/show_bug.cgi?id=18918
10 years ago
Harshavardhana
1637138f86
If incoming request IP bucketfromHostname needs to be empty string
10 years ago
Harshavardhana
a18bfa2fda
Rename test-data to testdata, go will ignore it automatically
10 years ago
Harshavardhana
856b7680df
Now able to use crc32c and sha1 on Darwin, with OSX specific code
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
c00d1461b9
Golint cleanup from top level
10 years ago
Harshavardhana
256faddab5
Golint cleanup utils/crypto/sha*,cpu,md5
10 years ago
Harshavardhana
66e31445ff
Golint cleanup pkg/utils/crypto/keys
10 years ago
Harshavardhana
b33e2d2f9b
Golint cleanup pkg/utils/config
10 years ago
Harshavardhana
861f13d5bd
Golint cleanup pkg/utils/cpu
10 years ago
Harshavardhana
c36450a83a
Golint cleanup pkg/utils/policy
10 years ago
Harshavardhana
3e321b6631
Golint cleanup pkg/utils/split
10 years ago
Harshavardhana
0ebaac3594
Janitor duty v2
10 years ago
Harshavardhana
3a3c8645fc
Update comments across the codebase
10 years ago
Harshavardhana
137584d658
Add comments
10 years ago
Frederick F. Kautz IV
32f8c17174
Renaming AppendUstr to AppendUniqStr
10 years ago
Frederick F. Kautz IV
de6131cc7c
Renaming AppendUInt to AppendUniqInt
10 years ago
Anand Babu (AB) Periasamy
d9c9634138
removed custom Assert
10 years ago
Anand Babu (AB) Periasamy
177121868b
removed HomeDir
10 years ago
Harshavardhana
eb9a4a83ac
Move AppendUstr(), AppendUint() into helpers
10 years ago