vendor: update all dependencies to latest versions
This commit is contained in:
+12
-9
@@ -20,6 +20,7 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
"net/http"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/yunify/qingstor-sdk-go/config"
|
||||
@@ -31,6 +32,7 @@ import (
|
||||
var _ fmt.State
|
||||
var _ io.Reader
|
||||
var _ http.Header
|
||||
var _ strings.Reader
|
||||
var _ time.Time
|
||||
var _ config.Config
|
||||
|
||||
@@ -42,6 +44,7 @@ type Bucket struct {
|
||||
|
||||
// Bucket initializes a new bucket.
|
||||
func (s *Service) Bucket(bucketName string, zone string) (*Bucket, error) {
|
||||
zone = strings.ToLower(zone)
|
||||
properties := &Properties{
|
||||
BucketName: &bucketName,
|
||||
Zone: &zone,
|
||||
@@ -743,15 +746,15 @@ func (s *Bucket) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (
|
||||
// ListMultipartUploadsInput presents input for ListMultipartUploads.
|
||||
type ListMultipartUploadsInput struct {
|
||||
// Put all keys that share a common prefix into a list
|
||||
Delimiter *string `json:"delimiter,omitempty" name:"delimiter" location:"params"`
|
||||
Delimiter *string `json:"delimiter,omitempty" name:"delimiter" location:"query"`
|
||||
// Limit results returned from the first key after key_marker sorted by alphabetical order
|
||||
KeyMarker *string `json:"key_marker,omitempty" name:"key_marker" location:"params"`
|
||||
KeyMarker *string `json:"key_marker,omitempty" name:"key_marker" location:"query"`
|
||||
// Results count limit
|
||||
Limit *int `json:"limit,omitempty" name:"limit" location:"params"`
|
||||
Limit *int `json:"limit,omitempty" name:"limit" location:"query"`
|
||||
// Limits results to keys that begin with the prefix
|
||||
Prefix *string `json:"prefix,omitempty" name:"prefix" location:"params"`
|
||||
Prefix *string `json:"prefix,omitempty" name:"prefix" location:"query"`
|
||||
// Limit results returned from the first uploading segment after upload_id_marker sorted by the time of upload_id
|
||||
UploadIDMarker *string `json:"upload_id_marker,omitempty" name:"upload_id_marker" location:"params"`
|
||||
UploadIDMarker *string `json:"upload_id_marker,omitempty" name:"upload_id_marker" location:"query"`
|
||||
}
|
||||
|
||||
// Validate validates the input for ListMultipartUploads.
|
||||
@@ -838,13 +841,13 @@ func (s *Bucket) ListObjectsRequest(input *ListObjectsInput) (*request.Request,
|
||||
// ListObjectsInput presents input for ListObjects.
|
||||
type ListObjectsInput struct {
|
||||
// Put all keys that share a common prefix into a list
|
||||
Delimiter *string `json:"delimiter,omitempty" name:"delimiter" location:"params"`
|
||||
Delimiter *string `json:"delimiter,omitempty" name:"delimiter" location:"query"`
|
||||
// Results count limit
|
||||
Limit *int `json:"limit,omitempty" name:"limit" location:"params"`
|
||||
Limit *int `json:"limit,omitempty" name:"limit" location:"query"`
|
||||
// Limit results to keys that start at this marker
|
||||
Marker *string `json:"marker,omitempty" name:"marker" location:"params"`
|
||||
Marker *string `json:"marker,omitempty" name:"marker" location:"query"`
|
||||
// Limits results to keys that begin with the prefix
|
||||
Prefix *string `json:"prefix,omitempty" name:"prefix" location:"params"`
|
||||
Prefix *string `json:"prefix,omitempty" name:"prefix" location:"query"`
|
||||
}
|
||||
|
||||
// Validate validates the input for ListObjects.
|
||||
|
||||
Reference in New Issue
Block a user