Documentation ¶
Index ¶
- func BcsClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchAddPeersToChannel() *def.HttpRequestDef
- func GenReqDefForBatchCreateChannels() *def.HttpRequestDef
- func GenReqDefForBatchInviteMembersToChannel() *def.HttpRequestDef
- func GenReqDefForCreateNewBlockchain() *def.HttpRequestDef
- func GenReqDefForDeleteBlockchain() *def.HttpRequestDef
- func GenReqDefForDownloadBlockchainCert() *def.HttpRequestDef
- func GenReqDefForDownloadBlockchainSdkConfig() *def.HttpRequestDef
- func GenReqDefForHandleNotification() *def.HttpRequestDef
- func GenReqDefForListBcsMetric() *def.HttpRequestDef
- func GenReqDefForListBlockchainChannels() *def.HttpRequestDef
- func GenReqDefForListBlockchains() *def.HttpRequestDef
- func GenReqDefForListEntityMetric() *def.HttpRequestDef
- func GenReqDefForListInstanceMetric() *def.HttpRequestDef
- func GenReqDefForListMembers() *def.HttpRequestDef
- func GenReqDefForListNotifications() *def.HttpRequestDef
- func GenReqDefForListQuotas() *def.HttpRequestDef
- func GenReqDefForShowBlockchainDetail() *def.HttpRequestDef
- func GenReqDefForShowBlockchainNodes() *def.HttpRequestDef
- func GenReqDefForShowBlockchainStatus() *def.HttpRequestDef
- func GenReqDefForUpdateInstance() *def.HttpRequestDef
- type BcsClient
- func (c *BcsClient) BatchAddPeersToChannel(request *model.BatchAddPeersToChannelRequest) (*model.BatchAddPeersToChannelResponse, error)
- func (c *BcsClient) BatchCreateChannels(request *model.BatchCreateChannelsRequest) (*model.BatchCreateChannelsResponse, error)
- func (c *BcsClient) BatchInviteMembersToChannel(request *model.BatchInviteMembersToChannelRequest) (*model.BatchInviteMembersToChannelResponse, error)
- func (c *BcsClient) CreateNewBlockchain(request *model.CreateNewBlockchainRequest) (*model.CreateNewBlockchainResponse, error)
- func (c *BcsClient) DeleteBlockchain(request *model.DeleteBlockchainRequest) (*model.DeleteBlockchainResponse, error)
- func (c *BcsClient) DownloadBlockchainCert(request *model.DownloadBlockchainCertRequest) (*model.DownloadBlockchainCertResponse, error)
- func (c *BcsClient) DownloadBlockchainSdkConfig(request *model.DownloadBlockchainSdkConfigRequest) (*model.DownloadBlockchainSdkConfigResponse, error)
- func (c *BcsClient) HandleNotification(request *model.HandleNotificationRequest) (*model.HandleNotificationResponse, error)
- func (c *BcsClient) ListBcsMetric(request *model.ListBcsMetricRequest) (*model.ListBcsMetricResponse, error)
- func (c *BcsClient) ListBlockchainChannels(request *model.ListBlockchainChannelsRequest) (*model.ListBlockchainChannelsResponse, error)
- func (c *BcsClient) ListBlockchains(request *model.ListBlockchainsRequest) (*model.ListBlockchainsResponse, error)
- func (c *BcsClient) ListEntityMetric(request *model.ListEntityMetricRequest) (*model.ListEntityMetricResponse, error)
- func (c *BcsClient) ListInstanceMetric(request *model.ListInstanceMetricRequest) (*model.ListInstanceMetricResponse, error)
- func (c *BcsClient) ListMembers(request *model.ListMembersRequest) (*model.ListMembersResponse, error)
- func (c *BcsClient) ListNotifications(request *model.ListNotificationsRequest) (*model.ListNotificationsResponse, error)
- func (c *BcsClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
- func (c *BcsClient) ShowBlockchainDetail(request *model.ShowBlockchainDetailRequest) (*model.ShowBlockchainDetailResponse, error)
- func (c *BcsClient) ShowBlockchainNodes(request *model.ShowBlockchainNodesRequest) (*model.ShowBlockchainNodesResponse, error)
- func (c *BcsClient) ShowBlockchainStatus(request *model.ShowBlockchainStatusRequest) (*model.ShowBlockchainStatusResponse, error)
- func (c *BcsClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
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 ¶
func (c *BcsClient) BatchAddPeersToChannel(request *model.BatchAddPeersToChannelRequest) (*model.BatchAddPeersToChannelResponse, error)
peer节点加入通道,目前仅支持往一个通道中加入peer
func (*BcsClient) BatchCreateChannels ¶
func (c *BcsClient) BatchCreateChannels(request *model.BatchCreateChannelsRequest) (*model.BatchCreateChannelsResponse, error)
创建通道
func (*BcsClient) BatchInviteMembersToChannel ¶
func (c *BcsClient) BatchInviteMembersToChannel(request *model.BatchInviteMembersToChannelRequest) (*model.BatchInviteMembersToChannelResponse, error)
批量邀请联盟成员加入通道,此操作会向被邀请方发出邀请通知
func (*BcsClient) CreateNewBlockchain ¶
func (c *BcsClient) CreateNewBlockchain(request *model.CreateNewBlockchainRequest) (*model.CreateNewBlockchainResponse, error)
创建BCS服务实例
func (*BcsClient) DeleteBlockchain ¶
func (c *BcsClient) DeleteBlockchain(request *model.DeleteBlockchainRequest) (*model.DeleteBlockchainResponse, error)
删除bcs实例
func (*BcsClient) DownloadBlockchainCert ¶
func (c *BcsClient) DownloadBlockchainCert(request *model.DownloadBlockchainCertRequest) (*model.DownloadBlockchainCertResponse, error)
下载指定服务实例相关证书
func (*BcsClient) DownloadBlockchainSdkConfig ¶
func (c *BcsClient) DownloadBlockchainSdkConfig(request *model.DownloadBlockchainSdkConfigRequest) (*model.DownloadBlockchainSdkConfigResponse, error)
下载指定服务实例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服务的监控数据,可以指定相应的指标名称。
func (*BcsClient) ListBlockchainChannels ¶
func (c *BcsClient) ListBlockchainChannels(request *model.ListBlockchainChannelsRequest) (*model.ListBlockchainChannelsResponse, error)
查询指定服务实例通道信息
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 (c *BcsClient) ShowBlockchainDetail(request *model.ShowBlockchainDetailRequest) (*model.ShowBlockchainDetailResponse, error)
查询指定服务实例详细信息
func (*BcsClient) ShowBlockchainNodes ¶
func (c *BcsClient) ShowBlockchainNodes(request *model.ShowBlockchainNodesRequest) (*model.ShowBlockchainNodesResponse, error)
查询指定服务实例节点信息
func (*BcsClient) ShowBlockchainStatus ¶
func (c *BcsClient) ShowBlockchainStatus(request *model.ShowBlockchainStatusRequest) (*model.ShowBlockchainStatusResponse, error)
查询指定服务实例创建状态
func (*BcsClient) UpdateInstance ¶
func (c *BcsClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
修改实例的节点、组织,目前仅支持添加节点,添加组织
Click to show internal directories.
Click to hide internal directories.