Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidubce/bce-sdk-go
/ functions
Functions
8,554 in github.com/baidubce/bce-sdk-go
⨍
Functions
8,554
◇
Types & classes
4,811
Method
ReplaceSecurityGroups
ReplaceSecurityGroups - replace SecurityGroup to instances PARAMS: - args: http request body RETURNS: - error: nil if success otherwise the specific
services/ddc/v2/ddcrds.go:1368
Method
Request
(method, uri string, body interface{})
services/gaiadb/gaiadb.go:27
Method
RequestId
()
bce/response.go:52
Function
RequireRepairAuth
RequireRepairAuth
examples/cce/remedy/example_request_auth_instancegroup_remedy_task.go:12
Method
Reserve
Reserve is shorthand for ReserveN(time.Now(), 1).
rate/rate.go:207
Method
ResetPassword
ResetPassword - reset login password PARAMS: - instanceId: the specific instance ID - ResetPasswordArgs: the arguments to reset password RETURNS: -
services/eccr/api.go:336
Function
ResizeCsnBp
()
examples/csn/example_resize_csn_bp.go:10
Function
ResizeEip
()
examples/eip/example_eip_resize_eip.go:23
Function
ResizeEipBp
()
examples/eip/example_eipbp_resize_eipbp.go:23
Function
ResizeEipGroupBandWidth
()
examples/eip/example_eipgroup_resize_eipgroup_bandwidth.go:23
Function
ResizeIPv6Gateway
以下为示例代码,实际开发中请根据需要进行修改和补充
examples/vpc/ipv6gateway/example_resize_ipv6gateway.go:11
Function
ResizeLoadBalancer
()
examples/blb/example_resize_loadbalancer.go:8
Function
ResizePeerConn
()
examples/vpc/peerconn/example_resize_peer_conn.go:8
Method
ResizeRds
ResizeRds - resize an RDS with the specific parameters PARAMS: - instanceId: the specific instanceId - args: the arguments to resize an RDS RETURNS:
services/ddc/ddc.go:1707
Method
ResizeRds
ResizeRds - resize an RDS with the specific parameters PARAMS: - instanceId: the specific instanceId - args: the arguments to resize an RDS RETURNS:
services/ddc/v2/ddcrds.go:406
Function
RestoreDays
An option to set x-bce-restore-days header
services/bos/api/option.go:313
Function
RestoreRecycleEip
()
examples/eip/example_eip_restore_recycle_eip.go:19
Function
RestoreTier
An option to set x-bce-restore-tier header Expedited:加急取回,30min内完成取回 Standard:标准取回,2~5小时内完成取回 LowCost:延缓取回,12小时内完成取回
services/bos/api/option.go:308
Function
Retain
()
examples/cloudmemory/example_retain.go:25
Function
RetainAsync
()
examples/cloudmemory/example_retain_async.go:25
Function
RevokeSecurityGroupRule
RevokeSecurityGroupRule - revoke a security group rule PARAMS: - securityGroupId: the specific securityGroup ID - args: the arguments to revoke secur
examples/bcc/securitygroup/example_revoke_securitygrouprule.go:18
Method
Rfc3339Copy
Rfc3339Copy returns a copy of the Time at second-level precision.
services/cce/v2/types/k8stypes.go:113
Method
RoundTrip
(*http.Request)
bce/client_test.go:29
Method
RoundTrip
(*http.Request)
http/client_test.go:25
Method
RoundTrip
(*http.Request)
services/bos/client_test.go:82
Function
SSECKey
An option to set x-bce-server-side-encryption-customer-key header
services/bos/api/option.go:411
Function
SSECKeyMd5
An option to set x-bce-server-side-encryption-customer-key-md5 header
services/bos/api/option.go:416
Function
SSEKmsKeyId
An option to set x-bce-server-side-encryption-bos-key-id header
services/bos/api/option.go:421
Function
ScaleService
()
examples/aihc/inference/example_app.go:98
Method
ScaleService
ScaleService - scale service with the specific parameters PARAMS: - args: the arguments to service details RETURNS: - *ScaleServiceResult: the resul
services/aihc/inference/v2/client.go:155
Function
SecurityToken
An option to set X-Bce-Security-Token header
services/bos/api/option.go:233
Method
SendCustomRequest
SendCustomRequest - send a HTTP request, and response data or error, it use the default times for retrying PARAMS: - method: the HTTP requested metho
services/eo/client.go:64
Method
SendCustomRequest
SendCustomRequest - send a HTTP request, and response data or error, it use the default times for retrying PARAMS: - method: the HTTP requested metho
services/cdn/abroad/client.go:65
Method
SendRequest
SendRequest - the client performs sending the http request with retry policy and receive the response from the BCE services. PARAMS: - req: the reque
bce/client.go:119
Function
SendRequestFromBytes
(cli bce.Client, req *BosRequest, resp *BosResponse, ctx *BosContext, content []byte)
services/bos/api/util.go:427
Method
SendRequestFromBytes
SendRequestFromBytes - the client performs sending the http request with retry policy and receive the response from the BCE services. PARAMS: - req:
bce/client.go:286
Method
SendRequestV2
(req *BceRequest, resp *BceResponse)
bce/client.go:196
Function
ServerSideEncryption
An option to set x-bce-server-side-encryption header, "AES256" or "SM4"
services/bos/api/option.go:406
Function
ServiceDetails
()
examples/aihc/inference/example_app.go:59
Method
ServiceDetails
ServiceDetails - the details of service with the specific parameters PARAMS: - args: the arguments to service details RETURNS: - *ServiceDetailsResu
services/aihc/inference/v2/client.go:122
Method
SetAclUserAuthority
SetAclUserAuthority - set authority of an ACL user of a specified instance PARAMS: - instanceId: id of the instance - args: the arguments to set ACL
services/scs/scs.go:2064
Method
SetAutoScalingConfig
SetAutoScalingConfig - set memory auto scaling config of the instance PARAMS: - instanceId: id of the instance - args: the arguments containing memor
services/scs/scs.go:2265
Method
SetBceClient
(client *bce.BceClient)
services/aihc/dataset/client.go:44
Method
SetBceClient
(client *bce.BceClient)
services/aihc/dev/client.go:28
Method
SetBceClient
(client *bce.BceClient)
services/aihc/inference/v2/client.go:47
Method
SetBceClient
(client *bce.BceClient)
services/aihc/resource/client.go:43
Method
SetBurst
SetBurst is shorthand for SetBurstAt(time.Now(), newBurst).
rate/rate.go:318
Method
SetDeadline
(t time.Time)
http/client.go:176
Method
SetDomainOriginWithOptions
SetDomainOriginWithOptions - set the origin setting for the new For details, please refer https://cloud.baidu.com/doc/CDN-ABROAD/s/Gkbstcgaa PARAMS:
services/cdn/abroad/client.go:232
Method
SetHandler
(h Handler)
util/log/logger.go:289
Function
SetHeader
(key string, value interface{})
services/bos/api/option.go:425
Method
SetInstanceNeedDrain
(instanceID string)
services/cce/v2/types/workflow.go:104
Method
SetLimitRate
Deprecated, please use SetTrafficLimit as substitute SetLimitRate - set limited speed PARAMS: - domain: the specified domain - limitRate: the limited
services/cdn/client.go:521
Method
SetLogDir
(dir string)
util/log/logger.go:291
Function
SetLogFormat
SetLogFormat - set the log component of each record when logging it. The default log format is {FMT_LEVEL, FMT_LTIME, FMT_LOCATION, FMT_MSG}. PARAMS:
util/log/util.go:183
Method
SetLogFormat
(format []string)
util/log/logger.go:295
Method
SetLogLevel
(level Level)
util/log/logger.go:293
Function
SetParam
(key string, value interface{})
services/bos/api/option.go:429
Method
SetPort
(port int)
http/request.go:124
Method
SetReservedConcurrentExecutions
SetReservedConcurrentExecutions - set a cfc function reserved concurrent executions PARAMS: - args: the arguments to set reserved concurrent executio
services/cfc/client.go:333
Function
SetRotateSize
SetRotateSize - set the rotating size if logging to file and set the strategy of size. PARAMS: - size: the rotating size RETURNS: - error: check the
util/log/util.go:221
Method
SetRotateSize
(size int64)
util/log/logger.go:299
Method
SetRotateType
(rotate RotateStrategy)
util/log/logger.go:297
Function
SetTlsVersions
SetTlsVersions - set some TLS versions that you want PARAMS: - cli: the client agent which can perform sending request - domain: the specified domain
services/cdn/api/domain_config.go:1906
Method
ShouldRetry
(err BceError, attempts int)
bce/retry.go:37
Method
ShouldRetry
(err BceError, attempts int)
bce/retry.go:62
Function
ShowSubnet
()
examples/vpc/subnet/example_get_subnet.go:9
Function
ShowVpc
()
examples/vpc/vpc/example_get_vpc.go:9
Function
ShowVpcIP
()
examples/vpc/vpc/example_get_vpc_ip.go:9
Function
ShutdownRelay
()
examples/vpc/vpc/example_shutdown_relay.go:9
Method
Sign
Sign - generate the authorization string from the BceCredentials and SignOptions PARAMS: - req: *http.Request for this sign - cred: *BceCredentials t
auth/signer.go:72
Method
SnapshotAccessDetail
SnapshotAccessDetail - get snapshot access detail PARAMS: - args: the arguments to get snapshot access detail RETURNS: - *AccessDetail - error: nil
services/ddc/v2/ddcrds.go:1663
Function
SourceOp
(source *api.ThumbnailSource)
services/media/client.go:156
Function
StartAutoRenew
()
examples/eip/example_eip_start_auto_renew.go:23
Method
StartDevInstance
StartDevInstance 启动开发机实例
services/aihc/dev/client.go:88
Method
StatusCode
()
http/response.go:35
Function
StopAutoRenew
()
examples/eip/example_eip_stop_auto_renew.go:21
Function
StopDevInstance
()
examples/aihc/dev/example_dev.go:77
Method
StopDevInstance
StopDevInstance 停止开发机实例
services/aihc/dev/client.go:93
Function
StopJob
()
examples/aihc/resource/example_aijob.go:135
Method
StopJob
(options *v1.StopAIJobOptions)
services/aihc/resource/client.go:279
Method
String
()
bce/config.go:84
Method
String
()
auth/signer.go:55
Method
String
()
auth/credentials.go:31
Method
SwitchInstance
SwitchInstance - main standby switching of the instance PARAMS: - instanceId: the id of the instance RETURNS: - error: nil if success otherwise the
services/ddc/v2/ddcrds.go:969
Method
SwitchMasterSlave
SwitchMasterSlave - switch master and slave of specified shards PARAMS: - instanceId: id of the instance - args: the arguments containing shards to s
services/scs/scs.go:2162
Function
SwitchRoute
switchRoute PARAMS: - routeRuleId: 主路由规则ID - clientToken: the idempotent token, 可选 - action: 切换路由规则的动作,可选值:switchRouteHA RETURNS: - error: nil if su
examples/vpc/route/example_switchroute.go:18
Function
SymlinkBucket
An option to set x-bce-symlink-bucket header
services/bos/api/option.go:334
Function
SymlinkTarget
An option to set x-bce-symlink-target header
services/bos/api/option.go:329
Method
SyncGroupPreCheck
SyncGroupPreCheck - pre-check for creating a sync group PARAMS: - args: the arguments to pre-check sync group RETURNS: - *GroupPreCheckResult: resul
services/scs/scs.go:1811
Method
SyncInstances
SyncInstances 同步节点元信息
services/cce/v2/ccev2.go:74
Function
TagList
An option to set X-Bce-Tag-List header
services/bos/api/option.go:243
Function
Tagging
An option to set X-Bce-Tagging header
services/bos/api/option.go:369
Function
TaggingDirective
An option to set x-bce-tagging-directive header
services/bos/api/option.go:257
Function
TestAbortMultipartUpload
(t *testing.T)
services/bos/client_test.go:2234
Function
TestAbortMultipartUpload
(t *testing.T)
services/bos/api/multipart_test.go:579
Function
TestAcceptPeerConnApply
(t *testing.T)
services/vpc/client_test.go:880
Function
TestAcceptTransferReservedInstanceOrder
(t *testing.T)
services/bcc/client_test.go:2079
Function
TestAccessKeyCreateAndDelete
(t *testing.T)
services/iam/client_test.go:455
Function
TestAccessKeyDisableAndEnable
(t *testing.T)
services/iam/client_test.go:489
← previous
next →
5,701–5,800 of 8,554, ranked by callers