v2

package
v0.0.37-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BcsClientBuilder

func BcsClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForBatchAddPeersToChannel

func GenReqDefForBatchAddPeersToChannel() *def.HttpRequestDef

func GenReqDefForBatchCreateChannels

func GenReqDefForBatchCreateChannels() *def.HttpRequestDef

func GenReqDefForBatchInviteMembersToChannel

func GenReqDefForBatchInviteMembersToChannel() *def.HttpRequestDef

func GenReqDefForCreateNewBlockchain

func GenReqDefForCreateNewBlockchain() *def.HttpRequestDef

func GenReqDefForDeleteBlockchain

func GenReqDefForDeleteBlockchain() *def.HttpRequestDef

func GenReqDefForDownloadBlockchainCert

func GenReqDefForDownloadBlockchainCert() *def.HttpRequestDef

func GenReqDefForDownloadBlockchainSdkConfig

func GenReqDefForDownloadBlockchainSdkConfig() *def.HttpRequestDef

func GenReqDefForHandleNotification

func GenReqDefForHandleNotification() *def.HttpRequestDef

func GenReqDefForListBcsMetric

func GenReqDefForListBcsMetric() *def.HttpRequestDef

func GenReqDefForListBlockchainChannels

func GenReqDefForListBlockchainChannels() *def.HttpRequestDef

func GenReqDefForListBlockchains

func GenReqDefForListBlockchains() *def.HttpRequestDef

func GenReqDefForListEntityMetric

func GenReqDefForListEntityMetric() *def.HttpRequestDef

func GenReqDefForListInstanceMetric

func GenReqDefForListInstanceMetric() *def.HttpRequestDef

func GenReqDefForListMembers

func GenReqDefForListMembers() *def.HttpRequestDef

func GenReqDefForListNotifications

func GenReqDefForListNotifications() *def.HttpRequestDef

func GenReqDefForListQuotas

func GenReqDefForListQuotas() *def.HttpRequestDef

func GenReqDefForShowBlockchainDetail

func GenReqDefForShowBlockchainDetail() *def.HttpRequestDef

func GenReqDefForShowBlockchainNodes

func GenReqDefForShowBlockchainNodes() *def.HttpRequestDef

func GenReqDefForShowBlockchainStatus

func GenReqDefForShowBlockchainStatus() *def.HttpRequestDef

func GenReqDefForUpdateInstance

func GenReqDefForUpdateInstance() *def.HttpRequestDef

Types

type BcsClient

type BcsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewBcsClient

func NewBcsClient(hcClient *http_client.HcHttpClient) *BcsClient

func (*BcsClient) BatchAddPeersToChannel

peer节点加入通道,目前仅支持往一个通道中加入peer

func (*BcsClient) BatchCreateChannels

创建通道

func (*BcsClient) BatchInviteMembersToChannel

批量邀请联盟成员加入通道,此操作会向被邀请方发出邀请通知

func (*BcsClient) CreateNewBlockchain

创建BCS服务实例

func (*BcsClient) DeleteBlockchain

func (c *BcsClient) DeleteBlockchain(request *model.DeleteBlockchainRequest) (*model.DeleteBlockchainResponse, error)

删除bcs实例

func (*BcsClient) DownloadBlockchainCert

下载指定服务实例相关证书

func (*BcsClient) DownloadBlockchainSdkConfig

下载指定服务实例SDK配置文件

func (*BcsClient) HandleNotification

func (c *BcsClient) HandleNotification(request *model.HandleNotificationRequest) (*model.HandleNotificationResponse, error)

处理联盟邀请

func (*BcsClient) ListBcsMetric

func (c *BcsClient) ListBcsMetric(request *model.ListBcsMetricRequest) (*model.ListBcsMetricResponse, error)

[该接口用于查询BCS服务的监控数据,可以指定相应的指标名称,目前不支持IEF节点](tag:online)[该接口用于查询BCS服务的监控数据,可以指定相应的指标名称](tag:hcs)

func (*BcsClient) ListBlockchainChannels

查询指定服务实例通道信息

func (*BcsClient) ListBlockchains

func (c *BcsClient) ListBlockchains(request *model.ListBlockchainsRequest) (*model.ListBlockchainsResponse, error)

查询当前项目下所有服务实例的简要信息

func (*BcsClient) ListEntityMetric

func (c *BcsClient) ListEntityMetric(request *model.ListEntityMetricRequest) (*model.ListEntityMetricResponse, error)

该接口用于查询BCS组织的监控数据列表。

func (*BcsClient) ListInstanceMetric

func (c *BcsClient) ListInstanceMetric(request *model.ListInstanceMetricRequest) (*model.ListInstanceMetricResponse, error)

该接口用于BCS组织实例监控数据详情。

func (*BcsClient) ListMembers

func (c *BcsClient) ListMembers(request *model.ListMembersRequest) (*model.ListMembersResponse, error)

获取联盟成员列表

func (*BcsClient) ListNotifications

func (c *BcsClient) ListNotifications(request *model.ListNotificationsRequest) (*model.ListNotificationsResponse, error)

获取全部通知

func (*BcsClient) ListQuotas

func (c *BcsClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)

查询当前项目下BCS服务所有资源的配额信息

func (*BcsClient) ShowBlockchainDetail

查询指定服务实例详细信息

func (*BcsClient) ShowBlockchainNodes

查询指定服务实例节点信息

func (*BcsClient) ShowBlockchainStatus

查询指定服务实例创建状态

func (*BcsClient) UpdateInstance

func (c *BcsClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)

修改实例的节点、组织,目前仅支持添加节点,添加组织

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL