Package changes to minio

This commit is contained in:
Harshavardhana
2015-06-01 22:20:16 -07:00
parent b954d437aa
commit f524e491c2
16 changed files with 40 additions and 24 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
},
{
"ImportPath": "github.com/minio/minio-go",
"Rev": "4b4fca565223d9486ff641c7546cf5493b9340ba"
"Rev": "713fc2f8d5f6c608f8ef465d84bc6805a3193f06"
},
{
"ImportPath": "github.com/minio/minio/pkg/iodine",
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package client
package minio
// BucketACL - bucket level access control
type BucketACL string
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package client
package minio
import (
"errors"
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package client
package minio
// bucketHandler is an http.Handler that verifies bucket responses and validates incoming requests
import (
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package client
package minio
import (
"bytes"
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package client
package minio
import (
"encoding/xml"
@@ -23,17 +23,17 @@ import (
"log"
"os"
play "github.com/minio/minio-go"
"github.com/minio/minio-go"
)
func main() {
config := play.Config{
config := minio.Config{
AccessKeyID: "",
SecretAccessKey: "",
Endpoint: "https://play.minio.io:9000",
}
client := play.New(&config)
client := minio.New(&config)
reader, stat, err := client.GetObject("mybucket", "myobject", 0, 0)
if err != nil {
log.Fatalln(err)
@@ -21,17 +21,17 @@ package main
import (
"log"
play "github.com/minio/minio-go"
"github.com/minio/minio-go"
)
func main() {
config := play.Config{
config := minio.Config{
AccessKeyID: "",
SecretAccessKey: "",
Endpoint: "https://play.minio.io:9000",
}
client := play.New(&config)
client := minio.New(&config)
for message := range client.ListBuckets() {
if message.Err != nil {
@@ -21,17 +21,17 @@ package main
import (
"log"
play "github.com/minio/minio-go"
"github.com/minio/minio-go"
)
func main() {
config := play.Config{
config := minio.Config{
AccessKeyID: "",
SecretAccessKey: "",
Endpoint: "https://play.minio.io:9000",
}
client := play.New(&config)
client := minio.New(&config)
for message := range client.ListObjects("mybucket", "", true) {
if message.Err != nil {
@@ -22,17 +22,17 @@ import (
"log"
"os"
play "github.com/minio/minio-go"
"github.com/minio/minio-go"
)
func main() {
config := play.Config{
config := minio.Config{
AccessKeyID: "",
SecretAccessKey: "",
Endpoint: "https://play.minio.io:9000",
}
client := play.New(&config)
client := minio.New(&config)
object, err := os.Open("testfile")
if err != nil {
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package client
package minio
import (
"bytes"
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package client
package minio
import (
"crypto/hmac"
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package client
package minio
import "time"
+17 -1
View File
@@ -1,4 +1,20 @@
package client
/*
* Minimal object storage library (C) 2015 Minio, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package minio
import (
"bytes"
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package client
package minio
import (
"bytes"
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package client
package minio
import (
"bytes"