MCPcopy Create free account

hub / github.com/baidubce/bce-sdk-go / functions

Functions8,554 in github.com/baidubce/bce-sdk-go

FunctionNewBodyFromSectionFile
NewBodyFromSectionFile - build a Body object from the given file pointer with offset and size. It calculates the content-md5 of the given content and
bce/request.go:229
FunctionNewBodyFromSizedReader
NewBodyFromSizedReader - build a Body object from the given reader with size. It calculates the content-md5 of the given content and store the size as
bce/request.go:277
FunctionNewClient
(ak, sk, endpoint string)
services/aihc/v2/client.go:19
FunctionNewClient
NewClient make the aihc inference service client with default configuration.
services/aihc/v2/resourcepool/client.go:18
FunctionNewClient
NewClient make the aihc inference service client with default configuration.
services/aihc/v2/queue/client.go:18
FunctionNewClient
NewClient return a client
services/dcc/client.go:18
FunctionNewClient
(ak, sk string)
services/iam/client.go:39
FunctionNewClient
(ak, sk, endPoint string)
services/resmanager/client.go:35
FunctionNewClientWithSTS
NewClientWithSTS make the aihc inference service client with STS configuration.
services/aihc/client.go:59
FunctionNewClientWithSTS
NewClientWithSTS make the aihc dev client with STS configuration.
services/aihc/dev/client.go:37
FunctionNewClientWithSTS
NewClientWithSTS make the aihc inference service client with STS configuration.
services/aihc/v2/client/client.go:51
FunctionNewClientWithSTS
NewClientWithSTS make the aihc inference service client with STS configuration.
services/aihc/inference/v2/client.go:56
FunctionNewConsolidationRequest
NewConsolidationRequest builds an empty ConsolidationRequest.
services/cloudmemory/api/types.go:36
FunctionNewCreateBankRequest
NewCreateBankRequest builds an empty CreateBankRequest.
services/cloudmemory/api/types.go:22
FunctionNewCreateDirectiveRequest
NewCreateDirectiveRequest builds a CreateDirectiveRequest with required fields.
services/cloudmemory/api/types.go:96
FunctionNewCreateMentalModelRequest
NewCreateMentalModelRequest builds a CreateMentalModelRequest with required fields.
services/cloudmemory/api/types.go:78
FunctionNewFromAPIClient
NewFromAPIClient wraps an existing *hindsight.APIClient (advanced use).
services/cloudmemory/api/client.go:38
FunctionNewMemoryItem
NewMemoryItem builds a MemoryItem with the given content string.
services/cloudmemory/api/types.go:44
FunctionNewRecallRequest
NewRecallRequest builds a RecallRequest with the given query string.
services/cloudmemory/api/types.go:56
FunctionNewReflectRequest
NewReflectRequest builds a ReflectRequest with the given query string.
services/cloudmemory/api/types.go:62
FunctionNewRetainRequest
NewRetainRequest builds a RetainRequest carrying the given items.
services/cloudmemory/api/types.go:50
FunctionNewTime
NewTime returns a wrapped instance of the provided time
services/cce/v2/types/k8stypes.go:64
FunctionNewUpdateDirectiveRequest
NewUpdateDirectiveRequest builds an empty UpdateDirectiveRequest.
services/cloudmemory/api/types.go:104
FunctionNewUpdateDocumentRequest
NewUpdateDocumentRequest builds an empty UpdateDocumentRequest.
services/cloudmemory/api/types.go:70
FunctionNewUpdateMentalModelRequest
NewUpdateMentalModelRequest builds an empty UpdateMentalModelRequest.
services/cloudmemory/api/types.go:86
FunctionNewWithTimeout
NewWithTimeout is like New but configures a per-request timeout. Pass 0 to disable the timeout.
services/cloudmemory/api/client.go:31
FunctionNow
Now returns the current local time.
services/cce/v2/types/k8stypes.go:75
FunctionNowUTCNanoSeconds
()
util/time.go:28
MethodOK
OK returns whether the limiter can provide the requested number of tokens within the maximum wait time. If OK is false, Delay returns InfDuration, an
rate/rate.go:134
MethodOpenAPISchemaFormat
OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
services/cce/v2/types/k8stypes.go:183
MethodOpenAPISchemaType
OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type. See: https://github.com/kubernetes/kube-open
services/cce/v2/types/k8stypes.go:179
FunctionOpenPeerConnSyncDns
()
examples/vpc/peerconn/example_open_peer_conn_sync_dns.go:8
FunctionOpenRelay
()
examples/vpc/vpc/example_open_relay.go:9
FunctionOptionalDeleteEip
()
examples/eip/example_eip_optional_delete_eip.go:21
FunctionPanic
(msg ...interface{})
util/log/util.go:139
MethodPanic
(msg ...interface{})
util/log/logger.go:331
FunctionPanicf
(format string, msg ...interface{})
util/log/util.go:151
MethodPanicf
(format string, msg ...interface{})
util/log/logger.go:343
FunctionPanicln
(msg ...interface{})
util/log/util.go:145
MethodPanicln
(msg ...interface{})
util/log/logger.go:337
FunctionParseObjectTagResult
(rawData []byte)
services/bos/api/util.go:571
FunctionParseRFC822Date
(time_string string)
util/time.go:35
MethodPort
()
http/request.go:120
FunctionPostCacheControl
An option to set Cache-Control field to multipart form
services/bos/api/option.go:101
FunctionPostContentDisposition
An option to add Content-Disposition field to multipart form
services/bos/api/option.go:111
FunctionPostContentEncoding
An option to set Content-Encoding field to multipart form
services/bos/api/option.go:121
FunctionPostContentType
An option to set Content-Type field to multipart form
services/bos/api/option.go:156
FunctionPostUserMeta
An option to add X-Bce-Meta-* field to multipart form
services/bos/api/option.go:228
MethodProtocol
()
http/response.go:39
FunctionPtrBool
(v bool)
util/string.go:175
FunctionPtrFloat32
(v float32)
util/string.go:173
FunctionPtrFloat64
(v float64)
util/string.go:174
FunctionPtrInt64
(v int64)
util/string.go:172
FunctionPubAccess
()
examples/aihc/inference/example_app.go:115
MethodPubAccess
PubAccess - operate public access of service with the specific parameters PARAMS: - args: the arguments to operate public access RETURNS: - *PubAcce
services/aihc/inference/v2/client.go:167
MethodPurchaseReserved
PurchaseReserved -- xx
services/dcc/dedicatedHost.go:37
FunctionPurchaseReservedEip
()
examples/eip/example_eip_purchase_reserved_eip.go:23
MethodPutUserQuota
(args *api.UserQuotaArgs, options ...api.Option)
services/bos/client.go:3361
FunctionQueryAcl
()
examples/vpc/acl/example_query_acl.go:8
FunctionQueryAclRule
()
examples/vpc/acl/example_query_acl_rule.go:8
FunctionQueryDevInstanceDetail
()
examples/aihc/dev/example_dev.go:44
MethodQueryDevInstanceDetail
QueryDevInstanceDetail 查询开发机详情
services/aihc/dev/client.go:69
MethodQueryQuotaAndRateLimit
QueryQuotaAndRateLimit - query the quota and rate limit RETURNS: - QueryQuotaRateResult: the result of querying the quota and rate limit - error: the
services/sms/client.go:177
FunctionRange
An option to set Range header
services/bos/api/option.go:146
MethodReBalanceRoGroup
ReBalanceRoGroup- Initiate a rebalance for foGroup PARAMS: - body: http request body RETURNS: - error: nil if success otherwise the specific error
services/ddc/ddc.go:416
MethodReBalanceRoGroup
ReBalanceRoGroup- Initiate a rebalance for foGroup PARAMS: - body: http request body RETURNS: - error: nil if success otherwise the specific error
services/ddc/v2/ddcrds.go:206
MethodRead
(p []byte)
bce/io_utils.go:26
MethodRead
(b []byte)
http/client.go:127
MethodRebootInstance
RebootInstance - reboot a specified instance PARAMS: - cli: the client agent which can perform sending request - instanceId: id of the instance to be
services/ddc/ddc.go:585
MethodRebootInstance
RebootInstance - reboot a specified instance PARAMS: - cli: the client agent which can perform sending request - instanceId: id of the instance to be
services/ddc/v2/ddcrds.go:524
FunctionRecall
()
examples/cloudmemory/example_recall.go:25
FunctionRecommendClusterIPCIDR
()
examples/cce/network/example_recommend_cluster_ip_cidr.go:10
FunctionRecommitEtChannel
RecommitEtChannel
examples/et/examples_recommit_et_channel.go:10
MethodRecoverRecyclerInstances
RecoverRecyclerInstances - batch recover instances that in recycler PARAMS: - instanceIds: instanceId list to recover RETURNS: - error: nil if succes
services/ddc/ddc.go:1432
MethodRecoverRecyclerInstances
RecoverRecyclerInstances - batch recover instances that in recycler PARAMS: - instanceIds: instanceId list to recover RETURNS: - error: nil if succe
services/ddc/v2/ddcrds.go:1256
MethodRecoverToSourceInstanceByDatetime
RecoverToSourceInstanceByDatetime - recover database or tables for the specific instance by a datetime PARAMS: - instanceId: the specific ddc Instanc
services/ddc/v2/ddcrds.go:1097
FunctionReflect
()
examples/cloudmemory/example_reflect.go:25
FunctionRefreshMentalModel
()
examples/cloudmemory/example_refresh_mental_model.go:25
MethodRefreshRobotSecret
(instanceID, robotID string, args *RefreshRobotSecretArgs)
services/eccr/api.go:51
MethodRefreshRobotSecret
RefreshRobotSecret - refresh robot secret token PARAMS: - instanceID: the specific instance ID - robotID: the specific robot ID - RefreshRobotSecretA
services/eccr/api.go:890
FunctionRefundEip
()
examples/eip/example_eip_refund_eip.go:21
FunctionRefundEipGroup
()
examples/eip/example_eipgroup_refund_eipgroup.go:21
FunctionRefundPeerConn
()
examples/vpc/peerconn/example_refund_peer_conn.go:8
FunctionRejectEipTransfer
()
examples/eip/example_eip_reject_eip_transfer.go:10
MethodReleaseMongodbs
ReleaseMongodbs - release MONGODBs / 将若干个MONGODB实例放入回收站 PARAMS: - instanceIds: the specific instanceIds RETURNS: - error: nil if success otherwise t
services/mongodb/mongodb.go:234
MethodRemoteAddr
()
http/client.go:175
FunctionRemoveBackendServers
()
examples/blb/example_remove_backend_servers.go:20
FunctionRemoveEtChannelRoutes
RemoveEtChannelRoutes
examples/et/example_remove_et_channel_routes.go:10
FunctionRemoveEtChannelUsers
RemoveEtChannelUsers
examples/et/example_remove_et_channel_users.go:10
MethodRemoveSyncGroupCluster
RemoveSyncGroupCluster - remove a cluster from sync group PARAMS: - groupId: the sync group id - args: the arguments of the cluster member to remove
services/scs/scs.go:1904
FunctionRenameEipGroup
()
examples/eip/example_eipgroup_rename_eipgroup.go:23
MethodRenewInstance
RenewInstance - create instance with the specific parameters PARAMS: - orderType: the operation type, value requires renew - ConfirmOrderRequest: the
services/eccr/api.go:135
FunctionRenewLbdc
()
examples/lbdc/example_renew_lbdc.go:23
FunctionRenewNat
以下为示例代码,实际开发中请根据需要进行修改和补充
examples/vpc/nat/example_renew_nat.go:11
FunctionRenewPeerConn
()
examples/vpc/peerconn/example_renew_peer_conn.go:8
FunctionRenewRBACForAllNamespace
()
examples/cce/rbac/example_renew_rbac.go:39
FunctionRenewRBACForNamespace
()
examples/cce/rbac/example_renew_rbac.go:10
FunctionRenewVpnGateway
()
examples/vpn/example_renew_vpn_gateway.go:9
MethodReorderService
ReorderService - reorder service after an other service PARAMS: - *IdVerName: coreid, version, and name RETURNS: - error: nil if ok otherwise the spe
services/bie/client.go:284
MethodReplaceSecurityGroups
ReplaceSecurityGroups - replace SecurityGroup to instances PARAMS: - args: http request body RETURNS: - error: nil if success otherwise the specific
services/ddc/ddc.go:1567
← previousnext →5,601–5,700 of 8,554, ranked by callers