fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.214 (#15815)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
pull/15806/head
renovate[bot] 4 months ago committed by GitHub
parent fa6ef0a2ca
commit 9e3250f879
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      go.mod
  2. 4
      go.sum
  3. 2
      vendor/github.com/baidubce/bce-sdk-go/bce/config.go
  4. 15
      vendor/github.com/baidubce/bce-sdk-go/services/bos/api/model.go
  5. 19
      vendor/github.com/baidubce/bce-sdk-go/services/sts/client.go
  6. 2
      vendor/modules.txt

@ -21,7 +21,7 @@ require (
github.com/alicebob/miniredis/v2 v2.34.0
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible
github.com/aws/aws-sdk-go v1.55.6
github.com/baidubce/bce-sdk-go v0.9.213
github.com/baidubce/bce-sdk-go v0.9.214
github.com/bmatcuk/doublestar/v4 v4.8.0
github.com/c2h5oh/datasize v0.0.0-20231215233829-aa82cc1e6500
github.com/cespare/xxhash/v2 v2.3.0

@ -224,8 +224,8 @@ github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro=
github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg=
github.com/axiomhq/hyperloglog v0.2.3 h1:2ZGwz3FGcx77e9/aNjqJijsGhH6RZOlglzxnDpVBCQY=
github.com/axiomhq/hyperloglog v0.2.3/go.mod h1:DLUK9yIzpU5B6YFLjxTIcbHu1g4Y1WQb1m5RH3radaM=
github.com/baidubce/bce-sdk-go v0.9.213 h1:4IxEiHvtMj5tJ9BCyre87bk7eAY/0TpzB4RVy/eSnos=
github.com/baidubce/bce-sdk-go v0.9.213/go.mod h1:zbYJMQwE4IZuyrJiFO8tO8NbtYiKTFTbwh4eIsqjVdg=
github.com/baidubce/bce-sdk-go v0.9.214 h1:bsVfwMh/emI6vreEveUEq9xAr6xtHLycTAGy2K7kvKM=
github.com/baidubce/bce-sdk-go v0.9.214/go.mod h1:zbYJMQwE4IZuyrJiFO8tO8NbtYiKTFTbwh4eIsqjVdg=
github.com/bboreham/go-loser v0.0.0-20230920113527-fcc2c21820a3 h1:6df1vn4bBlDDo4tARvBm7l6KA9iVMnE3NWizDeWSrps=
github.com/bboreham/go-loser v0.0.0-20230920113527-fcc2c21820a3/go.mod h1:CIWtjkly68+yqLPbvwwR/fjNJA/idrtULjZWh2v1ys0=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=

@ -26,7 +26,7 @@ import (
// Constants and default values for the package bce
const (
SDK_VERSION = "0.9.213"
SDK_VERSION = "0.9.214"
URI_PREFIX = "/" // now support uri without prefix "v1" so just set root path
DEFAULT_DOMAIN = "baidubce.com"
DEFAULT_PROTOCOL = "http"

@ -59,8 +59,8 @@ type PrefixType struct {
}
type PutBucketArgs struct {
TagList string `json:"-"`
EnableMultiAz bool `json:"enableMultiAz"`
TagList string `json:"-"`
EnableMultiAz bool `json:"enableMultiAz"`
}
// ListObjectsResult defines the result structure of ListObjects api.
@ -98,6 +98,7 @@ type AclRefererType struct {
type AclCondType struct {
IpAddress []string `json:"ipAddress"`
Referer AclRefererType `json:"referer"`
VpcId []string `json:"vpcId"`
}
// GrantType defines the grant struct in ACL setting
@ -285,8 +286,8 @@ type CopyObjectArgs struct {
}
type MultiCopyObjectArgs struct {
StorageClass string
ObjectTagging string
StorageClass string
ObjectTagging string
TaggingDirective string
}
@ -396,8 +397,8 @@ type EndMessage struct {
// FetchObjectArgs defines the optional arguments structure for the fetch object api.
type FetchObjectArgs struct {
FetchMode string
StorageClass string
FetchMode string
StorageClass string
FetchCallBackAddress string
}
@ -683,4 +684,4 @@ type BosShareResBody struct {
ShareUrl string `json:"shareUrl"`
LinkExpireTime int64 `json:"linkExpireTime"`
ShareCode string `json:"shareCode"`
}
}

@ -23,7 +23,6 @@ import (
"github.com/baidubce/bce-sdk-go/auth"
"github.com/baidubce/bce-sdk-go/bce"
"github.com/baidubce/bce-sdk-go/services/sts/api"
"github.com/baidubce/bce-sdk-go/util"
)
const DEFAULT_SERVICE_DOMAIN = "sts." + bce.DEFAULT_REGION + "." + bce.DEFAULT_DOMAIN
@ -57,16 +56,16 @@ func NewStsClient(ak, sk, endpoint string) (*Client, error) {
endpoint = DEFAULT_SERVICE_DOMAIN
}
defaultSignOptions := &auth.SignOptions{
HeadersToSign: auth.DEFAULT_HEADERS_TO_SIGN,
Timestamp: util.NowUTCSeconds(),
ExpireSeconds: auth.DEFAULT_EXPIRE_SECONDS}
HeadersToSign: auth.DEFAULT_HEADERS_TO_SIGN,
Timestamp: 0,
ExpireSeconds: auth.DEFAULT_EXPIRE_SECONDS}
defaultConf := &bce.BceClientConfiguration{
Endpoint: endpoint,
Region: bce.DEFAULT_REGION,
UserAgent: bce.DEFAULT_USER_AGENT,
Credentials: credentials,
SignOption: defaultSignOptions,
Retry: bce.DEFAULT_RETRY_POLICY,
Endpoint: endpoint,
Region: bce.DEFAULT_REGION,
UserAgent: bce.DEFAULT_USER_AGENT,
Credentials: credentials,
SignOption: defaultSignOptions,
Retry: bce.DEFAULT_RETRY_POLICY,
ConnectionTimeoutInMillis: bce.DEFAULT_CONNECTION_TIMEOUT_IN_MILLIS}
v1Signer := &auth.BceV1Signer{}

@ -490,7 +490,7 @@ github.com/aws/smithy-go/transport/http/internal/io
# github.com/axiomhq/hyperloglog v0.2.3
## explicit; go 1.23
github.com/axiomhq/hyperloglog
# github.com/baidubce/bce-sdk-go v0.9.213
# github.com/baidubce/bce-sdk-go v0.9.214
## explicit; go 1.11
github.com/baidubce/bce-sdk-go/auth
github.com/baidubce/bce-sdk-go/bce

Loading…
Cancel
Save