Documentation ¶
Index ¶
- type ClusterNode
- type CreateBussinessScene
- type CreateBussinessSceneSpec
- type CreateBussinessSceneSpecMatches
- type CreateEngineRequest
- type CreateEngineResponse
- type CreateGovPolicy
- type CreateGovernancePolicyRequest
- type CreateGovernancePolicyResponse
- type CreateHttp2RpcRequest
- type CreateHttp2RpcResponse
- type CreateKieReq
- type CreateMatch
- type CreateMatchHeaders
- type CreateMatchHeadersHeader
- type CreateMicroserviceRouteRuleRequest
- type CreateMicroserviceRouteRuleResponse
- type CreateNacosNamespacesRequest
- type CreateNacosNamespacesResponse
- type CreatePluginRequest
- type CreatePluginResponse
- type CreatePluginResponseImagePullPolicy
- type CreatePluginResponseImagePullPolicyEnum
- type CreatePluginResponsePhase
- type CreatePluginResponsePhaseEnum
- type CreateRoute
- type CreateRouteTags
- type CreateRules
- type DeleteEngineRequest
- type DeleteEngineResponse
- type DeleteGovernancePolicyRequest
- type DeleteGovernancePolicyResponse
- type DeleteHttp2RpcRequest
- type DeleteHttp2RpcResponse
- type DeleteMicroserviceRouteRuleRequest
- type DeleteMicroserviceRouteRuleResponse
- type DeleteNacosNamespacesRequest
- type DeleteNacosNamespacesResponse
- type DeletePluginRequest
- type DeletePluginResponse
- type DocFailedOfUpload
- type DownloadKieReqBody
- type DownloadKieRequest
- type DownloadKieRequestMatch
- type DownloadKieRequestMatchEnum
- type DownloadKieResponse
- type DownloadKieResponseBodyMetadata
- type Dubbo
- type DubboMethod
- type DubboMethodParam
- type EngineAdditionalActionReq
- type EngineAdditionalActionReqAction
- type EngineAdditionalActionReqActionEnum
- type EngineConfigureReq
- type EngineCreateReq
- type EngineCreateReqAuthType
- type EngineCreateReqAuthTypeEnum
- type EngineCreateReqEnginestateInfo
- type EngineCreateReqEnterpriseProject
- type EngineCreateReqFlavor
- type EngineCreateReqFlavorEnum
- type EngineCreateReqFlavorType
- type EngineCreateReqMaintenanceConfig
- type EngineCreateReqPayment
- type EngineCreateReqPaymentEnum
- type EngineCreateReqResourceParams
- type EngineCreateReqSpecType
- type EngineCreateReqSpecTypeEnum
- type EngineExternalEntrypoint
- type EngineModifyReq
- type EngineQuotaV2Quotas
- 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 EngineSpec
- type EngineUpdateReq
- type EntrypointItem
- type EntrypointItemType
- type EntrypointItemTypeEnum
- type FlavorBrief
- type GetKieConfigs
- type GovPolicyDetail
- type GovPolicyDetailPolicies
- type GovSelector
- type Http2Rpc
- type ListEnginesRequest
- type ListEnginesResponse
- type ListFlavorsRequest
- type ListFlavorsResponse
- type ListGovernancePolicyByPolicyIdRequest
- type ListGovernancePolicyByPolicyIdResponse
- type ListGovernancePolicyRequest
- type ListGovernancePolicyResponse
- type ListGovernancePolicysRequest
- type ListGovernancePolicysResponse
- type ListMicroserviceRouteRuleRequest
- type ListMicroserviceRouteRuleResponse
- type ListNacosNamespacesRequest
- type ListNacosNamespacesResponse
- type ModifyHttp2RpcRequest
- type ModifyHttp2RpcResponse
- type ModifyPluginRequest
- type ModifyPluginResponse
- type ModifyPluginResponseImagePullPolicy
- type ModifyPluginResponseImagePullPolicyEnum
- type ModifyPluginResponsePhase
- type ModifyPluginResponsePhaseEnum
- type ResizeEngineRequest
- type ResizeEngineResponse
- type RetryEngineRequest
- type RetryEngineResponse
- type ShowEngineJobRequest
- type ShowEngineJobResponse
- type ShowEngineJobResponseStatus
- type ShowEngineJobResponseStatusEnum
- type ShowEngineJobResponseType
- type ShowEngineJobResponseTypeEnum
- type ShowEngineQuotasRequest
- type ShowEngineQuotasResponse
- 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 ShowHttp2RpcsRequest
- type ShowHttp2RpcsResponse
- type ShowPluginsRequest
- type ShowPluginsResponse
- type ShowSinglePluginRequest
- type ShowSinglePluginResponse
- type ShowSinglePluginResponseImagePullPolicy
- type ShowSinglePluginResponseImagePullPolicyEnum
- type ShowSinglePluginResponsePhase
- type ShowSinglePluginResponsePhaseEnum
- 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 TenantQuotaUsed
- type UpdateGovernancePolicyRequest
- type UpdateGovernancePolicyResponse
- type UpdateNacosNamespacesRequest
- type UpdateNacosNamespacesResponse
- type UpgradeEngineConfigRequest
- type UpgradeEngineConfigResponse
- type UpgradeEngineRequest
- type UpgradeEngineResponse
- type UploadKieRequest
- type UploadKieRequestBody
- type UploadKieRequestOverride
- type UploadKieRequestOverrideEnum
- type UploadKieResponse
- type WasmPlugin
- type WasmPluginImagePullPolicy
- type WasmPluginImagePullPolicyEnum
- type WasmPluginPhase
- type WasmPluginPhaseEnum
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 CreateBussinessScene ¶ added in v0.1.67
type CreateBussinessScene struct { // 流量名称 Name *string `json:"name,omitempty"` // 启用状态,支持enabled和disabled Status *string `json:"status,omitempty"` Selector *GovSelector `json:"selector,omitempty"` Spec *CreateBussinessSceneSpec `json:"spec,omitempty"` }
CreateBussinessScene 流量定义
func (CreateBussinessScene) String ¶ added in v0.1.67
func (o CreateBussinessScene) String() string
type CreateBussinessSceneSpec ¶ added in v0.1.67
type CreateBussinessSceneSpec struct { // 特征名称 Alias *string `json:"alias,omitempty"` // 匹配条件定义 Matches *[]CreateBussinessSceneSpecMatches `json:"matches,omitempty"` }
CreateBussinessSceneSpec 流量特征描述
func (CreateBussinessSceneSpec) String ¶ added in v0.1.67
func (o CreateBussinessSceneSpec) String() string
type CreateBussinessSceneSpecMatches ¶ added in v0.1.67
type CreateBussinessSceneSpecMatches struct { // 条件名称 Name *string `json:"name,omitempty"` // 匹配的PATH ApiPath *interface{} `json:"apiPath,omitempty"` // 匹配的Headers Headers *interface{} `json:"headers,omitempty"` // 匹配的Method列表 Method *[]string `json:"method,omitempty"` // 匹配的微服务名称 ServiceName *string `json:"serviceName,omitempty"` }
func (CreateBussinessSceneSpecMatches) String ¶ added in v0.1.67
func (o CreateBussinessSceneSpecMatches) String() string
type CreateEngineRequest ¶
type CreateEngineRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\" XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` Body *EngineCreateReq `json:"body,omitempty"` }
CreateEngineRequest 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:"-"` }
CreateEngineResponse Response Object
func (CreateEngineResponse) String ¶
func (o CreateEngineResponse) String() string
type CreateGovPolicy ¶ added in v0.1.67
type CreateGovPolicy struct { // 治理策略名称 Name *string `json:"name,omitempty"` Selector *GovSelector `json:"selector,omitempty"` // 治理策略定义内容 Spec *interface{} `json:"spec,omitempty"` }
CreateGovPolicy 创建治理策略列表响应结构体
func (CreateGovPolicy) String ¶ added in v0.1.67
func (o CreateGovPolicy) String() string
type CreateGovernancePolicyRequest ¶ added in v0.1.67
type CreateGovernancePolicyRequest struct { // 该字段内容填为 \"application/json;charset=UTF-8\"。 ContentType string `json:"Content-Type"` // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 所属环境 XEnvironment *string `json:"x-environment,omitempty"` // 治理策略类型 Kind string `json:"kind"` Body *CreateGovPolicy `json:"body,omitempty"` }
CreateGovernancePolicyRequest Request Object
func (CreateGovernancePolicyRequest) String ¶ added in v0.1.67
func (o CreateGovernancePolicyRequest) String() string
type CreateGovernancePolicyResponse ¶ added in v0.1.67
type CreateGovernancePolicyResponse struct { // 结果信息 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
CreateGovernancePolicyResponse Response Object
func (CreateGovernancePolicyResponse) String ¶ added in v0.1.67
func (o CreateGovernancePolicyResponse) String() string
type CreateHttp2RpcRequest ¶ added in v0.1.79
type CreateHttp2RpcRequest struct { // 网关实例id GatewayId string `json:"gateway_id"` // 该字段内容填为 \"application/json\" Accept *string `json:"Accept,omitempty"` Body *Http2Rpc `json:"body,omitempty"` }
CreateHttp2RpcRequest Request Object
func (CreateHttp2RpcRequest) String ¶ added in v0.1.79
func (o CreateHttp2RpcRequest) String() string
type CreateHttp2RpcResponse ¶ added in v0.1.79
type CreateHttp2RpcResponse struct { // 网关的ID。 GatewayId *string `json:"gatewayId,omitempty"` // 传递给插件的配置。 PluginConfig *interface{} `json:"pluginConfig,omitempty"` Name *string `json:"name,omitempty"` // 路由的名称。 RouteName *string `json:"routeName,omitempty"` // 目标路由的名称。 RouteDestinationName *string `json:"routeDestinationName,omitempty"` Dubbo *Dubbo `json:"dubbo,omitempty"` HttpStatusCode int `json:"-"` }
CreateHttp2RpcResponse Response Object
func (CreateHttp2RpcResponse) String ¶ added in v0.1.79
func (o CreateHttp2RpcResponse) 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 CreateMatch ¶ added in v0.1.67
type CreateMatch struct {
Headers *CreateMatchHeaders `json:"headers,omitempty"`
}
CreateMatch 请求匹配规则。0..N个,不配置表示匹配。
func (CreateMatch) String ¶ added in v0.1.67
func (o CreateMatch) String() string
type CreateMatchHeaders ¶ added in v0.1.67
type CreateMatchHeaders struct {
Header *CreateMatchHeadersHeader `json:"<header>,omitempty"`
}
CreateMatchHeaders 匹配的Headers。
func (CreateMatchHeaders) String ¶ added in v0.1.67
func (o CreateMatchHeaders) String() string
type CreateMatchHeadersHeader ¶ added in v0.1.68
type CreateMatchHeadersHeader struct { // 精确匹配值。 Exact *string `json:"exact,omitempty"` // 是否区分大小写。 CaseInsensitive *bool `json:"caseInsensitive,omitempty"` }
CreateMatchHeadersHeader 匹配Header的规则。
func (CreateMatchHeadersHeader) String ¶ added in v0.1.68
func (o CreateMatchHeadersHeader) String() string
type CreateMicroserviceRouteRuleRequest ¶ added in v0.1.67
type CreateMicroserviceRouteRuleRequest struct { // 该字段内容填为 \"application/json;charset=UTF-8\"。 ContentType string `json:"Content-Type"` // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 微服务名称 ServiceName string `json:"service_name"` // 所属环境,不填表示<空>环境 Environment *string `json:"environment,omitempty"` // 所属应用,不填默认为default应用 AppId *string `json:"app_id,omitempty"` Body *[]CreateRules `json:"body,omitempty"` }
CreateMicroserviceRouteRuleRequest Request Object
func (CreateMicroserviceRouteRuleRequest) String ¶ added in v0.1.67
func (o CreateMicroserviceRouteRuleRequest) String() string
type CreateMicroserviceRouteRuleResponse ¶ added in v0.1.67
type CreateMicroserviceRouteRuleResponse struct { // 结果信息 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
CreateMicroserviceRouteRuleResponse Response Object
func (CreateMicroserviceRouteRuleResponse) String ¶ added in v0.1.67
func (o CreateMicroserviceRouteRuleResponse) String() string
type CreateNacosNamespacesRequest ¶ added in v0.1.67
type CreateNacosNamespacesRequest struct { // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 命名空间ID,仅支持大小写字母、数字、短划线(-)和下划线(_),不超过128个字符。 CustomNamespaceId string `json:"custom_namespace_id"` // 命名空间名,支持非@、#、$、%、^、&、*,不超过128个字符。 NamespaceName string `json:"namespace_name"` // 命名空间描述,不超过256个字符。 NamespaceDesc *string `json:"namespace_desc,omitempty"` }
CreateNacosNamespacesRequest Request Object
func (CreateNacosNamespacesRequest) String ¶ added in v0.1.67
func (o CreateNacosNamespacesRequest) String() string
type CreateNacosNamespacesResponse ¶ added in v0.1.67
type CreateNacosNamespacesResponse struct {
HttpStatusCode int `json:"-"`
}
CreateNacosNamespacesResponse Response Object
func (CreateNacosNamespacesResponse) String ¶ added in v0.1.67
func (o CreateNacosNamespacesResponse) String() string
type CreatePluginRequest ¶ added in v0.1.79
type CreatePluginRequest struct { // 网关实例id GatewayId string `json:"gateway_id"` // 该字段内容填为 \"application/json\" Accept *string `json:"Accept,omitempty"` Body *WasmPlugin `json:"body,omitempty"` }
CreatePluginRequest Request Object
func (CreatePluginRequest) String ¶ added in v0.1.79
func (o CreatePluginRequest) String() string
type CreatePluginResponse ¶ added in v0.1.79
type CreatePluginResponse struct { // 拉取OCI镜像的行为 ImagePullPolicy *CreatePluginResponseImagePullPolicy `json:"imagePullPolicy,omitempty"` // 拉取OCI 镜像的凭据 ImagePullSecret *string `json:"imagePullSecret,omitempty"` // 确定插件将在过滤器链中的何处注入。 Phase *CreatePluginResponsePhase `json:"phase,omitempty"` // 传递给插件的配置。 PluginConfig *interface{} `json:"pluginConfig,omitempty"` // 插件名。 PluginName *string `json:"pluginName,omitempty"` // 插件的调用优先级。 Priority *int32 `json:"priority,omitempty"` // 用于校验插件和容器的校验和。 Sha256 *string `json:"sha256,omitempty"` // 插件或容器的下载地址。 Url *string `json:"url,omitempty"` // 校验值。 VerificationKey *string `json:"verificationKey,omitempty"` HttpStatusCode int `json:"-"` }
CreatePluginResponse Response Object
func (CreatePluginResponse) String ¶ added in v0.1.79
func (o CreatePluginResponse) String() string
type CreatePluginResponseImagePullPolicy ¶ added in v0.1.79
type CreatePluginResponseImagePullPolicy struct {
// contains filtered or unexported fields
}
func (CreatePluginResponseImagePullPolicy) MarshalJSON ¶ added in v0.1.79
func (c CreatePluginResponseImagePullPolicy) MarshalJSON() ([]byte, error)
func (*CreatePluginResponseImagePullPolicy) UnmarshalJSON ¶ added in v0.1.79
func (c *CreatePluginResponseImagePullPolicy) UnmarshalJSON(b []byte) error
func (CreatePluginResponseImagePullPolicy) Value ¶ added in v0.1.79
func (c CreatePluginResponseImagePullPolicy) Value() string
type CreatePluginResponseImagePullPolicyEnum ¶ added in v0.1.79
type CreatePluginResponseImagePullPolicyEnum struct { UNSPECIFIED_POLICY CreatePluginResponseImagePullPolicy IF_NOT_PRESENT CreatePluginResponseImagePullPolicy ALWAYS CreatePluginResponseImagePullPolicy }
func GetCreatePluginResponseImagePullPolicyEnum ¶ added in v0.1.79
func GetCreatePluginResponseImagePullPolicyEnum() CreatePluginResponseImagePullPolicyEnum
type CreatePluginResponsePhase ¶ added in v0.1.79
type CreatePluginResponsePhase struct {
// contains filtered or unexported fields
}
func (CreatePluginResponsePhase) MarshalJSON ¶ added in v0.1.79
func (c CreatePluginResponsePhase) MarshalJSON() ([]byte, error)
func (*CreatePluginResponsePhase) UnmarshalJSON ¶ added in v0.1.79
func (c *CreatePluginResponsePhase) UnmarshalJSON(b []byte) error
func (CreatePluginResponsePhase) Value ¶ added in v0.1.79
func (c CreatePluginResponsePhase) Value() string
type CreatePluginResponsePhaseEnum ¶ added in v0.1.79
type CreatePluginResponsePhaseEnum struct { UNSPECIFIED_PHASE CreatePluginResponsePhase AUTHN CreatePluginResponsePhase AUTHZ CreatePluginResponsePhase STATS CreatePluginResponsePhase }
func GetCreatePluginResponsePhaseEnum ¶ added in v0.1.79
func GetCreatePluginResponsePhaseEnum() CreatePluginResponsePhaseEnum
type CreateRoute ¶ added in v0.1.67
type CreateRoute struct { // 规则名称。 Name *string `json:"name,omitempty"` // 权重值。 Weight *int32 `json:"weight,omitempty"` Tags *CreateRouteTags `json:"tags,omitempty"` }
CreateRoute 路由规则。
func (CreateRoute) String ¶ added in v0.1.67
func (o CreateRoute) String() string
type CreateRouteTags ¶ added in v0.1.67
type CreateRouteTags struct { // 实例标记。满足标记条件的实例放到这一组。 Tag *string `json:"<tag>,omitempty"` }
CreateRouteTags 匹配的实例标记列表。
func (CreateRouteTags) String ¶ added in v0.1.67
func (o CreateRouteTags) String() string
type CreateRules ¶ added in v0.1.67
type CreateRules struct { // 优先级,数字越大,优先级越高。 Precedence *int32 `json:"precedence,omitempty"` Match *CreateMatch `json:"match,omitempty"` // 路由规则列表。 Route *[]CreateRoute `json:"route,omitempty"` }
CreateRules 灰度发布规则
func (CreateRules) String ¶ added in v0.1.67
func (o CreateRules) String() string
type DeleteEngineRequest ¶
type DeleteEngineRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\" XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 微服务引擎ID EngineId string `json:"engine_id"` }
DeleteEngineRequest 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:"-"` }
DeleteEngineResponse Response Object
func (DeleteEngineResponse) String ¶
func (o DeleteEngineResponse) String() string
type DeleteGovernancePolicyRequest ¶ added in v0.1.67
type DeleteGovernancePolicyRequest struct { // 该字段内容填为 \"application/json;charset=UTF-8\"。 ContentType string `json:"Content-Type"` // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 所属环境 XEnvironment *string `json:"x-environment,omitempty"` // 治理策略类型 Kind string `json:"kind"` // 治理策略id PolicyId string `json:"policy_id"` }
DeleteGovernancePolicyRequest Request Object
func (DeleteGovernancePolicyRequest) String ¶ added in v0.1.67
func (o DeleteGovernancePolicyRequest) String() string
type DeleteGovernancePolicyResponse ¶ added in v0.1.67
type DeleteGovernancePolicyResponse struct { // 结果信息 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
DeleteGovernancePolicyResponse Response Object
func (DeleteGovernancePolicyResponse) String ¶ added in v0.1.67
func (o DeleteGovernancePolicyResponse) String() string
type DeleteHttp2RpcRequest ¶ added in v0.1.79
type DeleteHttp2RpcRequest struct { // 网关实例id GatewayId string `json:"gateway_id"` // 插件id Http2RpcId string `json:"http2Rpc_id"` // 该字段内容填为 \"application/json\" Accept *string `json:"Accept,omitempty"` }
DeleteHttp2RpcRequest Request Object
func (DeleteHttp2RpcRequest) String ¶ added in v0.1.79
func (o DeleteHttp2RpcRequest) String() string
type DeleteHttp2RpcResponse ¶ added in v0.1.79
type DeleteHttp2RpcResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteHttp2RpcResponse Response Object
func (DeleteHttp2RpcResponse) String ¶ added in v0.1.79
func (o DeleteHttp2RpcResponse) String() string
type DeleteMicroserviceRouteRuleRequest ¶ added in v0.1.67
type DeleteMicroserviceRouteRuleRequest struct { // 该字段内容填为 \"application/json;charset=UTF-8\"。 ContentType string `json:"Content-Type"` // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 微服务名称 ServiceName string `json:"service_name"` // 所属环境,不填表示<空>环境 Environment *string `json:"environment,omitempty"` // 所属应用,不填默认为default应用 AppId *string `json:"app_id,omitempty"` }
DeleteMicroserviceRouteRuleRequest Request Object
func (DeleteMicroserviceRouteRuleRequest) String ¶ added in v0.1.67
func (o DeleteMicroserviceRouteRuleRequest) String() string
type DeleteMicroserviceRouteRuleResponse ¶ added in v0.1.67
type DeleteMicroserviceRouteRuleResponse struct { // 结果信息 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
DeleteMicroserviceRouteRuleResponse Response Object
func (DeleteMicroserviceRouteRuleResponse) String ¶ added in v0.1.67
func (o DeleteMicroserviceRouteRuleResponse) String() string
type DeleteNacosNamespacesRequest ¶ added in v0.1.67
type DeleteNacosNamespacesRequest struct { // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 命名空间ID NamespaceId string `json:"namespace_id"` }
DeleteNacosNamespacesRequest Request Object
func (DeleteNacosNamespacesRequest) String ¶ added in v0.1.67
func (o DeleteNacosNamespacesRequest) String() string
type DeleteNacosNamespacesResponse ¶ added in v0.1.67
type DeleteNacosNamespacesResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteNacosNamespacesResponse Response Object
func (DeleteNacosNamespacesResponse) String ¶ added in v0.1.67
func (o DeleteNacosNamespacesResponse) String() string
type DeletePluginRequest ¶ added in v0.1.79
type DeletePluginRequest struct { // 网关实例id GatewayId string `json:"gateway_id"` // 插件id PluginId string `json:"plugin_id"` // 该字段内容填为 \"application/json\" Accept *string `json:"Accept,omitempty"` }
DeletePluginRequest Request Object
func (DeletePluginRequest) String ¶ added in v0.1.79
func (o DeletePluginRequest) String() string
type DeletePluginResponse ¶ added in v0.1.79
type DeletePluginResponse struct {
HttpStatusCode int `json:"-"`
}
DeletePluginResponse Response Object
func (DeletePluginResponse) String ¶ added in v0.1.79
func (o DeletePluginResponse) 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"` }
DownloadKieRequest 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:"-"` }
DownloadKieResponse 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"` }
DownloadKieResponseBodyMetadata 导出文件的描述信息
func (DownloadKieResponseBodyMetadata) String ¶
func (o DownloadKieResponseBodyMetadata) String() string
type Dubbo ¶ added in v0.1.79
type Dubbo struct { // 服务名。 Service *string `json:"service,omitempty"` // 版本号。 Version *string `json:"version,omitempty"` // 分组。 Group *string `json:"group,omitempty"` // dubbo方法列表。 Methods *[]DubboMethod `json:"methods,omitempty"` }
type DubboMethod ¶ added in v0.1.79
type DubboMethod struct { // 服务方法。 ServiceMethod *string `json:"serviceMethod,omitempty"` // 附加请求头。 HeadersAttach *string `json:"headersAttach,omitempty"` // http 方法。 HttpMethods *[]string `json:"httpMethods,omitempty"` // http 路径。 HttpPath *string `json:"httpPath,omitempty"` // dubbo 方法参数。 Params *[]DubboMethodParam `json:"params,omitempty"` }
func (DubboMethod) String ¶ added in v0.1.79
func (o DubboMethod) String() string
type DubboMethodParam ¶ added in v0.1.79
type DubboMethodParam struct { // 参数键。 ParamKey *string `json:"paramKey,omitempty"` // 参数来源。 ParamSource *string `json:"paramSource,omitempty"` // 参数类型。 ParamType *string `json:"paramType,omitempty"` }
func (DubboMethodParam) String ¶ added in v0.1.79
func (o DubboMethodParam) String() string
type EngineAdditionalActionReq ¶ added in v0.1.12
type EngineAdditionalActionReq struct { // 操作类型 Action EngineAdditionalActionReqAction `json:"action"` }
EngineAdditionalActionReq 升级微服务引擎请求体
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 EngineConfigureReq ¶ added in v0.1.67
type EngineConfigureReq struct { // authType安全认证类型,支持填写NONE和RBAC。 AuthType string `json:"authType"` }
EngineConfigureReq 更新微服务引擎配置请求体。
func (EngineConfigureReq) String ¶ added in v0.1.67
func (o EngineConfigureReq) String() string
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"` // 当前局点可用区列表,创建ServiceComb引擎专享版需要填写。 AzList *[]string `json:"azList,omitempty"` // ServiceComb引擎专享版与注册配置中心认证方式,RBAC为安全认证,NONE为无认证。 AuthType EngineCreateReqAuthType `json:"authType"` // vpc名称 Vpc string `json:"vpc"` // vpc标识 VpcId *string `json:"vpcId,omitempty"` // 微服务引擎子网ID NetworkId string `json:"networkId"` // 微服务引擎子网划分 SubnetCidr string `json:"subnetCidr"` // ServiceComb引擎专享版公网地址ID,当前为null PublicIpId *string `json:"publicIpId,omitempty"` AuthCred *EngineRbacPwd `json:"auth_cred,omitempty"` // 微服务引擎部署类型 SpecType EngineCreateReqSpecType `json:"specType"` // 引擎附加参数 Inputs map[string]string `json:"inputs,omitempty"` EnginestateInfo *EngineCreateReqEnginestateInfo `json:"enginestateInfo,omitempty"` // 创建阶段类型 PeriodType *int32 `json:"periodType,omitempty"` FlavorType *EngineCreateReqFlavorType `json:"flavorType,omitempty"` EnterpriseProject *EngineCreateReqEnterpriseProject `json:"enterpriseProject,omitempty"` // 网关vpc划分 VpcCidr *string `json:"vpcCidr,omitempty"` ResourceParams *EngineCreateReqResourceParams `json:"resourceParams,omitempty"` // 产品ID ProductId *string `json:"productId,omitempty"` // 容量产品ID CapacityProductId *string `json:"capacityProductId,omitempty"` // 微服务引擎是否免费 IsFree *bool `json:"isFree,omitempty"` // 微服务引擎使用的子网名称 SubnetName *string `json:"subnetName,omitempty"` // 标签 Tags *[]string `json:"tags,omitempty"` MaintenanceConfig *EngineCreateReqMaintenanceConfig `json:"maintenanceConfig,omitempty"` // 微服务引擎使用的elb的id Elbid *string `json:"elbid,omitempty"` }
EngineCreateReq 创建微服务引擎请求结构体
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 EngineCreateReqEnginestateInfo ¶ added in v0.1.98
type EngineCreateReqEnginestateInfo struct { // 集群 Cluster *bool `json:"cluster,omitempty"` // 双子集群 TwinClusters *bool `json:"twinClusters,omitempty"` // 单引擎 SingleEngine *bool `json:"singleEngine,omitempty"` }
EngineCreateReqEnginestateInfo 引擎状态信息
func (EngineCreateReqEnginestateInfo) String ¶ added in v0.1.98
func (o EngineCreateReqEnginestateInfo) String() string
type EngineCreateReqEnterpriseProject ¶ added in v0.1.98
type EngineCreateReqEnterpriseProject struct { // 企业项目id Id *string `json:"id,omitempty"` // 企业项目名称 Name *string `json:"name,omitempty"` // 企业项目描述 Description *string `json:"description,omitempty"` // 企业项目状态 Status *int32 `json:"status,omitempty"` // 企业项目创建时间 CreatedAt *string `json:"created_at,omitempty"` // 企业项目升级时间 UpdatedAt *string `json:"updated_at,omitempty"` // 企业项目标签 Label *string `json:"label,omitempty"` }
EngineCreateReqEnterpriseProject 企业项目信息
func (EngineCreateReqEnterpriseProject) String ¶ added in v0.1.98
func (o EngineCreateReqEnterpriseProject) String() string
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 CSE_NACOS2_C1_LARGE_10 EngineCreateReqFlavor CSE_NACOS2_C1_XLARGE_20 EngineCreateReqFlavor CSE_NACOS2_C1_XLARGE_50 EngineCreateReqFlavor CSE_NACOS2_C1_XLARGE_60 EngineCreateReqFlavor CSE_NACOS2_C1_2XLARGE_100 EngineCreateReqFlavor CSE_MICROGATEWAY_PRO_SMALL_1 EngineCreateReqFlavor CSE_MICROGATEWAY_PRO_MEDIUM_1 EngineCreateReqFlavor CSE_MICROGATEWAY_PRO_LARGE_1 EngineCreateReqFlavor }
func GetEngineCreateReqFlavorEnum ¶
func GetEngineCreateReqFlavorEnum() EngineCreateReqFlavorEnum
type EngineCreateReqFlavorType ¶ added in v0.1.98
type EngineCreateReqFlavorType struct { // 网关节点规格 NodeFlavor *[]string `json:"nodeFlavor,omitempty"` // 网关规格 Flavor *string `json:"flavor,omitempty"` // 可用区前缀 AvailablePrefix *string `json:"availablePrefix,omitempty"` // 可用区CPU内存 AvailableCpuMemory *string `json:"availableCpuMemory,omitempty"` // 引擎类型 SpecType *string `json:"specType,omitempty"` // 是否为线性 Linear *bool `json:"linear,omitempty"` // 网关证书规模 LicenseAmount *int32 `json:"licenseAmount,omitempty"` // 网关节点数限制 NodeLimit *string `json:"nodeLimit,omitempty"` // 网关规格id Id *string `json:"id,omitempty"` // 网关规格 MicroGatewayFlavor *string `json:"microGatewayFlavor,omitempty"` // 网关是否禁用 Disable *bool `json:"disable,omitempty"` // 网关节点类型 Spec *string `json:"spec,omitempty"` // 云服务类型 CloudServiceType *string `json:"cloudServiceType,omitempty"` // 当前规格 Currentflavor *string `json:"currentflavor,omitempty"` }
EngineCreateReqFlavorType 网关规格类型
func (EngineCreateReqFlavorType) String ¶ added in v0.1.98
func (o EngineCreateReqFlavorType) String() string
type EngineCreateReqMaintenanceConfig ¶ added in v0.1.98
type EngineCreateReqMaintenanceConfig struct { // 维护时间 Time *string `json:"time,omitempty"` // 维护时间的时区 Zone *string `json:"zone,omitempty"` }
EngineCreateReqMaintenanceConfig 微服务引擎的维护时间窗
func (EngineCreateReqMaintenanceConfig) String ¶ added in v0.1.98
func (o EngineCreateReqMaintenanceConfig) String() string
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 EngineCreateReqResourceParams ¶ added in v0.1.98
type EngineCreateReqResourceParams struct { // 是否自动刷新 IsAutoRenew *int32 `json:"isAutoRenew,omitempty"` }
EngineCreateReqResourceParams 微服务引擎资源参数
func (EngineCreateReqResourceParams) String ¶ added in v0.1.98
func (o EngineCreateReqResourceParams) String() string
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 { CSE2 EngineCreateReqSpecType NACOS2 EngineCreateReqSpecType MICRO_GATEWAY EngineCreateReqSpecType }
func GetEngineCreateReqSpecTypeEnum ¶
func GetEngineCreateReqSpecTypeEnum() EngineCreateReqSpecTypeEnum
type EngineExternalEntrypoint ¶
type EngineExternalEntrypoint struct { // 微服务引擎暴露的IP地址。 ExternalAddress *string `json:"externalAddress,omitempty"` // 微服务引擎的公网地址。 PublicAddress *string `json:"publicAddress,omitempty"` // 微服务引擎组件的访问地址。 ServiceEndpoint map[string]EntrypointItem `json:"serviceEndpoint,omitempty"` // 微服务引擎组件的公网地址。 PublicServiceEndpoint map[string]EntrypointItem `json:"publicServiceEndpoint,omitempty"` }
func (EngineExternalEntrypoint) String ¶
func (o EngineExternalEntrypoint) String() string
type EngineModifyReq ¶ added in v0.1.67
type EngineModifyReq struct { // 变更的规格 Flavor *string `json:"flavor,omitempty"` // 变更的配置,覆盖组件bp的input参数 Inputs map[string]string `json:"inputs,omitempty"` }
func (EngineModifyReq) String ¶ added in v0.1.67
func (o EngineModifyReq) String() string
type EngineQuotaV2Quotas ¶ added in v0.1.76
type EngineQuotaV2Quotas struct {
Resources *[]TenantQuotaUsed `json:"resources,omitempty"`
}
func (EngineQuotaV2Quotas) String ¶ added in v0.1.76
func (o EngineQuotaV2Quotas) String() string
type EngineRbacPwd ¶
type EngineRbacPwd struct { // 开启安全认证的ServiceComb引擎专享版默认root帐号的密码 Pwd *string `json:"pwd,omitempty"` }
EngineRbacPwd 操作ServiceComb引擎专享版安全认证信息
func (EngineRbacPwd) String ¶
func (o EngineRbacPwd) String() string
type EngineReference ¶
type EngineReference struct { // vpc名称 Vpc *string `json:"vpc,omitempty"` // 微服务引擎部署的可用区列表 AzList *[]string `json:"azList,omitempty"` // 微服务引擎子网网络ID NetworkId *string `json:"networkId,omitempty"` // 微服务引擎ipv4子网划分 SubnetCidr *string `json:"subnetCidr,omitempty"` // 微服务引擎ipv6子网划分 SubnetCidrV6 *string `json:"subnetCidrV6,omitempty"` // 微服务引擎子网网关 SubnetGateway *string `json:"subnetGateway,omitempty"` // 微服务引擎公网地址ID PublicIpId *string `json:"publicIpId,omitempty"` // 微服务引擎可支持的微服务总数 ServiceLimit *int32 `json:"serviceLimit,omitempty"` // 微服务引擎可支持的实例总数 InstanceLimit *int32 `json:"instanceLimit,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 EnterpriseProjectId *string `json:"enterpriseProjectId,omitempty"` // 微服务引擎所属企业项目名称 EnterpriseProjectName *string `json:"enterpriseProjectName,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:"authType,omitempty"` // 微服务引擎当前的状态 Status *EngineSimpleInfoStatus `json:"status,omitempty"` // 微服务引擎暴露的IP地址 ExternalAddress *string `json:"externalAddress,omitempty"` // 微服务引擎组件的访问地址。 ServiceEndpoint map[string]EntrypointItem `json:"serviceEndpoint,omitempty"` // 微服务引擎的公网IP地址 PublicAddress *string `json:"publicAddress,omitempty"` // 微服务引擎的公网接入地址 PublicServiceEndpoint map[string]EntrypointItem `json:"publicServiceEndpoint,omitempty"` // 微服务引擎可支持的实例总数 TotalInstance *int32 `json:"totalInstance,omitempty"` // 已使用的实例总数 UsedInstance *int32 `json:"usedInstance,omitempty"` // 可用实例总数 AvailableInstance *int32 `json:"availableInstance,omitempty"` // 微服务引擎当前版本 Version *string `json:"version,omitempty"` // 微服务引擎最新版本 LatestVersion *string `json:"latestVersion,omitempty"` // 微服务引擎创建时间 CreateTime *int64 `json:"createTime,omitempty"` // 微服务引擎到期时间 DueTo *int64 `json:"dueTo,omitempty"` // 微服务引擎最近的任务ID LatestJobId *int32 `json:"latestJobId,omitempty"` // 微服务引擎允许的附加操作 EngineAdditionalActions *[]EngineSimpleInfoEngineAdditionalActions `json:"engineAdditionalActions,omitempty"` // 微服务引擎应用部署类型 SpecType *EngineSimpleInfoSpecType `json:"specType,omitempty"` Reference *EngineReference `json:"reference,omitempty"` }
EngineSimpleInfo 查询微服务引擎列表引擎信息
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 CSE_NACOS2_C1_LARGE_10 EngineSimpleInfoFlavor CSE_NACOS2_C1_XLARGE_20 EngineSimpleInfoFlavor CSE_NACOS2_C1_XLARGE_50 EngineSimpleInfoFlavor CSE_NACOS2_C1_XLARGE_60 EngineSimpleInfoFlavor CSE_NACOS2_C1_2XLARGE_100 EngineSimpleInfoFlavor CSE_MICROGATEWAY_PRO_SMALL_1 EngineSimpleInfoFlavor CSE_MICROGATEWAY_PRO_MEDIUM_1 EngineSimpleInfoFlavor CSE_MICROGATEWAY_PRO_LARGE_1 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 EngineSpec ¶ added in v0.1.92
type EngineSpec struct { // CPU及内存规格。 AvailableCpuMemory *string `json:"availableCpuMemory,omitempty"` // 是否为线性规格。 Linear *string `json:"linear,omitempty"` // 可用节点规格类型前缀。 AvailablePrefix *string `json:"availablePrefix,omitempty"` }
EngineSpec 微服务引擎相关参数。
func (EngineSpec) String ¶ added in v0.1.92
func (o EngineSpec) String() string
type EngineUpdateReq ¶ added in v0.1.12
type EngineUpdateReq struct { // 版本号 Version string `json:"version"` }
EngineUpdateReq 升级微服务引擎请求体
func (EngineUpdateReq) String ¶ added in v0.1.12
func (o EngineUpdateReq) String() string
type EntrypointItem ¶
type EntrypointItem struct { // 微服务引擎组件的ipv4主接入地址 MasterEntrypoint *string `json:"masterEntrypoint,omitempty"` // 微服务引擎组件的ipv6主接入地址 MasterEntrypointIpv6 *string `json:"masterEntrypointIpv6,omitempty"` // 微服务引擎组件的ipv4备接入地址 SlaveEntrypoint *string `json:"slaveEntrypoint,omitempty"` // 微服务引擎组件的ipv6备接入地址 SlaveEntrypointIpv6 *string `json:"slaveEntrypointIpv6,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"` Spec *EngineSpec `json:"spec,omitempty"` }
FlavorBrief 微服务引擎规格及描述
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 GovPolicyDetail ¶ added in v0.1.68
type GovPolicyDetail struct { MatchGroup *CreateBussinessScene `json:"matchGroup,omitempty"` // 治理策略定义。 Policies *[]GovPolicyDetailPolicies `json:"policies,omitempty"` }
GovPolicyDetail 治理策略详情。
func (GovPolicyDetail) String ¶ added in v0.1.68
func (o GovPolicyDetail) String() string
type GovPolicyDetailPolicies ¶ added in v0.1.68
type GovPolicyDetailPolicies struct { // 治理策略ID。 Id *string `json:"id,omitempty"` // 治理策略名称。 Name *string `json:"name,omitempty"` // 治理类型,支持填写retry、rate-limiting、loadbalance、circuit-breaker、instance-isolation、fault-injection和bulkhead。 Kind *string `json:"kind,omitempty"` // 启用状态,支持enabled和disabled。 Status *string `json:"status,omitempty"` Selector *GovSelector `json:"selector,omitempty"` // 治理策略定义内容。 Spec *interface{} `json:"spec,omitempty"` }
func (GovPolicyDetailPolicies) String ¶ added in v0.1.68
func (o GovPolicyDetailPolicies) String() string
type GovSelector ¶ added in v0.1.67
type GovSelector struct { // 所属环境 Environment *string `json:"environment,omitempty"` // 所属应用 App *string `json:"app,omitempty"` // 可选,治理下发到微服务级别 Service *string `json:"service,omitempty"` }
GovSelector 治理策略下发范围
func (GovSelector) String ¶ added in v0.1.67
func (o GovSelector) String() string
type Http2Rpc ¶ added in v0.1.79
type Http2Rpc struct { // 网关的ID。 GatewayId *string `json:"gatewayId,omitempty"` // 传递给插件的配置。 PluginConfig *interface{} `json:"pluginConfig,omitempty"` Name *string `json:"name,omitempty"` // 路由的名称。 RouteName *string `json:"routeName,omitempty"` // 目标路由的名称。 RouteDestinationName *string `json:"routeDestinationName,omitempty"` Dubbo *Dubbo `json:"dubbo,omitempty"` }
type ListEnginesRequest ¶
type ListEnginesRequest struct { // 偏移量。 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。 Limit *string `json:"limit,omitempty"` // 查询所有微服务引擎需要将该值设置为ALL,查询ServiceComb引擎专享版需要将该值设置为CSE,查询注册配置中心需要将该值设置为Nacos,查询网关需要将该值设置为MicroGateway。 Type *string `json:"type,omitempty"` }
ListEnginesRequest 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:"-"` }
ListEnginesResponse Response Object
func (ListEnginesResponse) String ¶
func (o ListEnginesResponse) String() string
type ListFlavorsRequest ¶
type ListFlavorsRequest struct { // 微服务引擎应用部署类型,查询ServiceComb引擎专享版需要将该值设置为CSE2,查询注册配置中心需要将该值设置为Nacos2,查询网关需要将该值设置为MicroGateway。 SpecType *string `json:"spec_type,omitempty"` }
ListFlavorsRequest 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:"-"` }
ListFlavorsResponse Response Object
func (ListFlavorsResponse) String ¶
func (o ListFlavorsResponse) String() string
type ListGovernancePolicyByPolicyIdRequest ¶ added in v0.1.67
type ListGovernancePolicyByPolicyIdRequest struct { // 该字段内容填为 \"application/json;charset=UTF-8\"。 ContentType string `json:"Content-Type"` // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 所属环境 XEnvironment *string `json:"x-environment,omitempty"` // 治理策略类型 Kind string `json:"kind"` // 治理策略id PolicyId string `json:"policy_id"` }
ListGovernancePolicyByPolicyIdRequest Request Object
func (ListGovernancePolicyByPolicyIdRequest) String ¶ added in v0.1.67
func (o ListGovernancePolicyByPolicyIdRequest) String() string
type ListGovernancePolicyByPolicyIdResponse ¶ added in v0.1.67
type ListGovernancePolicyByPolicyIdResponse struct { // 治理策略名称 Name *string `json:"name,omitempty"` Selector *GovSelector `json:"selector,omitempty"` // 治理策略定义内容 Spec *interface{} `json:"spec,omitempty"` HttpStatusCode int `json:"-"` }
ListGovernancePolicyByPolicyIdResponse Response Object
func (ListGovernancePolicyByPolicyIdResponse) String ¶ added in v0.1.67
func (o ListGovernancePolicyByPolicyIdResponse) String() string
type ListGovernancePolicyRequest ¶ added in v0.1.67
type ListGovernancePolicyRequest struct { // 该字段内容填为 \"application/json;charset=UTF-8\"。 ContentType string `json:"Content-Type"` // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 所属环境 XEnvironment *string `json:"x-environment,omitempty"` // 治理策略类型 Kind string `json:"kind"` }
ListGovernancePolicyRequest Request Object
func (ListGovernancePolicyRequest) String ¶ added in v0.1.67
func (o ListGovernancePolicyRequest) String() string
type ListGovernancePolicyResponse ¶ added in v0.1.67
type ListGovernancePolicyResponse struct { // 查询治理策略列表响应结构体。 Body *[]GovPolicyDetail `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListGovernancePolicyResponse Response Object
func (ListGovernancePolicyResponse) String ¶ added in v0.1.67
func (o ListGovernancePolicyResponse) String() string
type ListGovernancePolicysRequest ¶ added in v0.1.67
type ListGovernancePolicysRequest struct { // 该字段内容填为 \"application/json;charset=UTF-8\"。 ContentType string `json:"Content-Type"` // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 所属环境,填写all时表示查询所有环境。 Environment string `json:"environment"` // 所属应用 App *string `json:"app,omitempty"` }
ListGovernancePolicysRequest Request Object
func (ListGovernancePolicysRequest) String ¶ added in v0.1.67
func (o ListGovernancePolicysRequest) String() string
type ListGovernancePolicysResponse ¶ added in v0.1.67
type ListGovernancePolicysResponse struct { // 查询治理策略列表响应结构体。 Body *[]GovPolicyDetail `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListGovernancePolicysResponse Response Object
func (ListGovernancePolicysResponse) String ¶ added in v0.1.67
func (o ListGovernancePolicysResponse) String() string
type ListMicroserviceRouteRuleRequest ¶ added in v0.1.67
type ListMicroserviceRouteRuleRequest struct { // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 微服务名称 ServiceName string `json:"service_name"` // 所属环境,不填表示<空>环境 Environment *string `json:"environment,omitempty"` // 所属应用,不填默认为default应用 AppId *string `json:"app_id,omitempty"` }
ListMicroserviceRouteRuleRequest Request Object
func (ListMicroserviceRouteRuleRequest) String ¶ added in v0.1.67
func (o ListMicroserviceRouteRuleRequest) String() string
type ListMicroserviceRouteRuleResponse ¶ added in v0.1.67
type ListMicroserviceRouteRuleResponse struct { // 结果信息 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ListMicroserviceRouteRuleResponse Response Object
func (ListMicroserviceRouteRuleResponse) String ¶ added in v0.1.67
func (o ListMicroserviceRouteRuleResponse) String() string
type ListNacosNamespacesRequest ¶ added in v0.1.67
type ListNacosNamespacesRequest struct { // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 分页参数,偏移量,从0开始 Offset int32 `json:"offset"` // 分页参数,分页大小,0表示不分页 Limit int32 `json:"limit"` }
ListNacosNamespacesRequest Request Object
func (ListNacosNamespacesRequest) String ¶ added in v0.1.67
func (o ListNacosNamespacesRequest) String() string
type ListNacosNamespacesResponse ¶ added in v0.1.67
type ListNacosNamespacesResponse struct {
HttpStatusCode int `json:"-"`
}
ListNacosNamespacesResponse Response Object
func (ListNacosNamespacesResponse) String ¶ added in v0.1.67
func (o ListNacosNamespacesResponse) String() string
type ModifyHttp2RpcRequest ¶ added in v0.1.79
type ModifyHttp2RpcRequest struct { // 网关实例id GatewayId string `json:"gateway_id"` // http2Rpc id Http2RpcId string `json:"http2Rpc_id"` // 该字段内容填为 \"application/json\" Accept *string `json:"Accept,omitempty"` Body *Http2Rpc `json:"body,omitempty"` }
ModifyHttp2RpcRequest Request Object
func (ModifyHttp2RpcRequest) String ¶ added in v0.1.79
func (o ModifyHttp2RpcRequest) String() string
type ModifyHttp2RpcResponse ¶ added in v0.1.79
type ModifyHttp2RpcResponse struct { // 网关的ID。 GatewayId *string `json:"gatewayId,omitempty"` // 传递给插件的配置。 PluginConfig *interface{} `json:"pluginConfig,omitempty"` Name *string `json:"name,omitempty"` // 路由的名称。 RouteName *string `json:"routeName,omitempty"` // 目标路由的名称。 RouteDestinationName *string `json:"routeDestinationName,omitempty"` Dubbo *Dubbo `json:"dubbo,omitempty"` HttpStatusCode int `json:"-"` }
ModifyHttp2RpcResponse Response Object
func (ModifyHttp2RpcResponse) String ¶ added in v0.1.79
func (o ModifyHttp2RpcResponse) String() string
type ModifyPluginRequest ¶ added in v0.1.79
type ModifyPluginRequest struct { // 网关实例id GatewayId string `json:"gateway_id"` // 插件id PluginId string `json:"plugin_id"` // 该字段内容填为 \"application/json\" Accept *string `json:"Accept,omitempty"` Body *WasmPlugin `json:"body,omitempty"` }
ModifyPluginRequest Request Object
func (ModifyPluginRequest) String ¶ added in v0.1.79
func (o ModifyPluginRequest) String() string
type ModifyPluginResponse ¶ added in v0.1.79
type ModifyPluginResponse struct { // 拉取OCI镜像的行为 ImagePullPolicy *ModifyPluginResponseImagePullPolicy `json:"imagePullPolicy,omitempty"` // 拉取OCI 镜像的凭据 ImagePullSecret *string `json:"imagePullSecret,omitempty"` // 确定插件将在过滤器链中的何处注入。 Phase *ModifyPluginResponsePhase `json:"phase,omitempty"` // 传递给插件的配置。 PluginConfig *interface{} `json:"pluginConfig,omitempty"` // 插件名。 PluginName *string `json:"pluginName,omitempty"` // 插件的调用优先级。 Priority *int32 `json:"priority,omitempty"` // 用于校验插件和容器的校验和。 Sha256 *string `json:"sha256,omitempty"` // 插件或容器的下载地址。 Url *string `json:"url,omitempty"` // 校验值。 VerificationKey *string `json:"verificationKey,omitempty"` HttpStatusCode int `json:"-"` }
ModifyPluginResponse Response Object
func (ModifyPluginResponse) String ¶ added in v0.1.79
func (o ModifyPluginResponse) String() string
type ModifyPluginResponseImagePullPolicy ¶ added in v0.1.79
type ModifyPluginResponseImagePullPolicy struct {
// contains filtered or unexported fields
}
func (ModifyPluginResponseImagePullPolicy) MarshalJSON ¶ added in v0.1.79
func (c ModifyPluginResponseImagePullPolicy) MarshalJSON() ([]byte, error)
func (*ModifyPluginResponseImagePullPolicy) UnmarshalJSON ¶ added in v0.1.79
func (c *ModifyPluginResponseImagePullPolicy) UnmarshalJSON(b []byte) error
func (ModifyPluginResponseImagePullPolicy) Value ¶ added in v0.1.79
func (c ModifyPluginResponseImagePullPolicy) Value() string
type ModifyPluginResponseImagePullPolicyEnum ¶ added in v0.1.79
type ModifyPluginResponseImagePullPolicyEnum struct { UNSPECIFIED_POLICY ModifyPluginResponseImagePullPolicy IF_NOT_PRESENT ModifyPluginResponseImagePullPolicy ALWAYS ModifyPluginResponseImagePullPolicy }
func GetModifyPluginResponseImagePullPolicyEnum ¶ added in v0.1.79
func GetModifyPluginResponseImagePullPolicyEnum() ModifyPluginResponseImagePullPolicyEnum
type ModifyPluginResponsePhase ¶ added in v0.1.79
type ModifyPluginResponsePhase struct {
// contains filtered or unexported fields
}
func (ModifyPluginResponsePhase) MarshalJSON ¶ added in v0.1.79
func (c ModifyPluginResponsePhase) MarshalJSON() ([]byte, error)
func (*ModifyPluginResponsePhase) UnmarshalJSON ¶ added in v0.1.79
func (c *ModifyPluginResponsePhase) UnmarshalJSON(b []byte) error
func (ModifyPluginResponsePhase) Value ¶ added in v0.1.79
func (c ModifyPluginResponsePhase) Value() string
type ModifyPluginResponsePhaseEnum ¶ added in v0.1.79
type ModifyPluginResponsePhaseEnum struct { UNSPECIFIED_PHASE ModifyPluginResponsePhase AUTHN ModifyPluginResponsePhase AUTHZ ModifyPluginResponsePhase STATS ModifyPluginResponsePhase }
func GetModifyPluginResponsePhaseEnum ¶ added in v0.1.79
func GetModifyPluginResponsePhaseEnum() ModifyPluginResponsePhaseEnum
type ResizeEngineRequest ¶ added in v0.1.67
type ResizeEngineRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\" XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 该字段内容填为 \"application/json;charset=UTF-8\" ContentType string `json:"Content-Type"` // 该字段内容填为 \"application/json\" Accept string `json:"Accept"` // 引擎id EngineId string `json:"engine_id"` Body *EngineModifyReq `json:"body,omitempty"` }
ResizeEngineRequest Request Object
func (ResizeEngineRequest) String ¶ added in v0.1.67
func (o ResizeEngineRequest) String() string
type ResizeEngineResponse ¶ added in v0.1.67
type ResizeEngineResponse struct { // 引擎id Id *string `json:"id,omitempty"` // 引擎名字 Name *string `json:"name,omitempty"` // jobID JobId *int32 `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
ResizeEngineResponse Response Object
func (ResizeEngineResponse) String ¶ added in v0.1.67
func (o ResizeEngineResponse) 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"` }
RetryEngineRequest 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:"-"` }
RetryEngineResponse 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"` }
ShowEngineJobRequest 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:"engineId,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:"createUser,omitempty"` // 任务开始时间 StartTime *int64 `json:"startTime,omitempty"` // 任务结束时间 EndTime *int64 `json:"endTime,omitempty"` // 任务执行上下文 Context *string `json:"context,omitempty"` // 任务包含的处理阶段 Tasks *[]TaskSteps `json:"tasks,omitempty"` HttpStatusCode int `json:"-"` }
ShowEngineJobResponse 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 ShowEngineQuotasRequest ¶ added in v0.1.76
type ShowEngineQuotasRequest struct { }
ShowEngineQuotasRequest Request Object
func (ShowEngineQuotasRequest) String ¶ added in v0.1.76
func (o ShowEngineQuotasRequest) String() string
type ShowEngineQuotasResponse ¶ added in v0.1.76
type ShowEngineQuotasResponse struct { Quotas *EngineQuotaV2Quotas `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
ShowEngineQuotasResponse Response Object
func (ShowEngineQuotasResponse) String ¶ added in v0.1.76
func (o ShowEngineQuotasResponse) String() string
type ShowEngineRequest ¶
type ShowEngineRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\"。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 微服务引擎ID。 EngineId string `json:"engine_id"` }
ShowEngineRequest 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:"authType,omitempty"` // 微服务引擎规格 Flavor *string `json:"flavor,omitempty"` // 微服务引擎计费方式 Payment *string `json:"payment,omitempty"` // 微服务引擎当前版本 Version *string `json:"version,omitempty"` // 微服务引擎最新版本 LatestVersion *string `json:"latestVersion,omitempty"` // 微服务引擎状态 Status *ShowEngineResponseStatus `json:"status,omitempty"` // engine 是否是默认引擎 BeDefault *bool `json:"beDefault,omitempty"` // 微服务引擎创建者 CreateUser *string `json:"createUser,omitempty"` // 微服务引擎创建时间 CreateTime *int64 `json:"createTime,omitempty"` CceSpec *Spec `json:"cceSpec,omitempty"` ExternalEntrypoint *EngineExternalEntrypoint `json:"externalEntrypoint,omitempty"` Reference *EngineReference `json:"reference,omitempty"` // 微服务引擎最近的任务ID LatestJobId *int32 `json:"latestJobId,omitempty"` // 微服务引擎所属企业项目ID EnterpriseProjectId *string `json:"enterpriseProjectId,omitempty"` // 微服务引擎所属企业项目名称 EnterpriseProjectName *string `json:"enterpriseProjectName,omitempty"` // 微服务引擎允许的附加操作 EngineAdditionalActions *[]ShowEngineResponseEngineAdditionalActions `json:"engineAdditionalActions,omitempty"` // 微服务引擎应用部署类型 SpecType *ShowEngineResponseSpecType `json:"specType,omitempty"` // 微服务引擎类型,CSE表示专享版,NACOS表示注册配置中心,MICROGATEWAY表示网关 Type *ShowEngineResponseType `json:"type,omitempty"` // 微服务引擎所属项目ID ProjectId *string `json:"projectId,omitempty"` // 当前引擎在资源租户侧使用的虚拟机 id 列表 VmIds *[]string `json:"vmIds,omitempty"` HttpStatusCode int `json:"-"` }
ShowEngineResponse 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 { CSE2 ShowEngineResponseSpecType NACOS2 ShowEngineResponseSpecType MICRO_GATEWAY 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 NACOS ShowEngineResponseType MICROGATEWAY ShowEngineResponseType }
func GetShowEngineResponseTypeEnum ¶
func GetShowEngineResponseTypeEnum() ShowEngineResponseTypeEnum
type ShowHttp2RpcsRequest ¶ added in v0.1.79
type ShowHttp2RpcsRequest struct { // 网关实例id GatewayId string `json:"gateway_id"` // 该字段内容填为 \"application/json\" Accept *string `json:"Accept,omitempty"` }
ShowHttp2RpcsRequest Request Object
func (ShowHttp2RpcsRequest) String ¶ added in v0.1.79
func (o ShowHttp2RpcsRequest) String() string
type ShowHttp2RpcsResponse ¶ added in v0.1.79
type ShowHttp2RpcsResponse struct { // http2Rpc 总数。 Total *int32 `json:"total,omitempty"` // Http2Rpc 详细信息。 Data *[]Http2Rpc `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ShowHttp2RpcsResponse Response Object
func (ShowHttp2RpcsResponse) String ¶ added in v0.1.79
func (o ShowHttp2RpcsResponse) String() string
type ShowPluginsRequest ¶ added in v0.1.79
type ShowPluginsRequest struct { // 网关实例id GatewayId string `json:"gateway_id"` // 该字段内容填为 \"application/json\" Accept *string `json:"Accept,omitempty"` }
ShowPluginsRequest Request Object
func (ShowPluginsRequest) String ¶ added in v0.1.79
func (o ShowPluginsRequest) String() string
type ShowPluginsResponse ¶ added in v0.1.79
type ShowPluginsResponse struct { // 插件总数。 Total *int32 `json:"total,omitempty"` // 插件列表。 Data *[]WasmPlugin `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ShowPluginsResponse Response Object
func (ShowPluginsResponse) String ¶ added in v0.1.79
func (o ShowPluginsResponse) String() string
type ShowSinglePluginRequest ¶ added in v0.1.79
type ShowSinglePluginRequest struct { // 网关实例id GatewayId string `json:"gateway_id"` // 插件id PluginId string `json:"plugin_id"` // 该字段内容填为 \"application/json\" Accept *string `json:"Accept,omitempty"` }
ShowSinglePluginRequest Request Object
func (ShowSinglePluginRequest) String ¶ added in v0.1.79
func (o ShowSinglePluginRequest) String() string
type ShowSinglePluginResponse ¶ added in v0.1.79
type ShowSinglePluginResponse struct { // 拉取OCI镜像的行为 ImagePullPolicy *ShowSinglePluginResponseImagePullPolicy `json:"imagePullPolicy,omitempty"` // 拉取OCI 镜像的凭据 ImagePullSecret *string `json:"imagePullSecret,omitempty"` // 确定插件将在过滤器链中的何处注入。 Phase *ShowSinglePluginResponsePhase `json:"phase,omitempty"` // 传递给插件的配置。 PluginConfig *interface{} `json:"pluginConfig,omitempty"` // 插件名。 PluginName *string `json:"pluginName,omitempty"` // 插件的调用优先级。 Priority *int32 `json:"priority,omitempty"` // 用于校验插件和容器的校验和。 Sha256 *string `json:"sha256,omitempty"` // 插件或容器的下载地址。 Url *string `json:"url,omitempty"` // 校验值。 VerificationKey *string `json:"verificationKey,omitempty"` HttpStatusCode int `json:"-"` }
ShowSinglePluginResponse Response Object
func (ShowSinglePluginResponse) String ¶ added in v0.1.79
func (o ShowSinglePluginResponse) String() string
type ShowSinglePluginResponseImagePullPolicy ¶ added in v0.1.79
type ShowSinglePluginResponseImagePullPolicy struct {
// contains filtered or unexported fields
}
func (ShowSinglePluginResponseImagePullPolicy) MarshalJSON ¶ added in v0.1.79
func (c ShowSinglePluginResponseImagePullPolicy) MarshalJSON() ([]byte, error)
func (*ShowSinglePluginResponseImagePullPolicy) UnmarshalJSON ¶ added in v0.1.79
func (c *ShowSinglePluginResponseImagePullPolicy) UnmarshalJSON(b []byte) error
func (ShowSinglePluginResponseImagePullPolicy) Value ¶ added in v0.1.79
func (c ShowSinglePluginResponseImagePullPolicy) Value() string
type ShowSinglePluginResponseImagePullPolicyEnum ¶ added in v0.1.79
type ShowSinglePluginResponseImagePullPolicyEnum struct { UNSPECIFIED_POLICY ShowSinglePluginResponseImagePullPolicy IF_NOT_PRESENT ShowSinglePluginResponseImagePullPolicy ALWAYS ShowSinglePluginResponseImagePullPolicy }
func GetShowSinglePluginResponseImagePullPolicyEnum ¶ added in v0.1.79
func GetShowSinglePluginResponseImagePullPolicyEnum() ShowSinglePluginResponseImagePullPolicyEnum
type ShowSinglePluginResponsePhase ¶ added in v0.1.79
type ShowSinglePluginResponsePhase struct {
// contains filtered or unexported fields
}
func (ShowSinglePluginResponsePhase) MarshalJSON ¶ added in v0.1.79
func (c ShowSinglePluginResponsePhase) MarshalJSON() ([]byte, error)
func (*ShowSinglePluginResponsePhase) UnmarshalJSON ¶ added in v0.1.79
func (c *ShowSinglePluginResponsePhase) UnmarshalJSON(b []byte) error
func (ShowSinglePluginResponsePhase) Value ¶ added in v0.1.79
func (c ShowSinglePluginResponsePhase) Value() string
type ShowSinglePluginResponsePhaseEnum ¶ added in v0.1.79
type ShowSinglePluginResponsePhaseEnum struct { UNSPECIFIED_PHASE ShowSinglePluginResponsePhase AUTHN ShowSinglePluginResponsePhase AUTHZ ShowSinglePluginResponsePhase STATS ShowSinglePluginResponsePhase }
func GetShowSinglePluginResponsePhaseEnum ¶ added in v0.1.79
func GetShowSinglePluginResponsePhaseEnum() ShowSinglePluginResponsePhaseEnum
type Spec ¶
type Spec struct { // 微服务引擎CCE规格ID Id *int64 `json:"id,omitempty"` // 微服务引擎ID EngineId *string `json:"engineId,omitempty"` // 微服务引擎的集群部署类型 SpecType *SpecSpecType `json:"specType,omitempty"` // 微服务引擎的CCE集群信息,目前为null Cluster *string `json:"cluster,omitempty"` // 微服务引擎的CCE集群ID ClusterId *string `json:"clusterId,omitempty"` ClusterNodes *SpecClusterNode `json:"clusterNodes,omitempty"` // 微服务引擎的CCE集群规格 Flavor *string `json:"flavor,omitempty"` // 微服务引擎的CCE集群所在region Region *string `json:"region,omitempty"` // 微服务引擎的CCE集群版本 Version *string `json:"version,omitempty"` // 微服务引擎的CCE集群附加参数 ExtendParam *string `json:"extendParam,omitempty"` }
Spec 微服务引擎的CCE规格
type SpecClusterNode ¶
type SpecClusterNode struct { // CCE节点信息。 ClusterNodes *[]ClusterNode `json:"clusterNodes,omitempty"` }
SpecClusterNode 微服务引擎的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 { CSE2 SpecSpecType NACOS2 SpecSpecType MICRO_GATEWAY SpecSpecType }
func GetSpecSpecTypeEnum ¶
func GetSpecSpecTypeEnum() SpecSpecTypeEnum
type Task ¶
type Task struct { // 子任务所属任务ID JobId *int32 `json:"jobId,omitempty"` // 子任务ID,使用uuid Id *int64 `json:"id,omitempty"` // 子任务的类型 Type *TaskType `json:"type,omitempty"` // 子任务的执行者 Assigned *string `json:"assigned,omitempty"` // 子任务名称 TaskName *string `json:"taskName,omitempty"` // 子任务所属引擎名称 EngineName *string `json:"engineName,omitempty"` // 子任务执行的顺序, 从小到大 TaskOrder *int32 `json:"taskOrder,omitempty"` // 子任务状态 Status *TaskStatus `json:"status,omitempty"` // 子任务开始时间 StartTime *int64 `json:"startTime,omitempty"` // 子任务结束时间 EndTime *int64 `json:"endTime,omitempty"` // 子任务创建时间 CreateTime *int64 `json:"createTime,omitempty"` // 子任务更新时间 UpdateTime *int64 `json:"updateTime,omitempty"` // 子任务是否超时 Timeout *int32 `json:"timeout,omitempty"` // 子任务详细信息,执行过程中产生的辅助信息 Log *string `json:"log,omitempty"` // 子任务输出信息 Output *string `json:"output,omitempty"` TaskExecutorBrief *TaskExecutorBrief `json:"taskExecutorBrief,omitempty"` }
Task 子任务
type TaskExecutorBrief ¶
type TaskExecutorBrief struct { // 子任务持续时长 Duration *int64 `json:"duration,omitempty"` // 子任务描述 Description *string `json:"description,omitempty"` }
TaskExecutorBrief 任务元数据
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:"taskName,omitempty"` // 当前处理阶段包含的处理步骤名称列表 TaskNames *[]string `json:"taskNames,omitempty"` // 处理阶段状态 Status *TaskStepsStatus `json:"status,omitempty"` // 处理阶段开始时间 StartTime *int64 `json:"startTime,omitempty"` // 处理阶段结束时间 EndTime *int64 `json:"endTime,omitempty"` TaskExecutorBrief *TaskExecutorBrief `json:"taskExecutorBrief,omitempty"` // 处理步骤 Tasks *[]Task `json:"tasks,omitempty"` }
TaskSteps 处理阶段
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 TenantQuotaUsed ¶ added in v0.1.76
type TenantQuotaUsed struct { // 配额类型 Type *string `json:"type,omitempty"` // 已使用配额 Used *int32 `json:"used,omitempty"` // 总配额 Quota *int32 `json:"quota,omitempty"` }
TenantQuotaUsed 引擎配额详情
func (TenantQuotaUsed) String ¶ added in v0.1.76
func (o TenantQuotaUsed) String() string
type UpdateGovernancePolicyRequest ¶ added in v0.1.67
type UpdateGovernancePolicyRequest struct { // 该字段内容填为 \"application/json;charset=UTF-8\"。 ContentType string `json:"Content-Type"` // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 所属环境 XEnvironment *string `json:"x-environment,omitempty"` // 治理策略类型 Kind string `json:"kind"` // 治理策略id PolicyId string `json:"policy_id"` Body *CreateGovPolicy `json:"body,omitempty"` }
UpdateGovernancePolicyRequest Request Object
func (UpdateGovernancePolicyRequest) String ¶ added in v0.1.67
func (o UpdateGovernancePolicyRequest) String() string
type UpdateGovernancePolicyResponse ¶ added in v0.1.67
type UpdateGovernancePolicyResponse struct { // 结果信息 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
UpdateGovernancePolicyResponse Response Object
func (UpdateGovernancePolicyResponse) String ¶ added in v0.1.67
func (o UpdateGovernancePolicyResponse) String() string
type UpdateNacosNamespacesRequest ¶ added in v0.1.67
type UpdateNacosNamespacesRequest struct { // 微服务引擎的实例ID XEngineId string `json:"x-engine-id"` // 企业项目ID XEnterpriseProjectID string `json:"X-Enterprise-Project-ID"` // 命名空间ID Namespace string `json:"namespace"` // 命名空间名,支持非@、#、$、%、^、&、*,不超过128个字符。 NamespaceShowName string `json:"namespace_show_name"` // 命名空间描述,不超过256个字符。 NamespaceDesc string `json:"namespace_desc"` }
UpdateNacosNamespacesRequest Request Object
func (UpdateNacosNamespacesRequest) String ¶ added in v0.1.67
func (o UpdateNacosNamespacesRequest) String() string
type UpdateNacosNamespacesResponse ¶ added in v0.1.67
type UpdateNacosNamespacesResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateNacosNamespacesResponse Response Object
func (UpdateNacosNamespacesResponse) String ¶ added in v0.1.67
func (o UpdateNacosNamespacesResponse) String() string
type UpgradeEngineConfigRequest ¶ added in v0.1.67
type UpgradeEngineConfigRequest struct { // 如果不带则默认企业项目为\"default\",ID为\"0\" XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 更新的引擎Id EngineId string `json:"engine_id"` Body *EngineConfigureReq `json:"body,omitempty"` }
UpgradeEngineConfigRequest Request Object
func (UpgradeEngineConfigRequest) String ¶ added in v0.1.67
func (o UpgradeEngineConfigRequest) String() string
type UpgradeEngineConfigResponse ¶ added in v0.1.67
type UpgradeEngineConfigResponse struct { // 创建的微服务引擎ID Id *string `json:"id,omitempty"` // 创建的微服务引擎名称 Name *string `json:"name,omitempty"` // 微服务引擎执行的任务ID JobId *int32 `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
UpgradeEngineConfigResponse Response Object
func (UpgradeEngineConfigResponse) String ¶ added in v0.1.67
func (o UpgradeEngineConfigResponse) String() string
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"` }
UpgradeEngineRequest 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:"-"` }
UpgradeEngineResponse 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"` }
UploadKieRequest 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:"-"` }
UploadKieResponse Response Object
func (UploadKieResponse) String ¶
func (o UploadKieResponse) String() string
type WasmPlugin ¶ added in v0.1.79
type WasmPlugin struct { // 拉取OCI镜像的行为 ImagePullPolicy *WasmPluginImagePullPolicy `json:"imagePullPolicy,omitempty"` // 拉取OCI 镜像的凭据 ImagePullSecret *string `json:"imagePullSecret,omitempty"` // 确定插件将在过滤器链中的何处注入。 Phase *WasmPluginPhase `json:"phase,omitempty"` // 传递给插件的配置。 PluginConfig *interface{} `json:"pluginConfig,omitempty"` // 插件名。 PluginName *string `json:"pluginName,omitempty"` // 插件的调用优先级。 Priority *int32 `json:"priority,omitempty"` // 用于校验插件和容器的校验和。 Sha256 *string `json:"sha256,omitempty"` // 插件或容器的下载地址。 Url *string `json:"url,omitempty"` // 校验值。 VerificationKey *string `json:"verificationKey,omitempty"` }
func (WasmPlugin) String ¶ added in v0.1.79
func (o WasmPlugin) String() string
type WasmPluginImagePullPolicy ¶ added in v0.1.79
type WasmPluginImagePullPolicy struct {
// contains filtered or unexported fields
}
func (WasmPluginImagePullPolicy) MarshalJSON ¶ added in v0.1.79
func (c WasmPluginImagePullPolicy) MarshalJSON() ([]byte, error)
func (*WasmPluginImagePullPolicy) UnmarshalJSON ¶ added in v0.1.79
func (c *WasmPluginImagePullPolicy) UnmarshalJSON(b []byte) error
func (WasmPluginImagePullPolicy) Value ¶ added in v0.1.79
func (c WasmPluginImagePullPolicy) Value() string
type WasmPluginImagePullPolicyEnum ¶ added in v0.1.79
type WasmPluginImagePullPolicyEnum struct { UNSPECIFIED_POLICY WasmPluginImagePullPolicy IF_NOT_PRESENT WasmPluginImagePullPolicy ALWAYS WasmPluginImagePullPolicy }
func GetWasmPluginImagePullPolicyEnum ¶ added in v0.1.79
func GetWasmPluginImagePullPolicyEnum() WasmPluginImagePullPolicyEnum
type WasmPluginPhase ¶ added in v0.1.79
type WasmPluginPhase struct {
// contains filtered or unexported fields
}
func (WasmPluginPhase) MarshalJSON ¶ added in v0.1.79
func (c WasmPluginPhase) MarshalJSON() ([]byte, error)
func (*WasmPluginPhase) UnmarshalJSON ¶ added in v0.1.79
func (c *WasmPluginPhase) UnmarshalJSON(b []byte) error
func (WasmPluginPhase) Value ¶ added in v0.1.79
func (c WasmPluginPhase) Value() string
type WasmPluginPhaseEnum ¶ added in v0.1.79
type WasmPluginPhaseEnum struct { UNSPECIFIED_PHASE WasmPluginPhase AUTHN WasmPluginPhase AUTHZ WasmPluginPhase STATS WasmPluginPhase }
func GetWasmPluginPhaseEnum ¶ added in v0.1.79
func GetWasmPluginPhaseEnum() WasmPluginPhaseEnum
Source Files ¶
- model_cluster_node.go
- model_create_bussiness_scene.go
- model_create_bussiness_scene_spec.go
- model_create_bussiness_scene_spec_matches.go
- model_create_engine_request.go
- model_create_engine_response.go
- model_create_gov_policy.go
- model_create_governance_policy_request.go
- model_create_governance_policy_response.go
- model_create_http2_rpc_request.go
- model_create_http2_rpc_response.go
- model_create_kie_req.go
- model_create_match.go
- model_create_match_headers.go
- model_create_match_headers_header.go
- model_create_microservice_route_rule_request.go
- model_create_microservice_route_rule_response.go
- model_create_nacos_namespaces_request.go
- model_create_nacos_namespaces_response.go
- model_create_plugin_request.go
- model_create_plugin_response.go
- model_create_route.go
- model_create_route_tags.go
- model_create_rules.go
- model_delete_engine_request.go
- model_delete_engine_response.go
- model_delete_governance_policy_request.go
- model_delete_governance_policy_response.go
- model_delete_http2_rpc_request.go
- model_delete_http2_rpc_response.go
- model_delete_microservice_route_rule_request.go
- model_delete_microservice_route_rule_response.go
- model_delete_nacos_namespaces_request.go
- model_delete_nacos_namespaces_response.go
- model_delete_plugin_request.go
- model_delete_plugin_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_dubbo.go
- model_dubbo_method.go
- model_dubbo_method_param.go
- model_engine_additional_action_req.go
- model_engine_configure_req.go
- model_engine_create_req.go
- model_engine_create_req_enginestate_info.go
- model_engine_create_req_enterprise_project.go
- model_engine_create_req_flavor_type.go
- model_engine_create_req_maintenance_config.go
- model_engine_create_req_resource_params.go
- model_engine_external_entrypoint.go
- model_engine_modify_req.go
- model_engine_quota_v2_quotas.go
- model_engine_rbac_pwd.go
- model_engine_reference.go
- model_engine_simple_info.go
- model_engine_spec.go
- model_engine_update_req.go
- model_entrypoint_item.go
- model_flavor_brief.go
- model_get_kie_configs.go
- model_gov_policy_detail.go
- model_gov_policy_detail_policies.go
- model_gov_selector.go
- model_http2_rpc.go
- model_list_engines_request.go
- model_list_engines_response.go
- model_list_flavors_request.go
- model_list_flavors_response.go
- model_list_governance_policy_by_policy_id_request.go
- model_list_governance_policy_by_policy_id_response.go
- model_list_governance_policy_request.go
- model_list_governance_policy_response.go
- model_list_governance_policys_request.go
- model_list_governance_policys_response.go
- model_list_microservice_route_rule_request.go
- model_list_microservice_route_rule_response.go
- model_list_nacos_namespaces_request.go
- model_list_nacos_namespaces_response.go
- model_modify_http2_rpc_request.go
- model_modify_http2_rpc_response.go
- model_modify_plugin_request.go
- model_modify_plugin_response.go
- model_resize_engine_request.go
- model_resize_engine_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_quotas_request.go
- model_show_engine_quotas_response.go
- model_show_engine_request.go
- model_show_engine_response.go
- model_show_http2_rpcs_request.go
- model_show_http2_rpcs_response.go
- model_show_plugins_request.go
- model_show_plugins_response.go
- model_show_single_plugin_request.go
- model_show_single_plugin_response.go
- model_spec.go
- model_spec_cluster_node.go
- model_task.go
- model_task_executor_brief.go
- model_task_steps.go
- model_tenant_quota_used.go
- model_update_governance_policy_request.go
- model_update_governance_policy_response.go
- model_update_nacos_namespaces_request.go
- model_update_nacos_namespaces_response.go
- model_upgrade_engine_config_request.go
- model_upgrade_engine_config_response.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
- model_wasm_plugin.go