Documentation
¶
Index ¶
- func BcsClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchAddPeersToChannel() *def.HttpRequestDef
- func GenReqDefForBatchCreateChannels() *def.HttpRequestDef
- func GenReqDefForBatchInviteMembersToChannel() *def.HttpRequestDef
- func GenReqDefForBatchRemoveOrgsFromChannel() *def.HttpRequestDef
- func GenReqDefForBatchRemovePeersFromChannel() *def.HttpRequestDef
- func GenReqDefForCreateBlockchainCertByUserName() *def.HttpRequestDef
- func GenReqDefForCreateNewBlockchain() *def.HttpRequestDef
- func GenReqDefForDeleteBlockchain() *def.HttpRequestDef
- func GenReqDefForDeleteChannel() *def.HttpRequestDef
- func GenReqDefForDeleteMemberInvite() *def.HttpRequestDef
- func GenReqDefForDownloadBlockchainCert() *def.HttpRequestDef
- func GenReqDefForDownloadBlockchainSdkConfig() *def.HttpRequestDef
- func GenReqDefForFreezeCert() *def.HttpRequestDef
- func GenReqDefForHandleNotification() *def.HttpRequestDef
- func GenReqDefForHandleUnionMemberQuitList() *def.HttpRequestDef
- func GenReqDefForListBcsEvents() *def.HttpRequestDef
- func GenReqDefForListBcsEventsStatistic() *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 GenReqDefForListOpRecord() *def.HttpRequestDef
- func GenReqDefForListQuotas() *def.HttpRequestDef
- func GenReqDefForShowBlockchainDetail() *def.HttpRequestDef
- func GenReqDefForShowBlockchainFlavors() *def.HttpRequestDef
- func GenReqDefForShowBlockchainNodes() *def.HttpRequestDef
- func GenReqDefForShowBlockchainStatus() *def.HttpRequestDef
- func GenReqDefForUnfreezeCert() *def.HttpRequestDef
- func GenReqDefForUpdateInstance() *def.HttpRequestDef
- type BatchAddPeersToChannelInvoker
- type BatchCreateChannelsInvoker
- type BatchInviteMembersToChannelInvoker
- type BatchRemoveOrgsFromChannelInvoker
- type BatchRemovePeersFromChannelInvoker
- type BcsClient
- func (c *BcsClient) BatchAddPeersToChannel(request *model.BatchAddPeersToChannelRequest) (*model.BatchAddPeersToChannelResponse, error)
- func (c *BcsClient) BatchAddPeersToChannelInvoker(request *model.BatchAddPeersToChannelRequest) *BatchAddPeersToChannelInvoker
- func (c *BcsClient) BatchCreateChannels(request *model.BatchCreateChannelsRequest) (*model.BatchCreateChannelsResponse, error)
- func (c *BcsClient) BatchCreateChannelsInvoker(request *model.BatchCreateChannelsRequest) *BatchCreateChannelsInvoker
- func (c *BcsClient) BatchInviteMembersToChannel(request *model.BatchInviteMembersToChannelRequest) (*model.BatchInviteMembersToChannelResponse, error)
- func (c *BcsClient) BatchInviteMembersToChannelInvoker(request *model.BatchInviteMembersToChannelRequest) *BatchInviteMembersToChannelInvoker
- func (c *BcsClient) BatchRemoveOrgsFromChannel(request *model.BatchRemoveOrgsFromChannelRequest) (*model.BatchRemoveOrgsFromChannelResponse, error)
- func (c *BcsClient) BatchRemoveOrgsFromChannelInvoker(request *model.BatchRemoveOrgsFromChannelRequest) *BatchRemoveOrgsFromChannelInvoker
- func (c *BcsClient) BatchRemovePeersFromChannel(request *model.BatchRemovePeersFromChannelRequest) (*model.BatchRemovePeersFromChannelResponse, error)
- func (c *BcsClient) BatchRemovePeersFromChannelInvoker(request *model.BatchRemovePeersFromChannelRequest) *BatchRemovePeersFromChannelInvoker
- func (c *BcsClient) CreateBlockchainCertByUserName(request *model.CreateBlockchainCertByUserNameRequest) (*model.CreateBlockchainCertByUserNameResponse, error)
- func (c *BcsClient) CreateBlockchainCertByUserNameInvoker(request *model.CreateBlockchainCertByUserNameRequest) *CreateBlockchainCertByUserNameInvoker
- func (c *BcsClient) CreateNewBlockchain(request *model.CreateNewBlockchainRequest) (*model.CreateNewBlockchainResponse, error)
- func (c *BcsClient) CreateNewBlockchainInvoker(request *model.CreateNewBlockchainRequest) *CreateNewBlockchainInvoker
- func (c *BcsClient) DeleteBlockchain(request *model.DeleteBlockchainRequest) (*model.DeleteBlockchainResponse, error)
- func (c *BcsClient) DeleteBlockchainInvoker(request *model.DeleteBlockchainRequest) *DeleteBlockchainInvoker
- func (c *BcsClient) DeleteChannel(request *model.DeleteChannelRequest) (*model.DeleteChannelResponse, error)
- func (c *BcsClient) DeleteChannelInvoker(request *model.DeleteChannelRequest) *DeleteChannelInvoker
- func (c *BcsClient) DeleteMemberInvite(request *model.DeleteMemberInviteRequest) (*model.DeleteMemberInviteResponse, error)
- func (c *BcsClient) DeleteMemberInviteInvoker(request *model.DeleteMemberInviteRequest) *DeleteMemberInviteInvoker
- func (c *BcsClient) DownloadBlockchainCert(request *model.DownloadBlockchainCertRequest) (*model.DownloadBlockchainCertResponse, error)
- func (c *BcsClient) DownloadBlockchainCertInvoker(request *model.DownloadBlockchainCertRequest) *DownloadBlockchainCertInvoker
- func (c *BcsClient) DownloadBlockchainSdkConfig(request *model.DownloadBlockchainSdkConfigRequest) (*model.DownloadBlockchainSdkConfigResponse, error)
- func (c *BcsClient) DownloadBlockchainSdkConfigInvoker(request *model.DownloadBlockchainSdkConfigRequest) *DownloadBlockchainSdkConfigInvoker
- func (c *BcsClient) FreezeCert(request *model.FreezeCertRequest) (*model.FreezeCertResponse, error)
- func (c *BcsClient) FreezeCertInvoker(request *model.FreezeCertRequest) *FreezeCertInvoker
- func (c *BcsClient) HandleNotification(request *model.HandleNotificationRequest) (*model.HandleNotificationResponse, error)
- func (c *BcsClient) HandleNotificationInvoker(request *model.HandleNotificationRequest) *HandleNotificationInvoker
- func (c *BcsClient) HandleUnionMemberQuitList(request *model.HandleUnionMemberQuitListRequest) (*model.HandleUnionMemberQuitListResponse, error)
- func (c *BcsClient) HandleUnionMemberQuitListInvoker(request *model.HandleUnionMemberQuitListRequest) *HandleUnionMemberQuitListInvoker
- func (c *BcsClient) ListBcsEvents(request *model.ListBcsEventsRequest) (*model.ListBcsEventsResponse, error)
- func (c *BcsClient) ListBcsEventsInvoker(request *model.ListBcsEventsRequest) *ListBcsEventsInvoker
- func (c *BcsClient) ListBcsEventsStatistic(request *model.ListBcsEventsStatisticRequest) (*model.ListBcsEventsStatisticResponse, error)
- func (c *BcsClient) ListBcsEventsStatisticInvoker(request *model.ListBcsEventsStatisticRequest) *ListBcsEventsStatisticInvoker
- func (c *BcsClient) ListBcsMetric(request *model.ListBcsMetricRequest) (*model.ListBcsMetricResponse, error)
- func (c *BcsClient) ListBcsMetricInvoker(request *model.ListBcsMetricRequest) *ListBcsMetricInvoker
- func (c *BcsClient) ListBlockchainChannels(request *model.ListBlockchainChannelsRequest) (*model.ListBlockchainChannelsResponse, error)
- func (c *BcsClient) ListBlockchainChannelsInvoker(request *model.ListBlockchainChannelsRequest) *ListBlockchainChannelsInvoker
- func (c *BcsClient) ListBlockchains(request *model.ListBlockchainsRequest) (*model.ListBlockchainsResponse, error)
- func (c *BcsClient) ListBlockchainsInvoker(request *model.ListBlockchainsRequest) *ListBlockchainsInvoker
- func (c *BcsClient) ListEntityMetric(request *model.ListEntityMetricRequest) (*model.ListEntityMetricResponse, error)
- func (c *BcsClient) ListEntityMetricInvoker(request *model.ListEntityMetricRequest) *ListEntityMetricInvoker
- func (c *BcsClient) ListInstanceMetric(request *model.ListInstanceMetricRequest) (*model.ListInstanceMetricResponse, error)
- func (c *BcsClient) ListInstanceMetricInvoker(request *model.ListInstanceMetricRequest) *ListInstanceMetricInvoker
- func (c *BcsClient) ListMembers(request *model.ListMembersRequest) (*model.ListMembersResponse, error)
- func (c *BcsClient) ListMembersInvoker(request *model.ListMembersRequest) *ListMembersInvoker
- func (c *BcsClient) ListNotifications(request *model.ListNotificationsRequest) (*model.ListNotificationsResponse, error)
- func (c *BcsClient) ListNotificationsInvoker(request *model.ListNotificationsRequest) *ListNotificationsInvoker
- func (c *BcsClient) ListOpRecord(request *model.ListOpRecordRequest) (*model.ListOpRecordResponse, error)
- func (c *BcsClient) ListOpRecordInvoker(request *model.ListOpRecordRequest) *ListOpRecordInvoker
- func (c *BcsClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
- func (c *BcsClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker
- func (c *BcsClient) ShowBlockchainDetail(request *model.ShowBlockchainDetailRequest) (*model.ShowBlockchainDetailResponse, error)
- func (c *BcsClient) ShowBlockchainDetailInvoker(request *model.ShowBlockchainDetailRequest) *ShowBlockchainDetailInvoker
- func (c *BcsClient) ShowBlockchainFlavors(request *model.ShowBlockchainFlavorsRequest) (*model.ShowBlockchainFlavorsResponse, error)
- func (c *BcsClient) ShowBlockchainFlavorsInvoker(request *model.ShowBlockchainFlavorsRequest) *ShowBlockchainFlavorsInvoker
- func (c *BcsClient) ShowBlockchainNodes(request *model.ShowBlockchainNodesRequest) (*model.ShowBlockchainNodesResponse, error)
- func (c *BcsClient) ShowBlockchainNodesInvoker(request *model.ShowBlockchainNodesRequest) *ShowBlockchainNodesInvoker
- func (c *BcsClient) ShowBlockchainStatus(request *model.ShowBlockchainStatusRequest) (*model.ShowBlockchainStatusResponse, error)
- func (c *BcsClient) ShowBlockchainStatusInvoker(request *model.ShowBlockchainStatusRequest) *ShowBlockchainStatusInvoker
- func (c *BcsClient) UnfreezeCert(request *model.UnfreezeCertRequest) (*model.UnfreezeCertResponse, error)
- func (c *BcsClient) UnfreezeCertInvoker(request *model.UnfreezeCertRequest) *UnfreezeCertInvoker
- func (c *BcsClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
- func (c *BcsClient) UpdateInstanceInvoker(request *model.UpdateInstanceRequest) *UpdateInstanceInvoker
- type CreateBlockchainCertByUserNameInvoker
- type CreateNewBlockchainInvoker
- type DeleteBlockchainInvoker
- type DeleteChannelInvoker
- type DeleteMemberInviteInvoker
- type DownloadBlockchainCertInvoker
- type DownloadBlockchainSdkConfigInvoker
- type FreezeCertInvoker
- type HandleNotificationInvoker
- type HandleUnionMemberQuitListInvoker
- type ListBcsEventsInvoker
- type ListBcsEventsStatisticInvoker
- type ListBcsMetricInvoker
- type ListBlockchainChannelsInvoker
- type ListBlockchainsInvoker
- type ListEntityMetricInvoker
- type ListInstanceMetricInvoker
- type ListMembersInvoker
- type ListNotificationsInvoker
- type ListOpRecordInvoker
- type ListQuotasInvoker
- type ShowBlockchainDetailInvoker
- type ShowBlockchainFlavorsInvoker
- type ShowBlockchainNodesInvoker
- type ShowBlockchainStatusInvoker
- type UnfreezeCertInvoker
- type UpdateInstanceInvoker
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 GenReqDefForBatchRemoveOrgsFromChannel ¶
func GenReqDefForBatchRemoveOrgsFromChannel() *def.HttpRequestDef
func GenReqDefForBatchRemovePeersFromChannel ¶
func GenReqDefForBatchRemovePeersFromChannel() *def.HttpRequestDef
func GenReqDefForCreateBlockchainCertByUserName ¶
func GenReqDefForCreateBlockchainCertByUserName() *def.HttpRequestDef
func GenReqDefForCreateNewBlockchain ¶
func GenReqDefForCreateNewBlockchain() *def.HttpRequestDef
func GenReqDefForDeleteBlockchain ¶
func GenReqDefForDeleteBlockchain() *def.HttpRequestDef
func GenReqDefForDeleteChannel ¶
func GenReqDefForDeleteChannel() *def.HttpRequestDef
func GenReqDefForDeleteMemberInvite ¶
func GenReqDefForDeleteMemberInvite() *def.HttpRequestDef
func GenReqDefForDownloadBlockchainCert ¶
func GenReqDefForDownloadBlockchainCert() *def.HttpRequestDef
func GenReqDefForDownloadBlockchainSdkConfig ¶
func GenReqDefForDownloadBlockchainSdkConfig() *def.HttpRequestDef
func GenReqDefForFreezeCert ¶
func GenReqDefForFreezeCert() *def.HttpRequestDef
func GenReqDefForHandleNotification ¶
func GenReqDefForHandleNotification() *def.HttpRequestDef
func GenReqDefForHandleUnionMemberQuitList ¶
func GenReqDefForHandleUnionMemberQuitList() *def.HttpRequestDef
func GenReqDefForListBcsEvents ¶
func GenReqDefForListBcsEvents() *def.HttpRequestDef
func GenReqDefForListBcsEventsStatistic ¶
func GenReqDefForListBcsEventsStatistic() *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 GenReqDefForListOpRecord ¶
func GenReqDefForListOpRecord() *def.HttpRequestDef
func GenReqDefForListQuotas ¶
func GenReqDefForListQuotas() *def.HttpRequestDef
func GenReqDefForShowBlockchainDetail ¶
func GenReqDefForShowBlockchainDetail() *def.HttpRequestDef
func GenReqDefForShowBlockchainFlavors ¶
func GenReqDefForShowBlockchainFlavors() *def.HttpRequestDef
func GenReqDefForShowBlockchainNodes ¶
func GenReqDefForShowBlockchainNodes() *def.HttpRequestDef
func GenReqDefForShowBlockchainStatus ¶
func GenReqDefForShowBlockchainStatus() *def.HttpRequestDef
func GenReqDefForUnfreezeCert ¶
func GenReqDefForUnfreezeCert() *def.HttpRequestDef
func GenReqDefForUpdateInstance ¶
func GenReqDefForUpdateInstance() *def.HttpRequestDef
Types ¶
type BatchAddPeersToChannelInvoker ¶
type BatchAddPeersToChannelInvoker struct {
*invoker.BaseInvoker
}
func (*BatchAddPeersToChannelInvoker) Invoke ¶
func (i *BatchAddPeersToChannelInvoker) Invoke() (*model.BatchAddPeersToChannelResponse, error)
type BatchCreateChannelsInvoker ¶
type BatchCreateChannelsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchCreateChannelsInvoker) Invoke ¶
func (i *BatchCreateChannelsInvoker) Invoke() (*model.BatchCreateChannelsResponse, error)
type BatchInviteMembersToChannelInvoker ¶
type BatchInviteMembersToChannelInvoker struct {
*invoker.BaseInvoker
}
func (*BatchInviteMembersToChannelInvoker) Invoke ¶
func (i *BatchInviteMembersToChannelInvoker) Invoke() (*model.BatchInviteMembersToChannelResponse, error)
type BatchRemoveOrgsFromChannelInvoker ¶
type BatchRemoveOrgsFromChannelInvoker struct {
*invoker.BaseInvoker
}
func (*BatchRemoveOrgsFromChannelInvoker) Invoke ¶
func (i *BatchRemoveOrgsFromChannelInvoker) Invoke() (*model.BatchRemoveOrgsFromChannelResponse, error)
type BatchRemovePeersFromChannelInvoker ¶
type BatchRemovePeersFromChannelInvoker struct {
*invoker.BaseInvoker
}
func (*BatchRemovePeersFromChannelInvoker) Invoke ¶
func (i *BatchRemovePeersFromChannelInvoker) Invoke() (*model.BatchRemovePeersFromChannelResponse, error)
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)
BatchAddPeersToChannel peer节点加入通道
peer节点加入通道,目前仅支持往一个通道中加入peer
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) BatchAddPeersToChannelInvoker ¶
func (c *BcsClient) BatchAddPeersToChannelInvoker(request *model.BatchAddPeersToChannelRequest) *BatchAddPeersToChannelInvoker
BatchAddPeersToChannelInvoker peer节点加入通道
func (*BcsClient) BatchCreateChannels ¶
func (c *BcsClient) BatchCreateChannels(request *model.BatchCreateChannelsRequest) (*model.BatchCreateChannelsResponse, error)
BatchCreateChannels 创建通道
创建通道
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) BatchCreateChannelsInvoker ¶
func (c *BcsClient) BatchCreateChannelsInvoker(request *model.BatchCreateChannelsRequest) *BatchCreateChannelsInvoker
BatchCreateChannelsInvoker 创建通道
func (*BcsClient) BatchInviteMembersToChannel ¶
func (c *BcsClient) BatchInviteMembersToChannel(request *model.BatchInviteMembersToChannelRequest) (*model.BatchInviteMembersToChannelResponse, error)
BatchInviteMembersToChannel 邀请联盟成员
批量邀请联盟成员加入通道,此操作会向被邀请方发出邀请通知
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) BatchInviteMembersToChannelInvoker ¶
func (c *BcsClient) BatchInviteMembersToChannelInvoker(request *model.BatchInviteMembersToChannelRequest) *BatchInviteMembersToChannelInvoker
BatchInviteMembersToChannelInvoker 邀请联盟成员
func (*BcsClient) BatchRemoveOrgsFromChannel ¶
func (c *BcsClient) BatchRemoveOrgsFromChannel(request *model.BatchRemoveOrgsFromChannelRequest) (*model.BatchRemoveOrgsFromChannelResponse, error)
BatchRemoveOrgsFromChannel BCS组织退出某通道
该接口用于BCS组织退出某通道。
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) BatchRemoveOrgsFromChannelInvoker ¶
func (c *BcsClient) BatchRemoveOrgsFromChannelInvoker(request *model.BatchRemoveOrgsFromChannelRequest) *BatchRemoveOrgsFromChannelInvoker
BatchRemoveOrgsFromChannelInvoker BCS组织退出某通道
func (*BcsClient) BatchRemovePeersFromChannel ¶
func (c *BcsClient) BatchRemovePeersFromChannel(request *model.BatchRemovePeersFromChannelRequest) (*model.BatchRemovePeersFromChannelResponse, error)
BatchRemovePeersFromChannel BCS某个组织中的节点退出某通道
该接口用于BCS某个组织中的节点退出某通道。当节点为通道中最后一个节点时,需要使用组织退通道的接口来将通道中的最后一个节点退出。
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) BatchRemovePeersFromChannelInvoker ¶
func (c *BcsClient) BatchRemovePeersFromChannelInvoker(request *model.BatchRemovePeersFromChannelRequest) *BatchRemovePeersFromChannelInvoker
BatchRemovePeersFromChannelInvoker BCS某个组织中的节点退出某通道
func (*BcsClient) CreateBlockchainCertByUserName ¶
func (c *BcsClient) CreateBlockchainCertByUserName(request *model.CreateBlockchainCertByUserNameRequest) (*model.CreateBlockchainCertByUserNameResponse, error)
CreateBlockchainCertByUserName 生成用户证书
通过用户名生成指定服务实例组织用户证书
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) CreateBlockchainCertByUserNameInvoker ¶
func (c *BcsClient) CreateBlockchainCertByUserNameInvoker(request *model.CreateBlockchainCertByUserNameRequest) *CreateBlockchainCertByUserNameInvoker
CreateBlockchainCertByUserNameInvoker 生成用户证书
func (*BcsClient) CreateNewBlockchain ¶
func (c *BcsClient) CreateNewBlockchain(request *model.CreateNewBlockchainRequest) (*model.CreateNewBlockchainResponse, error)
CreateNewBlockchain 创建服务实例
创建BCS服务实例,只支持按需创建
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) CreateNewBlockchainInvoker ¶
func (c *BcsClient) CreateNewBlockchainInvoker(request *model.CreateNewBlockchainRequest) *CreateNewBlockchainInvoker
CreateNewBlockchainInvoker 创建服务实例
func (*BcsClient) DeleteBlockchain ¶
func (c *BcsClient) DeleteBlockchain(request *model.DeleteBlockchainRequest) (*model.DeleteBlockchainResponse, error)
DeleteBlockchain 删除服务实例
删除bcs实例。包周期实例不支持
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) DeleteBlockchainInvoker ¶
func (c *BcsClient) DeleteBlockchainInvoker(request *model.DeleteBlockchainRequest) *DeleteBlockchainInvoker
DeleteBlockchainInvoker 删除服务实例
func (*BcsClient) DeleteChannel ¶
func (c *BcsClient) DeleteChannel(request *model.DeleteChannelRequest) (*model.DeleteChannelResponse, error)
DeleteChannel BCS删除某个通道
该接口用于BCS删除某个通道。仅支持删除空通道
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) DeleteChannelInvoker ¶
func (c *BcsClient) DeleteChannelInvoker(request *model.DeleteChannelRequest) *DeleteChannelInvoker
DeleteChannelInvoker BCS删除某个通道
func (*BcsClient) DeleteMemberInvite ¶
func (c *BcsClient) DeleteMemberInvite(request *model.DeleteMemberInviteRequest) (*model.DeleteMemberInviteResponse, error)
DeleteMemberInvite 删除邀请成员信息
可通过此接口批量取消邀请或删除对已退出或拒绝加入或解散的成员邀请信息
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) DeleteMemberInviteInvoker ¶
func (c *BcsClient) DeleteMemberInviteInvoker(request *model.DeleteMemberInviteRequest) *DeleteMemberInviteInvoker
DeleteMemberInviteInvoker 删除邀请成员信息
func (*BcsClient) DownloadBlockchainCert ¶
func (c *BcsClient) DownloadBlockchainCert(request *model.DownloadBlockchainCertRequest) (*model.DownloadBlockchainCertResponse, error)
DownloadBlockchainCert 下载证书
下载指定服务实例相关证书
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) DownloadBlockchainCertInvoker ¶
func (c *BcsClient) DownloadBlockchainCertInvoker(request *model.DownloadBlockchainCertRequest) *DownloadBlockchainCertInvoker
DownloadBlockchainCertInvoker 下载证书
func (*BcsClient) DownloadBlockchainSdkConfig ¶
func (c *BcsClient) DownloadBlockchainSdkConfig(request *model.DownloadBlockchainSdkConfigRequest) (*model.DownloadBlockchainSdkConfigResponse, error)
DownloadBlockchainSdkConfig 下载SDK配置
下载指定服务实例SDK配置文件
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) DownloadBlockchainSdkConfigInvoker ¶
func (c *BcsClient) DownloadBlockchainSdkConfigInvoker(request *model.DownloadBlockchainSdkConfigRequest) *DownloadBlockchainSdkConfigInvoker
DownloadBlockchainSdkConfigInvoker 下载SDK配置
func (*BcsClient) FreezeCert ¶
func (c *BcsClient) FreezeCert(request *model.FreezeCertRequest) (*model.FreezeCertResponse, error)
FreezeCert 冻结用户证书
冻结指定服务实例组织用户证书,冻结后需等待半分钟到一分钟左右生效
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) FreezeCertInvoker ¶
func (c *BcsClient) FreezeCertInvoker(request *model.FreezeCertRequest) *FreezeCertInvoker
FreezeCertInvoker 冻结用户证书
func (*BcsClient) HandleNotification ¶
func (c *BcsClient) HandleNotification(request *model.HandleNotificationRequest) (*model.HandleNotificationResponse, error)
HandleNotification 处理联盟邀请
处理联盟邀请
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) HandleNotificationInvoker ¶
func (c *BcsClient) HandleNotificationInvoker(request *model.HandleNotificationRequest) *HandleNotificationInvoker
HandleNotificationInvoker 处理联盟邀请
func (*BcsClient) HandleUnionMemberQuitList ¶
func (c *BcsClient) HandleUnionMemberQuitList(request *model.HandleUnionMemberQuitListRequest) (*model.HandleUnionMemberQuitListResponse, error)
HandleUnionMemberQuitList 被邀请方退出指定联盟
被邀请方退出联盟
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) HandleUnionMemberQuitListInvoker ¶
func (c *BcsClient) HandleUnionMemberQuitListInvoker(request *model.HandleUnionMemberQuitListRequest) *HandleUnionMemberQuitListInvoker
HandleUnionMemberQuitListInvoker 被邀请方退出指定联盟
func (*BcsClient) ListBcsEvents ¶
func (c *BcsClient) ListBcsEvents(request *model.ListBcsEventsRequest) (*model.ListBcsEventsResponse, error)
ListBcsEvents 查询服务实例告警信息
该接口用于查询BCS服务的事件、告警数据,可以指定查询时的过滤条件。
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListBcsEventsInvoker ¶
func (c *BcsClient) ListBcsEventsInvoker(request *model.ListBcsEventsRequest) *ListBcsEventsInvoker
ListBcsEventsInvoker 查询服务实例告警信息
func (*BcsClient) ListBcsEventsStatistic ¶
func (c *BcsClient) ListBcsEventsStatistic(request *model.ListBcsEventsStatisticRequest) (*model.ListBcsEventsStatisticResponse, error)
ListBcsEventsStatistic 查询服务实例告警统计接口
该接口用于查询BCS服务的分段事件、告警统计数据,可以指定查询时的过滤条件。
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListBcsEventsStatisticInvoker ¶
func (c *BcsClient) ListBcsEventsStatisticInvoker(request *model.ListBcsEventsStatisticRequest) *ListBcsEventsStatisticInvoker
ListBcsEventsStatisticInvoker 查询服务实例告警统计接口
func (*BcsClient) ListBcsMetric ¶
func (c *BcsClient) ListBcsMetric(request *model.ListBcsMetricRequest) (*model.ListBcsMetricResponse, error)
ListBcsMetric 查询服务实例监控数据
该接口用于查询BCS服务的监控数据,可以指定相应的指标名称。
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListBcsMetricInvoker ¶
func (c *BcsClient) ListBcsMetricInvoker(request *model.ListBcsMetricRequest) *ListBcsMetricInvoker
ListBcsMetricInvoker 查询服务实例监控数据
func (*BcsClient) ListBlockchainChannels ¶
func (c *BcsClient) ListBlockchainChannels(request *model.ListBlockchainChannelsRequest) (*model.ListBlockchainChannelsResponse, error)
ListBlockchainChannels 查询通道信息
查询指定服务实例通道信息
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListBlockchainChannelsInvoker ¶
func (c *BcsClient) ListBlockchainChannelsInvoker(request *model.ListBlockchainChannelsRequest) *ListBlockchainChannelsInvoker
ListBlockchainChannelsInvoker 查询通道信息
func (*BcsClient) ListBlockchains ¶
func (c *BcsClient) ListBlockchains(request *model.ListBlockchainsRequest) (*model.ListBlockchainsResponse, error)
ListBlockchains 查询服务实例列表
查询当前项目下所有服务实例的简要信息
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListBlockchainsInvoker ¶
func (c *BcsClient) ListBlockchainsInvoker(request *model.ListBlockchainsRequest) *ListBlockchainsInvoker
ListBlockchainsInvoker 查询服务实例列表
func (*BcsClient) ListEntityMetric ¶
func (c *BcsClient) ListEntityMetric(request *model.ListEntityMetricRequest) (*model.ListEntityMetricResponse, error)
ListEntityMetric 查询BCS组织监控数据列表
该接口用于查询BCS组织的监控数据列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListEntityMetricInvoker ¶
func (c *BcsClient) ListEntityMetricInvoker(request *model.ListEntityMetricRequest) *ListEntityMetricInvoker
ListEntityMetricInvoker 查询BCS组织监控数据列表
func (*BcsClient) ListInstanceMetric ¶
func (c *BcsClient) ListInstanceMetric(request *model.ListInstanceMetricRequest) (*model.ListInstanceMetricResponse, error)
ListInstanceMetric 查询BCS组织实例监控数据详情
该接口用于BCS组织实例监控数据详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListInstanceMetricInvoker ¶
func (c *BcsClient) ListInstanceMetricInvoker(request *model.ListInstanceMetricRequest) *ListInstanceMetricInvoker
ListInstanceMetricInvoker 查询BCS组织实例监控数据详情
func (*BcsClient) ListMembers ¶
func (c *BcsClient) ListMembers(request *model.ListMembersRequest) (*model.ListMembersResponse, error)
ListMembers 获取联盟成员列表
获取联盟成员列表
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListMembersInvoker ¶
func (c *BcsClient) ListMembersInvoker(request *model.ListMembersRequest) *ListMembersInvoker
ListMembersInvoker 获取联盟成员列表
func (*BcsClient) ListNotifications ¶
func (c *BcsClient) ListNotifications(request *model.ListNotificationsRequest) (*model.ListNotificationsResponse, error)
ListNotifications 获取全部通知
获取全部通知
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListNotificationsInvoker ¶
func (c *BcsClient) ListNotificationsInvoker(request *model.ListNotificationsRequest) *ListNotificationsInvoker
ListNotificationsInvoker 获取全部通知
func (*BcsClient) ListOpRecord ¶
func (c *BcsClient) ListOpRecord(request *model.ListOpRecordRequest) (*model.ListOpRecordResponse, error)
ListOpRecord 查询异步操作结果
查询异步操作结果
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListOpRecordInvoker ¶
func (c *BcsClient) ListOpRecordInvoker(request *model.ListOpRecordRequest) *ListOpRecordInvoker
ListOpRecordInvoker 查询异步操作结果
func (*BcsClient) ListQuotas ¶
func (c *BcsClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
ListQuotas 查询配额
查询当前项目下BCS服务所有资源的配额信息
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ListQuotasInvoker ¶
func (c *BcsClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker
ListQuotasInvoker 查询配额
func (*BcsClient) ShowBlockchainDetail ¶
func (c *BcsClient) ShowBlockchainDetail(request *model.ShowBlockchainDetailRequest) (*model.ShowBlockchainDetailResponse, error)
ShowBlockchainDetail 查询实例信息
查询指定服务实例详细信息
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ShowBlockchainDetailInvoker ¶
func (c *BcsClient) ShowBlockchainDetailInvoker(request *model.ShowBlockchainDetailRequest) *ShowBlockchainDetailInvoker
ShowBlockchainDetailInvoker 查询实例信息
func (*BcsClient) ShowBlockchainFlavors ¶
func (c *BcsClient) ShowBlockchainFlavors(request *model.ShowBlockchainFlavorsRequest) (*model.ShowBlockchainFlavorsResponse, error)
ShowBlockchainFlavors 查询规格
查询服务联盟链规格信息
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ShowBlockchainFlavorsInvoker ¶
func (c *BcsClient) ShowBlockchainFlavorsInvoker(request *model.ShowBlockchainFlavorsRequest) *ShowBlockchainFlavorsInvoker
ShowBlockchainFlavorsInvoker 查询规格
func (*BcsClient) ShowBlockchainNodes ¶
func (c *BcsClient) ShowBlockchainNodes(request *model.ShowBlockchainNodesRequest) (*model.ShowBlockchainNodesResponse, error)
ShowBlockchainNodes 查询节点信息
查询指定服务实例节点信息
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ShowBlockchainNodesInvoker ¶
func (c *BcsClient) ShowBlockchainNodesInvoker(request *model.ShowBlockchainNodesRequest) *ShowBlockchainNodesInvoker
ShowBlockchainNodesInvoker 查询节点信息
func (*BcsClient) ShowBlockchainStatus ¶
func (c *BcsClient) ShowBlockchainStatus(request *model.ShowBlockchainStatusRequest) (*model.ShowBlockchainStatusResponse, error)
ShowBlockchainStatus 查询创建状态
查询指定服务实例创建状态
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) ShowBlockchainStatusInvoker ¶
func (c *BcsClient) ShowBlockchainStatusInvoker(request *model.ShowBlockchainStatusRequest) *ShowBlockchainStatusInvoker
ShowBlockchainStatusInvoker 查询创建状态
func (*BcsClient) UnfreezeCert ¶
func (c *BcsClient) UnfreezeCert(request *model.UnfreezeCertRequest) (*model.UnfreezeCertResponse, error)
UnfreezeCert 解冻用户证书
解冻指定服务实例组织用户证书,解冻后需等待半分钟到一分钟左右生效
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) UnfreezeCertInvoker ¶
func (c *BcsClient) UnfreezeCertInvoker(request *model.UnfreezeCertRequest) *UnfreezeCertInvoker
UnfreezeCertInvoker 解冻用户证书
func (*BcsClient) UpdateInstance ¶
func (c *BcsClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
UpdateInstance 修改服务实例
修改实例的节点、组织,目前仅支持添加、删除节点(IEF模式不支持添加、删除节点),添加、删除组织,共4种类型,每次操作只可以操作一种类型。此接口不支持包周期模式; 注意注册IEF节点时,IEF节点名称长度应该为4-24位的字符
Please refer to HUAWEI cloud API Explorer for details.
func (*BcsClient) UpdateInstanceInvoker ¶
func (c *BcsClient) UpdateInstanceInvoker(request *model.UpdateInstanceRequest) *UpdateInstanceInvoker
UpdateInstanceInvoker 修改服务实例
type CreateBlockchainCertByUserNameInvoker ¶
type CreateBlockchainCertByUserNameInvoker struct {
*invoker.BaseInvoker
}
func (*CreateBlockchainCertByUserNameInvoker) Invoke ¶
func (i *CreateBlockchainCertByUserNameInvoker) Invoke() (*model.CreateBlockchainCertByUserNameResponse, error)
type CreateNewBlockchainInvoker ¶
type CreateNewBlockchainInvoker struct {
*invoker.BaseInvoker
}
func (*CreateNewBlockchainInvoker) Invoke ¶
func (i *CreateNewBlockchainInvoker) Invoke() (*model.CreateNewBlockchainResponse, error)
type DeleteBlockchainInvoker ¶
type DeleteBlockchainInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteBlockchainInvoker) Invoke ¶
func (i *DeleteBlockchainInvoker) Invoke() (*model.DeleteBlockchainResponse, error)
type DeleteChannelInvoker ¶
type DeleteChannelInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteChannelInvoker) Invoke ¶
func (i *DeleteChannelInvoker) Invoke() (*model.DeleteChannelResponse, error)
type DeleteMemberInviteInvoker ¶
type DeleteMemberInviteInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteMemberInviteInvoker) Invoke ¶
func (i *DeleteMemberInviteInvoker) Invoke() (*model.DeleteMemberInviteResponse, error)
type DownloadBlockchainCertInvoker ¶
type DownloadBlockchainCertInvoker struct {
*invoker.BaseInvoker
}
func (*DownloadBlockchainCertInvoker) Invoke ¶
func (i *DownloadBlockchainCertInvoker) Invoke() (*model.DownloadBlockchainCertResponse, error)
type DownloadBlockchainSdkConfigInvoker ¶
type DownloadBlockchainSdkConfigInvoker struct {
*invoker.BaseInvoker
}
func (*DownloadBlockchainSdkConfigInvoker) Invoke ¶
func (i *DownloadBlockchainSdkConfigInvoker) Invoke() (*model.DownloadBlockchainSdkConfigResponse, error)
type FreezeCertInvoker ¶
type FreezeCertInvoker struct {
*invoker.BaseInvoker
}
func (*FreezeCertInvoker) Invoke ¶
func (i *FreezeCertInvoker) Invoke() (*model.FreezeCertResponse, error)
type HandleNotificationInvoker ¶
type HandleNotificationInvoker struct {
*invoker.BaseInvoker
}
func (*HandleNotificationInvoker) Invoke ¶
func (i *HandleNotificationInvoker) Invoke() (*model.HandleNotificationResponse, error)
type HandleUnionMemberQuitListInvoker ¶
type HandleUnionMemberQuitListInvoker struct {
*invoker.BaseInvoker
}
func (*HandleUnionMemberQuitListInvoker) Invoke ¶
func (i *HandleUnionMemberQuitListInvoker) Invoke() (*model.HandleUnionMemberQuitListResponse, error)
type ListBcsEventsInvoker ¶
type ListBcsEventsInvoker struct {
*invoker.BaseInvoker
}
func (*ListBcsEventsInvoker) Invoke ¶
func (i *ListBcsEventsInvoker) Invoke() (*model.ListBcsEventsResponse, error)
type ListBcsEventsStatisticInvoker ¶
type ListBcsEventsStatisticInvoker struct {
*invoker.BaseInvoker
}
func (*ListBcsEventsStatisticInvoker) Invoke ¶
func (i *ListBcsEventsStatisticInvoker) Invoke() (*model.ListBcsEventsStatisticResponse, error)
type ListBcsMetricInvoker ¶
type ListBcsMetricInvoker struct {
*invoker.BaseInvoker
}
func (*ListBcsMetricInvoker) Invoke ¶
func (i *ListBcsMetricInvoker) Invoke() (*model.ListBcsMetricResponse, error)
type ListBlockchainChannelsInvoker ¶
type ListBlockchainChannelsInvoker struct {
*invoker.BaseInvoker
}
func (*ListBlockchainChannelsInvoker) Invoke ¶
func (i *ListBlockchainChannelsInvoker) Invoke() (*model.ListBlockchainChannelsResponse, error)
type ListBlockchainsInvoker ¶
type ListBlockchainsInvoker struct {
*invoker.BaseInvoker
}
func (*ListBlockchainsInvoker) Invoke ¶
func (i *ListBlockchainsInvoker) Invoke() (*model.ListBlockchainsResponse, error)
type ListEntityMetricInvoker ¶
type ListEntityMetricInvoker struct {
*invoker.BaseInvoker
}
func (*ListEntityMetricInvoker) Invoke ¶
func (i *ListEntityMetricInvoker) Invoke() (*model.ListEntityMetricResponse, error)
type ListInstanceMetricInvoker ¶
type ListInstanceMetricInvoker struct {
*invoker.BaseInvoker
}
func (*ListInstanceMetricInvoker) Invoke ¶
func (i *ListInstanceMetricInvoker) Invoke() (*model.ListInstanceMetricResponse, error)
type ListMembersInvoker ¶
type ListMembersInvoker struct {
*invoker.BaseInvoker
}
func (*ListMembersInvoker) Invoke ¶
func (i *ListMembersInvoker) Invoke() (*model.ListMembersResponse, error)
type ListNotificationsInvoker ¶
type ListNotificationsInvoker struct {
*invoker.BaseInvoker
}
func (*ListNotificationsInvoker) Invoke ¶
func (i *ListNotificationsInvoker) Invoke() (*model.ListNotificationsResponse, error)
type ListOpRecordInvoker ¶
type ListOpRecordInvoker struct {
*invoker.BaseInvoker
}
func (*ListOpRecordInvoker) Invoke ¶
func (i *ListOpRecordInvoker) Invoke() (*model.ListOpRecordResponse, error)
type ListQuotasInvoker ¶
type ListQuotasInvoker struct {
*invoker.BaseInvoker
}
func (*ListQuotasInvoker) Invoke ¶
func (i *ListQuotasInvoker) Invoke() (*model.ListQuotasResponse, error)
type ShowBlockchainDetailInvoker ¶
type ShowBlockchainDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowBlockchainDetailInvoker) Invoke ¶
func (i *ShowBlockchainDetailInvoker) Invoke() (*model.ShowBlockchainDetailResponse, error)
type ShowBlockchainFlavorsInvoker ¶
type ShowBlockchainFlavorsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowBlockchainFlavorsInvoker) Invoke ¶
func (i *ShowBlockchainFlavorsInvoker) Invoke() (*model.ShowBlockchainFlavorsResponse, error)
type ShowBlockchainNodesInvoker ¶
type ShowBlockchainNodesInvoker struct {
*invoker.BaseInvoker
}
func (*ShowBlockchainNodesInvoker) Invoke ¶
func (i *ShowBlockchainNodesInvoker) Invoke() (*model.ShowBlockchainNodesResponse, error)
type ShowBlockchainStatusInvoker ¶
type ShowBlockchainStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowBlockchainStatusInvoker) Invoke ¶
func (i *ShowBlockchainStatusInvoker) Invoke() (*model.ShowBlockchainStatusResponse, error)
type UnfreezeCertInvoker ¶
type UnfreezeCertInvoker struct {
*invoker.BaseInvoker
}
func (*UnfreezeCertInvoker) Invoke ¶
func (i *UnfreezeCertInvoker) Invoke() (*model.UnfreezeCertResponse, error)
type UpdateInstanceInvoker ¶
type UpdateInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateInstanceInvoker) Invoke ¶
func (i *UpdateInstanceInvoker) Invoke() (*model.UpdateInstanceResponse, error)