model

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicInfo

type BasicInfo struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Version *string `json:"version,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	PurchaseType *string `json:"purchase_type,omitempty"`

	SignAlgorithm *string `json:"sign_algorithm,omitempty"`

	Consensus *string `json:"consensus,omitempty"`

	ChargingMode *int32 `json:"charging_mode,omitempty"`

	VersionType *int32 `json:"version_type,omitempty"`

	DatabaseType *string `json:"database_type,omitempty"`

	ClusterId *string `json:"cluster_id,omitempty"`

	ClusterName *string `json:"cluster_name,omitempty"`

	ClusterType *string `json:"cluster_type,omitempty"`

	ClusterAz *string `json:"cluster_az,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	DeployType *string `json:"deploy_type,omitempty"`

	IsCrossRegion *bool `json:"is_cross_region,omitempty"`

	IsSupportRollback *bool `json:"is_support_rollback,omitempty"`

	IsSupportRestful *bool `json:"is_support_restful,omitempty"`

	IsOldService *bool `json:"is_old_service,omitempty"`

	OldServiceVersion *string `json:"old_service_version,omitempty"`

	AgentPortalAddrs *[]string `json:"agent_portal_addrs,omitempty"`

	Status *string `json:"status,omitempty"`

	ProcessStatus *string `json:"process_status,omitempty"`

	OrderStatus *int32 `json:"order_status,omitempty"`
}

func (BasicInfo) String

func (o BasicInfo) String() string

type BatchAddPeersToChannelRequest

type BatchAddPeersToChannelRequest struct {
	BlockchainId string `json:"blockchain_id"`

	Body *BatchAddPeersToChannelRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchAddPeersToChannelRequest) String

type BatchAddPeersToChannelRequestBody

type BatchAddPeersToChannelRequestBody struct {
	ChannelPeers []BatchAddPeersToChannelRequestBodyChannelPeers `json:"channel_peers"`
}

节点加入通道

func (BatchAddPeersToChannelRequestBody) String

type BatchAddPeersToChannelRequestBodyChannelPeers

type BatchAddPeersToChannelRequestBodyChannelPeers struct {
	ChannelName string `json:"channel_name"`

	Peers map[string]int32 `json:"peers"`
}

func (BatchAddPeersToChannelRequestBodyChannelPeers) String

type BatchAddPeersToChannelResponse

type BatchAddPeersToChannelResponse struct {
	OperationId    *string `json:"operation_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchAddPeersToChannelResponse) String

type BatchCreateChannelsRequest

type BatchCreateChannelsRequest struct {
	BlockchainId string `json:"blockchain_id"`

	Body *BatchCreateChannelsRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchCreateChannelsRequest) String

type BatchCreateChannelsRequestBody

type BatchCreateChannelsRequestBody struct {
	Channels []ChannelCreateInfo `json:"channels"`
}

创建通道的配置

func (BatchCreateChannelsRequestBody) String

type BatchCreateChannelsResponse

type BatchCreateChannelsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchCreateChannelsResponse) String

type BatchInviteMembersToChannelRequest

type BatchInviteMembersToChannelRequest struct {
	Body *BatchInviteMembersToChannelRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchInviteMembersToChannelRequest) String

type BatchInviteMembersToChannelRequestBody

type BatchInviteMembersToChannelRequestBody struct {
	BcsId string `json:"bcs_id"`

	ChannelName string `json:"channel_name"`

	InvitorUsername *string `json:"invitor_username,omitempty"`

	InvitedUserinfo []InvitedDomain `json:"invited_userinfo"`
}

邀请联盟成员

func (BatchInviteMembersToChannelRequestBody) String

type BatchInviteMembersToChannelResponse

type BatchInviteMembersToChannelResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchInviteMembersToChannelResponse) String

type BlockchainInfo

type BlockchainInfo struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

func (BlockchainInfo) String

func (o BlockchainInfo) String() string

type CfgRequestBody

type CfgRequestBody struct {
	ChaincodeName string `json:"chaincode_name"`

	CertPath string `json:"cert_path"`

	ChannelName string `json:"channel_name"`

	PeerOrgs map[string][]string `json:"peer_orgs"`

	UnionInfo map[string][]string `json:"union_info,omitempty"`
}

func (CfgRequestBody) String

func (o CfgRequestBody) String() string

type Channel

type Channel struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	Peers map[string][]string `json:"peers,omitempty"`
}

func (Channel) String

func (o Channel) String() string

type ChannelCreateInfo

type ChannelCreateInfo struct {
	ChannelName string `json:"channel_name"`

	ChannelDescription *string `json:"channel_description,omitempty"`
}

通道信息

func (ChannelCreateInfo) String

func (o ChannelCreateInfo) String() string

type ChannelInfo

type ChannelInfo struct {
	Name *string `json:"name,omitempty"`

	OrgNames *[]string `json:"org_names,omitempty"`

	OrgNameHash *[]string `json:"org_name_hash,omitempty"`

	Peers map[string][]string `json:"peers,omitempty"`
}

func (ChannelInfo) String

func (o ChannelInfo) String() string

type ChannelInfoV2

type ChannelInfoV2 struct {
	Name *string `json:"name,omitempty"`

	OrgNames *[]string `json:"org_names,omitempty"`

	Description *string `json:"description,omitempty"`
}

func (ChannelInfoV2) String

func (o ChannelInfoV2) String() string

type ComCce

type ComCce struct {
	Cluster *Detail `json:"cluster,omitempty"`

	Network *Detail `json:"network,omitempty"`

	SecurityGroup *Detail `json:"security_group,omitempty"`
}

CCE组件

func (ComCce) String

func (o ComCce) String() string

type CouchDbInfo

type CouchDbInfo struct {
	User *string `json:"user,omitempty"`
}

func (CouchDbInfo) String

func (o CouchDbInfo) String() string

type CreateNewBlockchainRequest

type CreateNewBlockchainRequest struct {
	Body *CreateRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateNewBlockchainRequest) String

type CreateNewBlockchainResponse

type CreateNewBlockchainResponse struct {
	BlockchainId *string `json:"blockchain_id,omitempty"`

	BlockchainName *string `json:"blockchain_name,omitempty"`

	OperationId    *string `json:"operation_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateNewBlockchainResponse) String

type CreateRequestBody

type CreateRequestBody struct {
	Name string `json:"name"`

	VersionType *int32 `json:"version_type,omitempty"`

	FabricVersion *string `json:"fabric_version,omitempty"`

	BlockchainType *string `json:"blockchain_type,omitempty"`

	Consensus *string `json:"consensus,omitempty"`

	SignAlgorithm *string `json:"sign_algorithm,omitempty"`

	EnterpriseProjectId string `json:"enterprise_project_id"`

	VolumeType *string `json:"volume_type,omitempty"`

	EvsDiskType *string `json:"evs_disk_type,omitempty"`

	OrgDiskSize *int32 `json:"org_disk_size,omitempty"`

	DatabaseType *string `json:"database_type,omitempty"`

	ResourcePassword string `json:"resource_password"`

	OrdererNodeNumber *int32 `json:"orderer_node_number,omitempty"`

	UseEip *bool `json:"use_eip,omitempty"`

	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	ClusterType *string `json:"cluster_type,omitempty"`

	CreateNewCluster bool `json:"create_new_cluster"`

	CceClusterInfo *CreateRequestBodyCceClusterInfo `json:"cce_cluster_info"`

	CceCreateInfo *CreateRequestBodyCceCreateInfo `json:"cce_create_info"`

	IefDeployMode *int32 `json:"ief_deploy_mode,omitempty"`

	IefNodesInfo *[]IefNode `json:"ief_nodes_info,omitempty"`

	PeerOrgs *[]OrgPeer `json:"peer_orgs,omitempty"`

	Channels *[]ChannelInfoV2 `json:"channels,omitempty"`

	CouchdbInfo *CreateRequestBodyCouchdbInfo `json:"couchdb_info,omitempty"`

	TurboInfo *CreateRequestBodyTurboInfo `json:"turbo_info,omitempty"`

	BlockInfo *CreateRequestBodyBlockInfo `json:"block_info,omitempty"`

	KafkaCreateInfo *CreateRequestBodyKafkaCreateInfo `json:"kafka_create_info,omitempty"`

	Tc3Need *bool `json:"tc3_need,omitempty"`

	RestfulApiSupport *bool `json:"restful_api_support,omitempty"`

	IsInvitee *bool `json:"is_invitee,omitempty"`

	InvitorInfos *CreateRequestBodyInvitorInfos `json:"invitor_infos,omitempty"`
}

func (CreateRequestBody) String

func (o CreateRequestBody) String() string

type CreateRequestBodyBlockInfo

type CreateRequestBodyBlockInfo struct {
	BatchTimeout *int32 `json:"batch_timeout,omitempty"`

	MaxMessageCount *int32 `json:"max_message_count,omitempty"`

	PreferredMaxbytes *int32 `json:"preferred_maxbytes,omitempty"`
}

区块生成配置信息

func (CreateRequestBodyBlockInfo) String

type CreateRequestBodyCceClusterInfo

type CreateRequestBodyCceClusterInfo struct {
	ClusterId *string `json:"cluster_id,omitempty"`

	ClusterName *string `json:"cluster_name,omitempty"`
}

使用已有CCE集群信息

func (CreateRequestBodyCceClusterInfo) String

type CreateRequestBodyCceCreateInfo

type CreateRequestBodyCceCreateInfo struct {
	NodeNum *int32 `json:"node_num,omitempty"`

	NodeFlavor *string `json:"node_flavor,omitempty"`

	CceFlavor *string `json:"cce_flavor,omitempty"`

	InitNodePwd *string `json:"init_node_pwd,omitempty"`

	Az *string `json:"az,omitempty"`

	ClusterPlatformType *string `json:"cluster_platform_type,omitempty"`
}

创建新集群信息

func (CreateRequestBodyCceCreateInfo) String

type CreateRequestBodyCouchdbInfo

type CreateRequestBodyCouchdbInfo struct {
	UserName *string `json:"user_name,omitempty"`

	Password *string `json:"password,omitempty"`
}

couchDB信息

func (CreateRequestBodyCouchdbInfo) String

type CreateRequestBodyInvitorInfos

type CreateRequestBodyInvitorInfos struct {
	TenantId *string `json:"tenant_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	BlockchainId *string `json:"blockchain_id,omitempty"`
}

邀请方信息,被邀请方创建服务实例时需要填写此内容

func (CreateRequestBodyInvitorInfos) String

type CreateRequestBodyKafkaCreateInfo

type CreateRequestBodyKafkaCreateInfo struct {
	Spec *string `json:"spec,omitempty"`

	Storage *int32 `json:"storage,omitempty"`

	Az *string `json:"az,omitempty"`
}

kafka实例创建信息

func (CreateRequestBodyKafkaCreateInfo) String

type CreateRequestBodyTurboInfo

type CreateRequestBodyTurboInfo struct {
	ShareType *string `json:"share_type,omitempty"`

	Type *string `json:"type,omitempty"`

	AvailableZone *string `json:"available_zone,omitempty"`

	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`
}

极速文件存储卷信息

func (CreateRequestBodyTurboInfo) String

type DeleteBlockchainRequest

type DeleteBlockchainRequest struct {
	BlockchainId string `json:"blockchain_id"`

	IsDeleteStorage *bool `json:"is_delete_storage,omitempty"`

	IsDeleteObs *bool `json:"is_delete_obs,omitempty"`

	IsDeleteResource *bool `json:"is_delete_resource,omitempty"`
}

Request Object

func (DeleteBlockchainRequest) String

func (o DeleteBlockchainRequest) String() string

type DeleteBlockchainResponse

type DeleteBlockchainResponse struct {
	OperationId    *string `json:"operation_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteBlockchainResponse) String

func (o DeleteBlockchainResponse) String() string

type Detail

type Detail struct {
	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	Status *DetailStatus `json:"status,omitempty"`

	Detail *string `json:"detail,omitempty"`
}

组件创建信息

func (Detail) String

func (o Detail) String() string

type DetailStatus

type DetailStatus struct {
	// contains filtered or unexported fields
}

func (DetailStatus) MarshalJSON

func (c DetailStatus) MarshalJSON() ([]byte, error)

func (*DetailStatus) UnmarshalJSON

func (c *DetailStatus) UnmarshalJSON(b []byte) error

type DetailStatusEnum

type DetailStatusEnum struct {
	WAITING   DetailStatus
	DEPLOYING DetailStatus
	FINISHED  DetailStatus
	FAILED    DetailStatus
}

func GetDetailStatusEnum

func GetDetailStatusEnum() DetailStatusEnum

type Dimension

type Dimension struct {
	Name *string `json:"name,omitempty"`

	Value *string `json:"value,omitempty"`
}

指标维度。

func (Dimension) String

func (o Dimension) String() string

type DmsKafkaInfo

type DmsKafkaInfo struct {
	Addr *[]string `json:"addr,omitempty"`

	OrderFadeEnable *bool `json:"order_fade_enable,omitempty"`

	OrderFadeCache *int32 `json:"order_fade_cache,omitempty"`
}

func (DmsKafkaInfo) String

func (o DmsKafkaInfo) String() string

type DownloadBlockchainCertRequest

type DownloadBlockchainCertRequest struct {
	BlockchainId string `json:"blockchain_id"`

	OrgName string `json:"org_name"`

	CertType DownloadBlockchainCertRequestCertType `json:"cert_type"`
}

Request Object

func (DownloadBlockchainCertRequest) String

type DownloadBlockchainCertRequestCertType

type DownloadBlockchainCertRequestCertType struct {
	// contains filtered or unexported fields
}

func (DownloadBlockchainCertRequestCertType) MarshalJSON

func (c DownloadBlockchainCertRequestCertType) MarshalJSON() ([]byte, error)

func (*DownloadBlockchainCertRequestCertType) UnmarshalJSON

func (c *DownloadBlockchainCertRequestCertType) UnmarshalJSON(b []byte) error

type DownloadBlockchainCertResponse

type DownloadBlockchainCertResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DownloadBlockchainCertResponse) String

type DownloadBlockchainSdkConfigRequest

type DownloadBlockchainSdkConfigRequest struct {
	BlockchainId string `json:"blockchain_id"`

	Body *CfgRequestBody `json:"body,omitempty"`
}

Request Object

func (DownloadBlockchainSdkConfigRequest) String

type DownloadBlockchainSdkConfigResponse

type DownloadBlockchainSdkConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DownloadBlockchainSdkConfigResponse) String

type EntityMetricList

type EntityMetricList struct {
	Dimensions *[]Dimension `json:"dimensions,omitempty"`

	Values *interface{} `json:"values,omitempty"`
}

BCS组织维度监控数据列表结构

func (EntityMetricList) String

func (o EntityMetricList) String() string

type HandleNotificationInvitee

type HandleNotificationInvitee struct {
	InviteeBcsId string `json:"invitee_bcs_id"`

	InviteeBcsName string `json:"invitee_bcs_name"`

	InviteeProjectId string `json:"invitee_project_id"`

	InviteeUserId string `json:"invitee_user_id"`
}

func (HandleNotificationInvitee) String

func (o HandleNotificationInvitee) String() string

type HandleNotificationInvitor

type HandleNotificationInvitor struct {
	InvitorBcsId string `json:"invitor_bcs_id"`

	InvitorBcsName string `json:"invitor_bcs_name"`

	InvitorProjectId string `json:"invitor_project_id"`

	InvitorUserId string `json:"invitor_user_id"`
}

func (HandleNotificationInvitor) String

func (o HandleNotificationInvitor) String() string

type HandleNotificationOrg

type HandleNotificationOrg struct {
	Name *string `json:"name,omitempty"`
}

func (HandleNotificationOrg) String

func (o HandleNotificationOrg) String() string

type HandleNotificationRequest

type HandleNotificationRequest struct {
	Body *HandleNotificationRequestBody `json:"body,omitempty"`
}

Request Object

func (HandleNotificationRequest) String

func (o HandleNotificationRequest) String() string

type HandleNotificationRequestBody

type HandleNotificationRequestBody struct {
	ChannelName string `json:"channel_name"`

	Status HandleNotificationRequestBodyStatus `json:"status"`

	InvitorInfo *HandleNotificationInvitor `json:"invitor_info"`

	InviteeInfo *HandleNotificationInvitee `json:"invitee_info,omitempty"`

	InvitedOrgs *[]HandleNotificationOrg `json:"invited_orgs,omitempty"`
}

处理联盟邀请body数据

func (HandleNotificationRequestBody) String

type HandleNotificationRequestBodyStatus

type HandleNotificationRequestBodyStatus struct {
	// contains filtered or unexported fields
}

func (HandleNotificationRequestBodyStatus) MarshalJSON

func (c HandleNotificationRequestBodyStatus) MarshalJSON() ([]byte, error)

func (*HandleNotificationRequestBodyStatus) UnmarshalJSON

func (c *HandleNotificationRequestBodyStatus) UnmarshalJSON(b []byte) error

type HandleNotificationRequestBodyStatusEnum

type HandleNotificationRequestBodyStatusEnum struct {
	AGREED HandleNotificationRequestBodyStatus
	REJECT HandleNotificationRequestBodyStatus
}

func GetHandleNotificationRequestBodyStatusEnum

func GetHandleNotificationRequestBodyStatusEnum() HandleNotificationRequestBodyStatusEnum

type HandleNotificationResponse

type HandleNotificationResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (HandleNotificationResponse) String

type IefInfo

type IefInfo struct {
	DeployMode *int32 `json:"deploy_mode,omitempty"`
}

func (IefInfo) String

func (o IefInfo) String() string

type IefNode

type IefNode struct {
	Id string `json:"id"`

	Status string `json:"status"`

	PublicIpAddress string `json:"public_ip_address"`
}

func (IefNode) String

func (o IefNode) String() string

type InvitedDomain

type InvitedDomain struct {
	InvitedUser string `json:"invited_user"`
}

被邀请列表

func (InvitedDomain) String

func (o InvitedDomain) String() string

type InviteeInfo

type InviteeInfo struct {
	InviteeId *string `json:"invitee_id,omitempty"`

	InviteeName *int32 `json:"invitee_name,omitempty"`

	InviteeBcsName *string `json:"invitee_bcs_name,omitempty"`

	InviteeBcsId *string `json:"invitee_bcs_id,omitempty"`

	InviteeProjectId *string `json:"invitee_project_id,omitempty"`
}

被邀请方的信息

func (InviteeInfo) String

func (o InviteeInfo) String() string

type InvitorInfo

type InvitorInfo struct {
	InvitorId *string `json:"invitor_id,omitempty"`

	InvitorName *string `json:"invitor_name,omitempty"`

	InvitorBcsId *string `json:"invitor_bcs_id,omitempty"`

	InvitorBcsName *string `json:"invitor_bcs_name,omitempty"`

	InvitorConsensus *string `json:"invitor_consensus,omitempty"`

	InvitorProjectId *string `json:"invitor_project_id,omitempty"`

	InvitorClusterType *string `json:"invitor_cluster_type,omitempty"`

	InvitorDatabaseType *string `json:"invitor_database_type,omitempty"`

	InvitorSignatureAlgorithm *string `json:"invitor_signature_algorithm,omitempty"`

	InvitorFabricVersion *string `json:"invitor_fabric_version,omitempty"`

	OrderFadeEnabled *bool `json:"order_fade_enabled,omitempty"`

	OrderFadeCache *int32 `json:"order_fade_cache,omitempty"`
}

邀请者的信息

func (InvitorInfo) String

func (o InvitorInfo) String() string

type ListBcsMetricRequest

type ListBcsMetricRequest struct {
	BlockchainId string `json:"blockchain_id"`

	Body *ListBcsMetricRequestBody `json:"body,omitempty"`
}

Request Object

func (ListBcsMetricRequest) String

func (o ListBcsMetricRequest) String() string

type ListBcsMetricRequestBody

type ListBcsMetricRequestBody struct {
	MetricNames *[]string `json:"metric_names,omitempty"`
}

BCS服务监控数据查询请求结构

func (ListBcsMetricRequestBody) String

func (o ListBcsMetricRequestBody) String() string

type ListBcsMetricResponse

type ListBcsMetricResponse struct {
	Metrics        *[]MetricItemResultApi `json:"metrics,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListBcsMetricResponse) String

func (o ListBcsMetricResponse) String() string

type ListBlockchainChannelsRequest

type ListBlockchainChannelsRequest struct {
	BlockchainId string `json:"blockchain_id"`
}

Request Object

func (ListBlockchainChannelsRequest) String

type ListBlockchainChannelsResponse

type ListBlockchainChannelsResponse struct {
	Channels       *[]Channel `json:"channels,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListBlockchainChannelsResponse) String

type ListBlockchainsRequest

type ListBlockchainsRequest struct {
}

Request Object

func (ListBlockchainsRequest) String

func (o ListBlockchainsRequest) String() string

type ListBlockchainsResponse

type ListBlockchainsResponse struct {
	Blockchains    *[]BlockchainInfo `json:"blockchains,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListBlockchainsResponse) String

func (o ListBlockchainsResponse) String() string

type ListEntityMetricRequest

type ListEntityMetricRequest struct {
	BlockchainId string `json:"blockchain_id"`

	Body *ListEntityMetricRequestBody `json:"body,omitempty"`
}

Request Object

func (ListEntityMetricRequest) String

func (o ListEntityMetricRequest) String() string

type ListEntityMetricRequestBody

type ListEntityMetricRequestBody struct {
	Type string `json:"type"`

	EntityName *string `json:"entity_name,omitempty"`
}

BCS组织监控数据列表查询请求结构

func (ListEntityMetricRequestBody) String

type ListEntityMetricResponse

type ListEntityMetricResponse struct {
	Metrics        *[]EntityMetricList `json:"metrics,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListEntityMetricResponse) String

func (o ListEntityMetricResponse) String() string

type ListInstanceMetricRequest

type ListInstanceMetricRequest struct {
	BlockchainId string `json:"blockchain_id"`

	Body *ListInstanceMetricRequestBody `json:"body,omitempty"`
}

Request Object

func (ListInstanceMetricRequest) String

func (o ListInstanceMetricRequest) String() string

type ListInstanceMetricRequestBody

type ListInstanceMetricRequestBody struct {
	Type string `json:"type"`

	EntityName string `json:"entity_name"`

	InstanceName string `json:"instance_name"`
}

BCS组织实例监控数据详情查询请求结构

func (ListInstanceMetricRequestBody) String

type ListInstanceMetricResponse

type ListInstanceMetricResponse struct {
	Metrics        *[]MetricItemResultApi `json:"metrics,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListInstanceMetricResponse) String

type ListMembersRequest

type ListMembersRequest struct {
}

Request Object

func (ListMembersRequest) String

func (o ListMembersRequest) String() string

type ListMembersResponse

type ListMembersResponse struct {
	Members        *[]Member `json:"members,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListMembersResponse) String

func (o ListMembersResponse) String() string

type ListNotificationsRequest

type ListNotificationsRequest struct {
}

Request Object

func (ListNotificationsRequest) String

func (o ListNotificationsRequest) String() string

type ListNotificationsResponse

type ListNotificationsResponse struct {
	Notifications  *[]NotificationList `json:"notifications,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListNotificationsResponse) String

func (o ListNotificationsResponse) String() string

type ListOpRecordRequest

type ListOpRecordRequest struct {
	BlockchainId *string `json:"blockchain_id,omitempty"`

	OperationStatus *ListOpRecordRequestOperationStatus `json:"operation_status,omitempty"`

	ResourceType *ListOpRecordRequestResourceType `json:"resource_type,omitempty"`

	OperationType *ListOpRecordRequestOperationType `json:"operation_type,omitempty"`

	OperationId *string `json:"operation_id,omitempty"`
}

Request Object

func (ListOpRecordRequest) String

func (o ListOpRecordRequest) String() string

type ListOpRecordRequestOperationStatus

type ListOpRecordRequestOperationStatus struct {
	// contains filtered or unexported fields
}

func (ListOpRecordRequestOperationStatus) MarshalJSON

func (c ListOpRecordRequestOperationStatus) MarshalJSON() ([]byte, error)

func (*ListOpRecordRequestOperationStatus) UnmarshalJSON

func (c *ListOpRecordRequestOperationStatus) UnmarshalJSON(b []byte) error

type ListOpRecordRequestOperationType

type ListOpRecordRequestOperationType struct {
	// contains filtered or unexported fields
}

func (ListOpRecordRequestOperationType) MarshalJSON

func (c ListOpRecordRequestOperationType) MarshalJSON() ([]byte, error)

func (*ListOpRecordRequestOperationType) UnmarshalJSON

func (c *ListOpRecordRequestOperationType) UnmarshalJSON(b []byte) error

type ListOpRecordRequestResourceType

type ListOpRecordRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListOpRecordRequestResourceType) MarshalJSON

func (c ListOpRecordRequestResourceType) MarshalJSON() ([]byte, error)

func (*ListOpRecordRequestResourceType) UnmarshalJSON

func (c *ListOpRecordRequestResourceType) UnmarshalJSON(b []byte) error

type ListOpRecordResponse

type ListOpRecordResponse struct {
	Count *int64 `json:"count,omitempty"`

	OperationRecords *[]RecordDetailInfo `json:"operation_records,omitempty"`
	HttpStatusCode   int                 `json:"-"`
}

Response Object

func (ListOpRecordResponse) String

func (o ListOpRecordResponse) String() string

type ListQuotasRequest

type ListQuotasRequest struct {
}

Request Object

func (ListQuotasRequest) String

func (o ListQuotasRequest) String() string

type ListQuotasResponse

type ListQuotasResponse struct {
	Resources      *[]Resource `json:"resources,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListQuotasResponse) String

func (o ListQuotasResponse) String() string

type Member

type Member struct {
	TcsNeed *bool `json:"tcs_need,omitempty"`

	ChannelName *string `json:"channel_name,omitempty"`

	InvitedOrgs *[]OrganizationV2 `json:"invited_orgs,omitempty"`

	InvitorInfo *MemberInvitor `json:"invitor_info,omitempty"`

	InviteeInfo *MemberInvitee `json:"invitee_info,omitempty"`
}

联盟成员

func (Member) String

func (o Member) String() string

type MemberInvitee

type MemberInvitee struct {
	InviteeBcsId *string `json:"invitee_bcs_id,omitempty"`

	InviteeUserId *string `json:"invitee_user_id,omitempty"`

	InviteeUsername *string `json:"invitee_username,omitempty"`
}

联盟成员中的被邀请方

func (MemberInvitee) String

func (o MemberInvitee) String() string

type MemberInvitor

type MemberInvitor struct {
	InvitorBcsId *string `json:"invitor_bcs_id,omitempty"`

	InvitorBcsName *string `json:"invitor_bcs_name,omitempty"`

	InvitorProjectId *string `json:"invitor_project_id,omitempty"`

	InvitorUserId *string `json:"invitor_user_id,omitempty"`

	InvitorUsername *string `json:"invitor_username,omitempty"`
}

联盟成员中的邀请方

func (MemberInvitor) String

func (o MemberInvitor) String() string

type MetricDataPoints

type MetricDataPoints struct {
	Timestamp *int64 `json:"timestamp,omitempty"`

	Unit *string `json:"unit,omitempty"`

	Statistics *[]StatisticValue `json:"statistics,omitempty"`
}

查询结果要点

func (MetricDataPoints) String

func (o MetricDataPoints) String() string

type MetricDemision

type MetricDemision struct {
	Namespace *string `json:"namespace,omitempty"`

	MetricName *string `json:"metricName,omitempty"`

	Dimensions *[]Dimension `json:"dimensions,omitempty"`
}

指标描述信息

func (MetricDemision) String

func (o MetricDemision) String() string

type MetricItemResultApi

type MetricItemResultApi struct {
	Metric *MetricDemision `json:"metric,omitempty"`

	DataPoints *[]MetricDataPoints `json:"dataPoints,omitempty"`
}

监控数据信息

func (MetricItemResultApi) String

func (o MetricItemResultApi) String() string

type Node

type Node struct {
	IpPort *string `json:"ip_port,omitempty"`

	Channels *[]string `json:"channels,omitempty"`
}

func (Node) String

func (o Node) String() string

type NodeInfo

type NodeInfo struct {
	Name *string `json:"name,omitempty"`

	Id *string `json:"id,omitempty"`
}

节点信息

func (NodeInfo) String

func (o NodeInfo) String() string

type NotificationList

type NotificationList struct {
	ChannelName *string `json:"channel_name,omitempty"`

	Status *string `json:"status,omitempty"`

	UpdatedTime *string `json:"updated_time,omitempty"`

	Tc3Need *bool `json:"tc3_need,omitempty"`

	InvitorInfo *InvitorInfo `json:"invitor_info,omitempty"`

	InviteeInfo *InviteeInfo `json:"invitee_info,omitempty"`

	Hide *int32 `json:"hide,omitempty"`

	InviteeOrgs *[]OrganizationV2 `json:"invitee_orgs,omitempty"`

	ReadStatus *int32 `json:"read_status,omitempty"`

	CrossVersionUpgrade *string `json:"cross_version_upgrade,omitempty"`
}

func (NotificationList) String

func (o NotificationList) String() string

type ObsInfo

type ObsInfo struct {
	Name *string `json:"name,omitempty"`

	Addr *string `json:"addr,omitempty"`
}

OBS桶信息

func (ObsInfo) String

func (o ObsInfo) String() string

type OpIdRes

type OpIdRes struct {
	OperationId *string `json:"operation_id,omitempty"`
}

func (OpIdRes) String

func (o OpIdRes) String() string

type OprecordCluster

type OprecordCluster struct {
	ClusterType *string `json:"cluster_type,omitempty"`

	Name *string `json:"name,omitempty"`

	ClusterId *string `json:"cluster_id,omitempty"`

	NodeInfos *[]NodeInfo `json:"node_infos,omitempty"`
}

集群信息

func (OprecordCluster) String

func (o OprecordCluster) String() string

type Org

type Org struct {
	MspId *string `json:"msp_id,omitempty"`

	Domain *string `json:"domain,omitempty"`

	Peers map[string]Node `json:"peers,omitempty"`
}

func (Org) String

func (o Org) String() string

type OrgPeer

type OrgPeer struct {
	Name *string `json:"name,omitempty"`

	NodeCount *int32 `json:"node_count,omitempty"`
}

func (OrgPeer) String

func (o OrgPeer) String() string

type OrganizationV2

type OrganizationV2 struct {
	Name *string `json:"name,omitempty"`

	NameHash *string `json:"name_hash,omitempty"`

	NodeCount *string `json:"node_count,omitempty"`

	Status *string `json:"status,omitempty"`

	StatusDetail *string `json:"status_detail,omitempty"`
}

组织信息

func (OrganizationV2) String

func (o OrganizationV2) String() string

type PeerAddress

type PeerAddress struct {
	DomainPort *string `json:"domain_port,omitempty"`

	IpPort *string `json:"ip_port,omitempty"`
}

func (PeerAddress) String

func (o PeerAddress) String() string

type PeerInfo

type PeerInfo struct {
	Name *string `json:"name,omitempty"`

	NodeCnt *int32 `json:"node_cnt,omitempty"`

	Status *string `json:"status,omitempty"`

	StatusDetail *string `json:"status_detail,omitempty"`

	PvcName *string `json:"pvc_name,omitempty"`

	Address *[]PeerAddress `json:"address,omitempty"`
}

func (PeerInfo) String

func (o PeerInfo) String() string

type ProcessInfo

type ProcessInfo struct {
	StepName *string `json:"step_name,omitempty"`

	Status *string `json:"status,omitempty"`

	Detail *string `json:"detail,omitempty"`

	SubSteps map[string]SubDetail `json:"sub_steps,omitempty"`

	SerialNum *int64 `json:"serial_num,omitempty"`
}

操作进度信息

func (ProcessInfo) String

func (o ProcessInfo) String() string

type RecordDetailInfo

type RecordDetailInfo struct {
	OperationId *string `json:"operation_id,omitempty"`

	ResourceType *string `json:"resource_type,omitempty"`

	OperationType *string `json:"operation_type,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	BlockchainId *string `json:"blockchain_id,omitempty"`

	BlockchainName *string `json:"blockchain_name,omitempty"`

	ClusterInfo *OprecordCluster `json:"cluster_info,omitempty"`

	OperationProcess map[string]ProcessInfo `json:"operation_process,omitempty"`

	RecordTime *int64 `json:"record_time,omitempty"`

	OperationStatus *string `json:"operation_status,omitempty"`

	Message *[]string `json:"message,omitempty"`

	Desc *string `json:"desc,omitempty"`
}

操作记录详细信息

func (RecordDetailInfo) String

func (o RecordDetailInfo) String() string

type Resource

type Resource struct {
	Type *string `json:"type,omitempty"`

	Unit *string `json:"unit,omitempty"`

	Min *int32 `json:"min,omitempty"`

	Max *int32 `json:"max,omitempty"`

	Quota *int32 `json:"quota,omitempty"`

	Used *int32 `json:"used,omitempty"`

	Free *int32 `json:"free,omitempty"`
}

func (Resource) String

func (o Resource) String() string

type SfsInfo

type SfsInfo struct {
	PvcName *string `json:"pvc_name,omitempty"`

	Name *string `json:"name,omitempty"`

	Addr *string `json:"addr,omitempty"`

	Type *string `json:"type,omitempty"`
}

func (SfsInfo) String

func (o SfsInfo) String() string

type ShowBlockchainDetailRequest

type ShowBlockchainDetailRequest struct {
	BlockchainId string `json:"blockchain_id"`
}

Request Object

func (ShowBlockchainDetailRequest) String

type ShowBlockchainDetailResponse

type ShowBlockchainDetailResponse struct {
	BasicInfo *BasicInfo `json:"basic_info,omitempty"`

	Channels *[]ChannelInfo `json:"channels,omitempty"`

	PeerInfo *[]PeerInfo `json:"peer_info,omitempty"`

	LightPeerInfo *[]PeerInfo `json:"light_peer_info,omitempty"`

	OrdererInfo *PeerInfo `json:"orderer_info,omitempty"`

	CouchDbInfo *CouchDbInfo `json:"couch_db_info,omitempty"`

	DmsKafkaInfo *DmsKafkaInfo `json:"dms_kafka_info,omitempty"`

	IefInfo *IefInfo `json:"ief_info,omitempty"`

	SfsInfo *SfsInfo `json:"sfs_info,omitempty"`

	AgentInfo *PeerInfo `json:"agent_info,omitempty"`

	RestapiInfo *PeerInfo `json:"restapi_info,omitempty"`

	EvsPvcInfo map[string]map[string]string `json:"evs_pvc_info,omitempty"`

	Tc3TaskserverInfo *PeerInfo `json:"tc3_taskserver_info,omitempty"`

	ObsBucketInfo  *ObsInfo `json:"obs_bucket_info,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (ShowBlockchainDetailResponse) String

type ShowBlockchainNodesRequest

type ShowBlockchainNodesRequest struct {
	BlockchainId string `json:"blockchain_id"`
}

Request Object

func (ShowBlockchainNodesRequest) String

type ShowBlockchainNodesResponse

type ShowBlockchainNodesResponse struct {
	NodeOrgs       map[string]Org `json:"node_orgs,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowBlockchainNodesResponse) String

type ShowBlockchainStatusRequest

type ShowBlockchainStatusRequest struct {
	BlockchainId string `json:"blockchain_id"`
}

Request Object

func (ShowBlockchainStatusRequest) String

type ShowBlockchainStatusResponse

type ShowBlockchainStatusResponse struct {
	Bcs *Detail `json:"bcs,omitempty"`

	Eip *Detail `json:"eip,omitempty"`

	Sfs *Detail `json:"sfs,omitempty"`

	Obs *Detail `json:"obs,omitempty"`

	Kafka *Detail `json:"kafka,omitempty"`

	Cce            *ComCce `json:"cce,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowBlockchainStatusResponse) String

type StatisticValue

type StatisticValue struct {
	Statistic *string `json:"statistic,omitempty"`

	Value *float64 `json:"value,omitempty"`
}

统计结果

func (StatisticValue) String

func (o StatisticValue) String() string

type SubDetail

type SubDetail struct {
	SubstepName *string `json:"substep_name,omitempty"`

	Detail *string `json:"detail,omitempty"`

	Status *string `json:"status,omitempty"`

	Message *[]string `json:"message,omitempty"`

	StartTime *int64 `json:"start_time,omitempty"`

	EndTime *int64 `json:"end_time,omitempty"`

	SerialNum *int64 `json:"serial_num,omitempty"`
}

子操作详情

func (SubDetail) String

func (o SubDetail) String() string

type UpdateInstanceRequest

type UpdateInstanceRequest struct {
	BlockchainId string `json:"blockchain_id"`

	Body *OpIdRes `json:"body,omitempty"`
}

Request Object

func (UpdateInstanceRequest) String

func (o UpdateInstanceRequest) String() string

type UpdateInstanceResponse

type UpdateInstanceResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateInstanceResponse) String

func (o UpdateInstanceResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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