Documentation ¶
Index ¶
- type AcceptanceSchema
- type AccountStatus
- type AddExtensionEvaluationReplyRequest
- type AddExtensionEvaluationReplyResponse
- type AddExtensionEvaluationRequest
- type AddExtensionEvaluationResponse
- type AddExtensionStarRequest
- type AddExtensionStarResponse
- type Attributes
- type CheckInstanceAccessRequest
- type CheckInstanceAccessResponse
- type CheckMaliciousExtensionEvaluationRequest
- type CheckMaliciousExtensionEvaluationResponse
- type CheckNameRequest
- type CheckNameResponse
- type CheckResult
- type CheckResultError
- type CodeArtsIdeOnlineExtensionVersionProperty
- type CreateAcceptanceRequest
- type CreateAcceptanceResponse
- type CreateExtensionAuthorizationRequest
- type CreateExtensionAuthorizationResponse
- type CreateInstanceBy3rdRequest
- type CreateInstanceBy3rdResponse
- type CreateInstanceRequest
- type CreateInstanceResponse
- type CreateLoginRequest
- type CreateLoginResponse
- type CreateRequestRequest
- type CreateRequestRequestRequestType
- type CreateRequestRequestRequestTypeEnum
- type CreateRequestResponse
- type CriteriaSnake
- type CriteriaSnakeFilterType
- type CriteriaSnakeFilterTypeEnum
- type DeleteEvaluationReplyRequest
- type DeleteEvaluationReplyResponse
- type DeleteEvaluationRequest
- type DeleteEvaluationResponse
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- type Error
- type Evaluation
- type EvaluationAccusation
- type EvaluationReply
- type ExpireVo
- type ExtensionAllSnake
- type ExtensionAllSnakeStatus
- type ExtensionAllSnakeStatusEnum
- type ExtensionAllSnakeValidateStatus
- type ExtensionAllSnakeValidateStatusEnum
- type ExtensionAuthorization
- type ExtensionAuthorizationStatus
- type ExtensionAuthorizationStatusEnum
- type ExtensionExternalInfo
- type ExtensionFileSnake
- type ExtensionQueryParamSnake
- type ExtensionQueryResult
- type ExtensionSearchUserInputParamCustomizeForDetail
- type ExtensionStar
- type ExtensionStatistics
- type ExtensionVersionSnake
- type ExtensionVersionSnakeStatus
- type ExtensionVersionSnakeStatusEnum
- type ExtensionVersionSnakeVersionStatus
- type ExtensionVersionSnakeVersionStatusEnum
- type ExtensionVersionSnakeVersionValidateStatus
- type ExtensionVersionSnakeVersionValidateStatusEnum
- type FilterSnake
- type FilterSnakeSortBy
- type FilterSnakeSortByEnum
- type FilterSnakeSortOrder
- type FilterSnakeSortOrderEnum
- type InstanceEdgeParam
- type InstanceEdgeParamArch
- type InstanceEdgeParamArchEnum
- type InstanceEdgeParamCpuMemory
- type InstanceEdgeParamCpuMemoryEnum
- type InstanceEdgeParamPvcQuantity
- type InstanceEdgeParamPvcQuantityEnum
- type InstanceParam
- type InstanceParamArch
- type InstanceParamArchEnum
- type InstanceParamCpuMemory
- type InstanceParamCpuMemoryEnum
- type InstanceParamPvcQuantity
- type InstanceParamPvcQuantityEnum
- type InstanceStatusResponse
- type InstanceStatusResponseStatus
- type InstanceStatusResponseStatusEnum
- type InstanceUpdateParam
- type InstancesResponseInstancesVoResult
- type InstancesResponseInstancesVoResultArch
- type InstancesResponseInstancesVoResultArchEnum
- type InstancesVo
- type InstancesVoArch
- type InstancesVoArchEnum
- type InstancesVoCpuMemory
- type InstancesVoCpuMemoryEnum
- type InstancesVoPvcQuantity
- type InstancesVoPvcQuantityEnum
- type InstancesVoStatus
- type InstancesVoStatusEnum
- type ListExtensionsRequest
- type ListExtensionsResponse
- type ListInstancesRequest
- type ListInstancesResponse
- type ListOrgInstancesRequest
- type ListOrgInstancesResponse
- type ListProjectTemplatesRequest
- type ListProjectTemplatesResponse
- type ListStacksRequest
- type ListStacksResponse
- type LoginSchema
- type PageInstancesVo
- type Plugin
- type ProjectTemplates
- type PropertiesSchema
- type PublisherSnake
- type PublisherSnakePublisherStatus
- type PublisherSnakePublisherStatusEnum
- type Recipe
- type RequestStatus
- type RequestStatusEnum
- type ResourcePrice
- type ResourcePriceArch
- type ResourcePriceArchEnum
- type ResultMetadataSnake
- type ShowAccountStatusRequest
- type ShowAccountStatusResponse
- type ShowExtensionAuthorizationRequest
- type ShowExtensionAuthorizationResponse
- type ShowExtensionDetailRequest
- type ShowExtensionDetailResponse
- type ShowExtensionEvaluationRequest
- type ShowExtensionEvaluationResponse
- type ShowExtensionEvaluationStarRequest
- type ShowExtensionEvaluationStarResponse
- type ShowInstanceRequest
- type ShowInstanceResponse
- type ShowInstanceStatusInfoRequest
- type ShowInstanceStatusInfoResponse
- type ShowPriceRequest
- type ShowPriceResponse
- type ShowResultRequest
- type ShowResultResponse
- type SourceStorage
- type StackInfo
- type StacksAttribute
- type StacksConfig
- type StacksTags
- type StartInstanceParam
- type StartInstanceRequest
- type StartInstanceResponse
- type StopInstanceRequest
- type StopInstanceResponse
- type TaskModel
- type UpdateInstanceActivityRequest
- type UpdateInstanceActivityResponse
- type UpdateInstanceRequest
- type UpdateInstanceResponse
- type UploadExtensionFileRequest
- type UploadExtensionFileRequestBody
- type UploadExtensionFileResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptanceSchema ¶ added in v0.1.14
type AcceptanceSchema struct { // request_id RequestId string `json:"request_id"` // task_id TaskId int32 `json:"task_id"` }
the request body of acceptance
func (AcceptanceSchema) String ¶ added in v0.1.14
func (o AcceptanceSchema) String() string
type AccountStatus ¶
type AccountStatus struct { // 是否有创建实例权限 CurOrgCreateRole *bool `json:"cur_org_create_role,omitempty"` // 帐号所属租户是否开通服务 CurOrgOpen *bool `json:"cur_org_open,omitempty"` // 免费试用 HasFreeTrial *bool `json:"has_free_trial,omitempty"` // 是否有管理入口的权限 ShowManage *bool `json:"show_manage,omitempty"` }
func (AccountStatus) String ¶
func (o AccountStatus) String() string
type AddExtensionEvaluationReplyRequest ¶ added in v0.1.11
type AddExtensionEvaluationReplyRequest struct {
Body *EvaluationReply `json:"body,omitempty"`
}
Request Object
func (AddExtensionEvaluationReplyRequest) String ¶ added in v0.1.11
func (o AddExtensionEvaluationReplyRequest) String() string
type AddExtensionEvaluationReplyResponse ¶ added in v0.1.11
type AddExtensionEvaluationReplyResponse struct { // 返回值 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddExtensionEvaluationReplyResponse) String ¶ added in v0.1.11
func (o AddExtensionEvaluationReplyResponse) String() string
type AddExtensionEvaluationRequest ¶ added in v0.1.11
type AddExtensionEvaluationRequest struct {
Body *Evaluation `json:"body,omitempty"`
}
Request Object
func (AddExtensionEvaluationRequest) String ¶ added in v0.1.11
func (o AddExtensionEvaluationRequest) String() string
type AddExtensionEvaluationResponse ¶ added in v0.1.11
type AddExtensionEvaluationResponse struct { // 返回值 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddExtensionEvaluationResponse) String ¶ added in v0.1.11
func (o AddExtensionEvaluationResponse) String() string
type AddExtensionStarRequest ¶ added in v0.1.11
type AddExtensionStarRequest struct {
Body *ExtensionStar `json:"body,omitempty"`
}
Request Object
func (AddExtensionStarRequest) String ¶ added in v0.1.11
func (o AddExtensionStarRequest) String() string
type AddExtensionStarResponse ¶ added in v0.1.11
type AddExtensionStarResponse struct { // 返回值 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddExtensionStarResponse) String ¶ added in v0.1.11
func (o AddExtensionStarResponse) String() string
type Attributes ¶
type Attributes struct { // cpu限制 CpuLimit *string `json:"cpu_limit,omitempty"` // 内存限制 MemoryLimitBytes *string `json:"memory_limit_bytes,omitempty"` // pvc规格 PvcQuantity *string `json:"pvc_quantity,omitempty"` }
func (Attributes) String ¶
func (o Attributes) String() string
type CheckInstanceAccessRequest ¶ added in v0.0.71
type CheckInstanceAccessRequest struct { // CodeArtsIDEOnline实例id InstanceId string `json:"instance_id"` }
Request Object
func (CheckInstanceAccessRequest) String ¶ added in v0.0.71
func (o CheckInstanceAccessRequest) String() string
type CheckInstanceAccessResponse ¶ added in v0.0.71
type CheckInstanceAccessResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckInstanceAccessResponse) String ¶ added in v0.0.71
func (o CheckInstanceAccessResponse) String() string
type CheckMaliciousExtensionEvaluationRequest ¶ added in v0.1.11
type CheckMaliciousExtensionEvaluationRequest struct {
Body *EvaluationAccusation `json:"body,omitempty"`
}
Request Object
func (CheckMaliciousExtensionEvaluationRequest) String ¶ added in v0.1.11
func (o CheckMaliciousExtensionEvaluationRequest) String() string
type CheckMaliciousExtensionEvaluationResponse ¶ added in v0.1.11
type CheckMaliciousExtensionEvaluationResponse struct { // 返回值 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckMaliciousExtensionEvaluationResponse) String ¶ added in v0.1.11
func (o CheckMaliciousExtensionEvaluationResponse) String() string
type CheckNameRequest ¶
type CheckNameRequest struct { // 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间 DisplayName string `json:"display_name"` }
Request Object
func (CheckNameRequest) String ¶
func (o CheckNameRequest) String() string
type CheckNameResponse ¶
type CheckNameResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckNameResponse) String ¶
func (o CheckNameResponse) String() string
type CheckResult ¶ added in v0.1.6
type CheckResult struct { // 解析状态 Status *string `json:"status,omitempty"` // 检查插件错误结果集 Errors *[]CheckResultError `json:"errors,omitempty"` // 插件版本信息 ExtensionVersionCompare *string `json:"extension_version_compare,omitempty"` }
func (CheckResult) String ¶ added in v0.1.6
func (o CheckResult) String() string
type CheckResultError ¶ added in v0.1.6
type CheckResultError struct { // 解析结果码 Code *string `json:"code,omitempty"` // 解析结果信息 Message *string `json:"message,omitempty"` }
func (CheckResultError) String ¶ added in v0.1.6
func (o CheckResultError) String() string
type CodeArtsIdeOnlineExtensionVersionProperty ¶ added in v0.1.26
type CodeArtsIdeOnlineExtensionVersionProperty struct { // id Id *int32 `json:"id,omitempty"` // 参数名 PropertyName *string `json:"property_name,omitempty"` // 参数值 PropertyValue *string `json:"property_value,omitempty"` // 插件版本id ExtensionVersionId *string `json:"extension_version_id,omitempty"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 更新时间 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
func (CodeArtsIdeOnlineExtensionVersionProperty) String ¶ added in v0.1.26
func (o CodeArtsIdeOnlineExtensionVersionProperty) String() string
type CreateAcceptanceRequest ¶ added in v0.1.14
type CreateAcceptanceRequest struct {
Body *AcceptanceSchema `json:"body,omitempty"`
}
Request Object
func (CreateAcceptanceRequest) String ¶ added in v0.1.14
func (o CreateAcceptanceRequest) String() string
type CreateAcceptanceResponse ¶ added in v0.1.14
type CreateAcceptanceResponse struct { // acceptance_id AcceptanceId *int32 `json:"acceptance_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAcceptanceResponse) String ¶ added in v0.1.14
func (o CreateAcceptanceResponse) String() string
type CreateExtensionAuthorizationRequest ¶ added in v0.0.71
type CreateExtensionAuthorizationRequest struct { // CodeArtsIDEOnline实例ID InstanceId string `json:"instance_id"` Body *ExtensionAuthorization `json:"body,omitempty"` }
Request Object
func (CreateExtensionAuthorizationRequest) String ¶ added in v0.0.71
func (o CreateExtensionAuthorizationRequest) String() string
type CreateExtensionAuthorizationResponse ¶ added in v0.0.71
type CreateExtensionAuthorizationResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateExtensionAuthorizationResponse) String ¶ added in v0.0.71
func (o CreateExtensionAuthorizationResponse) String() string
type CreateInstanceBy3rdRequest ¶
type CreateInstanceBy3rdRequest struct { // 实例标签(不同的第三方需要和CodeArtsIDEOnline服务共同设定标签)。不传默认为classroom InstanceLabel *string `json:"instance_label,omitempty"` Body *InstanceEdgeParam `json:"body,omitempty"` }
Request Object
func (CreateInstanceBy3rdRequest) String ¶
func (o CreateInstanceBy3rdRequest) String() string
type CreateInstanceBy3rdResponse ¶
type CreateInstanceBy3rdResponse struct { Result *InstancesResponseInstancesVoResult `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateInstanceBy3rdResponse) String ¶
func (o CreateInstanceBy3rdResponse) String() string
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { // 租户id(对应华为云帐号的domainId) OrgId string `json:"org_id"` Body *InstanceParam `json:"body,omitempty"` }
Request Object
func (CreateInstanceRequest) String ¶
func (o CreateInstanceRequest) String() string
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { Result *InstancesResponseInstancesVoResult `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateInstanceResponse) String ¶
func (o CreateInstanceResponse) String() string
type CreateLoginRequest ¶ added in v0.1.26
type CreateLoginRequest struct {
Body *LoginSchema `json:"body,omitempty"`
}
Request Object
func (CreateLoginRequest) String ¶ added in v0.1.26
func (o CreateLoginRequest) String() string
type CreateLoginResponse ¶ added in v0.1.26
type CreateLoginResponse struct { // login_id LoginId *int32 `json:"login_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateLoginResponse) String ¶ added in v0.1.26
func (o CreateLoginResponse) String() string
type CreateRequestRequest ¶ added in v0.1.14
type CreateRequestRequest struct { // the number of samples Topn *int32 `json:"topn,omitempty"` // the scenario of code content Scenario *string `json:"scenario,omitempty"` // if `resubmit` is true, the de-duplication will be ignored Resubmit *bool `json:"resubmit,omitempty"` // choose the model ModelId *string `json:"model_id,omitempty"` // An enumeration. - function - rawtext RequestType *CreateRequestRequestRequestType `json:"request_type,omitempty"` Body *PropertiesSchema `json:"body,omitempty"` }
Request Object
func (CreateRequestRequest) String ¶ added in v0.1.14
func (o CreateRequestRequest) String() string
type CreateRequestRequestRequestType ¶ added in v0.1.27
type CreateRequestRequestRequestType struct {
// contains filtered or unexported fields
}
func (CreateRequestRequestRequestType) MarshalJSON ¶ added in v0.1.27
func (c CreateRequestRequestRequestType) MarshalJSON() ([]byte, error)
func (*CreateRequestRequestRequestType) UnmarshalJSON ¶ added in v0.1.27
func (c *CreateRequestRequestRequestType) UnmarshalJSON(b []byte) error
func (CreateRequestRequestRequestType) Value ¶ added in v0.1.27
func (c CreateRequestRequestRequestType) Value() string
type CreateRequestRequestRequestTypeEnum ¶ added in v0.1.27
type CreateRequestRequestRequestTypeEnum struct { FUNCTION CreateRequestRequestRequestType RAWTEXT CreateRequestRequestRequestType }
func GetCreateRequestRequestRequestTypeEnum ¶ added in v0.1.27
func GetCreateRequestRequestRequestTypeEnum() CreateRequestRequestRequestTypeEnum
type CreateRequestResponse ¶ added in v0.1.14
type CreateRequestResponse struct { // the unique id of the request RequestId *string `json:"request_id,omitempty"` Status *RequestStatus `json:"status,omitempty"` // the number of tasks dispatched successfully DispatchedTaskNumber *int32 `json:"dispatched_task_number,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRequestResponse) String ¶ added in v0.1.14
func (o CreateRequestResponse) String() string
type CriteriaSnake ¶ added in v0.1.6
type CriteriaSnake struct { // 过滤类型 - 1 按插件Tag过滤 - 2 按diplayName过滤 - 3 按publisherId过滤 - 4 按插件Id过滤 - 5 按插件分类过滤 - 7 按照作者名.插件名过滤 - 8 按Target(客户端)过滤 - 10 按关键字(客户端输入的)过滤 - 12 根据flags传入的值来进行过滤,eg:flags=2name就排除flags=2的插件. - 13 根据flags传入的值来进行过滤,eg:flags=2name就查询出flags=2的插件 - 18 按publisherName过滤 - 19 按publisherDisplayName过滤 - 102 按照插件状态排除插件 - 103 按照插件状态过滤出插件 - 107 supportIdeInfo - 108 根据插件ids查询 FilterType *CriteriaSnakeFilterType `json:"filter_type,omitempty"` // 过滤类型对应字段名称 Value *string `json:"value,omitempty"` }
func (CriteriaSnake) String ¶ added in v0.1.6
func (o CriteriaSnake) String() string
type CriteriaSnakeFilterType ¶ added in v0.1.6
type CriteriaSnakeFilterType struct {
// contains filtered or unexported fields
}
func (CriteriaSnakeFilterType) MarshalJSON ¶ added in v0.1.6
func (c CriteriaSnakeFilterType) MarshalJSON() ([]byte, error)
func (*CriteriaSnakeFilterType) UnmarshalJSON ¶ added in v0.1.6
func (c *CriteriaSnakeFilterType) UnmarshalJSON(b []byte) error
func (CriteriaSnakeFilterType) Value ¶ added in v0.1.6
func (c CriteriaSnakeFilterType) Value() int32
type CriteriaSnakeFilterTypeEnum ¶ added in v0.1.6
type CriteriaSnakeFilterTypeEnum struct { E_1 CriteriaSnakeFilterType E_2 CriteriaSnakeFilterType E_3 CriteriaSnakeFilterType E_4 CriteriaSnakeFilterType E_5 CriteriaSnakeFilterType E_7 CriteriaSnakeFilterType E_8 CriteriaSnakeFilterType E_10 CriteriaSnakeFilterType E_12 CriteriaSnakeFilterType E_13 CriteriaSnakeFilterType E_18 CriteriaSnakeFilterType E_19 CriteriaSnakeFilterType E_102 CriteriaSnakeFilterType E_103 CriteriaSnakeFilterType E_107 CriteriaSnakeFilterType E_108 CriteriaSnakeFilterType }
func GetCriteriaSnakeFilterTypeEnum ¶ added in v0.1.6
func GetCriteriaSnakeFilterTypeEnum() CriteriaSnakeFilterTypeEnum
type DeleteEvaluationReplyRequest ¶ added in v0.1.11
type DeleteEvaluationReplyRequest struct { // 回复id ReplyId int64 `json:"reply_id"` }
Request Object
func (DeleteEvaluationReplyRequest) String ¶ added in v0.1.11
func (o DeleteEvaluationReplyRequest) String() string
type DeleteEvaluationReplyResponse ¶ added in v0.1.11
type DeleteEvaluationReplyResponse struct { // 返回值 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteEvaluationReplyResponse) String ¶ added in v0.1.11
func (o DeleteEvaluationReplyResponse) String() string
type DeleteEvaluationRequest ¶ added in v0.1.11
type DeleteEvaluationRequest struct { // 评论id EvaluationId int64 `json:"evaluation_id"` }
Request Object
func (DeleteEvaluationRequest) String ¶ added in v0.1.11
func (o DeleteEvaluationRequest) String() string
type DeleteEvaluationResponse ¶ added in v0.1.11
type DeleteEvaluationResponse struct { // 返回值 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteEvaluationResponse) String ¶ added in v0.1.11
func (o DeleteEvaluationResponse) String() string
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { // 实例id InstanceId string `json:"instance_id"` }
Request Object
func (DeleteInstanceRequest) String ¶
func (o DeleteInstanceRequest) String() string
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteInstanceResponse) String ¶
func (o DeleteInstanceResponse) String() string
type Error ¶ added in v0.0.96
type Evaluation ¶ added in v0.1.11
type Evaluation struct { // 插件id ExtensionId string `json:"extension_id"` // 评论内容 Text string `json:"text"` }
func (Evaluation) String ¶ added in v0.1.11
func (o Evaluation) String() string
type EvaluationAccusation ¶ added in v0.1.11
type EvaluationAccusation struct { // 举报内容 Content string `json:"content"` // 评论id EvaluationId *string `json:"evaluation_id,omitempty"` // 回复id ReplyId *string `json:"reply_id,omitempty"` }
其中evaluation_id和reply_id之中必须选择一个填写
func (EvaluationAccusation) String ¶ added in v0.1.11
func (o EvaluationAccusation) String() string
type EvaluationReply ¶ added in v0.1.11
type EvaluationReply struct { // 所在评论id EvaluationId *string `json:"evaluation_id,omitempty"` // 回复评论的id 空表示回复主评论 ReplyId *string `json:"reply_id,omitempty"` // 评论或回复内容 Text string `json:"text"` }
评论回复,其中evaluation_id和reply_id之中必须选择一个填写
func (EvaluationReply) String ¶ added in v0.1.11
func (o EvaluationReply) String() string
type ExpireVo ¶ added in v0.0.71
type ExtensionAllSnake ¶ added in v0.1.6
type ExtensionAllSnake struct { // 插件id ExtensionId *string `json:"extension_id,omitempty"` // 插件名称 ExtensionName *string `json:"extension_name,omitempty"` // 插件显示名称 DisplayName *string `json:"display_name,omitempty"` // 插件flag;通过传递flag参数来进行过滤或其他操作。flag的基础数字是2\\4\\8\\16;传递的参数只能是这四个数字加法组合而成的数字 利用它们之间二进制的运算获取的值进行其他操作.比如6=0110=0010+0100也就是2和4的集合flags Flags *int32 `json:"flags,omitempty"` // 更新时间 LastUpdated *sdktime.SdkTime `json:"last_updated,omitempty"` // 上传时间 PublishedDate *sdktime.SdkTime `json:"published_date,omitempty"` // 发布时间 ReleaseDate *sdktime.SdkTime `json:"release_date,omitempty"` // 插件描述 ShortDescription *string `json:"short_description,omitempty"` // 插件标签 Tags *[]string `json:"tags,omitempty"` // 所有标签 TagAllList *[]string `json:"tag_all_list,omitempty"` Publisher *PublisherSnake `json:"publisher,omitempty"` // 系统架构 Arch *[]string `json:"arch,omitempty"` // 安装目标 Target *string `json:"target,omitempty"` // 插件分类 Categories *[]string `json:"categories,omitempty"` // 全部分类列表 CategoryAllList *[]string `json:"category_all_list,omitempty"` PublishManager *PublisherSnake `json:"publish_manager,omitempty"` // 插件状态 - INIT 上传插件的第一个版本 - NORMAL 插件有审核通过的版本 - OFFLINE 插件下线 - ABANDONED 上传废弃 - GRAYED 灰度插件 Status *ExtensionAllSnakeStatus `json:"status,omitempty"` // 插件审核状态 - NONE 审核结束 - VALIDATING 审核中 ValidateStatus *ExtensionAllSnakeValidateStatus `json:"validate_status,omitempty"` // 下载量 InstallCount *int32 `json:"install_count,omitempty"` // 平均评星值 AverageStar float32 `json:"average_star,omitempty"` // 插件唯一标识内部插件市场保留 Identifier *string `json:"identifier,omitempty"` // 插件支持的操作系统 SupportOs *[]string `json:"support_os,omitempty"` // 插件支持的ide SupportIde *int32 `json:"support_ide,omitempty"` // 插件支持的ide名称 SupportIdeInfo *string `json:"support_ide_info,omitempty"` // 插件版本集合 Versions *[]ExtensionVersionSnake `json:"versions,omitempty"` // 插件审核结果 ValidateResult *string `json:"validate_result,omitempty"` ExtensionStatistics *ExtensionStatistics `json:"extension_statistics,omitempty"` // 是否支持预览 Preview *bool `json:"preview,omitempty"` ExtInfo *ExtensionExternalInfo `json:"ext_info,omitempty"` // 安装目标 Platform *string `json:"platform,omitempty"` CheckResult *CheckResult `json:"check_result,omitempty"` // 灰度版本数量 GrayVersionCount *int32 `json:"gray_version_count,omitempty"` // 插件作者 ExtensionOwner *string `json:"extension_owner,omitempty"` }
func (ExtensionAllSnake) String ¶ added in v0.1.6
func (o ExtensionAllSnake) String() string
type ExtensionAllSnakeStatus ¶ added in v0.1.6
type ExtensionAllSnakeStatus struct {
// contains filtered or unexported fields
}
func (ExtensionAllSnakeStatus) MarshalJSON ¶ added in v0.1.6
func (c ExtensionAllSnakeStatus) MarshalJSON() ([]byte, error)
func (*ExtensionAllSnakeStatus) UnmarshalJSON ¶ added in v0.1.6
func (c *ExtensionAllSnakeStatus) UnmarshalJSON(b []byte) error
func (ExtensionAllSnakeStatus) Value ¶ added in v0.1.6
func (c ExtensionAllSnakeStatus) Value() string
type ExtensionAllSnakeStatusEnum ¶ added in v0.1.6
type ExtensionAllSnakeStatusEnum struct { INIT ExtensionAllSnakeStatus NORMAL ExtensionAllSnakeStatus OFFLINE ExtensionAllSnakeStatus ABANDONED ExtensionAllSnakeStatus GRAYED ExtensionAllSnakeStatus }
func GetExtensionAllSnakeStatusEnum ¶ added in v0.1.6
func GetExtensionAllSnakeStatusEnum() ExtensionAllSnakeStatusEnum
type ExtensionAllSnakeValidateStatus ¶ added in v0.1.6
type ExtensionAllSnakeValidateStatus struct {
// contains filtered or unexported fields
}
func (ExtensionAllSnakeValidateStatus) MarshalJSON ¶ added in v0.1.6
func (c ExtensionAllSnakeValidateStatus) MarshalJSON() ([]byte, error)
func (*ExtensionAllSnakeValidateStatus) UnmarshalJSON ¶ added in v0.1.6
func (c *ExtensionAllSnakeValidateStatus) UnmarshalJSON(b []byte) error
func (ExtensionAllSnakeValidateStatus) Value ¶ added in v0.1.6
func (c ExtensionAllSnakeValidateStatus) Value() string
type ExtensionAllSnakeValidateStatusEnum ¶ added in v0.1.6
type ExtensionAllSnakeValidateStatusEnum struct { NONE ExtensionAllSnakeValidateStatus VALIDATING ExtensionAllSnakeValidateStatus }
func GetExtensionAllSnakeValidateStatusEnum ¶ added in v0.1.6
func GetExtensionAllSnakeValidateStatusEnum() ExtensionAllSnakeValidateStatusEnum
type ExtensionAuthorization ¶ added in v0.0.71
type ExtensionAuthorization struct { // 插件版本 ExtensionVersion string `json:"extension_version"` // 插件标识(发布者.插件名) Identifier string `json:"identifier"` // CodeArtsIDEOnline实例ID InstanceId *string `json:"instance_id,omitempty"` // 插件状态。 - AGREE 同意 - REJECT 不同意 - UNKNOWN 未知(下次重新询问) Status ExtensionAuthorizationStatus `json:"status"` }
func (ExtensionAuthorization) String ¶ added in v0.0.71
func (o ExtensionAuthorization) String() string
type ExtensionAuthorizationStatus ¶ added in v0.0.71
type ExtensionAuthorizationStatus struct {
// contains filtered or unexported fields
}
func (ExtensionAuthorizationStatus) MarshalJSON ¶ added in v0.0.71
func (c ExtensionAuthorizationStatus) MarshalJSON() ([]byte, error)
func (*ExtensionAuthorizationStatus) UnmarshalJSON ¶ added in v0.0.71
func (c *ExtensionAuthorizationStatus) UnmarshalJSON(b []byte) error
func (ExtensionAuthorizationStatus) Value ¶ added in v0.0.90
func (c ExtensionAuthorizationStatus) Value() string
type ExtensionAuthorizationStatusEnum ¶ added in v0.0.71
type ExtensionAuthorizationStatusEnum struct { AGREE ExtensionAuthorizationStatus REJECT ExtensionAuthorizationStatus UNKNOWN ExtensionAuthorizationStatus }
func GetExtensionAuthorizationStatusEnum ¶ added in v0.0.71
func GetExtensionAuthorizationStatusEnum() ExtensionAuthorizationStatusEnum
type ExtensionExternalInfo ¶ added in v0.1.6
type ExtensionExternalInfo struct { // 插件id ExtensionId *string `json:"extension_id,omitempty"` // 源码仓地址 RepoUrl *string `json:"repo_url,omitempty"` // 帮助页面 HelpPage *string `json:"help_page,omitempty"` // 产品首页 Website *string `json:"website,omitempty"` // 问题链接 IssueLink *string `json:"issue_link,omitempty"` // 是否支持预览 ShowPreviews *bool `json:"show_previews,omitempty"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 更新时间 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
func (ExtensionExternalInfo) String ¶ added in v0.1.6
func (o ExtensionExternalInfo) String() string
type ExtensionFileSnake ¶ added in v0.1.6
type ExtensionFileSnake struct { // 资源类型 AssetType *string `json:"asset_type,omitempty"` // 资源地址 Source *string `json:"source,omitempty"` }
func (ExtensionFileSnake) String ¶ added in v0.1.6
func (o ExtensionFileSnake) String() string
type ExtensionQueryParamSnake ¶ added in v0.1.6
type ExtensionQueryParamSnake struct { // 过滤字段 Filters []FilterSnake `json:"filters"` // 插件flag;通过传递flag参数来进行过滤或其他操作。flag的基础数字是2\\4\\8\\16;传递的参数只能是这四个数字加法组合而成数字 利用它们之间二进制的运算获取的值进行其他操作.比如6=0110=0010+0100也就是2和4的集合flags Flags int32 `json:"flags"` }
func (ExtensionQueryParamSnake) String ¶ added in v0.1.6
func (o ExtensionQueryParamSnake) String() string
type ExtensionQueryResult ¶ added in v0.1.6
type ExtensionQueryResult struct { // 插件列表集合 Extensions *[]ExtensionAllSnake `json:"extensions,omitempty"` // 结果元数据集合 ResultMetadata *[]ResultMetadataSnake `json:"result_metadata,omitempty"` }
func (ExtensionQueryResult) String ¶ added in v0.1.6
func (o ExtensionQueryResult) String() string
type ExtensionSearchUserInputParamCustomizeForDetail ¶ added in v0.1.6
type ExtensionSearchUserInputParamCustomizeForDetail struct { // 插件ID列表 Ids string `json:"ids"` }
func (ExtensionSearchUserInputParamCustomizeForDetail) String ¶ added in v0.1.6
func (o ExtensionSearchUserInputParamCustomizeForDetail) String() string
type ExtensionStar ¶ added in v0.1.11
type ExtensionStar struct { // 插件id ExtensionId string `json:"extension_id"` // 评星内容 Comment *string `json:"comment,omitempty"` // 评星总数 Stars int32 `json:"stars"` }
func (ExtensionStar) String ¶ added in v0.1.11
func (o ExtensionStar) String() string
type ExtensionStatistics ¶ added in v0.1.6
type ExtensionStatistics struct { // 下载量 Install *int32 `json:"install,omitempty"` // 评星 Stars *float64 `json:"stars,omitempty"` }
func (ExtensionStatistics) String ¶ added in v0.1.6
func (o ExtensionStatistics) String() string
type ExtensionVersionSnake ¶ added in v0.1.6
type ExtensionVersionSnake struct { // 插件版本id Id *string `json:"id,omitempty"` // 插件版本号 Version *string `json:"version,omitempty"` // 版本排序 VersionRanking *int64 `json:"version_ranking,omitempty"` // 插件版本状态 - INIT 待发布 - VALIDATING 审核中 - REJECTED 审核拒绝 - PUBLISHED 插件上架 - OFFLINE 插件下线 - ABANDONED 废弃 - GRAY_INIT 灰度审核 - GRAYED 灰度发布 - GRAY_REJECTED 灰度拒绝 Status *ExtensionVersionSnakeStatus `json:"status,omitempty"` // 插件状态 - INIT 待发布 - VALIDATING 审核中 - REJECTED 审核拒绝 - PUBLISHED 插件上架 - OFFLINE 插件下线 - ABANDONED 废弃 - GRAY_INIT 灰度审核 - GRAYED 灰度发布 - GRAY_REJECTED 灰度拒绝 VersionStatus *ExtensionVersionSnakeVersionStatus `json:"version_status,omitempty"` // 资源文件url AssetUri *string `json:"asset_uri,omitempty"` // 更新时间 LastUpdated *sdktime.SdkTime `json:"last_updated,omitempty"` // 插件文件集合 Files *[]ExtensionFileSnake `json:"files,omitempty"` // 插件审核信息 ValidateMessage *string `json:"validate_message,omitempty"` // 插件审核状态 - NONE 无 - UPLOADING 上传中 - VALIDATING 系统审核 - OFFLINING 用户申请下线 - ONLINING 用户申请上线 - UMS_VALIDATING 发布商审核中 VersionValidateStatus *ExtensionVersionSnakeVersionValidateStatus `json:"version_validate_status,omitempty"` // 插件展示名称 DisplayName *string `json:"display_name,omitempty"` // 插件描述 Description *string `json:"description,omitempty"` // 插件支持ide版本 MinIdeVersion *string `json:"min_ide_version,omitempty"` // 支持的最大版本 MaxIdeVersion *string `json:"max_ide_version,omitempty"` // 发布时间 VersionDate *sdktime.SdkTime `json:"version_date,omitempty"` // 是否预览 Preview *bool `json:"preview,omitempty"` // 包含插件列表 ExtensionPack *string `json:"extension_pack,omitempty"` // 依赖插件列表 ExtensionDependencies *string `json:"extension_dependencies,omitempty"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 支持的ide编码 SupportIde *int32 `json:"support_ide,omitempty"` // 插件包源码仓 RepoUrl *string `json:"repo_url,omitempty"` // 帮助页面 HelpPage *string `json:"help_page,omitempty"` // 产品首页 Website *string `json:"website,omitempty"` // 问题链接 IssueLink *string `json:"issue_link,omitempty"` // 插件大小 AssetSize *int64 `json:"asset_size,omitempty"` // 依赖插件 Depends *[]string `json:"depends,omitempty"` // CodeArtsIDEOnline插件版本参数 PropertyList *[]CodeArtsIdeOnlineExtensionVersionProperty `json:"property_list,omitempty"` // 版本发布者 Uploader *string `json:"uploader,omitempty"` // 插件id ExtensionId *string `json:"extension_id,omitempty"` }
func (ExtensionVersionSnake) String ¶ added in v0.1.6
func (o ExtensionVersionSnake) String() string
type ExtensionVersionSnakeStatus ¶ added in v0.1.6
type ExtensionVersionSnakeStatus struct {
// contains filtered or unexported fields
}
func (ExtensionVersionSnakeStatus) MarshalJSON ¶ added in v0.1.6
func (c ExtensionVersionSnakeStatus) MarshalJSON() ([]byte, error)
func (*ExtensionVersionSnakeStatus) UnmarshalJSON ¶ added in v0.1.6
func (c *ExtensionVersionSnakeStatus) UnmarshalJSON(b []byte) error
func (ExtensionVersionSnakeStatus) Value ¶ added in v0.1.6
func (c ExtensionVersionSnakeStatus) Value() string
type ExtensionVersionSnakeStatusEnum ¶ added in v0.1.6
type ExtensionVersionSnakeStatusEnum struct { INIT ExtensionVersionSnakeStatus VALIDATING ExtensionVersionSnakeStatus REJECTED ExtensionVersionSnakeStatus PUBLISHED ExtensionVersionSnakeStatus OFFLINE ExtensionVersionSnakeStatus ABANDONED ExtensionVersionSnakeStatus GRAY_INIT ExtensionVersionSnakeStatus GRAYED ExtensionVersionSnakeStatus GRAY_REJECTED ExtensionVersionSnakeStatus }
func GetExtensionVersionSnakeStatusEnum ¶ added in v0.1.6
func GetExtensionVersionSnakeStatusEnum() ExtensionVersionSnakeStatusEnum
type ExtensionVersionSnakeVersionStatus ¶ added in v0.1.6
type ExtensionVersionSnakeVersionStatus struct {
// contains filtered or unexported fields
}
func (ExtensionVersionSnakeVersionStatus) MarshalJSON ¶ added in v0.1.6
func (c ExtensionVersionSnakeVersionStatus) MarshalJSON() ([]byte, error)
func (*ExtensionVersionSnakeVersionStatus) UnmarshalJSON ¶ added in v0.1.6
func (c *ExtensionVersionSnakeVersionStatus) UnmarshalJSON(b []byte) error
func (ExtensionVersionSnakeVersionStatus) Value ¶ added in v0.1.6
func (c ExtensionVersionSnakeVersionStatus) Value() string
type ExtensionVersionSnakeVersionStatusEnum ¶ added in v0.1.6
type ExtensionVersionSnakeVersionStatusEnum struct { INIT ExtensionVersionSnakeVersionStatus VALIDATING ExtensionVersionSnakeVersionStatus REJECTED ExtensionVersionSnakeVersionStatus PUBLISHED ExtensionVersionSnakeVersionStatus OFFLINE ExtensionVersionSnakeVersionStatus ABANDONED ExtensionVersionSnakeVersionStatus GRAY_INIT ExtensionVersionSnakeVersionStatus GRAYED ExtensionVersionSnakeVersionStatus GRAY_REJECTED ExtensionVersionSnakeVersionStatus }
func GetExtensionVersionSnakeVersionStatusEnum ¶ added in v0.1.6
func GetExtensionVersionSnakeVersionStatusEnum() ExtensionVersionSnakeVersionStatusEnum
type ExtensionVersionSnakeVersionValidateStatus ¶ added in v0.1.6
type ExtensionVersionSnakeVersionValidateStatus struct {
// contains filtered or unexported fields
}
func (ExtensionVersionSnakeVersionValidateStatus) MarshalJSON ¶ added in v0.1.6
func (c ExtensionVersionSnakeVersionValidateStatus) MarshalJSON() ([]byte, error)
func (*ExtensionVersionSnakeVersionValidateStatus) UnmarshalJSON ¶ added in v0.1.6
func (c *ExtensionVersionSnakeVersionValidateStatus) UnmarshalJSON(b []byte) error
func (ExtensionVersionSnakeVersionValidateStatus) Value ¶ added in v0.1.6
func (c ExtensionVersionSnakeVersionValidateStatus) Value() string
type ExtensionVersionSnakeVersionValidateStatusEnum ¶ added in v0.1.6
type ExtensionVersionSnakeVersionValidateStatusEnum struct { NONE ExtensionVersionSnakeVersionValidateStatus UPLOADING ExtensionVersionSnakeVersionValidateStatus VALIDATING ExtensionVersionSnakeVersionValidateStatus OFFLINING ExtensionVersionSnakeVersionValidateStatus ONLINING ExtensionVersionSnakeVersionValidateStatus UMS_VALIDATING ExtensionVersionSnakeVersionValidateStatus }
func GetExtensionVersionSnakeVersionValidateStatusEnum ¶ added in v0.1.6
func GetExtensionVersionSnakeVersionValidateStatusEnum() ExtensionVersionSnakeVersionValidateStatusEnum
type FilterSnake ¶ added in v0.1.6
type FilterSnake struct { // 过滤集合 Criteria *[]CriteriaSnake `json:"criteria,omitempty"` // 页码 PageNumber int64 `json:"page_number"` // 分页大小 PageSize int64 `json:"page_size"` // 排序字段. - 1 修改日期 - 2 插件名称 - 3 插件作者名称 SortBy *FilterSnakeSortBy `json:"sort_by,omitempty"` // 排序顺序. - 1 升序 - 2 降序 SortOrder *FilterSnakeSortOrder `json:"sort_order,omitempty"` }
func (FilterSnake) String ¶ added in v0.1.6
func (o FilterSnake) String() string
type FilterSnakeSortBy ¶ added in v0.1.6
type FilterSnakeSortBy struct {
// contains filtered or unexported fields
}
func (FilterSnakeSortBy) MarshalJSON ¶ added in v0.1.6
func (c FilterSnakeSortBy) MarshalJSON() ([]byte, error)
func (*FilterSnakeSortBy) UnmarshalJSON ¶ added in v0.1.6
func (c *FilterSnakeSortBy) UnmarshalJSON(b []byte) error
func (FilterSnakeSortBy) Value ¶ added in v0.1.6
func (c FilterSnakeSortBy) Value() int64
type FilterSnakeSortByEnum ¶ added in v0.1.6
type FilterSnakeSortByEnum struct { E_1 FilterSnakeSortBy E_2 FilterSnakeSortBy E_3 FilterSnakeSortBy }
func GetFilterSnakeSortByEnum ¶ added in v0.1.6
func GetFilterSnakeSortByEnum() FilterSnakeSortByEnum
type FilterSnakeSortOrder ¶ added in v0.1.6
type FilterSnakeSortOrder struct {
// contains filtered or unexported fields
}
func (FilterSnakeSortOrder) MarshalJSON ¶ added in v0.1.6
func (c FilterSnakeSortOrder) MarshalJSON() ([]byte, error)
func (*FilterSnakeSortOrder) UnmarshalJSON ¶ added in v0.1.6
func (c *FilterSnakeSortOrder) UnmarshalJSON(b []byte) error
func (FilterSnakeSortOrder) Value ¶ added in v0.1.6
func (c FilterSnakeSortOrder) Value() int64
type FilterSnakeSortOrderEnum ¶ added in v0.1.6
type FilterSnakeSortOrderEnum struct { E_1 FilterSnakeSortOrder E_2 FilterSnakeSortOrder }
func GetFilterSnakeSortOrderEnum ¶ added in v0.1.6
func GetFilterSnakeSortOrderEnum() FilterSnakeSortOrderEnum
type InstanceEdgeParam ¶
type InstanceEdgeParam struct { // cpu架构 x86|arm Arch *InstanceEdgeParamArch `json:"arch,omitempty"` // cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G CpuMemory InstanceEdgeParamCpuMemory `json:"cpu_memory"` // 描述。长度不操过100个字符 Description *string `json:"description,omitempty"` // 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间 InstanceName string `json:"instance_name"` // 租户id(对应华为云帐号的domainId) InstanceUserDomainId *string `json:"instance_user_domain_id,omitempty"` // 用户id InstanceUserId *string `json:"instance_user_id,omitempty"` // 是否页面显示(以标签配置为准) IsTemporary *bool `json:"is_temporary,omitempty"` // 插件列表 Plugins *[]Plugin `json:"plugins,omitempty"` // PVC规格 5GB|10GB|20GB PvcQuantity InstanceEdgeParamPvcQuantity `json:"pvc_quantity"` // 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止。 RefreshTime *string `json:"refresh_time,omitempty"` // 技术栈ID,通过技术栈管理ListStacks接口获取。 StackId string `json:"stack_id"` }
func (InstanceEdgeParam) String ¶
func (o InstanceEdgeParam) String() string
type InstanceEdgeParamArch ¶
type InstanceEdgeParamArch struct {
// contains filtered or unexported fields
}
func (InstanceEdgeParamArch) MarshalJSON ¶
func (c InstanceEdgeParamArch) MarshalJSON() ([]byte, error)
func (*InstanceEdgeParamArch) UnmarshalJSON ¶
func (c *InstanceEdgeParamArch) UnmarshalJSON(b []byte) error
func (InstanceEdgeParamArch) Value ¶ added in v0.0.90
func (c InstanceEdgeParamArch) Value() string
type InstanceEdgeParamArchEnum ¶
type InstanceEdgeParamArchEnum struct { X86 InstanceEdgeParamArch ARM InstanceEdgeParamArch }
func GetInstanceEdgeParamArchEnum ¶
func GetInstanceEdgeParamArchEnum() InstanceEdgeParamArchEnum
type InstanceEdgeParamCpuMemory ¶
type InstanceEdgeParamCpuMemory struct {
// contains filtered or unexported fields
}
func (InstanceEdgeParamCpuMemory) MarshalJSON ¶
func (c InstanceEdgeParamCpuMemory) MarshalJSON() ([]byte, error)
func (*InstanceEdgeParamCpuMemory) UnmarshalJSON ¶
func (c *InstanceEdgeParamCpuMemory) UnmarshalJSON(b []byte) error
func (InstanceEdgeParamCpuMemory) Value ¶ added in v0.0.90
func (c InstanceEdgeParamCpuMemory) Value() string
type InstanceEdgeParamCpuMemoryEnum ¶
type InstanceEdgeParamCpuMemoryEnum struct { E_1_U1_G InstanceEdgeParamCpuMemory E_2_U4_G InstanceEdgeParamCpuMemory E_2_U8_G InstanceEdgeParamCpuMemory E_4_U8_G InstanceEdgeParamCpuMemory }
func GetInstanceEdgeParamCpuMemoryEnum ¶
func GetInstanceEdgeParamCpuMemoryEnum() InstanceEdgeParamCpuMemoryEnum
type InstanceEdgeParamPvcQuantity ¶
type InstanceEdgeParamPvcQuantity struct {
// contains filtered or unexported fields
}
func (InstanceEdgeParamPvcQuantity) MarshalJSON ¶
func (c InstanceEdgeParamPvcQuantity) MarshalJSON() ([]byte, error)
func (*InstanceEdgeParamPvcQuantity) UnmarshalJSON ¶
func (c *InstanceEdgeParamPvcQuantity) UnmarshalJSON(b []byte) error
func (InstanceEdgeParamPvcQuantity) Value ¶ added in v0.0.90
func (c InstanceEdgeParamPvcQuantity) Value() string
type InstanceEdgeParamPvcQuantityEnum ¶
type InstanceEdgeParamPvcQuantityEnum struct { E_5_GB InstanceEdgeParamPvcQuantity E_10_GB InstanceEdgeParamPvcQuantity E_20_GB InstanceEdgeParamPvcQuantity }
func GetInstanceEdgeParamPvcQuantityEnum ¶
func GetInstanceEdgeParamPvcQuantityEnum() InstanceEdgeParamPvcQuantityEnum
type InstanceParam ¶
type InstanceParam struct { // 代理商id,教程活动场景下使用 AgentId *string `json:"agent_id,omitempty"` // cpu架构 x86|arm Arch *InstanceParamArch `json:"arch,omitempty"` // cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G CpuMemory InstanceParamCpuMemory `json:"cpu_memory"` // 描述 Description *string `json:"description,omitempty"` // 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间 DisplayName string `json:"display_name"` // 是否页面显示(以标签配置为准) IsTemporary *bool `json:"is_temporary,omitempty"` // 实例标签(不同的第三方需要和CodeArtsIDEOnline服务共同设定标签),不传默认为default LabelTag *string `json:"label_tag,omitempty"` // 预装插件列表 PluginEnableList *[]string `json:"plugin_enable_list,omitempty"` // 预装插件参数 PluginVars map[string]string `json:"plugin_vars,omitempty"` // 云服务器对应的portId,小网连接ecs的场景下使用 PortId *string `json:"port_id,omitempty"` // 云服务器ip,小网连接ecs的场景下使用 PrivateIp *string `json:"private_ip,omitempty"` // PVC规格 5GB|10GB|20GB PvcQuantity InstanceParamPvcQuantity `json:"pvc_quantity"` // 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止 RefreshInterval string `json:"refresh_interval"` // 解放号的仓库id,解放号场景下使用 RepositoryId *int64 `json:"repository_id,omitempty"` // 技术栈ID,通过技术栈管理ListStacks接口获取。 StackId string `json:"stack_id"` // 任务类型,教程活动场景下使用 TaskType *string `json:"task_type,omitempty"` // 解放号的token,解放号场景下使用 Token *string `json:"token,omitempty"` // 云服务器对应的vpcId,小网连接ecs的场景下使用 VpcId *string `json:"vpc_id,omitempty"` // 实例授权用户租户ID InstanceDomainId *string `json:"instance_domain_id,omitempty"` // 实例授权用户ID InstanceUserId *string `json:"instance_user_id,omitempty"` }
func (InstanceParam) String ¶
func (o InstanceParam) String() string
type InstanceParamArch ¶
type InstanceParamArch struct {
// contains filtered or unexported fields
}
func (InstanceParamArch) MarshalJSON ¶
func (c InstanceParamArch) MarshalJSON() ([]byte, error)
func (*InstanceParamArch) UnmarshalJSON ¶
func (c *InstanceParamArch) UnmarshalJSON(b []byte) error
func (InstanceParamArch) Value ¶ added in v0.0.90
func (c InstanceParamArch) Value() string
type InstanceParamArchEnum ¶
type InstanceParamArchEnum struct { X86 InstanceParamArch ARM InstanceParamArch }
func GetInstanceParamArchEnum ¶
func GetInstanceParamArchEnum() InstanceParamArchEnum
type InstanceParamCpuMemory ¶
type InstanceParamCpuMemory struct {
// contains filtered or unexported fields
}
func (InstanceParamCpuMemory) MarshalJSON ¶
func (c InstanceParamCpuMemory) MarshalJSON() ([]byte, error)
func (*InstanceParamCpuMemory) UnmarshalJSON ¶
func (c *InstanceParamCpuMemory) UnmarshalJSON(b []byte) error
func (InstanceParamCpuMemory) Value ¶ added in v0.0.90
func (c InstanceParamCpuMemory) Value() string
type InstanceParamCpuMemoryEnum ¶
type InstanceParamCpuMemoryEnum struct { E_1_U1_G InstanceParamCpuMemory E_2_U4_G InstanceParamCpuMemory E_2_U8_G InstanceParamCpuMemory E_4_U8_G InstanceParamCpuMemory }
func GetInstanceParamCpuMemoryEnum ¶
func GetInstanceParamCpuMemoryEnum() InstanceParamCpuMemoryEnum
type InstanceParamPvcQuantity ¶
type InstanceParamPvcQuantity struct {
// contains filtered or unexported fields
}
func (InstanceParamPvcQuantity) MarshalJSON ¶
func (c InstanceParamPvcQuantity) MarshalJSON() ([]byte, error)
func (*InstanceParamPvcQuantity) UnmarshalJSON ¶
func (c *InstanceParamPvcQuantity) UnmarshalJSON(b []byte) error
func (InstanceParamPvcQuantity) Value ¶ added in v0.0.90
func (c InstanceParamPvcQuantity) Value() string
type InstanceParamPvcQuantityEnum ¶
type InstanceParamPvcQuantityEnum struct { E_5_GB InstanceParamPvcQuantity E_10_GB InstanceParamPvcQuantity E_20_GB InstanceParamPvcQuantity }
func GetInstanceParamPvcQuantityEnum ¶
func GetInstanceParamPvcQuantityEnum() InstanceParamPvcQuantityEnum
type InstanceStatusResponse ¶ added in v0.0.99
type InstanceStatusResponse struct { // 服务链接 ServerUrl *string `json:"server_url,omitempty"` // 实例状态。 - DELETED 已删除 - DELETE_FAILED 删除失败 - DELETING 删除中 - READY 热实例就绪状态 - RUNNING 正在运行 - STARTING 正在启动 - STOPPED 已停止 - STOPPING 停止中 - UPDATE 更新Schdule信息 - WAITING 热实例创建初始态 Status *InstanceStatusResponseStatus `json:"status,omitempty"` }
func (InstanceStatusResponse) String ¶ added in v0.0.99
func (o InstanceStatusResponse) String() string
type InstanceStatusResponseStatus ¶ added in v0.0.99
type InstanceStatusResponseStatus struct {
// contains filtered or unexported fields
}
func (InstanceStatusResponseStatus) MarshalJSON ¶ added in v0.0.99
func (c InstanceStatusResponseStatus) MarshalJSON() ([]byte, error)
func (*InstanceStatusResponseStatus) UnmarshalJSON ¶ added in v0.0.99
func (c *InstanceStatusResponseStatus) UnmarshalJSON(b []byte) error
func (InstanceStatusResponseStatus) Value ¶ added in v0.0.99
func (c InstanceStatusResponseStatus) Value() string
type InstanceStatusResponseStatusEnum ¶ added in v0.0.99
type InstanceStatusResponseStatusEnum struct { DELETED InstanceStatusResponseStatus DELETE_FAILED InstanceStatusResponseStatus DELETING InstanceStatusResponseStatus READY InstanceStatusResponseStatus RUNNING InstanceStatusResponseStatus STARTING InstanceStatusResponseStatus STOPPED InstanceStatusResponseStatus STOPPING InstanceStatusResponseStatus UPDATE InstanceStatusResponseStatus WAITING InstanceStatusResponseStatus }
func GetInstanceStatusResponseStatusEnum ¶ added in v0.0.99
func GetInstanceStatusResponseStatusEnum() InstanceStatusResponseStatusEnum
type InstanceUpdateParam ¶
type InstanceUpdateParam struct { // 描述 Description *string `json:"description,omitempty"` // 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间 DisplayName string `json:"display_name"` // 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止 RefreshInterval string `json:"refresh_interval"` }
func (InstanceUpdateParam) String ¶
func (o InstanceUpdateParam) String() string
type InstancesResponseInstancesVoResult ¶
type InstancesResponseInstancesVoResult struct { // 链接 Link *string `json:"link,omitempty"` // cpu架构 x86|arm Arch *InstancesResponseInstancesVoResultArch `json:"arch,omitempty"` // 实例id Id *string `json:"id,omitempty"` // 是否私有平台 Private *bool `json:"private,omitempty"` }
返回值
func (InstancesResponseInstancesVoResult) String ¶
func (o InstancesResponseInstancesVoResult) String() string
type InstancesResponseInstancesVoResultArch ¶
type InstancesResponseInstancesVoResultArch struct {
// contains filtered or unexported fields
}
func (InstancesResponseInstancesVoResultArch) MarshalJSON ¶
func (c InstancesResponseInstancesVoResultArch) MarshalJSON() ([]byte, error)
func (*InstancesResponseInstancesVoResultArch) UnmarshalJSON ¶
func (c *InstancesResponseInstancesVoResultArch) UnmarshalJSON(b []byte) error
func (InstancesResponseInstancesVoResultArch) Value ¶ added in v0.0.90
func (c InstancesResponseInstancesVoResultArch) Value() string
type InstancesResponseInstancesVoResultArchEnum ¶
type InstancesResponseInstancesVoResultArchEnum struct { X86 InstancesResponseInstancesVoResultArch ARM InstancesResponseInstancesVoResultArch }
func GetInstancesResponseInstancesVoResultArchEnum ¶
func GetInstancesResponseInstancesVoResultArchEnum() InstancesResponseInstancesVoResultArchEnum
type InstancesVo ¶
type InstancesVo struct { // cpu架构 x86|arm Arch *InstancesVoArch `json:"arch,omitempty"` Attributes *Attributes `json:"attributes,omitempty"` // cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G CpuMemory *InstancesVoCpuMemory `json:"cpu_memory,omitempty"` // 创建时间 CreatedTime *string `json:"created_time,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间 DisplayName *string `json:"display_name,omitempty"` // 租户名 DomainName *string `json:"domain_name,omitempty"` // id Id *string `json:"id,omitempty"` // 是否页面显示(以标签配置为准) IsTemporary *bool `json:"is_temporary,omitempty"` // 标签 Label *string `json:"label,omitempty"` // 链接 Link *string `json:"link,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 租户id(对应华为云帐号的domainId) OrganizationId *string `json:"organization_id,omitempty"` // 用户id OwnerId *string `json:"owner_id,omitempty"` // 用户名 OwnerName *string `json:"owner_name,omitempty"` // 平台ID PlatformId *int64 `json:"platform_id,omitempty"` // 是否私有平台 Private *bool `json:"private,omitempty"` // PVC规格 5GB|10GB|20GB PvcQuantity *InstancesVoPvcQuantity `json:"pvc_quantity,omitempty"` // 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止 RefreshInterval *int64 `json:"refresh_interval,omitempty"` // 区域 Region *string `json:"region,omitempty"` // server ServerMap map[string]string `json:"server_map,omitempty"` // 服务链接 ServerUrl *string `json:"server_url,omitempty"` // 技术栈ID,通过技术栈管理ListStacks接口获取。 StackId *string `json:"stack_id,omitempty"` // 实例状态 。 - INIT 初始化 - STARTING 启动中 - RUNNING 运行中 - STOPPING 停止中 - STOPPED 已停止 - DELETING 删除中 - DELETED 已删除 - DELETE_FAILED 删除失败 Status *InstancesVoStatus `json:"status,omitempty"` // 更新时间 UpdatedTime *string `json:"updated_time,omitempty"` // 访问者id VisitorId *string `json:"visitor_id,omitempty"` // 访问者名称 VisitorName *string `json:"visitor_name,omitempty"` // 访问者租户名称 VisitorDomainName *string `json:"visitor_domain_name,omitempty"` }
func (InstancesVo) String ¶
func (o InstancesVo) String() string
type InstancesVoArch ¶
type InstancesVoArch struct {
// contains filtered or unexported fields
}
func (InstancesVoArch) MarshalJSON ¶
func (c InstancesVoArch) MarshalJSON() ([]byte, error)
func (*InstancesVoArch) UnmarshalJSON ¶
func (c *InstancesVoArch) UnmarshalJSON(b []byte) error
func (InstancesVoArch) Value ¶ added in v0.0.90
func (c InstancesVoArch) Value() string
type InstancesVoArchEnum ¶
type InstancesVoArchEnum struct { X86 InstancesVoArch ARM InstancesVoArch }
func GetInstancesVoArchEnum ¶
func GetInstancesVoArchEnum() InstancesVoArchEnum
type InstancesVoCpuMemory ¶
type InstancesVoCpuMemory struct {
// contains filtered or unexported fields
}
func (InstancesVoCpuMemory) MarshalJSON ¶
func (c InstancesVoCpuMemory) MarshalJSON() ([]byte, error)
func (*InstancesVoCpuMemory) UnmarshalJSON ¶
func (c *InstancesVoCpuMemory) UnmarshalJSON(b []byte) error
func (InstancesVoCpuMemory) Value ¶ added in v0.0.90
func (c InstancesVoCpuMemory) Value() string
type InstancesVoCpuMemoryEnum ¶
type InstancesVoCpuMemoryEnum struct { E_1_U1_G InstancesVoCpuMemory E_2_U4_G InstancesVoCpuMemory E_2_U8_G InstancesVoCpuMemory E_4_U8_G InstancesVoCpuMemory }
func GetInstancesVoCpuMemoryEnum ¶
func GetInstancesVoCpuMemoryEnum() InstancesVoCpuMemoryEnum
type InstancesVoPvcQuantity ¶
type InstancesVoPvcQuantity struct {
// contains filtered or unexported fields
}
func (InstancesVoPvcQuantity) MarshalJSON ¶
func (c InstancesVoPvcQuantity) MarshalJSON() ([]byte, error)
func (*InstancesVoPvcQuantity) UnmarshalJSON ¶
func (c *InstancesVoPvcQuantity) UnmarshalJSON(b []byte) error
func (InstancesVoPvcQuantity) Value ¶ added in v0.0.90
func (c InstancesVoPvcQuantity) Value() string
type InstancesVoPvcQuantityEnum ¶
type InstancesVoPvcQuantityEnum struct { E_5_GB InstancesVoPvcQuantity E_10_GB InstancesVoPvcQuantity E_20_GB InstancesVoPvcQuantity }
func GetInstancesVoPvcQuantityEnum ¶
func GetInstancesVoPvcQuantityEnum() InstancesVoPvcQuantityEnum
type InstancesVoStatus ¶
type InstancesVoStatus struct {
// contains filtered or unexported fields
}
func (InstancesVoStatus) MarshalJSON ¶
func (c InstancesVoStatus) MarshalJSON() ([]byte, error)
func (*InstancesVoStatus) UnmarshalJSON ¶
func (c *InstancesVoStatus) UnmarshalJSON(b []byte) error
func (InstancesVoStatus) Value ¶ added in v0.0.90
func (c InstancesVoStatus) Value() string
type InstancesVoStatusEnum ¶
type InstancesVoStatusEnum struct { INIT InstancesVoStatus STARTING InstancesVoStatus RUNNING InstancesVoStatus STOPPING InstancesVoStatus STOPPED InstancesVoStatus DELETING InstancesVoStatus DELETED InstancesVoStatus DELETE_FAILED InstancesVoStatus }
func GetInstancesVoStatusEnum ¶
func GetInstancesVoStatusEnum() InstancesVoStatusEnum
type ListExtensionsRequest ¶ added in v0.1.6
type ListExtensionsRequest struct {
Body *ExtensionQueryParamSnake `json:"body,omitempty"`
}
Request Object
func (ListExtensionsRequest) String ¶ added in v0.1.6
func (o ListExtensionsRequest) String() string
type ListExtensionsResponse ¶ added in v0.1.6
type ListExtensionsResponse struct { // 插件列表查询结果集合 Results *[]ExtensionQueryResult `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListExtensionsResponse) String ¶ added in v0.1.6
func (o ListExtensionsResponse) String() string
type ListInstancesRequest ¶
type ListInstancesRequest struct { // 每页显示的条目数量 10/15/30 Limit *int64 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询 Offset *int64 `json:"offset,omitempty"` // 是否页面显示(以标签配置为准) IsTemporary *bool `json:"is_temporary,omitempty"` // 标签 Label *string `json:"label,omitempty"` // 关键字查询(根据实例名,描述模糊查询) Search *string `json:"search,omitempty"` // 排序方式 asc/desc SortDir *string `json:"sort_dir,omitempty"` // 排序字段。 display_name 实例名、status状态、pvc_quantity 存储容量、created_time 创建时间、stack_id 技术栈 SortKey *string `json:"sort_key,omitempty"` }
Request Object
func (ListInstancesRequest) String ¶
func (o ListInstancesRequest) String() string
type ListInstancesResponse ¶
type ListInstancesResponse struct { Instances *PageInstancesVo `json:"instances,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstancesResponse) String ¶
func (o ListInstancesResponse) String() string
type ListOrgInstancesRequest ¶
type ListOrgInstancesRequest struct { // 是否页面显示(以标签配置为准) IsTemporary *bool `json:"is_temporary,omitempty"` // 每页显示的条目数量 10/15/30 Limit *int64 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询 Offset *int64 `json:"offset,omitempty"` // 租户id(对应华为云帐号的domainId) OrgId string `json:"org_id"` // 关键字查询(根据实例名,描述模糊查询) Search *string `json:"search,omitempty"` }
Request Object
func (ListOrgInstancesRequest) String ¶
func (o ListOrgInstancesRequest) String() string
type ListOrgInstancesResponse ¶
type ListOrgInstancesResponse struct { Instances *PageInstancesVo `json:"instances,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListOrgInstancesResponse) String ¶
func (o ListOrgInstancesResponse) String() string
type ListProjectTemplatesRequest ¶
type ListProjectTemplatesRequest struct { // cpu架构 x86|arm Arch *string `json:"arch,omitempty"` // 技术栈ID,通过技术栈管理ListStacks接口获取。 StackId string `json:"stack_id"` }
Request Object
func (ListProjectTemplatesRequest) String ¶
func (o ListProjectTemplatesRequest) String() string
type ListProjectTemplatesResponse ¶
type ListProjectTemplatesResponse struct { // 模板列表 Templates *[]ProjectTemplates `json:"templates,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectTemplatesResponse) String ¶
func (o ListProjectTemplatesResponse) String() string
type ListStacksRequest ¶ added in v0.0.74
type ListStacksRequest struct { // 技术栈标签。默认为空值,查询全部。 例如:Java,CPP,GO,Python;可查询多个标签 Tags *string `json:"tags,omitempty"` }
Request Object
func (ListStacksRequest) String ¶ added in v0.0.74
func (o ListStacksRequest) String() string
type ListStacksResponse ¶ added in v0.0.74
type ListStacksResponse struct { Stack *StacksTags `json:"stack,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStacksResponse) String ¶ added in v0.0.74
func (o ListStacksResponse) String() string
type LoginSchema ¶ added in v0.1.26
type LoginSchema struct { // ide_type IdeType string `json:"ide_type"` // ide_version IdeVersion string `json:"ide_version"` // plugin_version PluginVersion string `json:"plugin_version"` }
the request body of login
func (LoginSchema) String ¶ added in v0.1.26
func (o LoginSchema) String() string
type PageInstancesVo ¶
type PageInstancesVo struct { // 是否为空 Empty *bool `json:"empty,omitempty"` // 列表详情 Items *[]InstancesVo `json:"items,omitempty"` // 偏移量,表示从此偏移量开始查询 ItemsBefore *int64 `json:"items_before,omitempty"` // 每页显示的条目数量 Size *int64 `json:"size,omitempty"` // 总数 TotalItemsCount *int64 `json:"total_items_count,omitempty"` }
func (PageInstancesVo) String ¶
func (o PageInstancesVo) String() string
type Plugin ¶
type ProjectTemplates ¶
type ProjectTemplates struct { // 描述 Description *string `json:"description,omitempty"` // 显示名 DisplayName *string `json:"display_name,omitempty"` // 图标 Logo *string `json:"logo,omitempty"` // 模板名 Name *string `json:"name,omitempty"` // 路径 Path *string `json:"path,omitempty"` // 项目类型 ProjectType *string `json:"project_type,omitempty"` // 区域 Region *string `json:"region,omitempty"` Source *SourceStorage `json:"source,omitempty"` // tags Tags *[]string `json:"tags,omitempty"` // 模板id TemplateId *int64 `json:"template_id,omitempty"` // cpu架构 Arch *string `json:"arch,omitempty"` }
func (ProjectTemplates) String ¶
func (o ProjectTemplates) String() string
type PropertiesSchema ¶ added in v0.1.14
type PropertiesSchema struct { // context Context *string `json:"context,omitempty"` // docstring Docstring *string `json:"docstring,omitempty"` // the type of ide IdeType *string `json:"ide_type,omitempty"` // the version of ide IdeVersion *string `json:"ide_version,omitempty"` // code language Language string `json:"language"` // the version of plugin PluginVersion *string `json:"plugin_version,omitempty"` // signature Signature *string `json:"signature,omitempty"` // the text above the cursor AboveText *string `json:"above_text,omitempty"` // the text following the cursor FollowingText *string `json:"following_text,omitempty"` }
func (PropertiesSchema) String ¶ added in v0.1.14
func (o PropertiesSchema) String() string
type PublisherSnake ¶ added in v0.1.6
type PublisherSnake struct { // 发布者id PublisherId *string `json:"publisher_id,omitempty"` // 发布者名称 PublisherName *string `json:"publisher_name,omitempty"` // 发布者展示名 DisplayName *string `json:"display_name,omitempty"` // 插件作者状态 - DISABLED 验证不通过 - VERIFIED 验证通过 PublisherStatus *PublisherSnakePublisherStatus `json:"publisher_status,omitempty"` // 发布者邮箱 Email *string `json:"email,omitempty"` // 网页url WebUrl *string `json:"web_url,omitempty"` // 是否开源 Open *bool `json:"open,omitempty"` }
func (PublisherSnake) String ¶ added in v0.1.6
func (o PublisherSnake) String() string
type PublisherSnakePublisherStatus ¶ added in v0.1.6
type PublisherSnakePublisherStatus struct {
// contains filtered or unexported fields
}
func (PublisherSnakePublisherStatus) MarshalJSON ¶ added in v0.1.6
func (c PublisherSnakePublisherStatus) MarshalJSON() ([]byte, error)
func (*PublisherSnakePublisherStatus) UnmarshalJSON ¶ added in v0.1.6
func (c *PublisherSnakePublisherStatus) UnmarshalJSON(b []byte) error
func (PublisherSnakePublisherStatus) Value ¶ added in v0.1.6
func (c PublisherSnakePublisherStatus) Value() string
type PublisherSnakePublisherStatusEnum ¶ added in v0.1.6
type PublisherSnakePublisherStatusEnum struct { DISABLED PublisherSnakePublisherStatus VERIFIED PublisherSnakePublisherStatus }
func GetPublisherSnakePublisherStatusEnum ¶ added in v0.1.6
func GetPublisherSnakePublisherStatusEnum() PublisherSnakePublisherStatusEnum
type Recipe ¶
type RequestStatus ¶ added in v0.1.14
type RequestStatus struct {
// contains filtered or unexported fields
}
An enumeration. - created - dispatched - completed - timeout - unknown
func (RequestStatus) MarshalJSON ¶ added in v0.1.14
func (c RequestStatus) MarshalJSON() ([]byte, error)
func (*RequestStatus) UnmarshalJSON ¶ added in v0.1.14
func (c *RequestStatus) UnmarshalJSON(b []byte) error
func (RequestStatus) Value ¶ added in v0.1.14
func (c RequestStatus) Value() string
type RequestStatusEnum ¶ added in v0.1.14
type RequestStatusEnum struct { CREATED RequestStatus DISPATCHED RequestStatus COMPLETED RequestStatus TIMEOUT RequestStatus UNKNOWN RequestStatus }
func GetRequestStatusEnum ¶ added in v0.1.14
func GetRequestStatusEnum() RequestStatusEnum
type ResourcePrice ¶
type ResourcePrice struct { // cpu架构 x86|arm Arch *ResourcePriceArch `json:"arch,omitempty"` // 价格 Price *float32 `json:"price,omitempty"` // 规格。 类型为'storage'时,size值可以为5GB,10GB,20GB。 类型为'cpuMemory'时,arch为'x86',size值可以为1U1G,2U4G,4U8G;arch为'arm',size值可以为4U8G。 Size *string `json:"size,omitempty"` // 类型。目前可以取值storage,cpuMemory Type *string `json:"type,omitempty"` }
func (ResourcePrice) String ¶
func (o ResourcePrice) String() string
type ResourcePriceArch ¶
type ResourcePriceArch struct {
// contains filtered or unexported fields
}
func (ResourcePriceArch) MarshalJSON ¶
func (c ResourcePriceArch) MarshalJSON() ([]byte, error)
func (*ResourcePriceArch) UnmarshalJSON ¶
func (c *ResourcePriceArch) UnmarshalJSON(b []byte) error
func (ResourcePriceArch) Value ¶ added in v0.0.90
func (c ResourcePriceArch) Value() string
type ResourcePriceArchEnum ¶
type ResourcePriceArchEnum struct { X86 ResourcePriceArch ARM ResourcePriceArch }
func GetResourcePriceArchEnum ¶
func GetResourcePriceArchEnum() ResourcePriceArchEnum
type ResultMetadataSnake ¶ added in v0.1.6
type ResultMetadataSnake struct { // 元数据类型 MetadataType *string `json:"metadata_type,omitempty"` // 元数据列表 MetadataItems *[]map[string]interface{} `json:"metadata_items,omitempty"` }
func (ResultMetadataSnake) String ¶ added in v0.1.6
func (o ResultMetadataSnake) String() string
type ShowAccountStatusRequest ¶
type ShowAccountStatusRequest struct { }
Request Object
func (ShowAccountStatusRequest) String ¶
func (o ShowAccountStatusRequest) String() string
type ShowAccountStatusResponse ¶
type ShowAccountStatusResponse struct { Result *AccountStatus `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAccountStatusResponse) String ¶
func (o ShowAccountStatusResponse) String() string
type ShowExtensionAuthorizationRequest ¶ added in v0.0.71
type ShowExtensionAuthorizationRequest struct { // 插件版本 ExtensionVersion string `json:"extension_version"` // 插件标识(发布者.插件名) Identifier string `json:"identifier"` // CodeArtsIDEOnline实例ID InstanceId string `json:"instance_id"` }
Request Object
func (ShowExtensionAuthorizationRequest) String ¶ added in v0.0.71
func (o ShowExtensionAuthorizationRequest) String() string
type ShowExtensionAuthorizationResponse ¶ added in v0.0.71
type ShowExtensionAuthorizationResponse struct { // 返回值 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowExtensionAuthorizationResponse) String ¶ added in v0.0.71
func (o ShowExtensionAuthorizationResponse) String() string
type ShowExtensionDetailRequest ¶ added in v0.1.6
type ShowExtensionDetailRequest struct {
Body *ExtensionSearchUserInputParamCustomizeForDetail `json:"body,omitempty"`
}
Request Object
func (ShowExtensionDetailRequest) String ¶ added in v0.1.6
func (o ShowExtensionDetailRequest) String() string
type ShowExtensionDetailResponse ¶ added in v0.1.6
type ShowExtensionDetailResponse struct { // 插件列表查询结果集合 Results *[]ExtensionQueryResult `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowExtensionDetailResponse) String ¶ added in v0.1.6
func (o ShowExtensionDetailResponse) String() string
type ShowExtensionEvaluationRequest ¶ added in v0.1.6
type ShowExtensionEvaluationRequest struct { // 插件id ExtensionId string `json:"extension_id"` // 每页显示的条目数量 Limit *int64 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询 Offset *int64 `json:"offset,omitempty"` }
Request Object
func (ShowExtensionEvaluationRequest) String ¶ added in v0.1.6
func (o ShowExtensionEvaluationRequest) String() string
type ShowExtensionEvaluationResponse ¶ added in v0.1.6
type ShowExtensionEvaluationResponse struct { // 返回值 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowExtensionEvaluationResponse) String ¶ added in v0.1.6
func (o ShowExtensionEvaluationResponse) String() string
type ShowExtensionEvaluationStarRequest ¶ added in v0.1.6
type ShowExtensionEvaluationStarRequest struct { // 插件id ExtensionId string `json:"extension_id"` // 每页显示的条目数量 Limit *int64 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询 Offset *int64 `json:"offset,omitempty"` }
Request Object
func (ShowExtensionEvaluationStarRequest) String ¶ added in v0.1.6
func (o ShowExtensionEvaluationStarRequest) String() string
type ShowExtensionEvaluationStarResponse ¶ added in v0.1.6
type ShowExtensionEvaluationStarResponse struct { // 返回值 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowExtensionEvaluationStarResponse) String ¶ added in v0.1.6
func (o ShowExtensionEvaluationStarResponse) String() string
type ShowInstanceRequest ¶
type ShowInstanceRequest struct { // 实例id InstanceId string `json:"instance_id"` }
Request Object
func (ShowInstanceRequest) String ¶
func (o ShowInstanceRequest) String() string
type ShowInstanceResponse ¶
type ShowInstanceResponse struct { Instance *InstancesVo `json:"instance,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 静态资源链接 BundleUrl *string `json:"bundle_url,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowInstanceResponse) String ¶
func (o ShowInstanceResponse) String() string
type ShowInstanceStatusInfoRequest ¶ added in v0.0.99
type ShowInstanceStatusInfoRequest struct { // CodeArtsIDEOnline实例id InstanceId string `json:"instance_id"` }
Request Object
func (ShowInstanceStatusInfoRequest) String ¶ added in v0.0.99
func (o ShowInstanceStatusInfoRequest) String() string
type ShowInstanceStatusInfoResponse ¶ added in v0.0.99
type ShowInstanceStatusInfoResponse struct { Result *InstanceStatusResponse `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowInstanceStatusInfoResponse) String ¶ added in v0.0.99
func (o ShowInstanceStatusInfoResponse) String() string
type ShowPriceRequest ¶
type ShowPriceRequest struct { }
Request Object
func (ShowPriceRequest) String ¶
func (o ShowPriceRequest) String() string
type ShowPriceResponse ¶
type ShowPriceResponse struct { // 技术栈价格列表 Prices *[]ResourcePrice `json:"prices,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPriceResponse) String ¶
func (o ShowPriceResponse) String() string
type ShowResultRequest ¶ added in v0.1.14
type ShowResultRequest struct { // the unique if of the request RequestId string `json:"request_id"` }
Request Object
func (ShowResultRequest) String ¶ added in v0.1.14
func (o ShowResultRequest) String() string
type ShowResultResponse ¶ added in v0.1.14
type ShowResultResponse struct { RequestStatus *RequestStatus `json:"request_status,omitempty"` // task list Tasks *[]TaskModel `json:"tasks,omitempty"` // the type of the request RequestType *string `json:"request_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowResultResponse) String ¶ added in v0.1.14
func (o ShowResultResponse) String() string
type SourceStorage ¶
type SourceStorage struct { // 位置 Location *string `json:"location,omitempty"` // 参数值 Parameters map[string]string `json:"parameters,omitempty"` // 类型 Type *string `json:"type,omitempty"` }
func (SourceStorage) String ¶
func (o SourceStorage) String() string
type StackInfo ¶ added in v0.0.74
type StackInfo struct { ArmConfig *StacksConfig `json:"arm_config,omitempty"` // bundleUrl BundleUrl *string `json:"bundle_url,omitempty"` Config *StacksConfig `json:"config,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 是否删除 Delete *bool `json:"delete,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 是否可用 Disable *bool `json:"disable,omitempty"` // 显示名称 DisplayName *string `json:"display_name,omitempty"` // id Id *int64 `json:"id,omitempty"` // 标签 Label *string `json:"label,omitempty"` // 图标 Logo *string `json:"logo,omitempty"` // region Region *string `json:"region,omitempty"` // 是否显示 Show *bool `json:"show,omitempty"` // 技术栈名称 StackName *string `json:"stack_name,omitempty"` // tags Tags *[]string `json:"tags,omitempty"` // 修改时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` // 使用者 Users *[]string `json:"users,omitempty"` }
type StacksAttribute ¶
type StacksAttribute struct { // 规格列表 Specs *[]string `json:"specs,omitempty"` // 提示id Suggest *string `json:"suggest,omitempty"` // 提示信息 SuggestTitle *string `json:"suggest_title,omitempty"` // 卷容量列表 Volumes *[]string `json:"volumes,omitempty"` }
func (StacksAttribute) String ¶
func (o StacksAttribute) String() string
type StacksConfig ¶
type StacksConfig struct { Attributes *StacksAttribute `json:"attributes,omitempty"` Recipe *Recipe `json:"recipe,omitempty"` }
func (StacksConfig) String ¶
func (o StacksConfig) String() string
type StacksTags ¶ added in v0.0.74
type StacksTags struct { // 技术栈列表 StackList *[]StackInfo `json:"stack_list,omitempty"` // 技术栈tag集合 Tags *[]string `json:"tags,omitempty"` }
func (StacksTags) String ¶ added in v0.0.74
func (o StacksTags) String() string
type StartInstanceParam ¶
type StartInstanceParam struct { // 插件列表 PluginEnableList *[]string `json:"plugin_enable_list,omitempty"` // 插件参数 PluginVars map[string]string `json:"plugin_vars,omitempty"` }
func (StartInstanceParam) String ¶
func (o StartInstanceParam) String() string
type StartInstanceRequest ¶
type StartInstanceRequest struct { // 实例id InstanceId string `json:"instance_id"` Body *StartInstanceParam `json:"body,omitempty"` }
Request Object
func (StartInstanceRequest) String ¶
func (o StartInstanceRequest) String() string
type StartInstanceResponse ¶
type StartInstanceResponse struct { // 返回值 Result *string `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StartInstanceResponse) String ¶
func (o StartInstanceResponse) String() string
type StopInstanceRequest ¶
type StopInstanceRequest struct { // 实例id InstanceId string `json:"instance_id"` }
Request Object
func (StopInstanceRequest) String ¶
func (o StopInstanceRequest) String() string
type StopInstanceResponse ¶
type StopInstanceResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StopInstanceResponse) String ¶
func (o StopInstanceResponse) String() string
type TaskModel ¶ added in v0.1.14
type TaskModel struct { // the docker_id DockerId *string `json:"docker_id,omitempty"` // exception Exception *string `json:"exception,omitempty"` // the generated_snippet GeneratedSnippet *string `json:"generated_snippet,omitempty"` // code language Language *string `json:"language,omitempty"` // model_id ModelId *string `json:"model_id,omitempty"` // record_time RecordTime *sdktime.SdkTime `json:"record_time,omitempty"` // the unique id of request RequestId *string `json:"request_id,omitempty"` // the snippet of code Snippet *string `json:"snippet,omitempty"` // start_time StartTime *sdktime.SdkTime `json:"start_time,omitempty"` // status Status *string `json:"status,omitempty"` // task_id TaskId *int32 `json:"task_id,omitempty"` // the time_consuming TimeConsuming float32 `json:"time_consuming,omitempty"` }
type UpdateInstanceActivityRequest ¶ added in v0.0.71
type UpdateInstanceActivityRequest struct { // CodeArtsIDEOnline实例id InstanceId string `json:"instance_id"` }
Request Object
func (UpdateInstanceActivityRequest) String ¶ added in v0.0.71
func (o UpdateInstanceActivityRequest) String() string
type UpdateInstanceActivityResponse ¶ added in v0.0.71
type UpdateInstanceActivityResponse struct { Result *ExpireVo `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceActivityResponse) String ¶ added in v0.0.71
func (o UpdateInstanceActivityResponse) String() string
type UpdateInstanceRequest ¶
type UpdateInstanceRequest struct { // 实例id InstanceId string `json:"instance_id"` Body *InstanceUpdateParam `json:"body,omitempty"` }
Request Object
func (UpdateInstanceRequest) String ¶
func (o UpdateInstanceRequest) String() string
type UpdateInstanceResponse ¶
type UpdateInstanceResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceResponse) String ¶
func (o UpdateInstanceResponse) String() string
type UploadExtensionFileRequest ¶ added in v0.0.96
type UploadExtensionFileRequest struct { // 插件类型。目前只支持CodeArtsIDEOnline Official string `json:"official"` Body *UploadExtensionFileRequestBody `json:"body,omitempty" type:"multipart"` }
Request Object
func (UploadExtensionFileRequest) String ¶ added in v0.0.96
func (o UploadExtensionFileRequest) String() string
type UploadExtensionFileRequestBody ¶ added in v0.0.96
func (UploadExtensionFileRequestBody) String ¶ added in v0.0.96
func (o UploadExtensionFileRequestBody) String() string
func (*UploadExtensionFileRequestBody) UnmarshalJSON ¶ added in v0.0.96
func (o *UploadExtensionFileRequestBody) UnmarshalJSON(b []byte) error
type UploadExtensionFileResponse ¶ added in v0.0.96
type UploadExtensionFileResponse struct { Error *Error `json:"error,omitempty"` // 结果 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UploadExtensionFileResponse) String ¶ added in v0.0.96
func (o UploadExtensionFileResponse) String() string
Source Files ¶
- model_acceptance_schema.go
- model_account_status.go
- model_add_extension_evaluation_reply_request.go
- model_add_extension_evaluation_reply_response.go
- model_add_extension_evaluation_request.go
- model_add_extension_evaluation_response.go
- model_add_extension_star_request.go
- model_add_extension_star_response.go
- model_attributes.go
- model_check_instance_access_request.go
- model_check_instance_access_response.go
- model_check_malicious_extension_evaluation_request.go
- model_check_malicious_extension_evaluation_response.go
- model_check_name_request.go
- model_check_name_response.go
- model_check_result.go
- model_check_result_error.go
- model_code_arts_ide_online_extension_version_property.go
- model_create_acceptance_request.go
- model_create_acceptance_response.go
- model_create_extension_authorization_request.go
- model_create_extension_authorization_response.go
- model_create_instance_by3rd_request.go
- model_create_instance_by3rd_response.go
- model_create_instance_request.go
- model_create_instance_response.go
- model_create_login_request.go
- model_create_login_response.go
- model_create_request_request.go
- model_create_request_response.go
- model_criteria_snake.go
- model_delete_evaluation_reply_request.go
- model_delete_evaluation_reply_response.go
- model_delete_evaluation_request.go
- model_delete_evaluation_response.go
- model_delete_instance_request.go
- model_delete_instance_response.go
- model_error.go
- model_evaluation.go
- model_evaluation_accusation.go
- model_evaluation_reply.go
- model_expire_vo.go
- model_extension_all_snake.go
- model_extension_authorization.go
- model_extension_external_info.go
- model_extension_file_snake.go
- model_extension_query_param_snake.go
- model_extension_query_result.go
- model_extension_search_user_input_param_customize_for_detail.go
- model_extension_star.go
- model_extension_statistics.go
- model_extension_version_snake.go
- model_filter_snake.go
- model_instance_edge_param.go
- model_instance_param.go
- model_instance_status_response.go
- model_instance_update_param.go
- model_instances_response_instances_vo_result.go
- model_instances_vo.go
- model_list_extensions_request.go
- model_list_extensions_response.go
- model_list_instances_request.go
- model_list_instances_response.go
- model_list_org_instances_request.go
- model_list_org_instances_response.go
- model_list_project_templates_request.go
- model_list_project_templates_response.go
- model_list_stacks_request.go
- model_list_stacks_response.go
- model_login_schema.go
- model_page_instances_vo.go
- model_plugin.go
- model_project_templates.go
- model_properties_schema.go
- model_publisher_snake.go
- model_recipe.go
- model_request_status.go
- model_resource_price.go
- model_result_metadata_snake.go
- model_show_account_status_request.go
- model_show_account_status_response.go
- model_show_extension_authorization_request.go
- model_show_extension_authorization_response.go
- model_show_extension_detail_request.go
- model_show_extension_detail_response.go
- model_show_extension_evaluation_request.go
- model_show_extension_evaluation_response.go
- model_show_extension_evaluation_star_request.go
- model_show_extension_evaluation_star_response.go
- model_show_instance_request.go
- model_show_instance_response.go
- model_show_instance_status_info_request.go
- model_show_instance_status_info_response.go
- model_show_price_request.go
- model_show_price_response.go
- model_show_result_request.go
- model_show_result_response.go
- model_source_storage.go
- model_stack_info.go
- model_stacks_attribute.go
- model_stacks_config.go
- model_stacks_tags.go
- model_start_instance_param.go
- model_start_instance_request.go
- model_start_instance_response.go
- model_stop_instance_request.go
- model_stop_instance_response.go
- model_task_model.go
- model_update_instance_activity_request.go
- model_update_instance_activity_response.go
- model_update_instance_request.go
- model_update_instance_response.go
- model_upload_extension_file_request.go
- model_upload_extension_file_request_body.go
- model_upload_extension_file_response.go