Documentation ¶
Index ¶
- type ApplicationBaseV3
- type ApplicationModifyInfo
- type ApplicationV3
- type ApplicationV3DeployType
- type ApplicationV3DeployTypeEnum
- type CciDeploymentJobsParam
- type CheckRepositoryDuplicateNameRequest
- type CheckRepositoryDuplicateNameResponse
- type CodehubJobInfo
- type ConfirmDeploymentJobRequest
- type ConfirmDeploymentJobRequestXLanguage
- type ConfirmDeploymentJobRequestXLanguageEnum
- type ConfirmDeploymentJobResponse
- type CreateDeploymentJobsParams
- type CreateDeploymentJobsRequest
- type CreateDeploymentJobsRequestXLanguage
- type CreateDeploymentJobsRequestXLanguageEnum
- type CreateDeploymentJobsResponse
- type CreateTemplateViewHistoriesRequest
- type CreateTemplateViewHistoriesRequestXLanguage
- type CreateTemplateViewHistoriesRequestXLanguageEnum
- type CreateTemplateViewHistoriesResponse
- type DeleteApplicationV4Request
- type DeleteApplicationV4Response
- type Dependent
- type DeploymentJobConfirmType
- type DeploymentJobConfirmTypeType
- type DeploymentJobConfirmTypeTypeEnum
- type DownloadApplicationCodeRequest
- type DownloadApplicationCodeRequestXLanguage
- type DownloadApplicationCodeRequestXLanguageEnum
- type DownloadApplicationCodeResponse
- type FgsDeploymentJobsParam
- type FileTreeNode
- type ListApplicationsV6Request
- type ListApplicationsV6RequestSortDir
- type ListApplicationsV6RequestSortDirEnum
- type ListApplicationsV6RequestSortKey
- type ListApplicationsV6RequestSortKeyEnum
- type ListApplicationsV6RequestXLanguage
- type ListApplicationsV6RequestXLanguageEnum
- type ListApplicationsV6Response
- type ListPipelineTemplatesRequest
- type ListPipelineTemplatesResponse
- type ListProjectsV4Request
- type ListProjectsV4RequestXLanguage
- type ListProjectsV4RequestXLanguageEnum
- type ListProjectsV4Response
- type ListPublishedTemplatesRequest
- type ListPublishedTemplatesRequestXLanguage
- type ListPublishedTemplatesRequestXLanguageEnum
- type ListPublishedTemplatesResponse
- type ListTemplateViewHistoriesRequest
- type ListTemplateViewHistoriesRequestPlatformSource
- type ListTemplateViewHistoriesRequestPlatformSourceEnum
- type ListTemplateViewHistoriesRequestXLanguage
- type ListTemplateViewHistoriesRequestXLanguageEnum
- type ListTemplateViewHistoriesResponse
- type ListTemplatesRequest
- type ListTemplatesRequestXLanguage
- type ListTemplatesRequestXLanguageEnum
- type ListTemplatesResponse
- type ListTemplatesV2Request
- type ListTemplatesV2RequestXLanguage
- type ListTemplatesV2RequestXLanguageEnum
- type ListTemplatesV2Response
- type PipelineBasic
- type PipelineBasicLastRunningStatus
- type PipelineBasicLastRunningStatusEnum
- type PipelineCreationResult
- type PipelineCreationResultStatus
- type PipelineCreationResultStatusEnum
- type PipelineDeleteStatus
- type PipelineDeleteStatusStatus
- type PipelineDeleteStatusStatusEnum
- type PipelineStageResp
- type PipelineTemplate
- type PipelineTemplateInfo
- type ProjectV3
- type Reference
- type ReleaseRepository
- type RepositoryBasicInfo
- type RepositoryCreationResult
- type RepositoryCreationResultStatus
- type RepositoryCreationResultStatusEnum
- type RepositoryInfo
- type ResouceInfo
- type RunCodehubTemplateJobRequest
- type RunCodehubTemplateJobRequestXLanguage
- type RunCodehubTemplateJobRequestXLanguageEnum
- type RunCodehubTemplateJobResponse
- type RunDevstarTemplateJobRequest
- type RunDevstarTemplateJobRequestXLanguage
- type RunDevstarTemplateJobRequestXLanguageEnum
- type RunDevstarTemplateJobResponse
- type ShowApplicationDependentResourcesRequest
- type ShowApplicationDependentResourcesRequestXLanguage
- type ShowApplicationDependentResourcesRequestXLanguageEnum
- type ShowApplicationDependentResourcesResponse
- type ShowApplicationReleaseRepositoriesRequest
- type ShowApplicationReleaseRepositoriesRequestXLanguage
- type ShowApplicationReleaseRepositoriesRequestXLanguageEnum
- type ShowApplicationReleaseRepositoriesResponse
- type ShowApplicationResDeleteStatusRequest
- type ShowApplicationResDeleteStatusRequestXLanguage
- type ShowApplicationResDeleteStatusRequestXLanguageEnum
- type ShowApplicationResDeleteStatusResponse
- type ShowApplicationResDeleteStatusResponseRepoStatus
- type ShowApplicationResDeleteStatusResponseRepoStatusEnum
- type ShowApplicationV3Request
- type ShowApplicationV3RequestXLanguage
- type ShowApplicationV3RequestXLanguageEnum
- type ShowApplicationV3Response
- type ShowApplicationV3ResponseDeployType
- type ShowApplicationV3ResponseDeployTypeEnum
- type ShowDeploymentJobsRequest
- type ShowDeploymentJobsRequestXLanguage
- type ShowDeploymentJobsRequestXLanguageEnum
- type ShowDeploymentJobsResponse
- type ShowJobDetailRequest
- type ShowJobDetailRequestXLanguage
- type ShowJobDetailRequestXLanguageEnum
- type ShowJobDetailResponse
- type ShowPipelineLastStatusV2Request
- type ShowPipelineLastStatusV2RequestXLanguage
- type ShowPipelineLastStatusV2RequestXLanguageEnum
- type ShowPipelineLastStatusV2Response
- type ShowRepositoryByCloudIdeRequest
- type ShowRepositoryByCloudIdeRequestXLanguage
- type ShowRepositoryByCloudIdeRequestXLanguageEnum
- type ShowRepositoryByCloudIdeResponse
- type ShowRepositoryStatisticalDataV2Request
- type ShowRepositoryStatisticalDataV2RequestXLanguage
- type ShowRepositoryStatisticalDataV2RequestXLanguageEnum
- type ShowRepositoryStatisticalDataV2Response
- type ShowTemplateDetailRequest
- type ShowTemplateDetailRequestXLanguage
- type ShowTemplateDetailRequestXLanguageEnum
- type ShowTemplateDetailResponse
- type ShowTemplateFileRequest
- type ShowTemplateFileRequestType
- type ShowTemplateFileRequestTypeEnum
- type ShowTemplateFileRequestXLanguage
- type ShowTemplateFileRequestXLanguageEnum
- type ShowTemplateFileResponse
- type ShowTemplateV3Request
- type ShowTemplateV3RequestXLanguage
- type ShowTemplateV3RequestXLanguageEnum
- type ShowTemplateV3Response
- type StartPipelineRequest
- type StartPipelineRequestXLanguage
- type StartPipelineRequestXLanguageEnum
- type StartPipelineResponse
- type StartPipelineResponseResult
- type StartPipelineResponseResultEnum
- type TagInfo
- type TemplateInfo
- type TemplateJobInfo
- type TemplateProductExt
- type TemplateQuery
- type TemplateQueryLabel
- type TemplateQueryLabelEnum
- type TemplateQueryV2
- type TemplateSimpleInfo
- type TemplateType
- type TemplateTypeEnum
- type TemplateViewHistory
- type TemplatesInfo
- type TopicCategory
- type UpdateApplicationRequest
- type UpdateApplicationRequestXLanguage
- type UpdateApplicationRequestXLanguageEnum
- type UpdateApplicationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationBaseV3 ¶ added in v0.0.73
type ApplicationBaseV3 struct { // 应用id Id *string `json:"id,omitempty"` // 应用名称 Name string `json:"name"` // 应用描述 Description *string `json:"description,omitempty"` // 区域id RegionId string `json:"region_id"` // 区域名称 RegionName string `json:"region_name"` // 所属项目id ProjectId string `json:"project_id"` // 项目名称 ProjectName string `json:"project_name"` // 应用图标 Icon *string `json:"icon,omitempty"` }
func (ApplicationBaseV3) String ¶ added in v0.0.73
func (o ApplicationBaseV3) String() string
type ApplicationModifyInfo ¶ added in v0.0.73
type ApplicationModifyInfo struct { // 应用名称 Name *string `json:"name,omitempty"` // 应用描述 Description *string `json:"description,omitempty"` // 应用图标(传入图片的Base64编码,大小限制15k) Icon *string `json:"icon,omitempty"` }
func (ApplicationModifyInfo) String ¶ added in v0.0.73
func (o ApplicationModifyInfo) String() string
type ApplicationV3 ¶ added in v0.0.73
type ApplicationV3 struct { // 应用id Id *string `json:"id,omitempty"` // 应用名称 Name string `json:"name"` // 应用描述 Description *string `json:"description,omitempty"` // 区域id RegionId string `json:"region_id"` // 区域名称 RegionName string `json:"region_name"` // 所属项目id ProjectId string `json:"project_id"` // 项目名称 ProjectName string `json:"project_name"` // 应用图标 Icon *string `json:"icon,omitempty"` // 流水线列表 PipelineCreationResult *[]PipelineCreationResult `json:"pipeline_creation_result,omitempty"` RepositoryCreationResult *RepositoryCreationResult `json:"repository_creation_result,omitempty"` // 环境信息 EnvironmentCreationResult *[]string `json:"environment_creation_result,omitempty"` // 模板类型 TemplateTypes *[]TemplateType `json:"template_types,omitempty"` // 模板部署信息 TemplateDeployment *string `json:"template_deployment,omitempty"` // 部署类型, function:函数部署,cci:cci容器部署,ServiceStage(Jar):ServiceStage jar包部署,ServiceStage(Docker):ServiceStage Docker容器部署,none不支持部署 DeployType *ApplicationV3DeployType `json:"deploy_type,omitempty"` // 创建者名称 CreatorName *string `json:"creator_name,omitempty"` // 创建时间 CreatedAt *string `json:"created_at,omitempty"` // 更新时间 UpdatedAt *string `json:"updated_at,omitempty"` // 应用版本号 Version *string `json:"version,omitempty"` }
应用详细信息
func (ApplicationV3) String ¶ added in v0.0.73
func (o ApplicationV3) String() string
type ApplicationV3DeployType ¶ added in v0.0.73
type ApplicationV3DeployType struct {
// contains filtered or unexported fields
}
func (ApplicationV3DeployType) MarshalJSON ¶ added in v0.0.73
func (c ApplicationV3DeployType) MarshalJSON() ([]byte, error)
func (*ApplicationV3DeployType) UnmarshalJSON ¶ added in v0.0.73
func (c *ApplicationV3DeployType) UnmarshalJSON(b []byte) error
func (ApplicationV3DeployType) Value ¶ added in v0.0.90
func (c ApplicationV3DeployType) Value() string
type ApplicationV3DeployTypeEnum ¶ added in v0.0.73
type ApplicationV3DeployTypeEnum struct { FUNCTION ApplicationV3DeployType CCI ApplicationV3DeployType SERVICE_STAGE_JAR ApplicationV3DeployType SERVICE_STAGE_DOCKER ApplicationV3DeployType NONE ApplicationV3DeployType }
func GetApplicationV3DeployTypeEnum ¶ added in v0.0.73
func GetApplicationV3DeployTypeEnum() ApplicationV3DeployTypeEnum
type CciDeploymentJobsParam ¶ added in v0.0.86
type CciDeploymentJobsParam struct { // 软件包或者镜像地址 Image *string `json:"image,omitempty"` }
func (CciDeploymentJobsParam) String ¶ added in v0.0.86
func (o CciDeploymentJobsParam) String() string
type CheckRepositoryDuplicateNameRequest ¶ added in v0.0.73
type CheckRepositoryDuplicateNameRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *string `json:"X-Language,omitempty"` // 项目id ProjectId string `json:"project_id"` // 仓库名称 Name string `json:"name"` // 区域id RegionId string `json:"region_id"` }
Request Object
func (CheckRepositoryDuplicateNameRequest) String ¶ added in v0.0.73
func (o CheckRepositoryDuplicateNameRequest) String() string
type CheckRepositoryDuplicateNameResponse ¶ added in v0.0.73
type CheckRepositoryDuplicateNameResponse struct { // 重名校验是否通过,true:校验通过不重名,false:校验不通过重名 Result *bool `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckRepositoryDuplicateNameResponse) String ¶ added in v0.0.73
func (o CheckRepositoryDuplicateNameResponse) String() string
type CodehubJobInfo ¶
type CodehubJobInfo struct { // 应用名称。 ApplicationName string `json:"application_name"` // 仓库是否私有 Privately *bool `json:"privately,omitempty"` // 仓库短id ShortId *string `json:"short_id,omitempty"` // 代码存放的ssh地址。 CodeUrl string `json:"code_url"` // CodeHub 仓库所在的 Region ID: - 华南-广州:cn-south-1 - 华东-上海二:cn-east-2 - 华北-北京一:cn-north-1 - 华北-北京四:cn-north-4 RegionId string `json:"region_id"` // - 0 - 将生成的应用代码存储于 repo_info 指定的 CodeHub 仓库中。 - 1 - 将生成的应用代码存储到华为云,任务创建人可以通过 ExportApplicationCode 下载代码压缩包。 RepoType int32 `json:"repo_type"` // 可以根据 template-metadata.json 获取动态参数 ID 以及规则。 Properties map[string]string `json:"properties,omitempty"` RepoInfo *RepositoryInfo `json:"repo_info,omitempty"` }
func (CodehubJobInfo) String ¶
func (o CodehubJobInfo) String() string
type ConfirmDeploymentJobRequest ¶ added in v0.0.86
type ConfirmDeploymentJobRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ConfirmDeploymentJobRequestXLanguage `json:"X-Language,omitempty"` // 应用id ApplicationId string `json:"application_id"` // 环境标识 EnvironmentTag string `json:"environment_tag"` Body *DeploymentJobConfirmType `json:"body,omitempty"` }
Request Object
func (ConfirmDeploymentJobRequest) String ¶ added in v0.0.86
func (o ConfirmDeploymentJobRequest) String() string
type ConfirmDeploymentJobRequestXLanguage ¶ added in v0.0.86
type ConfirmDeploymentJobRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ConfirmDeploymentJobRequestXLanguage) MarshalJSON ¶ added in v0.0.86
func (c ConfirmDeploymentJobRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ConfirmDeploymentJobRequestXLanguage) UnmarshalJSON ¶ added in v0.0.86
func (c *ConfirmDeploymentJobRequestXLanguage) UnmarshalJSON(b []byte) error
func (ConfirmDeploymentJobRequestXLanguage) Value ¶ added in v0.0.90
func (c ConfirmDeploymentJobRequestXLanguage) Value() string
type ConfirmDeploymentJobRequestXLanguageEnum ¶ added in v0.0.86
type ConfirmDeploymentJobRequestXLanguageEnum struct { ZH_CN ConfirmDeploymentJobRequestXLanguage EN_US ConfirmDeploymentJobRequestXLanguage }
func GetConfirmDeploymentJobRequestXLanguageEnum ¶ added in v0.0.86
func GetConfirmDeploymentJobRequestXLanguageEnum() ConfirmDeploymentJobRequestXLanguageEnum
type ConfirmDeploymentJobResponse ¶ added in v0.0.86
type ConfirmDeploymentJobResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ConfirmDeploymentJobResponse) String ¶ added in v0.0.86
func (o ConfirmDeploymentJobResponse) String() string
type CreateDeploymentJobsParams ¶ added in v0.0.73
type CreateDeploymentJobsParams struct { Function *FgsDeploymentJobsParam `json:"function,omitempty"` Cci *CciDeploymentJobsParam `json:"cci,omitempty"` }
func (CreateDeploymentJobsParams) String ¶ added in v0.0.73
func (o CreateDeploymentJobsParams) String() string
type CreateDeploymentJobsRequest ¶ added in v0.0.73
type CreateDeploymentJobsRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *CreateDeploymentJobsRequestXLanguage `json:"X-Language,omitempty"` // 应用id ApplicationId string `json:"application_id"` // 环境标识,从 [应用详情接口](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=DevStar&api=ShowApplication) 返回报文中的环境信息获取。 EnvironmentTag string `json:"environment_tag"` Body *CreateDeploymentJobsParams `json:"body,omitempty"` }
Request Object
func (CreateDeploymentJobsRequest) String ¶ added in v0.0.73
func (o CreateDeploymentJobsRequest) String() string
type CreateDeploymentJobsRequestXLanguage ¶ added in v0.0.73
type CreateDeploymentJobsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateDeploymentJobsRequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c CreateDeploymentJobsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateDeploymentJobsRequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *CreateDeploymentJobsRequestXLanguage) UnmarshalJSON(b []byte) error
func (CreateDeploymentJobsRequestXLanguage) Value ¶ added in v0.0.90
func (c CreateDeploymentJobsRequestXLanguage) Value() string
type CreateDeploymentJobsRequestXLanguageEnum ¶ added in v0.0.73
type CreateDeploymentJobsRequestXLanguageEnum struct { ZH_CN CreateDeploymentJobsRequestXLanguage EN_US CreateDeploymentJobsRequestXLanguage }
func GetCreateDeploymentJobsRequestXLanguageEnum ¶ added in v0.0.73
func GetCreateDeploymentJobsRequestXLanguageEnum() CreateDeploymentJobsRequestXLanguageEnum
type CreateDeploymentJobsResponse ¶ added in v0.0.73
type CreateDeploymentJobsResponse struct { // 部署任务编号 Id *int32 `json:"id,omitempty"` // 任务ID JobId *string `json:"job_id,omitempty"` // 部署状态,-2:环境准备未就绪 -1 资源准备就绪 0 部署中 1:成功 2:失败 Status *int32 `json:"status,omitempty"` // 访问地址 Address *string `json:"address,omitempty"` // 部署参数 DeployParameters *string `json:"deploy_parameters,omitempty"` // 部署耗时 Time *int32 `json:"time,omitempty"` // 创建人 CreatorName *string `json:"creator_name,omitempty"` // 创建时间 CreatedTime *string `json:"created_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDeploymentJobsResponse) String ¶ added in v0.0.73
func (o CreateDeploymentJobsResponse) String() string
type CreateTemplateViewHistoriesRequest ¶
type CreateTemplateViewHistoriesRequest struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *CreateTemplateViewHistoriesRequestXLanguage `json:"X-Language,omitempty"` Body *TemplatesInfo `json:"body,omitempty"` }
Request Object
func (CreateTemplateViewHistoriesRequest) String ¶
func (o CreateTemplateViewHistoriesRequest) String() string
type CreateTemplateViewHistoriesRequestXLanguage ¶
type CreateTemplateViewHistoriesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateTemplateViewHistoriesRequestXLanguage) MarshalJSON ¶
func (c CreateTemplateViewHistoriesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateTemplateViewHistoriesRequestXLanguage) UnmarshalJSON ¶
func (c *CreateTemplateViewHistoriesRequestXLanguage) UnmarshalJSON(b []byte) error
func (CreateTemplateViewHistoriesRequestXLanguage) Value ¶ added in v0.0.90
func (c CreateTemplateViewHistoriesRequestXLanguage) Value() string
type CreateTemplateViewHistoriesRequestXLanguageEnum ¶
type CreateTemplateViewHistoriesRequestXLanguageEnum struct { ZH_CN CreateTemplateViewHistoriesRequestXLanguage EN_US CreateTemplateViewHistoriesRequestXLanguage }
func GetCreateTemplateViewHistoriesRequestXLanguageEnum ¶
func GetCreateTemplateViewHistoriesRequestXLanguageEnum() CreateTemplateViewHistoriesRequestXLanguageEnum
type CreateTemplateViewHistoriesResponse ¶
type CreateTemplateViewHistoriesResponse struct { // 我浏览的模板。 Templates *[]TemplateViewHistory `json:"templates,omitempty"` // 我浏览的模板数量。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateTemplateViewHistoriesResponse) String ¶
func (o CreateTemplateViewHistoriesResponse) String() string
type DeleteApplicationV4Request ¶ added in v0.0.73
type DeleteApplicationV4Request struct { // 应用id ApplicationId string `json:"application_id"` // 是否删除代码仓 IsDeleteRepository *bool `json:"is_delete_repository,omitempty"` // 删除流水线ID,多流水线逗号隔开 PipelineIds *string `json:"pipeline_ids,omitempty"` }
Request Object
func (DeleteApplicationV4Request) String ¶ added in v0.0.73
func (o DeleteApplicationV4Request) String() string
type DeleteApplicationV4Response ¶ added in v0.0.73
type DeleteApplicationV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteApplicationV4Response) String ¶ added in v0.0.73
func (o DeleteApplicationV4Response) String() string
type Dependent ¶ added in v0.0.73
type Dependent struct { // 部署方式。 Name *string `json:"name,omitempty"` // 依赖云资源信息 DependentServices *[]ResouceInfo `json:"dependent_services,omitempty"` }
type DeploymentJobConfirmType ¶ added in v0.0.86
type DeploymentJobConfirmType struct { // 部署人工审核确认类型 stop终止部署 continue继续部署 Type *DeploymentJobConfirmTypeType `json:"type,omitempty"` }
func (DeploymentJobConfirmType) String ¶ added in v0.0.86
func (o DeploymentJobConfirmType) String() string
type DeploymentJobConfirmTypeType ¶ added in v0.0.86
type DeploymentJobConfirmTypeType struct {
// contains filtered or unexported fields
}
func (DeploymentJobConfirmTypeType) MarshalJSON ¶ added in v0.0.86
func (c DeploymentJobConfirmTypeType) MarshalJSON() ([]byte, error)
func (*DeploymentJobConfirmTypeType) UnmarshalJSON ¶ added in v0.0.86
func (c *DeploymentJobConfirmTypeType) UnmarshalJSON(b []byte) error
func (DeploymentJobConfirmTypeType) Value ¶ added in v0.0.90
func (c DeploymentJobConfirmTypeType) Value() string
type DeploymentJobConfirmTypeTypeEnum ¶ added in v0.0.86
type DeploymentJobConfirmTypeTypeEnum struct { STOP DeploymentJobConfirmTypeType CONTINUE DeploymentJobConfirmTypeType }
func GetDeploymentJobConfirmTypeTypeEnum ¶ added in v0.0.86
func GetDeploymentJobConfirmTypeTypeEnum() DeploymentJobConfirmTypeTypeEnum
type DownloadApplicationCodeRequest ¶
type DownloadApplicationCodeRequest struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *DownloadApplicationCodeRequestXLanguage `json:"X-Language,omitempty"` // 任务id。 JobId string `json:"job_id"` }
Request Object
func (DownloadApplicationCodeRequest) String ¶
func (o DownloadApplicationCodeRequest) String() string
type DownloadApplicationCodeRequestXLanguage ¶
type DownloadApplicationCodeRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DownloadApplicationCodeRequestXLanguage) MarshalJSON ¶
func (c DownloadApplicationCodeRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DownloadApplicationCodeRequestXLanguage) UnmarshalJSON ¶
func (c *DownloadApplicationCodeRequestXLanguage) UnmarshalJSON(b []byte) error
func (DownloadApplicationCodeRequestXLanguage) Value ¶ added in v0.0.90
func (c DownloadApplicationCodeRequestXLanguage) Value() string
type DownloadApplicationCodeRequestXLanguageEnum ¶
type DownloadApplicationCodeRequestXLanguageEnum struct { ZH_CN DownloadApplicationCodeRequestXLanguage EN_US DownloadApplicationCodeRequestXLanguage }
func GetDownloadApplicationCodeRequestXLanguageEnum ¶
func GetDownloadApplicationCodeRequestXLanguageEnum() DownloadApplicationCodeRequestXLanguageEnum
type DownloadApplicationCodeResponse ¶
type DownloadApplicationCodeResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (DownloadApplicationCodeResponse) Consume ¶
func (o DownloadApplicationCodeResponse) Consume(writer io.Writer) (int64, error)
func (DownloadApplicationCodeResponse) String ¶
func (o DownloadApplicationCodeResponse) String() string
type FgsDeploymentJobsParam ¶ added in v0.0.73
type FgsDeploymentJobsParam struct { // 版本包id,使用历史版本包部署时需要 FileId *string `json:"file_id,omitempty"` // 函数入口 Handler *string `json:"handler,omitempty"` }
func (FgsDeploymentJobsParam) String ¶ added in v0.0.73
func (o FgsDeploymentJobsParam) String() string
type FileTreeNode ¶
type FileTreeNode struct { // 文件路径 FilePath *string `json:"file_path,omitempty"` // 文件名称 FileName *string `json:"file_name,omitempty"` // 是否文件夹 FileType *string `json:"file_type,omitempty"` }
func (FileTreeNode) String ¶
func (o FileTreeNode) String() string
type ListApplicationsV6Request ¶ added in v0.0.73
type ListApplicationsV6Request struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ListApplicationsV6RequestXLanguage `json:"X-Language,omitempty"` // 是否查询我关注的应用 Attention *bool `json:"attention,omitempty"` // 区域id,从控制台获取方法请参见: [获取区域ID](https://console.huaweicloud.com/iam/?region=cn-north-1&locale=zh-cn#/iam/projects) RegionId *string `json:"region_id,omitempty"` // 搜索关键字,支持按名称和描述搜索,默认null Keyword *string `json:"keyword,omitempty"` // 所属DevCloud项目id,从 [项目列表接口](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=DevStar&api=ListProjectsV4) 查询。 ProjectId *string `json:"project_id,omitempty"` // 主题id,场景或者部署方式分类id TopicId *string `json:"topic_id,omitempty"` // 是否查询由我创建 IsCreatedBySelf *bool `json:"is_created_by_self,omitempty"` // 排序字段, name:应用名称,created_at:创建时间,updated_at:更新时间 SortKey *[]ListApplicationsV6RequestSortKey `json:"sort_key,omitempty"` // 排序方式, desc:降序, asc:升序 SortDir *[]ListApplicationsV6RequestSortDir `json:"sort_dir,omitempty"` // 每页显示的条目数量,默认10 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询,默认0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListApplicationsV6Request) String ¶ added in v0.0.73
func (o ListApplicationsV6Request) String() string
type ListApplicationsV6RequestSortDir ¶ added in v0.0.73
type ListApplicationsV6RequestSortDir struct {
// contains filtered or unexported fields
}
func (ListApplicationsV6RequestSortDir) MarshalJSON ¶ added in v0.0.73
func (c ListApplicationsV6RequestSortDir) MarshalJSON() ([]byte, error)
func (*ListApplicationsV6RequestSortDir) UnmarshalJSON ¶ added in v0.0.73
func (c *ListApplicationsV6RequestSortDir) UnmarshalJSON(b []byte) error
func (ListApplicationsV6RequestSortDir) Value ¶ added in v0.0.90
func (c ListApplicationsV6RequestSortDir) Value() string
type ListApplicationsV6RequestSortDirEnum ¶ added in v0.0.73
type ListApplicationsV6RequestSortDirEnum struct { DESC ListApplicationsV6RequestSortDir ASC ListApplicationsV6RequestSortDir }
func GetListApplicationsV6RequestSortDirEnum ¶ added in v0.0.73
func GetListApplicationsV6RequestSortDirEnum() ListApplicationsV6RequestSortDirEnum
type ListApplicationsV6RequestSortKey ¶ added in v0.0.73
type ListApplicationsV6RequestSortKey struct {
// contains filtered or unexported fields
}
func (ListApplicationsV6RequestSortKey) MarshalJSON ¶ added in v0.0.73
func (c ListApplicationsV6RequestSortKey) MarshalJSON() ([]byte, error)
func (*ListApplicationsV6RequestSortKey) UnmarshalJSON ¶ added in v0.0.73
func (c *ListApplicationsV6RequestSortKey) UnmarshalJSON(b []byte) error
func (ListApplicationsV6RequestSortKey) Value ¶ added in v0.0.90
func (c ListApplicationsV6RequestSortKey) Value() string
type ListApplicationsV6RequestSortKeyEnum ¶ added in v0.0.73
type ListApplicationsV6RequestSortKeyEnum struct { NAME ListApplicationsV6RequestSortKey CREATED_AT ListApplicationsV6RequestSortKey UPDATED_AT ListApplicationsV6RequestSortKey }
func GetListApplicationsV6RequestSortKeyEnum ¶ added in v0.0.73
func GetListApplicationsV6RequestSortKeyEnum() ListApplicationsV6RequestSortKeyEnum
type ListApplicationsV6RequestXLanguage ¶ added in v0.0.73
type ListApplicationsV6RequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListApplicationsV6RequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c ListApplicationsV6RequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListApplicationsV6RequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *ListApplicationsV6RequestXLanguage) UnmarshalJSON(b []byte) error
func (ListApplicationsV6RequestXLanguage) Value ¶ added in v0.0.90
func (c ListApplicationsV6RequestXLanguage) Value() string
type ListApplicationsV6RequestXLanguageEnum ¶ added in v0.0.73
type ListApplicationsV6RequestXLanguageEnum struct { ZH_CN ListApplicationsV6RequestXLanguage EN_US ListApplicationsV6RequestXLanguage }
func GetListApplicationsV6RequestXLanguageEnum ¶ added in v0.0.73
func GetListApplicationsV6RequestXLanguageEnum() ListApplicationsV6RequestXLanguageEnum
type ListApplicationsV6Response ¶ added in v0.0.73
type ListApplicationsV6Response struct { // 应用列表 Applications *[]ApplicationV3 `json:"applications,omitempty"` // 应用列表总条数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApplicationsV6Response) String ¶ added in v0.0.73
func (o ListApplicationsV6Response) String() string
type ListPipelineTemplatesRequest ¶ added in v0.0.73
type ListPipelineTemplatesRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *string `json:"X-Language,omitempty"` // 区域id RegionId string `json:"region_id"` // 偏移量,表示从此偏移量开始查询,默认0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量,默认10 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListPipelineTemplatesRequest) String ¶ added in v0.0.73
func (o ListPipelineTemplatesRequest) String() string
type ListPipelineTemplatesResponse ¶ added in v0.0.73
type ListPipelineTemplatesResponse struct { // 模板列表 Templates *[]PipelineTemplate `json:"templates,omitempty"` // 模板总数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPipelineTemplatesResponse) String ¶ added in v0.0.73
func (o ListPipelineTemplatesResponse) String() string
type ListProjectsV4Request ¶ added in v0.0.73
type ListProjectsV4Request struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ListProjectsV4RequestXLanguage `json:"X-Language,omitempty"` // 搜索关键字,支持按名称和描述搜索,默认null Keyword *string `json:"keyword,omitempty"` // 每页显示的条目数量,默认100 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询,默认0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListProjectsV4Request) String ¶ added in v0.0.73
func (o ListProjectsV4Request) String() string
type ListProjectsV4RequestXLanguage ¶ added in v0.0.73
type ListProjectsV4RequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListProjectsV4RequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c ListProjectsV4RequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListProjectsV4RequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *ListProjectsV4RequestXLanguage) UnmarshalJSON(b []byte) error
func (ListProjectsV4RequestXLanguage) Value ¶ added in v0.0.90
func (c ListProjectsV4RequestXLanguage) Value() string
type ListProjectsV4RequestXLanguageEnum ¶ added in v0.0.73
type ListProjectsV4RequestXLanguageEnum struct { ZH_CN ListProjectsV4RequestXLanguage EN_US ListProjectsV4RequestXLanguage }
func GetListProjectsV4RequestXLanguageEnum ¶ added in v0.0.73
func GetListProjectsV4RequestXLanguageEnum() ListProjectsV4RequestXLanguageEnum
type ListProjectsV4Response ¶ added in v0.0.73
type ListProjectsV4Response struct { // 项目列表 Projects *[]ProjectV3 `json:"projects,omitempty"` // 总数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectsV4Response) String ¶ added in v0.0.73
func (o ListProjectsV4Response) String() string
type ListPublishedTemplatesRequest ¶
type ListPublishedTemplatesRequest struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *ListPublishedTemplatesRequestXLanguage `json:"X-Language,omitempty"` // 搜索关键字,支持按名称和描述搜索,默认null。 Keyword *string `json:"keyword,omitempty"` // 偏移量,表示从此偏移量开始查询,offset大于等于0。 Offset *int32 `json:"offset,omitempty"` // 每页的模板条数,默认10。 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListPublishedTemplatesRequest) String ¶
func (o ListPublishedTemplatesRequest) String() string
type ListPublishedTemplatesRequestXLanguage ¶
type ListPublishedTemplatesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListPublishedTemplatesRequestXLanguage) MarshalJSON ¶
func (c ListPublishedTemplatesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListPublishedTemplatesRequestXLanguage) UnmarshalJSON ¶
func (c *ListPublishedTemplatesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListPublishedTemplatesRequestXLanguage) Value ¶ added in v0.0.90
func (c ListPublishedTemplatesRequestXLanguage) Value() string
type ListPublishedTemplatesRequestXLanguageEnum ¶
type ListPublishedTemplatesRequestXLanguageEnum struct { ZH_CN ListPublishedTemplatesRequestXLanguage EN_US ListPublishedTemplatesRequestXLanguage }
func GetListPublishedTemplatesRequestXLanguageEnum ¶
func GetListPublishedTemplatesRequestXLanguageEnum() ListPublishedTemplatesRequestXLanguageEnum
type ListPublishedTemplatesResponse ¶
type ListPublishedTemplatesResponse struct { // 返回模板的数量。 Count *int32 `json:"count,omitempty"` // 返回模板的列表。 Templates *[]TemplateSimpleInfo `json:"templates,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPublishedTemplatesResponse) String ¶
func (o ListPublishedTemplatesResponse) String() string
type ListTemplateViewHistoriesRequest ¶
type ListTemplateViewHistoriesRequest struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *ListTemplateViewHistoriesRequestXLanguage `json:"X-Language,omitempty"` // 平台来源: - 0:查询CodeLabs中用户浏览过的模板。 - 1:查询DevStar中用户浏览过的模板。 PlatformSource ListTemplateViewHistoriesRequestPlatformSource `json:"platform_source"` }
Request Object
func (ListTemplateViewHistoriesRequest) String ¶
func (o ListTemplateViewHistoriesRequest) String() string
type ListTemplateViewHistoriesRequestPlatformSource ¶
type ListTemplateViewHistoriesRequestPlatformSource struct {
// contains filtered or unexported fields
}
func (ListTemplateViewHistoriesRequestPlatformSource) MarshalJSON ¶
func (c ListTemplateViewHistoriesRequestPlatformSource) MarshalJSON() ([]byte, error)
func (*ListTemplateViewHistoriesRequestPlatformSource) UnmarshalJSON ¶
func (c *ListTemplateViewHistoriesRequestPlatformSource) UnmarshalJSON(b []byte) error
func (ListTemplateViewHistoriesRequestPlatformSource) Value ¶ added in v0.0.90
func (c ListTemplateViewHistoriesRequestPlatformSource) Value() int32
type ListTemplateViewHistoriesRequestPlatformSourceEnum ¶
type ListTemplateViewHistoriesRequestPlatformSourceEnum struct { E_0 ListTemplateViewHistoriesRequestPlatformSource E_1 ListTemplateViewHistoriesRequestPlatformSource }
func GetListTemplateViewHistoriesRequestPlatformSourceEnum ¶
func GetListTemplateViewHistoriesRequestPlatformSourceEnum() ListTemplateViewHistoriesRequestPlatformSourceEnum
type ListTemplateViewHistoriesRequestXLanguage ¶
type ListTemplateViewHistoriesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListTemplateViewHistoriesRequestXLanguage) MarshalJSON ¶
func (c ListTemplateViewHistoriesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListTemplateViewHistoriesRequestXLanguage) UnmarshalJSON ¶
func (c *ListTemplateViewHistoriesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListTemplateViewHistoriesRequestXLanguage) Value ¶ added in v0.0.90
func (c ListTemplateViewHistoriesRequestXLanguage) Value() string
type ListTemplateViewHistoriesRequestXLanguageEnum ¶
type ListTemplateViewHistoriesRequestXLanguageEnum struct { ZH_CN ListTemplateViewHistoriesRequestXLanguage EN_US ListTemplateViewHistoriesRequestXLanguage }
func GetListTemplateViewHistoriesRequestXLanguageEnum ¶
func GetListTemplateViewHistoriesRequestXLanguageEnum() ListTemplateViewHistoriesRequestXLanguageEnum
type ListTemplateViewHistoriesResponse ¶
type ListTemplateViewHistoriesResponse struct { // 我浏览的模板。 Templates *[]TemplateViewHistory `json:"templates,omitempty"` // 我浏览的模板数量。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTemplateViewHistoriesResponse) String ¶
func (o ListTemplateViewHistoriesResponse) String() string
type ListTemplatesRequest ¶ added in v0.0.76
type ListTemplatesRequest struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *ListTemplatesRequestXLanguage `json:"X-Language,omitempty"` Body *TemplateQuery `json:"body,omitempty"` }
Request Object
func (ListTemplatesRequest) String ¶ added in v0.0.76
func (o ListTemplatesRequest) String() string
type ListTemplatesRequestXLanguage ¶ added in v0.0.76
type ListTemplatesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListTemplatesRequestXLanguage) MarshalJSON ¶ added in v0.0.76
func (c ListTemplatesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListTemplatesRequestXLanguage) UnmarshalJSON ¶ added in v0.0.76
func (c *ListTemplatesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListTemplatesRequestXLanguage) Value ¶ added in v0.0.90
func (c ListTemplatesRequestXLanguage) Value() string
type ListTemplatesRequestXLanguageEnum ¶ added in v0.0.76
type ListTemplatesRequestXLanguageEnum struct { ZH_CN ListTemplatesRequestXLanguage EN_US ListTemplatesRequestXLanguage }
func GetListTemplatesRequestXLanguageEnum ¶ added in v0.0.76
func GetListTemplatesRequestXLanguageEnum() ListTemplatesRequestXLanguageEnum
type ListTemplatesResponse ¶ added in v0.0.76
type ListTemplatesResponse struct { // 返回模板的数量。 Count *int32 `json:"count,omitempty"` // 返回关联了失效资源的模板数量。 InvalidCount *int32 `json:"invalid_count,omitempty"` // 返回模板的列表。 Templates *[]TemplateInfo `json:"templates,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTemplatesResponse) String ¶ added in v0.0.76
func (o ListTemplatesResponse) String() string
type ListTemplatesV2Request ¶
type ListTemplatesV2Request struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *ListTemplatesV2RequestXLanguage `json:"X-Language,omitempty"` // 请填写固定值“query”。 ActionId string `json:"action_id"` Body *TemplateQueryV2 `json:"body,omitempty"` }
Request Object
func (ListTemplatesV2Request) String ¶
func (o ListTemplatesV2Request) String() string
type ListTemplatesV2RequestXLanguage ¶
type ListTemplatesV2RequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListTemplatesV2RequestXLanguage) MarshalJSON ¶
func (c ListTemplatesV2RequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListTemplatesV2RequestXLanguage) UnmarshalJSON ¶
func (c *ListTemplatesV2RequestXLanguage) UnmarshalJSON(b []byte) error
func (ListTemplatesV2RequestXLanguage) Value ¶ added in v0.0.90
func (c ListTemplatesV2RequestXLanguage) Value() string
type ListTemplatesV2RequestXLanguageEnum ¶
type ListTemplatesV2RequestXLanguageEnum struct { ZH_CN ListTemplatesV2RequestXLanguage EN_US ListTemplatesV2RequestXLanguage }
func GetListTemplatesV2RequestXLanguageEnum ¶
func GetListTemplatesV2RequestXLanguageEnum() ListTemplatesV2RequestXLanguageEnum
type ListTemplatesV2Response ¶
type ListTemplatesV2Response struct { // 返回模板的数量。 Count *int32 `json:"count,omitempty"` // 返回关联了失效资源的模板数量。 InvalidCount *int32 `json:"invalid_count,omitempty"` // 返回模板的列表。 Templates *[]TemplateInfo `json:"templates,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTemplatesV2Response) String ¶
func (o ListTemplatesV2Response) String() string
type PipelineBasic ¶ added in v0.0.73
type PipelineBasic struct { // DevStar系统生成的流水线UUID Uuid *string `json:"uuid,omitempty"` // CloudPipeline系统对应流水线ID Id *string `json:"id,omitempty"` // 流水线名称 Name *string `json:"name,omitempty"` // 流水线地址 Url *string `json:"url,omitempty"` // 流水线最后一次运行状态,success:成功,failed:失败,running:运行中 LastRunningStatus *PipelineBasicLastRunningStatus `json:"last_running_status,omitempty"` }
流水线资源信息
func (PipelineBasic) String ¶ added in v0.0.73
func (o PipelineBasic) String() string
type PipelineBasicLastRunningStatus ¶ added in v0.0.73
type PipelineBasicLastRunningStatus struct {
// contains filtered or unexported fields
}
func (PipelineBasicLastRunningStatus) MarshalJSON ¶ added in v0.0.73
func (c PipelineBasicLastRunningStatus) MarshalJSON() ([]byte, error)
func (*PipelineBasicLastRunningStatus) UnmarshalJSON ¶ added in v0.0.73
func (c *PipelineBasicLastRunningStatus) UnmarshalJSON(b []byte) error
func (PipelineBasicLastRunningStatus) Value ¶ added in v0.0.90
func (c PipelineBasicLastRunningStatus) Value() string
type PipelineBasicLastRunningStatusEnum ¶ added in v0.0.73
type PipelineBasicLastRunningStatusEnum struct { SUCCESS PipelineBasicLastRunningStatus FAILED PipelineBasicLastRunningStatus RUNNING PipelineBasicLastRunningStatus }
func GetPipelineBasicLastRunningStatusEnum ¶ added in v0.0.73
func GetPipelineBasicLastRunningStatusEnum() PipelineBasicLastRunningStatusEnum
type PipelineCreationResult ¶ added in v0.0.73
type PipelineCreationResult struct { Pipeline *PipelineBasic `json:"pipeline,omitempty"` // 任务id TaskId *string `json:"task_id,omitempty"` // 任务状态, success:成功,failed:失败,creating:创建中,cancel:取消,pending:等待创建 Status *PipelineCreationResultStatus `json:"status,omitempty"` // 失败原因 FailureReason *string `json:"failure_reason,omitempty"` }
流水线资源信息
func (PipelineCreationResult) String ¶ added in v0.0.73
func (o PipelineCreationResult) String() string
type PipelineCreationResultStatus ¶ added in v0.0.73
type PipelineCreationResultStatus struct {
// contains filtered or unexported fields
}
func (PipelineCreationResultStatus) MarshalJSON ¶ added in v0.0.73
func (c PipelineCreationResultStatus) MarshalJSON() ([]byte, error)
func (*PipelineCreationResultStatus) UnmarshalJSON ¶ added in v0.0.73
func (c *PipelineCreationResultStatus) UnmarshalJSON(b []byte) error
func (PipelineCreationResultStatus) Value ¶ added in v0.0.90
func (c PipelineCreationResultStatus) Value() string
type PipelineCreationResultStatusEnum ¶ added in v0.0.73
type PipelineCreationResultStatusEnum struct { SUCCESS PipelineCreationResultStatus FAILED PipelineCreationResultStatus CREATING PipelineCreationResultStatus CANCEL PipelineCreationResultStatus PENDING PipelineCreationResultStatus }
func GetPipelineCreationResultStatusEnum ¶ added in v0.0.73
func GetPipelineCreationResultStatusEnum() PipelineCreationResultStatusEnum
type PipelineDeleteStatus ¶ added in v0.0.73
type PipelineDeleteStatus struct { // 流水线名称 Name *string `json:"name,omitempty"` // 流水线删除状态,deleted:删除成功,failed:删除失败,going:正在删除中 Status *PipelineDeleteStatusStatus `json:"status,omitempty"` }
func (PipelineDeleteStatus) String ¶ added in v0.0.73
func (o PipelineDeleteStatus) String() string
type PipelineDeleteStatusStatus ¶ added in v0.0.73
type PipelineDeleteStatusStatus struct {
// contains filtered or unexported fields
}
func (PipelineDeleteStatusStatus) MarshalJSON ¶ added in v0.0.73
func (c PipelineDeleteStatusStatus) MarshalJSON() ([]byte, error)
func (*PipelineDeleteStatusStatus) UnmarshalJSON ¶ added in v0.0.73
func (c *PipelineDeleteStatusStatus) UnmarshalJSON(b []byte) error
func (PipelineDeleteStatusStatus) Value ¶ added in v0.0.90
func (c PipelineDeleteStatusStatus) Value() string
type PipelineDeleteStatusStatusEnum ¶ added in v0.0.73
type PipelineDeleteStatusStatusEnum struct { DELETED PipelineDeleteStatusStatus FAILED PipelineDeleteStatusStatus GOING PipelineDeleteStatusStatus }
func GetPipelineDeleteStatusStatusEnum ¶ added in v0.0.73
func GetPipelineDeleteStatusStatusEnum() PipelineDeleteStatusStatusEnum
type PipelineStageResp ¶ added in v0.0.73
type PipelineStageResp struct { // 阶段名称 DisplayName *string `json:"display_name,omitempty"` // 阶段状态 Status *string `json:"status,omitempty"` // 阶段执行结果 Result *string `json:"result,omitempty"` }
func (PipelineStageResp) String ¶ added in v0.0.73
func (o PipelineStageResp) String() string
type PipelineTemplate ¶ added in v0.0.73
type PipelineTemplate struct { // 模板名称 Name *string `json:"name,omitempty"` // 模板id Id *string `json:"id,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 区域id RegionId *string `json:"region_id,omitempty"` // 预览链接 Url *string `json:"url,omitempty"` }
func (PipelineTemplate) String ¶ added in v0.0.73
func (o PipelineTemplate) String() string
type PipelineTemplateInfo ¶
type PipelineTemplateInfo struct { // 流水线模板的id。 Id *string `json:"id,omitempty"` // 流水线模板的名称。 Name *string `json:"name,omitempty"` // 流水线模板的详细信息。 Detail *string `json:"detail,omitempty"` }
func (PipelineTemplateInfo) String ¶
func (o PipelineTemplateInfo) String() string
type ProjectV3 ¶ added in v0.0.73
type ProjectV3 struct { // 项目id ProjectId string `json:"project_id"` // 项目名 Name string `json:"name"` // 区域编码 RegionId *string `json:"region_id,omitempty"` // 区域名称 RegionName *string `json:"region_name,omitempty"` // 管理权限 ManagementPermission *bool `json:"management_permission,omitempty"` // 是否是存量项目 IsStock *bool `json:"is_stock,omitempty"` }
type Reference ¶
type ReleaseRepository ¶ added in v0.0.73
type ReleaseRepository struct { // 软件包id Id *string `json:"id,omitempty"` // 软件包名称 Name *string `json:"name,omitempty"` // 软件包下载地址 DownloadPath *string `json:"download_path,omitempty"` // 软件包大小 Size *string `json:"size,omitempty"` // 软件包类型名称 CategoryName *string `json:"category_name,omitempty"` // 文件类型 FileType *string `json:"file_type,omitempty"` // 创建时间 Created *string `json:"created,omitempty"` // 修改时间 Updated *string `json:"updated,omitempty"` }
func (ReleaseRepository) String ¶ added in v0.0.73
func (o ReleaseRepository) String() string
type RepositoryBasicInfo ¶ added in v0.0.73
type RepositoryBasicInfo struct { // 仓库uuid Uuid *string `json:"uuid,omitempty"` // 仓库id Id *string `json:"id,omitempty"` // 仓库名称 Name *string `json:"name,omitempty"` // 仓库git的https下载地址 HttpsUrl *string `json:"https_url,omitempty"` // 仓库git的ssh下载地址 SshUrl *string `json:"ssh_url,omitempty"` // 仓库codehub内容浏览页面地址 WebUrl *string `json:"web_url,omitempty"` }
func (RepositoryBasicInfo) String ¶ added in v0.0.73
func (o RepositoryBasicInfo) String() string
type RepositoryCreationResult ¶ added in v0.0.73
type RepositoryCreationResult struct { Repository *RepositoryBasicInfo `json:"repository,omitempty"` // 任务id TaskId *string `json:"task_id,omitempty"` // 任务状态, success:成功,failed:失败,creating:创建中 Status *RepositoryCreationResultStatus `json:"status,omitempty"` // 失败原因 FailureReason *string `json:"failure_reason,omitempty"` }
仓库信息
func (RepositoryCreationResult) String ¶ added in v0.0.73
func (o RepositoryCreationResult) String() string
type RepositoryCreationResultStatus ¶ added in v0.0.73
type RepositoryCreationResultStatus struct {
// contains filtered or unexported fields
}
func (RepositoryCreationResultStatus) MarshalJSON ¶ added in v0.0.73
func (c RepositoryCreationResultStatus) MarshalJSON() ([]byte, error)
func (*RepositoryCreationResultStatus) UnmarshalJSON ¶ added in v0.0.73
func (c *RepositoryCreationResultStatus) UnmarshalJSON(b []byte) error
func (RepositoryCreationResultStatus) Value ¶ added in v0.0.90
func (c RepositoryCreationResultStatus) Value() string
type RepositoryCreationResultStatusEnum ¶ added in v0.0.73
type RepositoryCreationResultStatusEnum struct { SUCCESS RepositoryCreationResultStatus FAILED RepositoryCreationResultStatus CREATING RepositoryCreationResultStatus }
func GetRepositoryCreationResultStatusEnum ¶ added in v0.0.73
func GetRepositoryCreationResultStatusEnum() RepositoryCreationResultStatusEnum
type RepositoryInfo ¶
type RepositoryInfo struct { // 代码仓的名称。 Name *string `json:"name,omitempty"` // 代码仓描述。 Description *string `json:"description,omitempty"` // 项目id。 ProjectId *string `json:"project_id,omitempty"` // 区域id。 RegionId *string `json:"region_id,omitempty"` // 根据编程语言生成gitignore文件。 Gitignore *string `json:"gitignore,omitempty"` // 是否允许项目内成员访问仓库: - 0:不允许 - 1:允许 MemberPermission *int32 `json:"member_permission,omitempty"` // 是否允许生成README文件: - 0:不允许 - 1:允许 ReadmePermission *int32 `json:"readme_permission,omitempty"` // 是否公开: - 0:私有 - 20:公开只读 VisibilityLevel *int32 `json:"visibility_level,omitempty"` // 开源许可证id (0:默认)。 LicenseId *int32 `json:"license_id,omitempty"` }
func (RepositoryInfo) String ¶
func (o RepositoryInfo) String() string
type ResouceInfo ¶ added in v0.0.73
type ResouceInfo struct { // 云服务名称。 Name *string `json:"name,omitempty"` // 描述。 Description *string `json:"description,omitempty"` // 首页链接。 HomeLink *string `json:"home_link,omitempty"` // 开通链接。 SubscribeLink *string `json:"subscribe_link,omitempty"` // 开通指导。 SubscribeGuide *string `json:"subscribe_guide,omitempty"` // 服务类型。 Type *string `json:"type,omitempty"` // 参考价格。 ReferencePrice *string `json:"reference_price,omitempty"` // 价格详情链接。 PriceDetailsLink *string `json:"price_details_link,omitempty"` // 规格,例如: {\"cpu\" : \"0.5\",\"ram\" : 1GB}。 Specifications *interface{} `json:"specifications,omitempty"` }
func (ResouceInfo) String ¶ added in v0.0.73
func (o ResouceInfo) String() string
type RunCodehubTemplateJobRequest ¶
type RunCodehubTemplateJobRequest struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *RunCodehubTemplateJobRequestXLanguage `json:"X-Language,omitempty"` Body *CodehubJobInfo `json:"body,omitempty"` }
Request Object
func (RunCodehubTemplateJobRequest) String ¶
func (o RunCodehubTemplateJobRequest) String() string
type RunCodehubTemplateJobRequestXLanguage ¶
type RunCodehubTemplateJobRequestXLanguage struct {
// contains filtered or unexported fields
}
func (RunCodehubTemplateJobRequestXLanguage) MarshalJSON ¶
func (c RunCodehubTemplateJobRequestXLanguage) MarshalJSON() ([]byte, error)
func (*RunCodehubTemplateJobRequestXLanguage) UnmarshalJSON ¶
func (c *RunCodehubTemplateJobRequestXLanguage) UnmarshalJSON(b []byte) error
func (RunCodehubTemplateJobRequestXLanguage) Value ¶ added in v0.0.90
func (c RunCodehubTemplateJobRequestXLanguage) Value() string
type RunCodehubTemplateJobRequestXLanguageEnum ¶
type RunCodehubTemplateJobRequestXLanguageEnum struct { ZH_CN RunCodehubTemplateJobRequestXLanguage EN_US RunCodehubTemplateJobRequestXLanguage }
func GetRunCodehubTemplateJobRequestXLanguageEnum ¶
func GetRunCodehubTemplateJobRequestXLanguageEnum() RunCodehubTemplateJobRequestXLanguageEnum
type RunCodehubTemplateJobResponse ¶
type RunCodehubTemplateJobResponse struct { // 任务id。 JobId *string `json:"job_id,omitempty"` // 文件列表。 FileList *[]FileTreeNode `json:"file_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunCodehubTemplateJobResponse) String ¶
func (o RunCodehubTemplateJobResponse) String() string
type RunDevstarTemplateJobRequest ¶
type RunDevstarTemplateJobRequest struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *RunDevstarTemplateJobRequestXLanguage `json:"X-Language,omitempty"` Body *TemplateJobInfo `json:"body,omitempty"` }
Request Object
func (RunDevstarTemplateJobRequest) String ¶
func (o RunDevstarTemplateJobRequest) String() string
type RunDevstarTemplateJobRequestXLanguage ¶
type RunDevstarTemplateJobRequestXLanguage struct {
// contains filtered or unexported fields
}
func (RunDevstarTemplateJobRequestXLanguage) MarshalJSON ¶
func (c RunDevstarTemplateJobRequestXLanguage) MarshalJSON() ([]byte, error)
func (*RunDevstarTemplateJobRequestXLanguage) UnmarshalJSON ¶
func (c *RunDevstarTemplateJobRequestXLanguage) UnmarshalJSON(b []byte) error
func (RunDevstarTemplateJobRequestXLanguage) Value ¶ added in v0.0.90
func (c RunDevstarTemplateJobRequestXLanguage) Value() string
type RunDevstarTemplateJobRequestXLanguageEnum ¶
type RunDevstarTemplateJobRequestXLanguageEnum struct { ZH_CN RunDevstarTemplateJobRequestXLanguage EN_US RunDevstarTemplateJobRequestXLanguage }
func GetRunDevstarTemplateJobRequestXLanguageEnum ¶
func GetRunDevstarTemplateJobRequestXLanguageEnum() RunDevstarTemplateJobRequestXLanguageEnum
type RunDevstarTemplateJobResponse ¶
type RunDevstarTemplateJobResponse struct { // 任务id。 JobId *string `json:"job_id,omitempty"` // 文件列表。 FileList *[]FileTreeNode `json:"file_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunDevstarTemplateJobResponse) String ¶
func (o RunDevstarTemplateJobResponse) String() string
type ShowApplicationDependentResourcesRequest ¶ added in v0.0.73
type ShowApplicationDependentResourcesRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ShowApplicationDependentResourcesRequestXLanguage `json:"X-Language,omitempty"` // 应用id ApplicationId string `json:"application_id"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ShowApplicationDependentResourcesRequest) String ¶ added in v0.0.73
func (o ShowApplicationDependentResourcesRequest) String() string
type ShowApplicationDependentResourcesRequestXLanguage ¶ added in v0.0.73
type ShowApplicationDependentResourcesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowApplicationDependentResourcesRequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c ShowApplicationDependentResourcesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowApplicationDependentResourcesRequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *ShowApplicationDependentResourcesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowApplicationDependentResourcesRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowApplicationDependentResourcesRequestXLanguage) Value() string
type ShowApplicationDependentResourcesRequestXLanguageEnum ¶ added in v0.0.73
type ShowApplicationDependentResourcesRequestXLanguageEnum struct { ZH_CN ShowApplicationDependentResourcesRequestXLanguage EN_US ShowApplicationDependentResourcesRequestXLanguage }
func GetShowApplicationDependentResourcesRequestXLanguageEnum ¶ added in v0.0.73
func GetShowApplicationDependentResourcesRequestXLanguageEnum() ShowApplicationDependentResourcesRequestXLanguageEnum
type ShowApplicationDependentResourcesResponse ¶ added in v0.0.73
type ShowApplicationDependentResourcesResponse struct { // 依赖云资源信息 DependentServices *[]ResouceInfo `json:"dependent_services,omitempty"` // 资源总个数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApplicationDependentResourcesResponse) String ¶ added in v0.0.73
func (o ShowApplicationDependentResourcesResponse) String() string
type ShowApplicationReleaseRepositoriesRequest ¶ added in v0.0.73
type ShowApplicationReleaseRepositoriesRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ShowApplicationReleaseRepositoriesRequestXLanguage `json:"X-Language,omitempty"` // 应用id ApplicationId string `json:"application_id"` // 父id,仅在仓库类型为ReleaseMan需要 ParentId *string `json:"parent_id,omitempty"` // 搜索关键字,支持按名称搜索,默认null Keyword *string `json:"keyword,omitempty"` // 每页显示的条目数量,默认10 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询,默认0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ShowApplicationReleaseRepositoriesRequest) String ¶ added in v0.0.73
func (o ShowApplicationReleaseRepositoriesRequest) String() string
type ShowApplicationReleaseRepositoriesRequestXLanguage ¶ added in v0.0.73
type ShowApplicationReleaseRepositoriesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowApplicationReleaseRepositoriesRequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c ShowApplicationReleaseRepositoriesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowApplicationReleaseRepositoriesRequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *ShowApplicationReleaseRepositoriesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowApplicationReleaseRepositoriesRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowApplicationReleaseRepositoriesRequestXLanguage) Value() string
type ShowApplicationReleaseRepositoriesRequestXLanguageEnum ¶ added in v0.0.73
type ShowApplicationReleaseRepositoriesRequestXLanguageEnum struct { ZH_CN ShowApplicationReleaseRepositoriesRequestXLanguage EN_US ShowApplicationReleaseRepositoriesRequestXLanguage }
func GetShowApplicationReleaseRepositoriesRequestXLanguageEnum ¶ added in v0.0.73
func GetShowApplicationReleaseRepositoriesRequestXLanguageEnum() ShowApplicationReleaseRepositoriesRequestXLanguageEnum
type ShowApplicationReleaseRepositoriesResponse ¶ added in v0.0.73
type ShowApplicationReleaseRepositoriesResponse struct { // 软件包列表 ReleaseRepositories *[]ReleaseRepository `json:"release_repositories,omitempty"` // 软件包总条数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApplicationReleaseRepositoriesResponse) String ¶ added in v0.0.73
func (o ShowApplicationReleaseRepositoriesResponse) String() string
type ShowApplicationResDeleteStatusRequest ¶ added in v0.0.73
type ShowApplicationResDeleteStatusRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ShowApplicationResDeleteStatusRequestXLanguage `json:"X-Language,omitempty"` // 应用id ApplicationId string `json:"application_id"` }
Request Object
func (ShowApplicationResDeleteStatusRequest) String ¶ added in v0.0.73
func (o ShowApplicationResDeleteStatusRequest) String() string
type ShowApplicationResDeleteStatusRequestXLanguage ¶ added in v0.0.73
type ShowApplicationResDeleteStatusRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowApplicationResDeleteStatusRequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c ShowApplicationResDeleteStatusRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowApplicationResDeleteStatusRequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *ShowApplicationResDeleteStatusRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowApplicationResDeleteStatusRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowApplicationResDeleteStatusRequestXLanguage) Value() string
type ShowApplicationResDeleteStatusRequestXLanguageEnum ¶ added in v0.0.73
type ShowApplicationResDeleteStatusRequestXLanguageEnum struct { ZH_CN ShowApplicationResDeleteStatusRequestXLanguage EN_US ShowApplicationResDeleteStatusRequestXLanguage }
func GetShowApplicationResDeleteStatusRequestXLanguageEnum ¶ added in v0.0.73
func GetShowApplicationResDeleteStatusRequestXLanguageEnum() ShowApplicationResDeleteStatusRequestXLanguageEnum
type ShowApplicationResDeleteStatusResponse ¶ added in v0.0.73
type ShowApplicationResDeleteStatusResponse struct { // 代码仓删除状态,deleted:删除成功,failed:删除失败,going:正在删除中 RepoStatus *ShowApplicationResDeleteStatusResponseRepoStatus `json:"repo_status,omitempty"` // 流水线删除状态 PipelineStatus *[]PipelineDeleteStatus `json:"pipeline_status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApplicationResDeleteStatusResponse) String ¶ added in v0.0.73
func (o ShowApplicationResDeleteStatusResponse) String() string
type ShowApplicationResDeleteStatusResponseRepoStatus ¶ added in v0.0.73
type ShowApplicationResDeleteStatusResponseRepoStatus struct {
// contains filtered or unexported fields
}
func (ShowApplicationResDeleteStatusResponseRepoStatus) MarshalJSON ¶ added in v0.0.73
func (c ShowApplicationResDeleteStatusResponseRepoStatus) MarshalJSON() ([]byte, error)
func (*ShowApplicationResDeleteStatusResponseRepoStatus) UnmarshalJSON ¶ added in v0.0.73
func (c *ShowApplicationResDeleteStatusResponseRepoStatus) UnmarshalJSON(b []byte) error
func (ShowApplicationResDeleteStatusResponseRepoStatus) Value ¶ added in v0.0.90
func (c ShowApplicationResDeleteStatusResponseRepoStatus) Value() string
type ShowApplicationResDeleteStatusResponseRepoStatusEnum ¶ added in v0.0.73
type ShowApplicationResDeleteStatusResponseRepoStatusEnum struct { DELETED ShowApplicationResDeleteStatusResponseRepoStatus FAILED ShowApplicationResDeleteStatusResponseRepoStatus GOING ShowApplicationResDeleteStatusResponseRepoStatus }
func GetShowApplicationResDeleteStatusResponseRepoStatusEnum ¶ added in v0.0.73
func GetShowApplicationResDeleteStatusResponseRepoStatusEnum() ShowApplicationResDeleteStatusResponseRepoStatusEnum
type ShowApplicationV3Request ¶ added in v0.0.73
type ShowApplicationV3Request struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ShowApplicationV3RequestXLanguage `json:"X-Language,omitempty"` // 应用id ApplicationId string `json:"application_id"` }
Request Object
func (ShowApplicationV3Request) String ¶ added in v0.0.73
func (o ShowApplicationV3Request) String() string
type ShowApplicationV3RequestXLanguage ¶ added in v0.0.73
type ShowApplicationV3RequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowApplicationV3RequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c ShowApplicationV3RequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowApplicationV3RequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *ShowApplicationV3RequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowApplicationV3RequestXLanguage) Value ¶ added in v0.0.90
func (c ShowApplicationV3RequestXLanguage) Value() string
type ShowApplicationV3RequestXLanguageEnum ¶ added in v0.0.73
type ShowApplicationV3RequestXLanguageEnum struct { ZH_CN ShowApplicationV3RequestXLanguage EN_US ShowApplicationV3RequestXLanguage }
func GetShowApplicationV3RequestXLanguageEnum ¶ added in v0.0.73
func GetShowApplicationV3RequestXLanguageEnum() ShowApplicationV3RequestXLanguageEnum
type ShowApplicationV3Response ¶ added in v0.0.73
type ShowApplicationV3Response struct { // 应用id Id *string `json:"id,omitempty"` // 应用名称 Name string `json:"name"` // 应用描述 Description *string `json:"description,omitempty"` // 区域id RegionId string `json:"region_id"` // 区域名称 RegionName string `json:"region_name"` // 所属项目id ProjectId string `json:"project_id"` // 项目名称 ProjectName string `json:"project_name"` // 应用图标 Icon *string `json:"icon,omitempty"` // 流水线列表 PipelineCreationResult *[]PipelineCreationResult `json:"pipeline_creation_result,omitempty"` RepositoryCreationResult *RepositoryCreationResult `json:"repository_creation_result,omitempty"` // 环境信息 EnvironmentCreationResult *[]string `json:"environment_creation_result,omitempty"` // 模板类型 TemplateTypes *[]TemplateType `json:"template_types,omitempty"` // 模板部署信息 TemplateDeployment *string `json:"template_deployment,omitempty"` // 部署类型, function:函数部署,cci:cci容器部署,ServiceStage(Jar):ServiceStage jar包部署,ServiceStage(Docker):ServiceStage Docker容器部署,none不支持部署 DeployType *ShowApplicationV3ResponseDeployType `json:"deploy_type,omitempty"` // 创建者名称 CreatorName *string `json:"creator_name,omitempty"` // 创建时间 CreatedAt *string `json:"created_at,omitempty"` // 更新时间 UpdatedAt *string `json:"updated_at,omitempty"` // 应用版本号 Version *string `json:"version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApplicationV3Response) String ¶ added in v0.0.73
func (o ShowApplicationV3Response) String() string
type ShowApplicationV3ResponseDeployType ¶ added in v0.0.73
type ShowApplicationV3ResponseDeployType struct {
// contains filtered or unexported fields
}
func (ShowApplicationV3ResponseDeployType) MarshalJSON ¶ added in v0.0.73
func (c ShowApplicationV3ResponseDeployType) MarshalJSON() ([]byte, error)
func (*ShowApplicationV3ResponseDeployType) UnmarshalJSON ¶ added in v0.0.73
func (c *ShowApplicationV3ResponseDeployType) UnmarshalJSON(b []byte) error
func (ShowApplicationV3ResponseDeployType) Value ¶ added in v0.0.90
func (c ShowApplicationV3ResponseDeployType) Value() string
type ShowApplicationV3ResponseDeployTypeEnum ¶ added in v0.0.73
type ShowApplicationV3ResponseDeployTypeEnum struct { FUNCTION ShowApplicationV3ResponseDeployType CCI ShowApplicationV3ResponseDeployType SERVICE_STAGE_JAR ShowApplicationV3ResponseDeployType SERVICE_STAGE_DOCKER ShowApplicationV3ResponseDeployType NONE ShowApplicationV3ResponseDeployType }
func GetShowApplicationV3ResponseDeployTypeEnum ¶ added in v0.0.73
func GetShowApplicationV3ResponseDeployTypeEnum() ShowApplicationV3ResponseDeployTypeEnum
type ShowDeploymentJobsRequest ¶ added in v0.0.73
type ShowDeploymentJobsRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ShowDeploymentJobsRequestXLanguage `json:"X-Language,omitempty"` // 应用id ApplicationId string `json:"application_id"` // 环境标识,从 [应用详情接口](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=DevStar&api=ShowApplication) 返回报文中的环境信息获取。 EnvironmentTag string `json:"environment_tag"` }
Request Object
func (ShowDeploymentJobsRequest) String ¶ added in v0.0.73
func (o ShowDeploymentJobsRequest) String() string
type ShowDeploymentJobsRequestXLanguage ¶ added in v0.0.73
type ShowDeploymentJobsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowDeploymentJobsRequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c ShowDeploymentJobsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowDeploymentJobsRequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *ShowDeploymentJobsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowDeploymentJobsRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowDeploymentJobsRequestXLanguage) Value() string
type ShowDeploymentJobsRequestXLanguageEnum ¶ added in v0.0.73
type ShowDeploymentJobsRequestXLanguageEnum struct { ZH_CN ShowDeploymentJobsRequestXLanguage EN_US ShowDeploymentJobsRequestXLanguage }
func GetShowDeploymentJobsRequestXLanguageEnum ¶ added in v0.0.73
func GetShowDeploymentJobsRequestXLanguageEnum() ShowDeploymentJobsRequestXLanguageEnum
type ShowDeploymentJobsResponse ¶ added in v0.0.73
type ShowDeploymentJobsResponse struct { // 部署任务编号 Id *int32 `json:"id,omitempty"` // 任务ID JobId *string `json:"job_id,omitempty"` // 部署状态,-2:环境准备未就绪 -1 资源准备就绪 0 部署中 1:成功 2:失败 Status *int32 `json:"status,omitempty"` // 访问地址 Address *string `json:"address,omitempty"` // 部署参数 DeployParameters *string `json:"deploy_parameters,omitempty"` // 部署耗时 Time *int32 `json:"time,omitempty"` // 创建人 CreatorName *string `json:"creator_name,omitempty"` // 创建时间 CreatedTime *string `json:"created_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDeploymentJobsResponse) String ¶ added in v0.0.73
func (o ShowDeploymentJobsResponse) String() string
type ShowJobDetailRequest ¶
type ShowJobDetailRequest struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *ShowJobDetailRequestXLanguage `json:"X-Language,omitempty"` // 任务 ID: 可以通过调用 RunDevstarTemplateJob 返回结果获取 JobId string `json:"job_id"` }
Request Object
func (ShowJobDetailRequest) String ¶
func (o ShowJobDetailRequest) String() string
type ShowJobDetailRequestXLanguage ¶
type ShowJobDetailRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowJobDetailRequestXLanguage) MarshalJSON ¶
func (c ShowJobDetailRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowJobDetailRequestXLanguage) UnmarshalJSON ¶
func (c *ShowJobDetailRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowJobDetailRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowJobDetailRequestXLanguage) Value() string
type ShowJobDetailRequestXLanguageEnum ¶
type ShowJobDetailRequestXLanguageEnum struct { ZH_CN ShowJobDetailRequestXLanguage EN_US ShowJobDetailRequestXLanguage }
func GetShowJobDetailRequestXLanguageEnum ¶
func GetShowJobDetailRequestXLanguageEnum() ShowJobDetailRequestXLanguageEnum
type ShowJobDetailResponse ¶
type ShowJobDetailResponse struct { // 任务的id。 Id *string `json:"id,omitempty"` // 任务的名称。 Name *string `json:"name,omitempty"` // 任务的状态。 JobStatus *interface{} `json:"job_status,omitempty"` // 任务结果信息。 JobResult *string `json:"job_result,omitempty"` // 任务显示类型,页面显示使用字段 ShowType *string `json:"show_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowJobDetailResponse) String ¶
func (o ShowJobDetailResponse) String() string
type ShowPipelineLastStatusV2Request ¶ added in v0.0.73
type ShowPipelineLastStatusV2Request struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ShowPipelineLastStatusV2RequestXLanguage `json:"X-Language,omitempty"` // 流水线ID PipelineId string `json:"pipeline_id"` }
Request Object
func (ShowPipelineLastStatusV2Request) String ¶ added in v0.0.73
func (o ShowPipelineLastStatusV2Request) String() string
type ShowPipelineLastStatusV2RequestXLanguage ¶ added in v0.0.73
type ShowPipelineLastStatusV2RequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowPipelineLastStatusV2RequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c ShowPipelineLastStatusV2RequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowPipelineLastStatusV2RequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *ShowPipelineLastStatusV2RequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowPipelineLastStatusV2RequestXLanguage) Value ¶ added in v0.0.90
func (c ShowPipelineLastStatusV2RequestXLanguage) Value() string
type ShowPipelineLastStatusV2RequestXLanguageEnum ¶ added in v0.0.73
type ShowPipelineLastStatusV2RequestXLanguageEnum struct { ZH_CN ShowPipelineLastStatusV2RequestXLanguage EN_US ShowPipelineLastStatusV2RequestXLanguage }
func GetShowPipelineLastStatusV2RequestXLanguageEnum ¶ added in v0.0.73
func GetShowPipelineLastStatusV2RequestXLanguageEnum() ShowPipelineLastStatusV2RequestXLanguageEnum
type ShowPipelineLastStatusV2Response ¶ added in v0.0.73
type ShowPipelineLastStatusV2Response struct { // 流水线id PipelineId *string `json:"pipeline_id,omitempty"` // 流水线名称 Name *string `json:"name,omitempty"` // 执行状态 Status *string `json:"status,omitempty"` // 执行结果 Result *string `json:"result,omitempty"` // 执行人 Executor *string `json:"executor,omitempty"` // 启动时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 FinishTime *string `json:"finish_time,omitempty"` // 运行详情链接 DetailUrl *string `json:"detail_url,omitempty"` // 编辑链接 ModifyUrl *string `json:"modify_url,omitempty"` // 流水线执行序号 BuildId *string `json:"build_id,omitempty"` // 阶段信息 Stages *[]PipelineStageResp `json:"stages,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPipelineLastStatusV2Response) String ¶ added in v0.0.73
func (o ShowPipelineLastStatusV2Response) String() string
type ShowRepositoryByCloudIdeRequest ¶ added in v0.0.76
type ShowRepositoryByCloudIdeRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ShowRepositoryByCloudIdeRequestXLanguage `json:"X-Language,omitempty"` // 仓库id。 RepositoryId string `json:"repository_id"` // 仓库下载地址。 RepositorySshUrl string `json:"repository_ssh_url"` // 区域ID,目前仅支持北京四:cn-north-4及北京一:cn-north-1。 RegionId *string `json:"region_id,omitempty"` // 工作空间名称前缀,仅在is_open_last为false时生效,由用户自定义,支持大小写字母、中文、_、-,长度1-256。 SpacePrefix *string `json:"space_prefix,omitempty"` // 是否打开上一次的工作空间,true表示打开上一次工作空间,如果没有上一次工作空间会返回空,false代表打开一个全新的工作空间。 IsOpenLast *bool `json:"is_open_last,omitempty"` // 是否创建 CloudIDE 免费实例链接,true表示创建一个 CloudIDE 免费实例链接,false表示创建一个 CloudIDE 收费实例链接。 IsFree *bool `json:"is_free,omitempty"` }
Request Object
func (ShowRepositoryByCloudIdeRequest) String ¶ added in v0.0.76
func (o ShowRepositoryByCloudIdeRequest) String() string
type ShowRepositoryByCloudIdeRequestXLanguage ¶ added in v0.0.76
type ShowRepositoryByCloudIdeRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowRepositoryByCloudIdeRequestXLanguage) MarshalJSON ¶ added in v0.0.76
func (c ShowRepositoryByCloudIdeRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowRepositoryByCloudIdeRequestXLanguage) UnmarshalJSON ¶ added in v0.0.76
func (c *ShowRepositoryByCloudIdeRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowRepositoryByCloudIdeRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowRepositoryByCloudIdeRequestXLanguage) Value() string
type ShowRepositoryByCloudIdeRequestXLanguageEnum ¶ added in v0.0.76
type ShowRepositoryByCloudIdeRequestXLanguageEnum struct { ZH_CN ShowRepositoryByCloudIdeRequestXLanguage EN_US ShowRepositoryByCloudIdeRequestXLanguage }
func GetShowRepositoryByCloudIdeRequestXLanguageEnum ¶ added in v0.0.76
func GetShowRepositoryByCloudIdeRequestXLanguageEnum() ShowRepositoryByCloudIdeRequestXLanguageEnum
type ShowRepositoryByCloudIdeResponse ¶ added in v0.0.76
type ShowRepositoryByCloudIdeResponse struct { // CloudIde打开链接:https://xxx/cloudide/loading?instanceId=xxx&scmUrl=xxx Url *string `json:"url,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRepositoryByCloudIdeResponse) String ¶ added in v0.0.76
func (o ShowRepositoryByCloudIdeResponse) String() string
type ShowRepositoryStatisticalDataV2Request ¶ added in v0.0.73
type ShowRepositoryStatisticalDataV2Request struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *ShowRepositoryStatisticalDataV2RequestXLanguage `json:"X-Language,omitempty"` // 代码仓库id RepositoryId string `json:"repository_id"` }
Request Object
func (ShowRepositoryStatisticalDataV2Request) String ¶ added in v0.0.73
func (o ShowRepositoryStatisticalDataV2Request) String() string
type ShowRepositoryStatisticalDataV2RequestXLanguage ¶ added in v0.0.73
type ShowRepositoryStatisticalDataV2RequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowRepositoryStatisticalDataV2RequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c ShowRepositoryStatisticalDataV2RequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowRepositoryStatisticalDataV2RequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *ShowRepositoryStatisticalDataV2RequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowRepositoryStatisticalDataV2RequestXLanguage) Value ¶ added in v0.0.90
func (c ShowRepositoryStatisticalDataV2RequestXLanguage) Value() string
type ShowRepositoryStatisticalDataV2RequestXLanguageEnum ¶ added in v0.0.73
type ShowRepositoryStatisticalDataV2RequestXLanguageEnum struct { ZH_CN ShowRepositoryStatisticalDataV2RequestXLanguage EN_US ShowRepositoryStatisticalDataV2RequestXLanguage }
func GetShowRepositoryStatisticalDataV2RequestXLanguageEnum ¶ added in v0.0.73
func GetShowRepositoryStatisticalDataV2RequestXLanguageEnum() ShowRepositoryStatisticalDataV2RequestXLanguageEnum
type ShowRepositoryStatisticalDataV2Response ¶ added in v0.0.73
type ShowRepositoryStatisticalDataV2Response struct { // 代码仓的名称 Name *string `json:"name,omitempty"` // 提交数量 CommitNumber *int32 `json:"commit_number,omitempty"` // Git库容量 GitRepoCap *string `json:"git_repo_cap,omitempty"` // 近一次提交时间 LastCommitTime *string `json:"last_commit_time,omitempty"` // 代码行数 CodeLines *int32 `json:"code_lines,omitempty"` // 分支数量 BranchNumber *int32 `json:"branch_number,omitempty"` // 代码仓路径url DetailUrl *string `json:"detail_url,omitempty"` // 代码仓下载url DownloadUrl *string `json:"download_url,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRepositoryStatisticalDataV2Response) String ¶ added in v0.0.73
func (o ShowRepositoryStatisticalDataV2Response) String() string
type ShowTemplateDetailRequest ¶
type ShowTemplateDetailRequest struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *ShowTemplateDetailRequestXLanguage `json:"X-Language,omitempty"` // 模板ID,通过查询模板列表接口可获取相应模板ID。 TemplateId string `json:"template_id"` }
Request Object
func (ShowTemplateDetailRequest) String ¶
func (o ShowTemplateDetailRequest) String() string
type ShowTemplateDetailRequestXLanguage ¶
type ShowTemplateDetailRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowTemplateDetailRequestXLanguage) MarshalJSON ¶
func (c ShowTemplateDetailRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowTemplateDetailRequestXLanguage) UnmarshalJSON ¶
func (c *ShowTemplateDetailRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowTemplateDetailRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowTemplateDetailRequestXLanguage) Value() string
type ShowTemplateDetailRequestXLanguageEnum ¶
type ShowTemplateDetailRequestXLanguageEnum struct { ZH_CN ShowTemplateDetailRequestXLanguage EN_US ShowTemplateDetailRequestXLanguage }
func GetShowTemplateDetailRequestXLanguageEnum ¶
func GetShowTemplateDetailRequestXLanguageEnum() ShowTemplateDetailRequestXLanguageEnum
type ShowTemplateDetailResponse ¶
type ShowTemplateDetailResponse struct { // 模板的id。 Id *string `json:"id,omitempty"` // 模板的名称。 Title *string `json:"title,omitempty"` // 模板的描述信息。 Description *string `json:"description,omitempty"` // 模板关联的region host id。 RegionId *string `json:"region_id,omitempty"` // 模板关联的repo id。 RepostoryId *string `json:"repostory_id,omitempty"` // 模板https下载路径。 CodeUrl *string `json:"code_url,omitempty"` // 模板ssh下载路径。 SshUrl *string `json:"ssh_url,omitempty"` // 项目id。 ProjectUuid *string `json:"project_uuid,omitempty"` // 模板状态。 Status *int32 `json:"status,omitempty"` // 源数据信息: - key:元数据标识 - defaultValue:用户输入值的默认值 - isShow:前台界面组件是否展示该元数据 - isProjectName:是否使用作为项目名称 - label:前台界面组件展示名称 - type:前台界面组件类型 - helpText:前台界面组件帮助文本 - readOnly:前台界面组件是否可修改 - required:前台界面组件是否展示必填 - regType:该元数据进行正则校验类型;简化模板编码使用 - regPattern:该元数据对应js语法正则表达式 - regTip:该元数据正则校验提示信息 - visibleRule:该元数据可见规则 - isRequired:是否必填 - isReadOnly:是否只读 - options:option对象集合 - displayName:前台界面展示字符串 - value:该选项值 - eventOnchange:联动属性集合 - associatedProperty:被关联Property的key值 - associatedValue:被关联的value - fold:是否折叠 - show:是否展示该Property Properties *[]interface{} `json:"properties,omitempty"` // dependency信息: - id:依赖全局唯一标识 - name:依赖展示名称 - description:依赖展示描述 - recommended:是否推荐使用该依赖 - versionProperty:该依赖版本被关联Property的key值 - versionRange:该依赖版本适用范围 - groupName:分组名称 - items:分组列表 Dependencies *[]interface{} `json:"dependencies,omitempty"` // dependency类型: - 0:分组 - 1:不分组 - null:无分组信息 DependencyType *string `json:"dependency_type,omitempty"` // 部署信息: - param:参数对象 - build:构建类型 - runtime:函数运行时 - handler:函数执行入口 - outputFile:构建产物文件路径 - target:部署环境 Deployment *interface{} `json:"deployment,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTemplateDetailResponse) String ¶
func (o ShowTemplateDetailResponse) String() string
type ShowTemplateFileRequest ¶
type ShowTemplateFileRequest struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *ShowTemplateFileRequestXLanguage `json:"X-Language,omitempty"` // 模板ID,通过查询模板列表接口可获取相应的模板ID。 TemplateId string `json:"template_id"` // 文件相对路径,基于当前根目录的相对文件路径,例如获取HELP.md文件内容,则文件相对路径为“template-resources/file/HELP.md”。 FilePath string `json:"file_path"` // 读取文件来源,缺省值为“source-pachage”。 枚举值: - source-package: 源文件压缩包 - introduction: 说明文件 Type *ShowTemplateFileRequestType `json:"type,omitempty"` }
Request Object
func (ShowTemplateFileRequest) String ¶
func (o ShowTemplateFileRequest) String() string
type ShowTemplateFileRequestType ¶
type ShowTemplateFileRequestType struct {
// contains filtered or unexported fields
}
func (ShowTemplateFileRequestType) MarshalJSON ¶
func (c ShowTemplateFileRequestType) MarshalJSON() ([]byte, error)
func (*ShowTemplateFileRequestType) UnmarshalJSON ¶
func (c *ShowTemplateFileRequestType) UnmarshalJSON(b []byte) error
func (ShowTemplateFileRequestType) Value ¶ added in v0.0.90
func (c ShowTemplateFileRequestType) Value() string
type ShowTemplateFileRequestTypeEnum ¶
type ShowTemplateFileRequestTypeEnum struct { SOURCE_PACKAGE ShowTemplateFileRequestType INTRODUCTION ShowTemplateFileRequestType }
func GetShowTemplateFileRequestTypeEnum ¶
func GetShowTemplateFileRequestTypeEnum() ShowTemplateFileRequestTypeEnum
type ShowTemplateFileRequestXLanguage ¶
type ShowTemplateFileRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowTemplateFileRequestXLanguage) MarshalJSON ¶
func (c ShowTemplateFileRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowTemplateFileRequestXLanguage) UnmarshalJSON ¶
func (c *ShowTemplateFileRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowTemplateFileRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowTemplateFileRequestXLanguage) Value() string
type ShowTemplateFileRequestXLanguageEnum ¶
type ShowTemplateFileRequestXLanguageEnum struct { ZH_CN ShowTemplateFileRequestXLanguage EN_US ShowTemplateFileRequestXLanguage }
func GetShowTemplateFileRequestXLanguageEnum ¶
func GetShowTemplateFileRequestXLanguageEnum() ShowTemplateFileRequestXLanguageEnum
type ShowTemplateFileResponse ¶
type ShowTemplateFileResponse struct { // 文件内容(返回的文件内容为encoding指定的编码格式编码后的内容)。 Content *string `json:"content,omitempty"` // 内容编码格式(固定base64)。 Encoding *string `json:"encoding,omitempty"` // 文件名。 FileName *string `json:"file_name,omitempty"` // 文件相对路径。 FilePath *string `json:"file_path,omitempty"` // 文件类型。 FileType *string `json:"file_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTemplateFileResponse) String ¶
func (o ShowTemplateFileResponse) String() string
type ShowTemplateV3Request ¶
type ShowTemplateV3Request struct { // 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文 XLanguage *ShowTemplateV3RequestXLanguage `json:"X-Language,omitempty"` // 模板ID,通过查询模板列表接口可获取相应的模板ID。 TemplateId string `json:"template_id"` }
Request Object
func (ShowTemplateV3Request) String ¶
func (o ShowTemplateV3Request) String() string
type ShowTemplateV3RequestXLanguage ¶
type ShowTemplateV3RequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowTemplateV3RequestXLanguage) MarshalJSON ¶
func (c ShowTemplateV3RequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowTemplateV3RequestXLanguage) UnmarshalJSON ¶
func (c *ShowTemplateV3RequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowTemplateV3RequestXLanguage) Value ¶ added in v0.0.90
func (c ShowTemplateV3RequestXLanguage) Value() string
type ShowTemplateV3RequestXLanguageEnum ¶
type ShowTemplateV3RequestXLanguageEnum struct { ZH_CN ShowTemplateV3RequestXLanguage EN_US ShowTemplateV3RequestXLanguage }
func GetShowTemplateV3RequestXLanguageEnum ¶
func GetShowTemplateV3RequestXLanguageEnum() ShowTemplateV3RequestXLanguageEnum
type ShowTemplateV3Response ¶
type ShowTemplateV3Response struct { // 模板id。 Id *string `json:"id,omitempty"` // 模板名称。 Title *string `json:"title,omitempty"` // 模板描述。 Description *string `json:"description,omitempty"` // 模板创建者id。 CreatorId *string `json:"creator_id,omitempty"` // 模板创建者,有别名返回别名。 Creator *string `json:"creator,omitempty"` // 模板创建者,有别名返回别名。 Nickname *string `json:"nickname,omitempty"` // 模板评分(点赞数)。 Score *int32 `json:"score,omitempty"` // 模板状态: - 0:审核中 - 1:已上架 - 2:未上架(已下架) - 3:未上架(合规检查不通过) - 4:未上架(待上架) - 5:已删除 Status *int32 `json:"status,omitempty"` // 访问量。 ViewCount *int32 `json:"view_count,omitempty"` // 引用量。 UsageCount *int32 `json:"usage_count,omitempty"` // 创建时间。 CreatedAt *string `json:"created_at,omitempty"` // 更新时间。 UpdatedAt *string `json:"updated_at,omitempty"` // 上架时间。 PublishedAt *string `json:"published_at,omitempty"` // 点赞状态: - 1:点赞 - 0:未点赞 FavoriteState *int32 `json:"favorite_state,omitempty"` // 模板相关联的所有维护人账号名称。 Maintainers *[]string `json:"maintainers,omitempty"` // 平台来源: - 0:codelabs - 1:devstar PlatformSource *int32 `json:"platform_source,omitempty"` // 模板自定义参数列表。 Properties *interface{} `json:"properties,omitempty"` // dependency信息。 Dependencies *[]interface{} `json:"dependencies,omitempty"` // dependency类型: - '0':非分组的依赖类型 - '1':分组依赖类型 DependencyType *string `json:"dependency_type,omitempty"` // 代码存储位置: - 0:codehub - 1:Obs - 2:efs - 3:网络公开代码仓 Store *int32 `json:"store,omitempty"` // 获取代码模版所需的信息。 StoreInfo *string `json:"store_info,omitempty"` // 模板文件解压缩之后的大小(单位:KB)。 FileSize *int32 `json:"file_size,omitempty"` // 部署信息。 Deployment *interface{} `json:"deployment,omitempty"` // 动、静态代码模板标识: - 0:动态模板codetemplate - 1:静态模板codesample IsStatic *int32 `json:"is_static,omitempty"` // 模板关联更新态Id。 UpdateId *string `json:"update_id,omitempty"` // 模板标签。 Topic *[]TopicCategory `json:"topic,omitempty"` // 自定义标签。 Tags *[]TagInfo `json:"tags,omitempty"` // 模板部署支持方式信息 Dependents *[]Dependent `json:"dependents,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTemplateV3Response) String ¶
func (o ShowTemplateV3Response) String() string
type StartPipelineRequest ¶ added in v0.0.73
type StartPipelineRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *StartPipelineRequestXLanguage `json:"X-Language,omitempty"` // 流水线ID PipelineId string `json:"pipeline_id"` }
Request Object
func (StartPipelineRequest) String ¶ added in v0.0.73
func (o StartPipelineRequest) String() string
type StartPipelineRequestXLanguage ¶ added in v0.0.73
type StartPipelineRequestXLanguage struct {
// contains filtered or unexported fields
}
func (StartPipelineRequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c StartPipelineRequestXLanguage) MarshalJSON() ([]byte, error)
func (*StartPipelineRequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *StartPipelineRequestXLanguage) UnmarshalJSON(b []byte) error
func (StartPipelineRequestXLanguage) Value ¶ added in v0.0.90
func (c StartPipelineRequestXLanguage) Value() string
type StartPipelineRequestXLanguageEnum ¶ added in v0.0.73
type StartPipelineRequestXLanguageEnum struct { ZH_CN StartPipelineRequestXLanguage EN_US StartPipelineRequestXLanguage }
func GetStartPipelineRequestXLanguageEnum ¶ added in v0.0.73
func GetStartPipelineRequestXLanguageEnum() StartPipelineRequestXLanguageEnum
type StartPipelineResponse ¶ added in v0.0.73
type StartPipelineResponse struct { // 流水线id Id *string `json:"id,omitempty"` // 流水线操作成功 Result *StartPipelineResponseResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StartPipelineResponse) String ¶ added in v0.0.73
func (o StartPipelineResponse) String() string
type StartPipelineResponseResult ¶ added in v0.0.73
type StartPipelineResponseResult struct {
// contains filtered or unexported fields
}
func (StartPipelineResponseResult) MarshalJSON ¶ added in v0.0.73
func (c StartPipelineResponseResult) MarshalJSON() ([]byte, error)
func (*StartPipelineResponseResult) UnmarshalJSON ¶ added in v0.0.73
func (c *StartPipelineResponseResult) UnmarshalJSON(b []byte) error
func (StartPipelineResponseResult) Value ¶ added in v0.0.90
func (c StartPipelineResponseResult) Value() string
type StartPipelineResponseResultEnum ¶ added in v0.0.73
type StartPipelineResponseResultEnum struct { SUCCESS StartPipelineResponseResult FAILED StartPipelineResponseResult }
func GetStartPipelineResponseResultEnum ¶ added in v0.0.73
func GetStartPipelineResponseResultEnum() StartPipelineResponseResultEnum
type TagInfo ¶
type TemplateInfo ¶
type TemplateInfo struct { // 模板id。 Id *string `json:"id,omitempty"` // 模板名。 Title *string `json:"title,omitempty"` // 模板描述。 Description *string `json:"description,omitempty"` // 模板关联的所有云服务(产品短名)。 Productshorts *[]string `json:"productshorts,omitempty"` // 模板关联的云产品。 Products *[]TemplateProductExt `json:"products,omitempty"` // 模板标签。 Topic *[]TopicCategory `json:"topic,omitempty"` // 模板创建者id。 CreatorId *string `json:"creator_id,omitempty"` // 模板创建者,有别名返回别名。 Creator *string `json:"creator,omitempty"` // 模板创建者,有别名返回别名。 Nickname *string `json:"nickname,omitempty"` // 模板评分(点赞数)。 Score *int32 `json:"score,omitempty"` // 模板标签(new、hot等)。 Label *string `json:"label,omitempty"` // 代码存储位置。 Store *int32 `json:"store,omitempty"` // 获取代码模版所需的信息。 StoreInfo *string `json:"store_info,omitempty"` // 模板状态: - 0:审核中 - 1:已上架 - 2:未上架(已下架) - 3:未上架(合规检查不通过) - 4:未上架(待上架) - 5:已删除 Status *int32 `json:"status,omitempty"` // 访问量。 ViewCount *int32 `json:"view_count,omitempty"` // 引用量。 UsageCount *int32 `json:"usage_count,omitempty"` // 创建时间。 CreatedAt *string `json:"created_at,omitempty"` // 更新时间。 UpdatedAt *string `json:"updated_at,omitempty"` // 模板上架时间。 PublishedAt *string `json:"published_at,omitempty"` // 点赞状态: - 1:点赞 - 0:未点赞 FavoriteState *int32 `json:"favorite_state,omitempty"` // 模板标签。 Tags *[]TagInfo `json:"tags,omitempty"` // 模板类型: - 0:doc - 1:code - 2:pipeline - 3:devops 四种 Type *int32 `json:"type,omitempty"` // 动、静态代码模板标识: - 0:动态模板codetemplate - 1:静态模板codesample IsStatic *int32 `json:"is_static,omitempty"` // 模板相关联的所有维护人账号名称。 Maintainers *[]string `json:"maintainers,omitempty"` PipelineTemplate *PipelineTemplateInfo `json:"pipeline_template,omitempty"` // 平台来源: - 0:codelabs - 1:devstar PlatformSource *int32 `json:"platform_source,omitempty"` // 相关文档,示例,帖子。 References *[]Reference `json:"references,omitempty"` // 模板自定义参数列表。 Properties *interface{} `json:"properties,omitempty"` // dependency信息。 Dependencies *[]interface{} `json:"dependencies,omitempty"` // dependency类型。 DependencyType *string `json:"dependency_type,omitempty"` // 关联论坛板块id。 ForumId *int32 `json:"forum_id,omitempty"` // 模板文件解压缩之后的大小(单位:KB)。 FileSize *int32 `json:"file_size,omitempty"` // 部署信息。 Deployment *interface{} `json:"deployment,omitempty"` // 模板关联更新态Id。 UpdateId *string `json:"update_id,omitempty"` // 是否支持使用CloudIDE运行源码。 IsSupportCloudide *bool `json:"is_support_cloudide,omitempty"` // 是否有消息 HasNotices *bool `json:"has_notices,omitempty"` // 模板部署方式依赖信息 Dependents *[]Dependent `json:"dependents,omitempty"` // 模板关联云服务。 DependentServices *string `json:"dependent_services,omitempty"` }
func (TemplateInfo) String ¶
func (o TemplateInfo) String() string
type TemplateJobInfo ¶
type TemplateJobInfo struct { // 应用名称 ApplicationName *string `json:"application_name,omitempty"` // 任务依赖的模板id TemplateId string `json:"template_id"` // 应用名称 ProjectName *string `json:"project_name,omitempty"` // 应用代码生成后的地址类型,目前支持0:codehub地址和1:压缩包下载地址 RepoType *int32 `json:"repo_type,omitempty"` // 应用的动态参数json Properties *interface{} `json:"properties,omitempty"` // 模板 dependency ID 集合 TemplateDependencies *[]string `json:"template_dependencies,omitempty"` RepoInfo *RepositoryInfo `json:"repo_info,omitempty"` }
func (TemplateJobInfo) String ¶
func (o TemplateJobInfo) String() string
type TemplateProductExt ¶
type TemplateProductExt struct { // 产品id。 Id *string `json:"id,omitempty"` // 产品短名。 Productshort *string `json:"productshort,omitempty"` // 产品名。 ProductName *string `json:"product_name,omitempty"` // 首页链接。 HomeLink *string `json:"home_link,omitempty"` // api调试链接。 ApiLink *string `json:"api_link,omitempty"` // sdk下载链接。 SdkLink *string `json:"sdk_link,omitempty"` // 文档链接。 DocLink *string `json:"doc_link,omitempty"` // logo链接。 LogoLink *string `json:"logo_link,omitempty"` }
func (TemplateProductExt) String ¶
func (o TemplateProductExt) String() string
type TemplateQuery ¶ added in v0.0.76
type TemplateQuery struct { // 模板分类数组。 Category *[]string `json:"category,omitempty"` // 搜索关键字,支持按名称和描述搜索,默认null。 Keyword *string `json:"keyword,omitempty"` // 排序字段。 SortKey *[]string `json:"sort_key,omitempty"` // 指定排序使用升序还是降序。 - asc 升序 - desc 降序 SortDir *[]string `json:"sort_dir,omitempty"` // 标签: - all:全部 - new:最新 - hot:热门 - recommend:推荐 Label *TemplateQueryLabel `json:"label,omitempty"` // 是否查询用户自己创建的模板,默认查所有模板。 MyTemplates *bool `json:"my_templates,omitempty"` // 查所有模板时只处理上架的;查用户模板,需支持按状态查询,状态: - 0:审核中 - 1:上架 - 2:下架 不传表示查所有的(默认) Status *int32 `json:"status,omitempty"` // 模板状态数组。 StatusArray *[]int32 `json:"status_array,omitempty"` // 是否查询有消息的模板,默认查所有模板。 HasNotices *bool `json:"has_notices,omitempty"` // 模板关联的云产品(产品短名)列表。 Productshorts *[]string `json:"productshorts,omitempty"` // 偏移量,表示从此偏移量开始查询,offset大于等于0。 Offset *int32 `json:"offset,omitempty"` // 每页的模板条数。 Limit *int32 `json:"limit,omitempty"` // 模板关联的自定义标签列表。 TagIds *[]string `json:"tag_ids,omitempty"` // 模板类型: - 0:doc - 1:code - 2:pipeline - 3:devops Types *[]int32 `json:"types,omitempty"` // 动、静态代码模板标识: - 0:动态模板codetemplate - 1:静态模板codesample IsStatic *int32 `json:"is_static,omitempty"` // 平台来源: - 0:codelabs - 1:devstar PlatformSource *[]int32 `json:"platform_source,omitempty"` // 模板关联的标签名称列表。 TagNames *[]string `json:"tag_names,omitempty"` }
func (TemplateQuery) String ¶ added in v0.0.76
func (o TemplateQuery) String() string
type TemplateQueryLabel ¶ added in v0.0.76
type TemplateQueryLabel struct {
// contains filtered or unexported fields
}
func (TemplateQueryLabel) MarshalJSON ¶ added in v0.0.76
func (c TemplateQueryLabel) MarshalJSON() ([]byte, error)
func (*TemplateQueryLabel) UnmarshalJSON ¶ added in v0.0.76
func (c *TemplateQueryLabel) UnmarshalJSON(b []byte) error
func (TemplateQueryLabel) Value ¶ added in v0.0.90
func (c TemplateQueryLabel) Value() string
type TemplateQueryLabelEnum ¶ added in v0.0.76
type TemplateQueryLabelEnum struct { ALL TemplateQueryLabel NEW TemplateQueryLabel HOT TemplateQueryLabel RECOMMEND TemplateQueryLabel }
func GetTemplateQueryLabelEnum ¶ added in v0.0.76
func GetTemplateQueryLabelEnum() TemplateQueryLabelEnum
type TemplateQueryV2 ¶
type TemplateQueryV2 struct { // 模板分类数组。 Category *[]string `json:"category,omitempty"` // 搜索关键字,支持按名称和描述搜索,默认null。 Keyword *string `json:"keyword,omitempty"` // 排序字段和排序顺序指定。比如: - desc(created_at):根据创建时间降序 - desc(usage_count):根据引用次数降序 SortBy *string `json:"sort_by,omitempty"` // 标签: - all:全部 - new:最新 - hot:热门 - recommend:推荐 Label *string `json:"label,omitempty"` // 是否查询用户自己创建的模板,默认查所有模板。 MyTemplates *bool `json:"my_templates,omitempty"` // 查所有模板时只处理上架的;查用户模板,需支持按状态查询,状态: - 0:审核中 - 1:上架 - 2:下架 不传表示查所有的(默认) Status *int32 `json:"status,omitempty"` // 模板状态数组。 StatusArray *[]int32 `json:"status_array,omitempty"` // 是否查询有消息的模板,默认查所有模板。 HasNotices *bool `json:"has_notices,omitempty"` // 模板关联的云产品(产品短名)列表。 Productshorts *[]string `json:"productshorts,omitempty"` // 偏移量,表示从此偏移量开始查询,offset大于等于0。 Offset *int32 `json:"offset,omitempty"` // 每页的模板条数。 Limit *int32 `json:"limit,omitempty"` // 模板关联的自定义标签列表。 TagIds *[]string `json:"tag_ids,omitempty"` // 模板类型: - 0:doc - 1:code - 2:pipeline - 3:devops Types *[]int32 `json:"types,omitempty"` // 动、静态代码模板标识: - 0:动态模板codetemplate - 1:静态模板codesample IsStatic *int32 `json:"is_static,omitempty"` // 平台来源: - 0:codelabs - 1:devstar PlatformSource *[]int32 `json:"platform_source,omitempty"` // 模板关联的标签名称列表。 TagNames *[]string `json:"tag_names,omitempty"` }
func (TemplateQueryV2) String ¶
func (o TemplateQueryV2) String() string
type TemplateSimpleInfo ¶
type TemplateSimpleInfo struct { // 模板id。 Id *string `json:"id,omitempty"` // 模板名。 Title *string `json:"title,omitempty"` // 模板描述。 Description *string `json:"description,omitempty"` }
func (TemplateSimpleInfo) String ¶
func (o TemplateSimpleInfo) String() string
type TemplateType ¶ added in v0.0.73
type TemplateType struct {
// contains filtered or unexported fields
}
func (TemplateType) MarshalJSON ¶ added in v0.0.73
func (c TemplateType) MarshalJSON() ([]byte, error)
func (*TemplateType) UnmarshalJSON ¶ added in v0.0.73
func (c *TemplateType) UnmarshalJSON(b []byte) error
func (TemplateType) Value ¶ added in v0.0.90
func (c TemplateType) Value() string
type TemplateTypeEnum ¶ added in v0.0.73
type TemplateTypeEnum struct { MOBILE TemplateType MICROSERVICE TemplateType WEB TemplateType FUNCTION TemplateType IOT TemplateType AI TemplateType OTHERS TemplateType NONE TemplateType }
func GetTemplateTypeEnum ¶ added in v0.0.73
func GetTemplateTypeEnum() TemplateTypeEnum
type TemplateViewHistory ¶
type TemplateViewHistory struct { // 模板的id。 TemplateId string `json:"template_id"` // 模板的名称。 TemplateTitle string `json:"template_title"` }
func (TemplateViewHistory) String ¶
func (o TemplateViewHistory) String() string
type TemplatesInfo ¶
type TemplatesInfo struct { // 模板ID列表。 TemplateIds []string `json:"template_ids"` // 平台来源: - 0:codelabs - 1:devstar PlatformSource int32 `json:"platform_source"` }
func (TemplatesInfo) String ¶
func (o TemplatesInfo) String() string
type TopicCategory ¶
type TopicCategory struct { // topic的id。 TopicId *string `json:"topic_id,omitempty"` // topic的名称。 TopicName *string `json:"topic_name,omitempty"` // topic对应的类别的id。 CategoryId *string `json:"category_id,omitempty"` // topic对应的类别的名称。 CategoryName *string `json:"category_name,omitempty"` }
func (TopicCategory) String ¶
func (o TopicCategory) String() string
type UpdateApplicationRequest ¶ added in v0.0.73
type UpdateApplicationRequest struct { // 语言类型 中文:zh-cn 英文:en-us XLanguage *UpdateApplicationRequestXLanguage `json:"X-Language,omitempty"` // 应用id ApplicationId string `json:"application_id"` Body *ApplicationModifyInfo `json:"body,omitempty"` }
Request Object
func (UpdateApplicationRequest) String ¶ added in v0.0.73
func (o UpdateApplicationRequest) String() string
type UpdateApplicationRequestXLanguage ¶ added in v0.0.73
type UpdateApplicationRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateApplicationRequestXLanguage) MarshalJSON ¶ added in v0.0.73
func (c UpdateApplicationRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateApplicationRequestXLanguage) UnmarshalJSON ¶ added in v0.0.73
func (c *UpdateApplicationRequestXLanguage) UnmarshalJSON(b []byte) error
func (UpdateApplicationRequestXLanguage) Value ¶ added in v0.0.90
func (c UpdateApplicationRequestXLanguage) Value() string
type UpdateApplicationRequestXLanguageEnum ¶ added in v0.0.73
type UpdateApplicationRequestXLanguageEnum struct { ZH_CN UpdateApplicationRequestXLanguage EN_US UpdateApplicationRequestXLanguage }
func GetUpdateApplicationRequestXLanguageEnum ¶ added in v0.0.73
func GetUpdateApplicationRequestXLanguageEnum() UpdateApplicationRequestXLanguageEnum
type UpdateApplicationResponse ¶ added in v0.0.73
type UpdateApplicationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateApplicationResponse) String ¶ added in v0.0.73
func (o UpdateApplicationResponse) String() string
Source Files ¶
- model_application_base_v3.go
- model_application_modify_info.go
- model_application_v3.go
- model_cci_deployment_jobs_param.go
- model_check_repository_duplicate_name_request.go
- model_check_repository_duplicate_name_response.go
- model_codehub_job_info.go
- model_confirm_deployment_job_request.go
- model_confirm_deployment_job_response.go
- model_create_deployment_jobs_params.go
- model_create_deployment_jobs_request.go
- model_create_deployment_jobs_response.go
- model_create_template_view_histories_request.go
- model_create_template_view_histories_response.go
- model_delete_application_v4_request.go
- model_delete_application_v4_response.go
- model_dependent.go
- model_deployment_job_confirm_type.go
- model_download_application_code_request.go
- model_download_application_code_response.go
- model_fgs_deployment_jobs_param.go
- model_file_tree_node.go
- model_list_applications_v6_request.go
- model_list_applications_v6_response.go
- model_list_pipeline_templates_request.go
- model_list_pipeline_templates_response.go
- model_list_projects_v4_request.go
- model_list_projects_v4_response.go
- model_list_published_templates_request.go
- model_list_published_templates_response.go
- model_list_template_view_histories_request.go
- model_list_template_view_histories_response.go
- model_list_templates_request.go
- model_list_templates_response.go
- model_list_templates_v2_request.go
- model_list_templates_v2_response.go
- model_pipeline_basic.go
- model_pipeline_creation_result.go
- model_pipeline_delete_status.go
- model_pipeline_stage_resp.go
- model_pipeline_template.go
- model_pipeline_template_info.go
- model_project_v3.go
- model_reference.go
- model_release_repository.go
- model_repository_basic_info.go
- model_repository_creation_result.go
- model_repository_info.go
- model_resouce_info.go
- model_run_codehub_template_job_request.go
- model_run_codehub_template_job_response.go
- model_run_devstar_template_job_request.go
- model_run_devstar_template_job_response.go
- model_show_application_dependent_resources_request.go
- model_show_application_dependent_resources_response.go
- model_show_application_release_repositories_request.go
- model_show_application_release_repositories_response.go
- model_show_application_res_delete_status_request.go
- model_show_application_res_delete_status_response.go
- model_show_application_v3_request.go
- model_show_application_v3_response.go
- model_show_deployment_jobs_request.go
- model_show_deployment_jobs_response.go
- model_show_job_detail_request.go
- model_show_job_detail_response.go
- model_show_pipeline_last_status_v2_request.go
- model_show_pipeline_last_status_v2_response.go
- model_show_repository_by_cloud_ide_request.go
- model_show_repository_by_cloud_ide_response.go
- model_show_repository_statistical_data_v2_request.go
- model_show_repository_statistical_data_v2_response.go
- model_show_template_detail_request.go
- model_show_template_detail_response.go
- model_show_template_file_request.go
- model_show_template_file_response.go
- model_show_template_v3_request.go
- model_show_template_v3_response.go
- model_start_pipeline_request.go
- model_start_pipeline_response.go
- model_tag_info.go
- model_template_info.go
- model_template_job_info.go
- model_template_product_ext.go
- model_template_query.go
- model_template_query_v2.go
- model_template_simple_info.go
- model_template_type.go
- model_template_view_history.go
- model_templates_info.go
- model_topic_category.go
- model_update_application_request.go
- model_update_application_response.go