Skip to content

Commit

Permalink
minio -> StudioSol
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermehubner committed Jan 29, 2019
1 parent 5ca66c9 commit 6f61768
Show file tree
Hide file tree
Showing 73 changed files with 124 additions and 124 deletions.
66 changes: 33 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Minio Go Client SDK for Amazon S3 Compatible Cloud Storage [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io) [![Sourcegraph](https://sourcegraph.com/github.com/minio/minio-go/-/badge.svg)](https://sourcegraph.com/github.com/minio/minio-go?badge)
# Minio Go Client SDK for Amazon S3 Compatible Cloud Storage [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io) [![Sourcegraph](https://sourcegraph.com/github.com/StudioSol/minio-go/-/badge.svg)](https://sourcegraph.com/github.com/StudioSol/minio-go?badge)

The Minio Go Client SDK provides simple APIs to access any Amazon S3 compatible object storage.

Expand All @@ -20,7 +20,7 @@ This document assumes that you have a working [Go development environment](https

## Download from Github
```sh
go get -u github.com/minio/minio-go
go get -u github.com/StudioSol/minio-go
```

## Initialize Minio Client
Expand All @@ -38,7 +38,7 @@ Minio client requires the following four parameters specified to connect to an A
package main

import (
"github.com/minio/minio-go"
"github.com/StudioSol/minio-go"
"log"
)

Expand Down Expand Up @@ -67,7 +67,7 @@ We will use the Minio server running at [https://play.minio.io:9000](https://pla
package main

import (
"github.com/minio/minio-go"
"github.com/StudioSol/minio-go"
"log"
)

Expand Down Expand Up @@ -190,51 +190,51 @@ The full API Reference is available here.
#### Full Examples : Bucket Operations
* [makebucket.go](https://github.com/minio/minio-go/blob/master/examples/s3/makebucket.go)
* [listbuckets.go](https://github.com/minio/minio-go/blob/master/examples/s3/listbuckets.go)
* [bucketexists.go](https://github.com/minio/minio-go/blob/master/examples/s3/bucketexists.go)
* [removebucket.go](https://github.com/minio/minio-go/blob/master/examples/s3/removebucket.go)
* [listobjects.go](https://github.com/minio/minio-go/blob/master/examples/s3/listobjects.go)
* [listobjectsV2.go](https://github.com/minio/minio-go/blob/master/examples/s3/listobjectsV2.go)
* [listincompleteuploads.go](https://github.com/minio/minio-go/blob/master/examples/s3/listincompleteuploads.go)
* [makebucket.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/makebucket.go)
* [listbuckets.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/listbuckets.go)
* [bucketexists.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/bucketexists.go)
* [removebucket.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/removebucket.go)
* [listobjects.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/listobjects.go)
* [listobjectsV2.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/listobjectsV2.go)
* [listincompleteuploads.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/listincompleteuploads.go)
#### Full Examples : Bucket policy Operations
* [setbucketpolicy.go](https://github.com/minio/minio-go/blob/master/examples/s3/setbucketpolicy.go)
* [getbucketpolicy.go](https://github.com/minio/minio-go/blob/master/examples/s3/getbucketpolicy.go)
* [listbucketpolicies.go](https://github.com/minio/minio-go/blob/master/examples/s3/listbucketpolicies.go)
* [setbucketpolicy.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/setbucketpolicy.go)
* [getbucketpolicy.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/getbucketpolicy.go)
* [listbucketpolicies.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/listbucketpolicies.go)
#### Full Examples : Bucket notification Operations
* [setbucketnotification.go](https://github.com/minio/minio-go/blob/master/examples/s3/setbucketnotification.go)
* [getbucketnotification.go](https://github.com/minio/minio-go/blob/master/examples/s3/getbucketnotification.go)
* [removeallbucketnotification.go](https://github.com/minio/minio-go/blob/master/examples/s3/removeallbucketnotification.go)
* [listenbucketnotification.go](https://github.com/minio/minio-go/blob/master/examples/minio/listenbucketnotification.go) (Minio Extension)
* [setbucketnotification.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/setbucketnotification.go)
* [getbucketnotification.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/getbucketnotification.go)
* [removeallbucketnotification.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/removeallbucketnotification.go)
* [listenbucketnotification.go](https://github.com/StudioSol/minio-go/blob/master/examples/minio/listenbucketnotification.go) (Minio Extension)
#### Full Examples : File Object Operations
* [fputobject.go](https://github.com/minio/minio-go/blob/master/examples/s3/fputobject.go)
* [fgetobject.go](https://github.com/minio/minio-go/blob/master/examples/s3/fgetobject.go)
* [fputobject.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/fputobject.go)
* [fgetobject.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/fgetobject.go)
#### Full Examples : Object Operations
* [putobject.go](https://github.com/minio/minio-go/blob/master/examples/s3/putobject.go)
* [getobject.go](https://github.com/minio/minio-go/blob/master/examples/s3/getobject.go)
* [statobject.go](https://github.com/minio/minio-go/blob/master/examples/s3/statobject.go)
* [copyobject.go](https://github.com/minio/minio-go/blob/master/examples/s3/copyobject.go)
* [removeobject.go](https://github.com/minio/minio-go/blob/master/examples/s3/removeobject.go)
* [removeincompleteupload.go](https://github.com/minio/minio-go/blob/master/examples/s3/removeincompleteupload.go)
* [removeobjects.go](https://github.com/minio/minio-go/blob/master/examples/s3/removeobjects.go)
* [putobject.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/putobject.go)
* [getobject.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/getobject.go)
* [statobject.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/statobject.go)
* [copyobject.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/copyobject.go)
* [removeobject.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/removeobject.go)
* [removeincompleteupload.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/removeincompleteupload.go)
* [removeobjects.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/removeobjects.go)
#### Full Examples : Encrypted Object Operations
* [put-encrypted-object.go](https://github.com/minio/minio-go/blob/master/examples/s3/put-encrypted-object.go)
* [get-encrypted-object.go](https://github.com/minio/minio-go/blob/master/examples/s3/get-encrypted-object.go)
* [put-encrypted-object.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/put-encrypted-object.go)
* [get-encrypted-object.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/get-encrypted-object.go)
#### Full Examples : Presigned Operations
* [presignedgetobject.go](https://github.com/minio/minio-go/blob/master/examples/s3/presignedgetobject.go)
* [presignedputobject.go](https://github.com/minio/minio-go/blob/master/examples/s3/presignedputobject.go)
* [presignedpostpolicy.go](https://github.com/minio/minio-go/blob/master/examples/s3/presignedpostpolicy.go)
* [presignedgetobject.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/presignedgetobject.go)
* [presignedputobject.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/presignedputobject.go)
* [presignedpostpolicy.go](https://github.com/StudioSol/minio-go/blob/master/examples/s3/presignedpostpolicy.go)
## Explore Further
* [Complete Documentation](https://docs.minio.io)
Expand All @@ -243,7 +243,7 @@ The full API Reference is available here.
## Contribute
[Contributors Guide](https://github.com/minio/minio-go/blob/master/CONTRIBUTING.md)
[Contributors Guide](https://github.com/StudioSol/minio-go/blob/master/CONTRIBUTING.md)
[![Build Status](https://travis-ci.org/minio/minio-go.svg)](https://travis-ci.org/minio/minio-go)
[![Build status](https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=true)](https://ci.appveyor.com/project/harshavardhana/minio-go)
Expand Down
2 changes: 1 addition & 1 deletion api-compose-object.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"strings"
"time"

"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// SSEInfo - represents Server-Side-Encryption parameters specified by
Expand Down
4 changes: 2 additions & 2 deletions api-error-response.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type ErrorResponse struct {
//
// For example:
//
// import s3 "github.com/minio/minio-go"
// import s3 "github.com/StudioSol/minio-go"
// ...
// ...
// reader, stat, err := s3.GetObject(...)
Expand Down Expand Up @@ -90,7 +90,7 @@ func (e ErrorResponse) Error() string {
// Common string for errors to report issue location in unexpected
// cases.
const (
reportIssue = "Please report this issue at https://github.com/minio/minio-go/issues."
reportIssue = "Please report this issue at https://github.com/StudioSol/minio-go/issues."
)

// httpRespToErrorResponse returns a new encoded ErrorResponse
Expand Down
2 changes: 1 addition & 1 deletion api-error-response_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func TestHttpRespToErrorResponse(t *testing.T) {
// List of expected response.
// Used for asserting the actual response.
expectedErrResponse := []error{
genInvalidError("Response is empty. " + "Please report this issue at https://github.com/minio/minio-go/issues."),
genInvalidError("Response is empty. " + "Please report this issue at https://github.com/StudioSol/minio-go/issues."),
decodeXMLError(createAPIErrorResponse(APIErrors[0], "minio-bucket"), t),
genErrResponse(setCommonHeaders(&http.Response{}), "NoSuchBucket", "The specified bucket does not exist.", "minio-bucket", ""),
genErrResponse(setCommonHeaders(&http.Response{}), "NoSuchKey", "The specified key does not exist.", "minio-bucket", "Asia/"),
Expand Down
2 changes: 1 addition & 1 deletion api-get-object-file.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"os"
"path/filepath"

"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// FGetObject - download contents of an object to a local file.
Expand Down
4 changes: 2 additions & 2 deletions api-get-object.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"sync"
"time"

"github.com/minio/minio-go/pkg/encrypt"
"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/encrypt"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// GetEncryptedObject deciphers and streams data stored in the server after applying a specified encryption materials,
Expand Down
4 changes: 2 additions & 2 deletions api-get-policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"net/http"
"net/url"

"github.com/minio/minio-go/pkg/policy"
"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/policy"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// GetBucketPolicy - get bucket policy at a given path.
Expand Down
2 changes: 1 addition & 1 deletion api-list.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"net/url"
"strings"

"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// ListBuckets list all buckets owned by this authenticated user.
Expand Down
2 changes: 1 addition & 1 deletion api-notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"net/url"
"time"

"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// GetBucketNotification - get bucket notification at a given path.
Expand Down
4 changes: 2 additions & 2 deletions api-presigned.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"net/url"
"time"

"github.com/minio/minio-go/pkg/s3signer"
"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3signer"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// supportedGetReqParams - supported request parameters for GET presigned request.
Expand Down
4 changes: 2 additions & 2 deletions api-put-bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"net/http"
"net/url"

"github.com/minio/minio-go/pkg/policy"
"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/policy"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

/// Bucket operations
Expand Down
2 changes: 1 addition & 1 deletion api-put-object-common.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"math"
"os"

"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// Verify if reader is *os.File
Expand Down
2 changes: 1 addition & 1 deletion api-put-object-encrypted.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package minio
import (
"io"

"github.com/minio/minio-go/pkg/encrypt"
"github.com/StudioSol/minio-go/pkg/encrypt"
)

// PutEncryptedObject - Encrypt and store object.
Expand Down
2 changes: 1 addition & 1 deletion api-put-object-file.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"os"
"path/filepath"

"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// FPutObject - Create an object in a bucket, with contents from file at filePath.
Expand Down
2 changes: 1 addition & 1 deletion api-put-object-multipart.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"strconv"
"strings"

"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

func (c Client) putObjectMultipart(bucketName, objectName string, reader io.Reader, size int64,
Expand Down
2 changes: 1 addition & 1 deletion api-put-object-streaming.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"sort"
"strings"

"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// PutObjectStreaming using AWS streaming signature V4
Expand Down
4 changes: 2 additions & 2 deletions api-put-object.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"runtime"
"strings"

"github.com/minio/minio-go/pkg/credentials"
"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/credentials"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// toInt - converts go value to its integer representation based
Expand Down
2 changes: 1 addition & 1 deletion api-remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"net/http"
"net/url"

"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// RemoveBucket deletes the bucket name.
Expand Down
2 changes: 1 addition & 1 deletion api-stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"strings"
"time"

"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// BucketExists verify if bucket exists and you have permission to access it.
Expand Down
6 changes: 3 additions & 3 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ import (
"sync"
"time"

"github.com/minio/minio-go/pkg/credentials"
"github.com/minio/minio-go/pkg/s3signer"
"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/credentials"
"github.com/StudioSol/minio-go/pkg/s3signer"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// Client implements Amazon S3 compatible methods.
Expand Down
2 changes: 1 addition & 1 deletion api_functional_v2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"testing"
"time"

"github.com/minio/minio-go/pkg/policy"
"github.com/StudioSol/minio-go/pkg/policy"
)

// Tests bucket re-create errors.
Expand Down
4 changes: 2 additions & 2 deletions api_functional_v4_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
"testing"
"time"

"github.com/minio/minio-go/pkg/encrypt"
"github.com/minio/minio-go/pkg/policy"
"github.com/StudioSol/minio-go/pkg/encrypt"
"github.com/StudioSol/minio-go/pkg/policy"
)

const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
Expand Down
4 changes: 2 additions & 2 deletions api_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"strings"
"testing"

"github.com/minio/minio-go/pkg/credentials"
"github.com/minio/minio-go/pkg/policy"
"github.com/StudioSol/minio-go/pkg/credentials"
"github.com/StudioSol/minio-go/pkg/policy"
)

type customReader struct{}
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ install:
build_script:
- go vet ./...
- gofmt -s -l .
- golint -set_exit_status github.com/minio/minio-go...
- golint -set_exit_status github.com/StudioSol/minio-go...
- deadcode
- ineffassign .
- go test -short -v
Expand Down
6 changes: 3 additions & 3 deletions bucket-cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import (
"path"
"sync"

"github.com/minio/minio-go/pkg/credentials"
"github.com/minio/minio-go/pkg/s3signer"
"github.com/minio/minio-go/pkg/s3utils"
"github.com/StudioSol/minio-go/pkg/credentials"
"github.com/StudioSol/minio-go/pkg/s3signer"
"github.com/StudioSol/minio-go/pkg/s3utils"
)

// bucketLocationCache - Provides simple mechanism to hold bucket
Expand Down
4 changes: 2 additions & 2 deletions bucket-cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
"reflect"
"testing"

"github.com/minio/minio-go/pkg/credentials"
"github.com/minio/minio-go/pkg/s3signer"
"github.com/StudioSol/minio-go/pkg/credentials"
"github.com/StudioSol/minio-go/pkg/s3signer"
)

// Test validates `newBucketLocationCache`.
Expand Down
2 changes: 1 addition & 1 deletion core.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package minio
import (
"io"

"github.com/minio/minio-go/pkg/policy"
"github.com/StudioSol/minio-go/pkg/policy"
)

// Core - Inherits Client and adds new methods to expose the low level S3 APIs.
Expand Down
Loading

0 comments on commit 6f61768

Please sign in to comment.