Documentation ¶
Index ¶
- type ClusterNode
- type CreateEngineRequest
- type CreateEngineResponse
- type CreateKieReq
- type DeleteEngineRequest
- type DeleteEngineResponse
- type DocFailedOfUpload
- type DownloadKieReqBody
- type DownloadKieRequest
- type DownloadKieRequestMatch
- type DownloadKieRequestMatchEnum
- type DownloadKieResponse
- type DownloadKieResponseBodyMetadata
- type EngineAdditionalActionReq
- type EngineAdditionalActionReqAction
- type EngineAdditionalActionReqActionEnum
- type EngineCreateReq
- type EngineCreateReqAuthType
- type EngineCreateReqAuthTypeEnum
- type EngineCreateReqFlavor
- type EngineCreateReqFlavorEnum
- type EngineCreateReqPayment
- type EngineCreateReqPaymentEnum
- type EngineCreateReqSpecType
- type EngineCreateReqSpecTypeEnum
- type EngineExternalEntrypoint
- type EngineRbacPwd
- type EngineReference
- type EngineSimpleInfo
- type EngineSimpleInfoAuthType
- type EngineSimpleInfoAuthTypeEnum
- type EngineSimpleInfoEngineAdditionalActions
- type EngineSimpleInfoEngineAdditionalActionsEnum
- type EngineSimpleInfoFlavor
- type EngineSimpleInfoFlavorEnum
- type EngineSimpleInfoSpecType
- type EngineSimpleInfoSpecTypeEnum
- type EngineSimpleInfoStatus
- type EngineSimpleInfoStatusEnum
- type EngineSimpleInfoType
- type EngineSimpleInfoTypeEnum
- type EngineUpdateReq
- type EntrypointItem
- type EntrypointItemType
- type EntrypointItemTypeEnum
- type FlavorBrief
- type GetKieConfigs
- type ListEnginesRequest
- type ListEnginesResponse
- type ListFlavorsRequest
- type ListFlavorsResponse
- type RetryEngineRequest
- type RetryEngineResponse
- type ShowEngineJobRequest
- type ShowEngineJobResponse
- type ShowEngineJobResponseStatus
- type ShowEngineJobResponseStatusEnum
- type ShowEngineJobResponseType
- type ShowEngineJobResponseTypeEnum
- type ShowEngineRequest
- type ShowEngineResponse
- type ShowEngineResponseAuthType
- type ShowEngineResponseAuthTypeEnum
- type ShowEngineResponseEngineAdditionalActions
- type ShowEngineResponseEngineAdditionalActionsEnum
- type ShowEngineResponseSpecType
- type ShowEngineResponseSpecTypeEnum
- type ShowEngineResponseStatus
- type ShowEngineResponseStatusEnum
- type ShowEngineResponseType
- type ShowEngineResponseTypeEnum
- type Spec
- type SpecClusterNode
- type SpecSpecType
- type SpecSpecTypeEnum
- type Task
- type TaskExecutorBrief
- type TaskStatus
- type TaskStatusEnum
- type TaskSteps
- type TaskStepsStatus
- type TaskStepsStatusEnum
- type TaskType
- type TaskTypeEnum
- type UpgradeEngineRequest
- type UpgradeEngineResponse
- type UploadKieRequest
- type UploadKieRequestBody
- type UploadKieRequestOverride
- type UploadKieRequestOverrideEnum
- type UploadKieResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterNode ¶
type ClusterNode struct { // 微服务引擎专享版CCE节点ID Id *string `json:"id,omitempty"` // 微服务引擎专享版CCE节点所属可用区 Az *string `json:"az,omitempty"` // 微服务引擎专享版CCE节点IP Ip *string `json:"ip,omitempty"` // 微服务引擎专享版CCE节点标签 Label *string `json:"label,omitempty"` // 微服务引擎专享版CCE节点状态 Status *string `json:"status,omitempty"` }
func (ClusterNode) String ¶
func (o ClusterNode) String() string
type CreateEngineRequest ¶
type CreateEngineRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\" XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` Body *EngineCreateReq `json:"body,omitempty"` }
Request Object
func (CreateEngineRequest) String ¶
func (o CreateEngineRequest) String() string
type CreateEngineResponse ¶
type CreateEngineResponse struct { // 创建的微服务引擎专享版ID Id *string `json:"id,omitempty"` // 创建的微服务引擎专享版名称 Name *string `json:"name,omitempty"` // 微服务引擎专享版执行的任务ID JobId *int32 `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateEngineResponse) String ¶
func (o CreateEngineResponse) String() string
type CreateKieReq ¶
type CreateKieReq struct { // 配置项的id。 Id *string `json:"id,omitempty"` // 配置项的key。 Key *string `json:"key,omitempty"` // 配置项的标签 Labels *interface{} `json:"labels,omitempty"` // 配置项的值。 Value *string `json:"value,omitempty"` // 配置项value的类型。 ValueType *string `json:"value_type,omitempty"` // 配置项的状态。 Status *string `json:"status,omitempty"` }
func (CreateKieReq) String ¶
func (o CreateKieReq) String() string
type DeleteEngineRequest ¶
type DeleteEngineRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\" XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 微服务引擎专享版ID EngineId string `json:"engine_id"` }
Request Object
func (DeleteEngineRequest) String ¶
func (o DeleteEngineRequest) String() string
type DeleteEngineResponse ¶
type DeleteEngineResponse struct { // 创建的微服务引擎专享版ID Id *string `json:"id,omitempty"` // 创建的微服务引擎专享版名称 Name *string `json:"name,omitempty"` // 微服务引擎专享版执行的任务ID JobId *int32 `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteEngineResponse) String ¶
func (o DeleteEngineResponse) String() string
type DocFailedOfUpload ¶ added in v0.1.1
type DocFailedOfUpload struct { // 配置项的key值 Key *string `json:"key,omitempty"` // 配置项的labels值 Labels *interface{} `json:"labels,omitempty"` // 导入失败的错误码 ErrorCode *string `json:"error_code,omitempty"` // 导入失败的原因 ErrorMessage *string `json:"error_message,omitempty"` }
func (DocFailedOfUpload) String ¶ added in v0.1.1
func (o DocFailedOfUpload) String() string
type DownloadKieReqBody ¶
type DownloadKieReqBody struct { // 配置ID的集合 Ids []string `json:"ids"` }
func (DownloadKieReqBody) String ¶
func (o DownloadKieReqBody) String() string
type DownloadKieRequest ¶
type DownloadKieRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\" XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 微服务引擎专享版ID。 XEngineId string `json:"x-engine-id"` // 按label过滤项导出,格式为:{标签key}:{标签value} Label *string `json:"label,omitempty"` // 对label过滤项的匹配选项,如果值为exact:表示严格匹配,包括label个数和内容相等;不填表示包含匹配 Match *DownloadKieRequestMatch `json:"match,omitempty"` Body *DownloadKieReqBody `json:"body,omitempty"` }
Request Object
func (DownloadKieRequest) String ¶
func (o DownloadKieRequest) String() string
type DownloadKieRequestMatch ¶
type DownloadKieRequestMatch struct {
// contains filtered or unexported fields
}
func (DownloadKieRequestMatch) MarshalJSON ¶
func (c DownloadKieRequestMatch) MarshalJSON() ([]byte, error)
func (*DownloadKieRequestMatch) UnmarshalJSON ¶
func (c *DownloadKieRequestMatch) UnmarshalJSON(b []byte) error
func (DownloadKieRequestMatch) Value ¶ added in v0.0.90
func (c DownloadKieRequestMatch) Value() string
type DownloadKieRequestMatchEnum ¶
type DownloadKieRequestMatchEnum struct {
EXACT DownloadKieRequestMatch
}
func GetDownloadKieRequestMatchEnum ¶
func GetDownloadKieRequestMatchEnum() DownloadKieRequestMatchEnum
type DownloadKieResponse ¶
type DownloadKieResponse struct { Metadata *DownloadKieResponseBodyMetadata `json:"metadata,omitempty"` // 导出的配置项列表。 Data *[]CreateKieReq `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DownloadKieResponse) String ¶
func (o DownloadKieResponse) String() string
type DownloadKieResponseBodyMetadata ¶
type DownloadKieResponseBodyMetadata struct { // 版本号 Version *string `json:"version,omitempty"` // 导出文件的其他信息 Annotations *interface{} `json:"annotations,omitempty"` }
导出文件的描述信息
func (DownloadKieResponseBodyMetadata) String ¶
func (o DownloadKieResponseBodyMetadata) String() string
type EngineAdditionalActionReq ¶ added in v0.1.12
type EngineAdditionalActionReq struct { // 操作类型 Action EngineAdditionalActionReqAction `json:"action"` }
升级微服务引擎专享版请求体
func (EngineAdditionalActionReq) String ¶ added in v0.1.12
func (o EngineAdditionalActionReq) String() string
type EngineAdditionalActionReqAction ¶ added in v0.1.12
type EngineAdditionalActionReqAction struct {
// contains filtered or unexported fields
}
func (EngineAdditionalActionReqAction) MarshalJSON ¶ added in v0.1.12
func (c EngineAdditionalActionReqAction) MarshalJSON() ([]byte, error)
func (*EngineAdditionalActionReqAction) UnmarshalJSON ¶ added in v0.1.12
func (c *EngineAdditionalActionReqAction) UnmarshalJSON(b []byte) error
func (EngineAdditionalActionReqAction) Value ¶ added in v0.1.12
func (c EngineAdditionalActionReqAction) Value() string
type EngineAdditionalActionReqActionEnum ¶ added in v0.1.12
type EngineAdditionalActionReqActionEnum struct {
RETRY EngineAdditionalActionReqAction
}
func GetEngineAdditionalActionReqActionEnum ¶ added in v0.1.12
func GetEngineAdditionalActionReqActionEnum() EngineAdditionalActionReqActionEnum
type EngineCreateReq ¶
type EngineCreateReq struct { // 微服务引擎专享版的名称,名称为字母开头,字母、数字、-组成,且不能以-结尾,3-24个字符。 Name string `json:"name"` // 微服务引擎专享版描述,长度0~255。 Description *string `json:"description,omitempty"` // 微服务引擎专享版计费方式,1表示按需 Payment EngineCreateReqPayment `json:"payment"` // 微服务引擎专享版的规格 Flavor EngineCreateReqFlavor `json:"flavor"` // 当前局点可用区列表。 AzList []string `json:"azList"` // 微服务引擎专享版认证方式,RBAC为安全认证,NONE为无认证。 AuthType EngineCreateReqAuthType `json:"authType"` // vpc名称 Vpc string `json:"vpc"` // 微服务引擎专享版子网ID NetworkId string `json:"networkId"` // 微服务引擎专享版子网划分 SubnetCidr string `json:"subnetCidr"` // 微服务引擎专享版公网地址ID,当前为null PublicIpId *string `json:"publicIpId,omitempty"` AuthCred *EngineRbacPwd `json:"auth_cred,omitempty"` // 微服务引擎专享版应用部署类型 SpecType EngineCreateReqSpecType `json:"specType"` // 引擎附加参数 Inputs map[string]string `json:"inputs,omitempty"` }
创建微服务引擎专享版请求结构体
func (EngineCreateReq) String ¶
func (o EngineCreateReq) String() string
type EngineCreateReqAuthType ¶
type EngineCreateReqAuthType struct {
// contains filtered or unexported fields
}
func (EngineCreateReqAuthType) MarshalJSON ¶
func (c EngineCreateReqAuthType) MarshalJSON() ([]byte, error)
func (*EngineCreateReqAuthType) UnmarshalJSON ¶
func (c *EngineCreateReqAuthType) UnmarshalJSON(b []byte) error
func (EngineCreateReqAuthType) Value ¶ added in v0.0.90
func (c EngineCreateReqAuthType) Value() string
type EngineCreateReqAuthTypeEnum ¶
type EngineCreateReqAuthTypeEnum struct { RBAC EngineCreateReqAuthType NONE EngineCreateReqAuthType }
func GetEngineCreateReqAuthTypeEnum ¶
func GetEngineCreateReqAuthTypeEnum() EngineCreateReqAuthTypeEnum
type EngineCreateReqFlavor ¶
type EngineCreateReqFlavor struct {
// contains filtered or unexported fields
}
func (EngineCreateReqFlavor) MarshalJSON ¶
func (c EngineCreateReqFlavor) MarshalJSON() ([]byte, error)
func (*EngineCreateReqFlavor) UnmarshalJSON ¶
func (c *EngineCreateReqFlavor) UnmarshalJSON(b []byte) error
func (EngineCreateReqFlavor) Value ¶ added in v0.0.90
func (c EngineCreateReqFlavor) Value() string
type EngineCreateReqFlavorEnum ¶
type EngineCreateReqFlavorEnum struct { CSE_S1_SMALL2 EngineCreateReqFlavor CSE_S1_MEDIUM2 EngineCreateReqFlavor CSE_S1_LARGE2 EngineCreateReqFlavor CSE_S1_XLARGE2 EngineCreateReqFlavor }
func GetEngineCreateReqFlavorEnum ¶
func GetEngineCreateReqFlavorEnum() EngineCreateReqFlavorEnum
type EngineCreateReqPayment ¶
type EngineCreateReqPayment struct {
// contains filtered or unexported fields
}
func (EngineCreateReqPayment) MarshalJSON ¶
func (c EngineCreateReqPayment) MarshalJSON() ([]byte, error)
func (*EngineCreateReqPayment) UnmarshalJSON ¶
func (c *EngineCreateReqPayment) UnmarshalJSON(b []byte) error
func (EngineCreateReqPayment) Value ¶ added in v0.0.90
func (c EngineCreateReqPayment) Value() string
type EngineCreateReqPaymentEnum ¶
type EngineCreateReqPaymentEnum struct {
E_1 EngineCreateReqPayment
}
func GetEngineCreateReqPaymentEnum ¶
func GetEngineCreateReqPaymentEnum() EngineCreateReqPaymentEnum
type EngineCreateReqSpecType ¶
type EngineCreateReqSpecType struct {
// contains filtered or unexported fields
}
func (EngineCreateReqSpecType) MarshalJSON ¶
func (c EngineCreateReqSpecType) MarshalJSON() ([]byte, error)
func (*EngineCreateReqSpecType) UnmarshalJSON ¶
func (c *EngineCreateReqSpecType) UnmarshalJSON(b []byte) error
func (EngineCreateReqSpecType) Value ¶ added in v0.0.90
func (c EngineCreateReqSpecType) Value() string
type EngineCreateReqSpecTypeEnum ¶
type EngineCreateReqSpecTypeEnum struct { CSE EngineCreateReqSpecType CSE2 EngineCreateReqSpecType }
func GetEngineCreateReqSpecTypeEnum ¶
func GetEngineCreateReqSpecTypeEnum() EngineCreateReqSpecTypeEnum
type EngineExternalEntrypoint ¶
type EngineExternalEntrypoint struct { // 微服务引擎专享版暴露的IP地址。 ExternalAddress *string `json:"external_address,omitempty"` // 微服务引擎专享版的公网地址。 PublicAddress *string `json:"public_address,omitempty"` // 微服务引擎专享版组件的访问地址。 ServiceEndpoint map[string]EntrypointItem `json:"service_endpoint,omitempty"` // 微服务引擎专享版组件的公网地址。 PublicServiceEndpoint map[string]EntrypointItem `json:"public_service_endpoint,omitempty"` }
func (EngineExternalEntrypoint) String ¶
func (o EngineExternalEntrypoint) String() string
type EngineRbacPwd ¶
type EngineRbacPwd struct { // 开启安全认证的微服务引擎专享版默认root帐号的密码 Pwd *string `json:"pwd,omitempty"` }
操作微服务引擎专享版安全认证信息
func (EngineRbacPwd) String ¶
func (o EngineRbacPwd) String() string
type EngineReference ¶
type EngineReference struct { // vpc名称 Vpc *string `json:"vpc,omitempty"` // 微服务引擎专享版部署的可用区列表 AzList *[]string `json:"az_list,omitempty"` // 微服务引擎专享版子网网络ID NetworkId *string `json:"network_id,omitempty"` // 微服务引擎专享版ipv4子网划分 SubnetCidr *string `json:"subnet_cidr,omitempty"` // 微服务引擎专享版ipv6子网划分 SubnetCidrV6 *string `json:"subnet_cidr_v6,omitempty"` // 微服务引擎专享版子网网关 SubnetGateway *string `json:"subnet_gateway,omitempty"` // 微服务引擎专享版公网地址ID PublicIpId *string `json:"public_ip_id,omitempty"` // 微服务引擎专享版可支持的微服务总数 ServiceLimit *int32 `json:"service_limit,omitempty"` // 微服务引擎专享版可支持的实例总数 InstanceLimit *int32 `json:"instance_limit,omitempty"` // 微服务引擎专享版附加参数 Inputs map[string]string `json:"inputs,omitempty"` }
func (EngineReference) String ¶
func (o EngineReference) String() string
type EngineSimpleInfo ¶
type EngineSimpleInfo struct { // 微服务引擎专享版的ID Id *string `json:"id,omitempty"` // 引擎的名称 Name *string `json:"name,omitempty"` // 微服务引擎专享版所属企业项目ID EnterprisProjectId *string `json:"enterpris_project_id,omitempty"` // 微服务引擎专享版所属企业项目名称 EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"` // 微服务引擎专享版的类型,CSE为专享版引擎,CSE_Share表示为专业版引擎 Type *EngineSimpleInfoType `json:"type,omitempty"` // 微服务引擎专享版的描述 Description *string `json:"description,omitempty"` // 微服务引擎专享版的规格 Flavor *EngineSimpleInfoFlavor `json:"flavor,omitempty"` // 微服务引擎专享版的计费方式,0表示包周期,1表示按需,2表示免费 Payment *string `json:"payment,omitempty"` // 微服务引擎专享版的认证方式,RBAC/NONE AuthType *EngineSimpleInfoAuthType `json:"auth_type,omitempty"` // 微服务引擎专享版当前的状态 Status *EngineSimpleInfoStatus `json:"status,omitempty"` // 微服务引擎专享版暴露的IP地址 ExternalAddress *string `json:"external_address,omitempty"` // 微服务引擎专享版组件的访问地址。 ServiceEndpoint map[string]EntrypointItem `json:"service_endpoint,omitempty"` // 微服务引擎专享版的公网IP地址 PublicAddress *string `json:"public_address,omitempty"` // 微服务引擎专享版的公网接入地址 PublicServiceEndpoint map[string]EntrypointItem `json:"public_service_endpoint,omitempty"` // 微服务引擎专享版可支持的实例总数 TotalInstance *int32 `json:"total_instance,omitempty"` // 已使用的实例总数 UsedInstance *int32 `json:"used_instance,omitempty"` // 可用实例总数 AvailableInstance *int32 `json:"available_instance,omitempty"` // 微服务引擎专享版当前版本 Version *string `json:"version,omitempty"` // 微服务引擎专享版最新版本 LatestVersion *string `json:"latest_version,omitempty"` // 微服务引擎专享版创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 微服务引擎专享版到期时间 DueTo *int64 `json:"due_to,omitempty"` // 微服务引擎专享版最近的任务ID LatestJobId *int32 `json:"latest_job_id,omitempty"` // 微服务引擎专享版允许的附加操作 EngineAdditionalActions *[]EngineSimpleInfoEngineAdditionalActions `json:"engine_additional_actions,omitempty"` // 微服务引擎专享版应用部署类型 SpecType *EngineSimpleInfoSpecType `json:"spec_type,omitempty"` Reference *EngineReference `json:"reference,omitempty"` }
查询微服务引擎列表引擎信息
func (EngineSimpleInfo) String ¶
func (o EngineSimpleInfo) String() string
type EngineSimpleInfoAuthType ¶
type EngineSimpleInfoAuthType struct {
// contains filtered or unexported fields
}
func (EngineSimpleInfoAuthType) MarshalJSON ¶
func (c EngineSimpleInfoAuthType) MarshalJSON() ([]byte, error)
func (*EngineSimpleInfoAuthType) UnmarshalJSON ¶
func (c *EngineSimpleInfoAuthType) UnmarshalJSON(b []byte) error
func (EngineSimpleInfoAuthType) Value ¶ added in v0.0.90
func (c EngineSimpleInfoAuthType) Value() string
type EngineSimpleInfoAuthTypeEnum ¶
type EngineSimpleInfoAuthTypeEnum struct { RBAC EngineSimpleInfoAuthType NONE EngineSimpleInfoAuthType }
func GetEngineSimpleInfoAuthTypeEnum ¶
func GetEngineSimpleInfoAuthTypeEnum() EngineSimpleInfoAuthTypeEnum
type EngineSimpleInfoEngineAdditionalActions ¶
type EngineSimpleInfoEngineAdditionalActions struct {
// contains filtered or unexported fields
}
func (EngineSimpleInfoEngineAdditionalActions) MarshalJSON ¶
func (c EngineSimpleInfoEngineAdditionalActions) MarshalJSON() ([]byte, error)
func (*EngineSimpleInfoEngineAdditionalActions) UnmarshalJSON ¶
func (c *EngineSimpleInfoEngineAdditionalActions) UnmarshalJSON(b []byte) error
func (EngineSimpleInfoEngineAdditionalActions) Value ¶ added in v0.0.90
func (c EngineSimpleInfoEngineAdditionalActions) Value() string
type EngineSimpleInfoEngineAdditionalActionsEnum ¶
type EngineSimpleInfoEngineAdditionalActionsEnum struct { NOTING EngineSimpleInfoEngineAdditionalActions FORCE_DELETE EngineSimpleInfoEngineAdditionalActions ROLLBACK EngineSimpleInfoEngineAdditionalActions RETRY EngineSimpleInfoEngineAdditionalActions }
func GetEngineSimpleInfoEngineAdditionalActionsEnum ¶
func GetEngineSimpleInfoEngineAdditionalActionsEnum() EngineSimpleInfoEngineAdditionalActionsEnum
type EngineSimpleInfoFlavor ¶
type EngineSimpleInfoFlavor struct {
// contains filtered or unexported fields
}
func (EngineSimpleInfoFlavor) MarshalJSON ¶
func (c EngineSimpleInfoFlavor) MarshalJSON() ([]byte, error)
func (*EngineSimpleInfoFlavor) UnmarshalJSON ¶
func (c *EngineSimpleInfoFlavor) UnmarshalJSON(b []byte) error
func (EngineSimpleInfoFlavor) Value ¶ added in v0.0.90
func (c EngineSimpleInfoFlavor) Value() string
type EngineSimpleInfoFlavorEnum ¶
type EngineSimpleInfoFlavorEnum struct { CSE_S1_SMALL2 EngineSimpleInfoFlavor CSE_S1_MEDIUM2 EngineSimpleInfoFlavor CSE_S1_LARGE2 EngineSimpleInfoFlavor CSE_S1_XLARGE2 EngineSimpleInfoFlavor }
func GetEngineSimpleInfoFlavorEnum ¶
func GetEngineSimpleInfoFlavorEnum() EngineSimpleInfoFlavorEnum
type EngineSimpleInfoSpecType ¶
type EngineSimpleInfoSpecType struct {
// contains filtered or unexported fields
}
func (EngineSimpleInfoSpecType) MarshalJSON ¶
func (c EngineSimpleInfoSpecType) MarshalJSON() ([]byte, error)
func (*EngineSimpleInfoSpecType) UnmarshalJSON ¶
func (c *EngineSimpleInfoSpecType) UnmarshalJSON(b []byte) error
func (EngineSimpleInfoSpecType) Value ¶ added in v0.0.90
func (c EngineSimpleInfoSpecType) Value() string
type EngineSimpleInfoSpecTypeEnum ¶
type EngineSimpleInfoSpecTypeEnum struct { CCE EngineSimpleInfoSpecType CSE EngineSimpleInfoSpecType SPRING_CLOUD EngineSimpleInfoSpecType }
func GetEngineSimpleInfoSpecTypeEnum ¶
func GetEngineSimpleInfoSpecTypeEnum() EngineSimpleInfoSpecTypeEnum
type EngineSimpleInfoStatus ¶
type EngineSimpleInfoStatus struct {
// contains filtered or unexported fields
}
func (EngineSimpleInfoStatus) MarshalJSON ¶
func (c EngineSimpleInfoStatus) MarshalJSON() ([]byte, error)
func (*EngineSimpleInfoStatus) UnmarshalJSON ¶
func (c *EngineSimpleInfoStatus) UnmarshalJSON(b []byte) error
func (EngineSimpleInfoStatus) Value ¶ added in v0.0.90
func (c EngineSimpleInfoStatus) Value() string
type EngineSimpleInfoStatusEnum ¶
type EngineSimpleInfoStatusEnum struct { CREATING EngineSimpleInfoStatus AVAILABLE EngineSimpleInfoStatus UNAVAILABLE EngineSimpleInfoStatus DELETING EngineSimpleInfoStatus DELETED EngineSimpleInfoStatus UPGRADING EngineSimpleInfoStatus MODIFYING EngineSimpleInfoStatus CREATE_FAILED EngineSimpleInfoStatus DELETE_FAILED EngineSimpleInfoStatus UPGRADE_FAILED EngineSimpleInfoStatus MODIFY_FAILED EngineSimpleInfoStatus FREEZED EngineSimpleInfoStatus }
func GetEngineSimpleInfoStatusEnum ¶
func GetEngineSimpleInfoStatusEnum() EngineSimpleInfoStatusEnum
type EngineSimpleInfoType ¶
type EngineSimpleInfoType struct {
// contains filtered or unexported fields
}
func (EngineSimpleInfoType) MarshalJSON ¶
func (c EngineSimpleInfoType) MarshalJSON() ([]byte, error)
func (*EngineSimpleInfoType) UnmarshalJSON ¶
func (c *EngineSimpleInfoType) UnmarshalJSON(b []byte) error
func (EngineSimpleInfoType) Value ¶ added in v0.0.90
func (c EngineSimpleInfoType) Value() string
type EngineSimpleInfoTypeEnum ¶
type EngineSimpleInfoTypeEnum struct { CSE EngineSimpleInfoType CSE_SHARE EngineSimpleInfoType }
func GetEngineSimpleInfoTypeEnum ¶
func GetEngineSimpleInfoTypeEnum() EngineSimpleInfoTypeEnum
type EngineUpdateReq ¶ added in v0.1.12
type EngineUpdateReq struct { // 版本号 Version string `json:"version"` }
升级微服务引擎专享版请求体
func (EngineUpdateReq) String ¶ added in v0.1.12
func (o EngineUpdateReq) String() string
type EntrypointItem ¶
type EntrypointItem struct { // 微服务引擎专享版组件的ipv4主接入地址 MasterEntrypoint *string `json:"master_entrypoint,omitempty"` // 微服务引擎专享版组件的ipv6主接入地址 MasterEntrypointIpv6 *string `json:"master_entrypoint_ipv6,omitempty"` // 微服务引擎专享版组件的ipv4备接入地址 SlaveEntrypoint *string `json:"slave_entrypoint,omitempty"` // 微服务引擎专享版组件的ipv6备接入地址 SlaveEntrypointIpv6 *string `json:"slave_entrypoint_ipv6,omitempty"` // 微服务引擎专享版组件类型 Type *EntrypointItemType `json:"type,omitempty"` }
func (EntrypointItem) String ¶
func (o EntrypointItem) String() string
type EntrypointItemType ¶
type EntrypointItemType struct {
// contains filtered or unexported fields
}
func (EntrypointItemType) MarshalJSON ¶
func (c EntrypointItemType) MarshalJSON() ([]byte, error)
func (*EntrypointItemType) UnmarshalJSON ¶
func (c *EntrypointItemType) UnmarshalJSON(b []byte) error
func (EntrypointItemType) Value ¶ added in v0.0.90
func (c EntrypointItemType) Value() string
type EntrypointItemTypeEnum ¶
type EntrypointItemTypeEnum struct { REGISTRY EntrypointItemType SERVICE EntrypointItemType }
func GetEntrypointItemTypeEnum ¶
func GetEntrypointItemTypeEnum() EntrypointItemTypeEnum
type FlavorBrief ¶
type FlavorBrief struct { // 微服务引擎专享版规格 Flavor *string `json:"flavor,omitempty"` // 微服务引擎专享版规格描述 Description *string `json:"description,omitempty"` }
微服务引擎专享版规格及描述
func (FlavorBrief) String ¶
func (o FlavorBrief) String() string
type GetKieConfigs ¶
type GetKieConfigs struct { // 配置项的id。 Id *string `json:"id,omitempty"` // 配置项的key。 Key *string `json:"key,omitempty"` // 配置项的标签。 Labels *interface{} `json:"labels,omitempty"` // 配置项的值。 Value *string `json:"value,omitempty"` // 配置项value的类型。 ValueType *string `json:"value_type,omitempty"` // 配置项的状态。 Status *string `json:"status,omitempty"` // 创建时间。 CreateTime *int32 `json:"create_time,omitempty"` // 更新时间。 UpdateTime *int32 `json:"update_time,omitempty"` // 创建配置的版本号 CreateRevision *int64 `json:"create_revision,omitempty"` // 修改配置的版本号 UpdateRevision *int64 `json:"update_revision,omitempty"` }
func (GetKieConfigs) String ¶
func (o GetKieConfigs) String() string
type ListEnginesRequest ¶
type ListEnginesRequest struct { // 偏移量。 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。 Limit *string `json:"limit,omitempty"` }
Request Object
func (ListEnginesRequest) String ¶
func (o ListEnginesRequest) String() string
type ListEnginesResponse ¶
type ListEnginesResponse struct { // 当前符合查询条件的微服务引擎专享版总个数 Total *int32 `json:"total,omitempty"` // 微服务引擎专享版详情 Data *[]EngineSimpleInfo `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEnginesResponse) String ¶
func (o ListEnginesResponse) String() string
type ListFlavorsRequest ¶
type ListFlavorsRequest struct { // 微服务引擎专享版应用部署类型,查询CSE微服务引擎专享版需要将该值设置为CSE2。 SpecType *string `json:"spec_type,omitempty"` }
Request Object
func (ListFlavorsRequest) String ¶
func (o ListFlavorsRequest) String() string
type ListFlavorsResponse ¶
type ListFlavorsResponse struct { // 微服务引擎专享版规格总个数 Total *int32 `json:"total,omitempty"` // 微服务引擎专享版规格详情 Data *[]FlavorBrief `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFlavorsResponse) String ¶
func (o ListFlavorsResponse) String() string
type RetryEngineRequest ¶ added in v0.1.12
type RetryEngineRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\" XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 引擎id EngineId string `json:"engine_id"` Body *EngineAdditionalActionReq `json:"body,omitempty"` }
Request Object
func (RetryEngineRequest) String ¶ added in v0.1.12
func (o RetryEngineRequest) String() string
type RetryEngineResponse ¶ added in v0.1.12
type RetryEngineResponse struct { // 创建的微服务引擎专享版ID Id *string `json:"id,omitempty"` // 创建的微服务引擎专享版名称 Name *string `json:"name,omitempty"` // 微服务引擎专享版执行的任务ID JobId *int32 `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RetryEngineResponse) String ¶ added in v0.1.12
func (o RetryEngineResponse) String() string
type ShowEngineJobRequest ¶
type ShowEngineJobRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\"。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 微服务引擎专享版ID。 EngineId string `json:"engine_id"` // 任务ID。 JobId string `json:"job_id"` }
Request Object
func (ShowEngineJobRequest) String ¶
func (o ShowEngineJobRequest) String() string
type ShowEngineJobResponse ¶
type ShowEngineJobResponse struct { // 任务ID Id *int32 `json:"id,omitempty"` // 任务所属引擎ID EngineId *string `json:"engine_id,omitempty"` // 任务类型 Type *ShowEngineJobResponseType `json:"type,omitempty"` // 任务描述 Description *string `json:"description,omitempty"` // 任务状态 Status *ShowEngineJobResponseStatus `json:"status,omitempty"` // 任务是否正在执行,0表示不在执行,1表示执行中 Scheduling *int32 `json:"scheduling,omitempty"` // 任务创建者 CreateUser *string `json:"create_user,omitempty"` // 任务开始时间 StartTime *int64 `json:"start_time,omitempty"` // 任务结束时间 EndTime *int64 `json:"end_time,omitempty"` // 任务执行上下文 Context *string `json:"context,omitempty"` // 任务包含的处理阶段 Tasks *[]TaskSteps `json:"tasks,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowEngineJobResponse) String ¶
func (o ShowEngineJobResponse) String() string
type ShowEngineJobResponseStatus ¶
type ShowEngineJobResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowEngineJobResponseStatus) MarshalJSON ¶
func (c ShowEngineJobResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowEngineJobResponseStatus) UnmarshalJSON ¶
func (c *ShowEngineJobResponseStatus) UnmarshalJSON(b []byte) error
func (ShowEngineJobResponseStatus) Value ¶ added in v0.0.90
func (c ShowEngineJobResponseStatus) Value() string
type ShowEngineJobResponseStatusEnum ¶
type ShowEngineJobResponseStatusEnum struct { INIT ShowEngineJobResponseStatus EXECUTING ShowEngineJobResponseStatus ERROR ShowEngineJobResponseStatus TIMEOUT ShowEngineJobResponseStatus FINISHED ShowEngineJobResponseStatus }
func GetShowEngineJobResponseStatusEnum ¶
func GetShowEngineJobResponseStatusEnum() ShowEngineJobResponseStatusEnum
type ShowEngineJobResponseType ¶
type ShowEngineJobResponseType struct {
// contains filtered or unexported fields
}
func (ShowEngineJobResponseType) MarshalJSON ¶
func (c ShowEngineJobResponseType) MarshalJSON() ([]byte, error)
func (*ShowEngineJobResponseType) UnmarshalJSON ¶
func (c *ShowEngineJobResponseType) UnmarshalJSON(b []byte) error
func (ShowEngineJobResponseType) Value ¶ added in v0.0.90
func (c ShowEngineJobResponseType) Value() string
type ShowEngineJobResponseTypeEnum ¶
type ShowEngineJobResponseTypeEnum struct { CREATE ShowEngineJobResponseType DELETE ShowEngineJobResponseType UPGRADE ShowEngineJobResponseType MODIFY ShowEngineJobResponseType }
func GetShowEngineJobResponseTypeEnum ¶
func GetShowEngineJobResponseTypeEnum() ShowEngineJobResponseTypeEnum
type ShowEngineRequest ¶
type ShowEngineRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\"。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 微服务引擎专享版ID。 EngineId string `json:"engine_id"` }
Request Object
func (ShowEngineRequest) String ¶
func (o ShowEngineRequest) String() string
type ShowEngineResponse ¶
type ShowEngineResponse struct { // 微服务引擎专享版ID Id *string `json:"id,omitempty"` // 微服务引擎专享版名称 Name *string `json:"name,omitempty"` // 微服务引擎专享版描述 Description *string `json:"description,omitempty"` // 微服务引擎专享版认证类型 AuthType *ShowEngineResponseAuthType `json:"auth_type,omitempty"` // 微服务引擎专享版规格 Flavor *string `json:"flavor,omitempty"` // 微服务引擎专享版计费方式 Payment *string `json:"payment,omitempty"` // 微服务引擎专享版当前版本 Version *string `json:"version,omitempty"` // 微服务引擎专享版最新版本 LatestVersion *string `json:"latest_version,omitempty"` // 微服务引擎专享版状态 Status *ShowEngineResponseStatus `json:"status,omitempty"` // engine 是否是默认引擎 BeDefault *bool `json:"be_default,omitempty"` // 微服务引擎专享版创建者 CreateUser *string `json:"create_user,omitempty"` // 微服务引擎专享版创建时间 CreateTime *int64 `json:"create_time,omitempty"` CceSpec *Spec `json:"cce_spec,omitempty"` ExternalEntrypoint *EngineExternalEntrypoint `json:"external_entrypoint,omitempty"` Reference *EngineReference `json:"reference,omitempty"` // 微服务引擎专享版最近的任务ID LatestJobId *int32 `json:"latest_job_id,omitempty"` // 微服务引擎专享版所属企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 微服务引擎专享版所属企业项目名称 EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"` // 微服务引擎专享版允许的附加操作 EngineAdditionalActions *[]ShowEngineResponseEngineAdditionalActions `json:"engine_additional_actions,omitempty"` // 微服务引擎专享版应用部署类型 SpecType *ShowEngineResponseSpecType `json:"spec_type,omitempty"` // 微服务引擎类型,CSE表示专享版,CSE_Share表示专业版 Type *ShowEngineResponseType `json:"type,omitempty"` // 微服务引擎专享版所属项目ID ProjectId *string `json:"project_id,omitempty"` // 当前引擎在资源租户侧使用的虚拟机 id 列表 VmIds *[]string `json:"vm_ids,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowEngineResponse) String ¶
func (o ShowEngineResponse) String() string
type ShowEngineResponseAuthType ¶
type ShowEngineResponseAuthType struct {
// contains filtered or unexported fields
}
func (ShowEngineResponseAuthType) MarshalJSON ¶
func (c ShowEngineResponseAuthType) MarshalJSON() ([]byte, error)
func (*ShowEngineResponseAuthType) UnmarshalJSON ¶
func (c *ShowEngineResponseAuthType) UnmarshalJSON(b []byte) error
func (ShowEngineResponseAuthType) Value ¶ added in v0.0.90
func (c ShowEngineResponseAuthType) Value() string
type ShowEngineResponseAuthTypeEnum ¶
type ShowEngineResponseAuthTypeEnum struct { RBAC ShowEngineResponseAuthType NONE ShowEngineResponseAuthType }
func GetShowEngineResponseAuthTypeEnum ¶
func GetShowEngineResponseAuthTypeEnum() ShowEngineResponseAuthTypeEnum
type ShowEngineResponseEngineAdditionalActions ¶
type ShowEngineResponseEngineAdditionalActions struct {
// contains filtered or unexported fields
}
func (ShowEngineResponseEngineAdditionalActions) MarshalJSON ¶
func (c ShowEngineResponseEngineAdditionalActions) MarshalJSON() ([]byte, error)
func (*ShowEngineResponseEngineAdditionalActions) UnmarshalJSON ¶
func (c *ShowEngineResponseEngineAdditionalActions) UnmarshalJSON(b []byte) error
func (ShowEngineResponseEngineAdditionalActions) Value ¶ added in v0.0.90
func (c ShowEngineResponseEngineAdditionalActions) Value() string
type ShowEngineResponseEngineAdditionalActionsEnum ¶
type ShowEngineResponseEngineAdditionalActionsEnum struct { NOTING ShowEngineResponseEngineAdditionalActions FORCE_DELETE ShowEngineResponseEngineAdditionalActions ROLLBACK ShowEngineResponseEngineAdditionalActions RETRY ShowEngineResponseEngineAdditionalActions }
func GetShowEngineResponseEngineAdditionalActionsEnum ¶
func GetShowEngineResponseEngineAdditionalActionsEnum() ShowEngineResponseEngineAdditionalActionsEnum
type ShowEngineResponseSpecType ¶
type ShowEngineResponseSpecType struct {
// contains filtered or unexported fields
}
func (ShowEngineResponseSpecType) MarshalJSON ¶
func (c ShowEngineResponseSpecType) MarshalJSON() ([]byte, error)
func (*ShowEngineResponseSpecType) UnmarshalJSON ¶
func (c *ShowEngineResponseSpecType) UnmarshalJSON(b []byte) error
func (ShowEngineResponseSpecType) Value ¶ added in v0.0.90
func (c ShowEngineResponseSpecType) Value() string
type ShowEngineResponseSpecTypeEnum ¶
type ShowEngineResponseSpecTypeEnum struct { CCE ShowEngineResponseSpecType CSE ShowEngineResponseSpecType SPRING_CLOUD ShowEngineResponseSpecType }
func GetShowEngineResponseSpecTypeEnum ¶
func GetShowEngineResponseSpecTypeEnum() ShowEngineResponseSpecTypeEnum
type ShowEngineResponseStatus ¶
type ShowEngineResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowEngineResponseStatus) MarshalJSON ¶
func (c ShowEngineResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowEngineResponseStatus) UnmarshalJSON ¶
func (c *ShowEngineResponseStatus) UnmarshalJSON(b []byte) error
func (ShowEngineResponseStatus) Value ¶ added in v0.0.90
func (c ShowEngineResponseStatus) Value() string
type ShowEngineResponseStatusEnum ¶
type ShowEngineResponseStatusEnum struct { CREATING ShowEngineResponseStatus AVAILABLE ShowEngineResponseStatus UNAVAILABLE ShowEngineResponseStatus DELETING ShowEngineResponseStatus DELETED ShowEngineResponseStatus UPGRADING ShowEngineResponseStatus MODIFYING ShowEngineResponseStatus CREATE_FAILED ShowEngineResponseStatus DELETE_FAILED ShowEngineResponseStatus UPGRADE_FAILED ShowEngineResponseStatus MODIFY_FAILED ShowEngineResponseStatus FREEZED ShowEngineResponseStatus }
func GetShowEngineResponseStatusEnum ¶
func GetShowEngineResponseStatusEnum() ShowEngineResponseStatusEnum
type ShowEngineResponseType ¶
type ShowEngineResponseType struct {
// contains filtered or unexported fields
}
func (ShowEngineResponseType) MarshalJSON ¶
func (c ShowEngineResponseType) MarshalJSON() ([]byte, error)
func (*ShowEngineResponseType) UnmarshalJSON ¶
func (c *ShowEngineResponseType) UnmarshalJSON(b []byte) error
func (ShowEngineResponseType) Value ¶ added in v0.0.90
func (c ShowEngineResponseType) Value() string
type ShowEngineResponseTypeEnum ¶
type ShowEngineResponseTypeEnum struct { CSE ShowEngineResponseType CSE_SHARE ShowEngineResponseType }
func GetShowEngineResponseTypeEnum ¶
func GetShowEngineResponseTypeEnum() ShowEngineResponseTypeEnum
type Spec ¶
type Spec struct { // 微服务引擎专享版CCE规格ID Id *int64 `json:"id,omitempty"` // 微服务引擎专享版ID EngineId *string `json:"engine_id,omitempty"` // 微服务引擎专享版CCE集群部署类型 SpecType *SpecSpecType `json:"spec_type,omitempty"` // 微服务引擎专享版CCE集群信息,目前为null Cluster *string `json:"cluster,omitempty"` // 微服务引擎专享版CCE集群ID ClusterId *string `json:"cluster_id,omitempty"` ClusterNodes *SpecClusterNode `json:"cluster_nodes,omitempty"` // 微服务引擎专享版CCE集群规格 Flavor *string `json:"flavor,omitempty"` // 微服务引擎专享版CCE集群所在region Region *string `json:"region,omitempty"` // 微服务引擎专享版CCE集群版本 Version *string `json:"version,omitempty"` // 微服务引擎专享版CCE集群附加参数 ExtendParam *string `json:"extend_param,omitempty"` }
微服务引擎专享版的CCE规格
type SpecClusterNode ¶
type SpecClusterNode struct { // CCE节点信息。 ClusterNodes *[]ClusterNode `json:"cluster_nodes,omitempty"` }
微服务引擎专享版CCE节点列表
func (SpecClusterNode) String ¶
func (o SpecClusterNode) String() string
type SpecSpecType ¶
type SpecSpecType struct {
// contains filtered or unexported fields
}
func (SpecSpecType) MarshalJSON ¶
func (c SpecSpecType) MarshalJSON() ([]byte, error)
func (*SpecSpecType) UnmarshalJSON ¶
func (c *SpecSpecType) UnmarshalJSON(b []byte) error
func (SpecSpecType) Value ¶ added in v0.0.90
func (c SpecSpecType) Value() string
type SpecSpecTypeEnum ¶
type SpecSpecTypeEnum struct { CCE SpecSpecType CSE SpecSpecType SPRING_CLOUD SpecSpecType }
func GetSpecSpecTypeEnum ¶
func GetSpecSpecTypeEnum() SpecSpecTypeEnum
type Task ¶
type Task struct { // 子任务所属任务ID JobId *int32 `json:"job_id,omitempty"` // 子任务ID,使用uuid Id *int64 `json:"id,omitempty"` // 子任务的类型 Type *TaskType `json:"type,omitempty"` // 子任务的执行者 Assigned *string `json:"assigned,omitempty"` // 子任务名称 TaskName *string `json:"task_name,omitempty"` // 子任务所属引擎名称 EngineName *string `json:"engine_name,omitempty"` // 子任务执行的顺序, 从小到大 TaskOrder *int32 `json:"task_order,omitempty"` // 子任务状态 Status *TaskStatus `json:"status,omitempty"` // 子任务开始时间 StartTime *int64 `json:"start_time,omitempty"` // 子任务结束时间 EndTime *int64 `json:"end_time,omitempty"` // 子任务创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 子任务更新时间 UpdateTime *int64 `json:"update_time,omitempty"` // 子任务是否超时 Timeout *int32 `json:"timeout,omitempty"` // 子任务详细信息,执行过程中产生的辅助信息 Log *string `json:"log,omitempty"` // 子任务输出信息 Output *string `json:"output,omitempty"` TaskExecutorBrief *TaskExecutorBrief `json:"task_executor_brief,omitempty"` }
子任务
type TaskExecutorBrief ¶
type TaskExecutorBrief struct { // 子任务持续时长 Duration *int64 `json:"duration,omitempty"` // 子任务描述 Description *string `json:"description,omitempty"` }
任务元数据
func (TaskExecutorBrief) String ¶
func (o TaskExecutorBrief) String() string
type TaskStatus ¶
type TaskStatus struct {
// contains filtered or unexported fields
}
func (TaskStatus) MarshalJSON ¶
func (c TaskStatus) MarshalJSON() ([]byte, error)
func (*TaskStatus) UnmarshalJSON ¶
func (c *TaskStatus) UnmarshalJSON(b []byte) error
func (TaskStatus) Value ¶ added in v0.0.90
func (c TaskStatus) Value() string
type TaskStatusEnum ¶
type TaskStatusEnum struct { INIT TaskStatus EXECUTING TaskStatus ERROR TaskStatus TIMEOUT TaskStatus FINISHED TaskStatus }
func GetTaskStatusEnum ¶
func GetTaskStatusEnum() TaskStatusEnum
type TaskSteps ¶
type TaskSteps struct { // 处理阶段名称 TaskName *string `json:"task_name,omitempty"` // 当前处理阶段包含的处理步骤名称列表 TaskNames *[]string `json:"task_names,omitempty"` // 处理阶段状态 Status *TaskStepsStatus `json:"status,omitempty"` // 处理阶段开始时间 StartTime *int64 `json:"start_time,omitempty"` // 处理阶段结束时间 EndTime *int64 `json:"end_time,omitempty"` TaskExecutorBrief *TaskExecutorBrief `json:"task_executor_brief,omitempty"` // 处理步骤 Tasks *[]Task `json:"tasks,omitempty"` }
处理阶段
type TaskStepsStatus ¶
type TaskStepsStatus struct {
// contains filtered or unexported fields
}
func (TaskStepsStatus) MarshalJSON ¶
func (c TaskStepsStatus) MarshalJSON() ([]byte, error)
func (*TaskStepsStatus) UnmarshalJSON ¶
func (c *TaskStepsStatus) UnmarshalJSON(b []byte) error
func (TaskStepsStatus) Value ¶ added in v0.0.90
func (c TaskStepsStatus) Value() string
type TaskStepsStatusEnum ¶
type TaskStepsStatusEnum struct { INIT TaskStepsStatus EXECUTING TaskStepsStatus ERROR TaskStepsStatus TIMEOUT TaskStepsStatus FINISHED TaskStepsStatus }
func GetTaskStepsStatusEnum ¶
func GetTaskStepsStatusEnum() TaskStepsStatusEnum
type TaskType ¶
type TaskType struct {
// contains filtered or unexported fields
}
func (TaskType) MarshalJSON ¶
func (*TaskType) UnmarshalJSON ¶
type TaskTypeEnum ¶
func GetTaskTypeEnum ¶
func GetTaskTypeEnum() TaskTypeEnum
type UpgradeEngineRequest ¶ added in v0.1.12
type UpgradeEngineRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\" XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 升级的引擎Id EngineId string `json:"engine_id"` Body *EngineUpdateReq `json:"body,omitempty"` }
Request Object
func (UpgradeEngineRequest) String ¶ added in v0.1.12
func (o UpgradeEngineRequest) String() string
type UpgradeEngineResponse ¶ added in v0.1.12
type UpgradeEngineResponse struct { // 创建的微服务引擎专享版ID Id *string `json:"id,omitempty"` // 创建的微服务引擎专享版名称 Name *string `json:"name,omitempty"` // 微服务引擎专享版执行的任务ID JobId *int32 `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpgradeEngineResponse) String ¶ added in v0.1.12
func (o UpgradeEngineResponse) String() string
type UploadKieRequest ¶
type UploadKieRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\" XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 微服务引擎专享版ID。 XEngineId string `json:"x-engine-id"` // 覆盖策略,force 强制覆盖、abort 遇到第一个重复时终止导入后续的kv、skip 跳过重复的key Override UploadKieRequestOverride `json:"override"` // 指定label导入,格式为:{标签key}:{标签value},如果不填则按body的label导入 Label *string `json:"label,omitempty"` Body *UploadKieRequestBody `json:"body,omitempty" type:"multipart"` }
Request Object
func (UploadKieRequest) String ¶
func (o UploadKieRequest) String() string
type UploadKieRequestBody ¶
type UploadKieRequestBody struct { // 导入文件内容的格式必须为键值对映射,例如:{\"data\":[{\"key1\":\"value1\",\"key2\":\"value2\"}]}} UploadFile *def.FilePart `json:"upload_file"` }
func (UploadKieRequestBody) String ¶
func (o UploadKieRequestBody) String() string
func (*UploadKieRequestBody) UnmarshalJSON ¶
func (o *UploadKieRequestBody) UnmarshalJSON(b []byte) error
type UploadKieRequestOverride ¶
type UploadKieRequestOverride struct {
// contains filtered or unexported fields
}
func (UploadKieRequestOverride) MarshalJSON ¶
func (c UploadKieRequestOverride) MarshalJSON() ([]byte, error)
func (*UploadKieRequestOverride) UnmarshalJSON ¶
func (c *UploadKieRequestOverride) UnmarshalJSON(b []byte) error
func (UploadKieRequestOverride) Value ¶ added in v0.0.90
func (c UploadKieRequestOverride) Value() string
type UploadKieRequestOverrideEnum ¶
type UploadKieRequestOverrideEnum struct { FORCE UploadKieRequestOverride ABORT UploadKieRequestOverride SKIP UploadKieRequestOverride }
func GetUploadKieRequestOverrideEnum ¶
func GetUploadKieRequestOverrideEnum() UploadKieRequestOverrideEnum
type UploadKieResponse ¶
type UploadKieResponse struct { // 导入成功的配置项列表。 Success *[]GetKieConfigs `json:"success,omitempty"` // 导入失败的配置项及其错误列表。 Failure *[]DocFailedOfUpload `json:"failure,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UploadKieResponse) String ¶
func (o UploadKieResponse) String() string
Source Files ¶
- model_cluster_node.go
- model_create_engine_request.go
- model_create_engine_response.go
- model_create_kie_req.go
- model_delete_engine_request.go
- model_delete_engine_response.go
- model_doc_failed_of_upload.go
- model_download_kie_req_body.go
- model_download_kie_request.go
- model_download_kie_response.go
- model_download_kie_response_body_metadata.go
- model_engine_additional_action_req.go
- model_engine_create_req.go
- model_engine_external_entrypoint.go
- model_engine_rbac_pwd.go
- model_engine_reference.go
- model_engine_simple_info.go
- model_engine_update_req.go
- model_entrypoint_item.go
- model_flavor_brief.go
- model_get_kie_configs.go
- model_list_engines_request.go
- model_list_engines_response.go
- model_list_flavors_request.go
- model_list_flavors_response.go
- model_retry_engine_request.go
- model_retry_engine_response.go
- model_show_engine_job_request.go
- model_show_engine_job_response.go
- model_show_engine_request.go
- model_show_engine_response.go
- model_spec.go
- model_spec_cluster_node.go
- model_task.go
- model_task_executor_brief.go
- model_task_steps.go
- model_upgrade_engine_request.go
- model_upgrade_engine_response.go
- model_upload_kie_request.go
- model_upload_kie_request_body.go
- model_upload_kie_response.go
Click to show internal directories.
Click to hide internal directories.