Documentation ¶
Index ¶
- type ListPublishedTemplatesRequest
- type ListPublishedTemplatesRequestXLanguage
- type ListPublishedTemplatesRequestXLanguageEnum
- type ListPublishedTemplatesResponse
- type PropertiesInfo
- type RepositoryInfo
- type RunTemplateJobV2Request
- type RunTemplateJobV2Response
- type ShowJobDetailRequest
- type ShowJobDetailResponse
- type ShowTemplateDetailRequest
- type ShowTemplateDetailResponse
- type TemplateJobInfo
- type TemplateSimpleInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListPublishedTemplatesRequest ¶
type ListPublishedTemplatesRequest struct { XLanguage ListPublishedTemplatesRequestXLanguage `json:"X-Language,omitempty"` Keyword *string `json:"keyword,omitempty"` Offset *int32 `json:"offset,omitempty"` 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
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"` }
Response Object
func (ListPublishedTemplatesResponse) String ¶
func (o ListPublishedTemplatesResponse) String() string
type PropertiesInfo ¶
type PropertiesInfo struct { // key Key *string `json:"key,omitempty"` // 默认值 DefaultValue *string `json:"defaultValue,omitempty"` // 模板的描述信息 Label *string `json:"label,omitempty"` // 类型 txet 或 select Type *string `json:"type,omitempty"` // 提示信息 HelpText *string `json:"helpText,omitempty"` // 是否只读 ReadOnly *bool `json:"readOnly,omitempty"` // 是否必填 Required *bool `json:"required,omitempty"` // 正则校验类型 RegType *string `json:"regType,omitempty"` // 正则表达式 RegPattern *string `json:"regPattern,omitempty"` // 正则提示信息 RegTip *string `json:"regTip,omitempty"` // 是否显示 IsShow *bool `json:"isShow,omitempty"` }
func (PropertiesInfo) String ¶
func (o PropertiesInfo) String() string
type RepositoryInfo ¶
type RepositoryInfo struct { // 代码仓的名称 Name *string `json:"name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 区域id RegionId *string `json:"region_id,omitempty"` }
func (RepositoryInfo) String ¶
func (o RepositoryInfo) String() string
type RunTemplateJobV2Request ¶
type RunTemplateJobV2Request struct { XLanguage *string `json:"X-Language,omitempty"` Body *TemplateJobInfo `json:"body,omitempty"` }
Request Object
func (RunTemplateJobV2Request) String ¶
func (o RunTemplateJobV2Request) String() string
type RunTemplateJobV2Response ¶
type RunTemplateJobV2Response struct { // 任务id JobId *string `json:"job_id,omitempty"` }
Response Object
func (RunTemplateJobV2Response) String ¶
func (o RunTemplateJobV2Response) String() string
type ShowJobDetailRequest ¶
type ShowJobDetailRequest struct { XLanguage *string `json:"X-Language,omitempty"` JobId string `json:"job_id"` }
Request Object
func (ShowJobDetailRequest) String ¶
func (o ShowJobDetailRequest) String() string
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"` }
Response Object
func (ShowJobDetailResponse) String ¶
func (o ShowJobDetailResponse) String() string
type ShowTemplateDetailRequest ¶
type ShowTemplateDetailRequest struct { XLanguage *string `json:"X-Language,omitempty"` TemplateId string `json:"template_id"` }
Request Object
func (ShowTemplateDetailRequest) String ¶
func (o ShowTemplateDetailRequest) String() string
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"` Properties []PropertiesInfo `json:"properties,omitempty"` }
Response Object
func (ShowTemplateDetailResponse) String ¶
func (o ShowTemplateDetailResponse) String() string
type TemplateJobInfo ¶
type TemplateJobInfo struct { // 应用名称 ApplicationName *string `json:"application_name,omitempty"` // 任务依赖的模板id TemplateId string `json:"template_id"` // 应用代码生成后的地址类型,目前支持0:codehub地址 RepoType int32 `json:"repo_type"` // 应用的动态参数json Properties *interface{} `json:"properties,omitempty"` RepoInfo *RepositoryInfo `json:"repo_info,omitempty"` }
func (TemplateJobInfo) String ¶
func (o TemplateJobInfo) 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
Source Files ¶
- model_list_published_templates_request.go
- model_list_published_templates_response.go
- model_properties_info.go
- model_repository_info.go
- model_run_template_job_v2_request.go
- model_run_template_job_v2_response.go
- model_show_job_detail_request.go
- model_show_job_detail_response.go
- model_show_template_detail_request.go
- model_show_template_detail_response.go
- model_template_job_info.go
- model_template_simple_info.go
Click to show internal directories.
Click to hide internal directories.