Documentation ¶
Index ¶
- type AcceptManualReviewRequest
- type AcceptManualReviewResponse
- type AgentPluginInfoQueryDto
- type Artifact
- type ArtifactHashCode
- type BatchMovePipelineToGroupRequest
- type BatchMovePipelineToGroupResponse
- type BatchShowPipelinesLatestStatusRequest
- type BatchShowPipelinesLatestStatusResponse
- type BatchShowPipelinesStatusRequest
- type BatchShowPipelinesStatusResponse
- type BusinessTypePluginsQueryDto
- type CodeEvent
- type CodeSource
- type CodeSourceParams
- type Constraint
- type CreateBasicPluginRequest
- type CreateBasicPluginResponse
- type CreatePipelineByTemplateIdRequest
- type CreatePipelineByTemplateIdResponse
- type CreatePipelineByTemplateRequest
- type CreatePipelineByTemplateResponse
- type CreatePipelineGroupRequest
- type CreatePipelineGroupResponse
- type CreatePipelineNewRequest
- type CreatePipelineNewResponse
- type CreatePipelineTemplateRequest
- type CreatePipelineTemplateResponse
- type CreatePluginDraftRequest
- type CreatePluginDraftResponse
- type CreatePluginVersionRequest
- type CreatePluginVersionResponse
- type CreatePublisherRequest
- type CreatePublisherResponse
- type CreateRuleReq
- type CreateRuleRequest
- type CreateRuleResponse
- type CreateRuleSetReq
- type CreateStrategyRequest
- type CreateStrategyResponse
- type CustomVariable
- type DeleteBasicPluginRequest
- type DeleteBasicPluginResponse
- type DeletePipelineGroupRequest
- type DeletePipelineGroupResponse
- type DeletePipelineRequest
- type DeletePipelineResponse
- type DeletePipelineTemplateRequest
- type DeletePipelineTemplateResponse
- type DeletePluginDraftRequest
- type DeletePluginDraftResponse
- type DeletePublisherRequest
- type DeletePublisherResponse
- type DeleteRuleRequest
- type DeleteRuleResponse
- type DeleteStrategyRequest
- type DeleteStrategyResponse
- type ExtensionExtendProp
- type ExtensionValidation
- type FullStagePluginsRelationVoAddables
- type FullStagePluginsRelationVoAllSteps
- type FullStagePluginsRelationVoFullStagePluginsItemList
- type FullStagePluginsRelationVoPluginsList
- type JobRun
- type ListAvailablePublisherRequest
- type ListAvailablePublisherResponse
- type ListBasePluginsNewPostRequest
- type ListBasePluginsNewPostResponse
- type ListBasePluginsRequest
- type ListBasePluginsResponse
- type ListPLuginVersionRequest
- type ListPLuginVersionResponse
- type ListPipelineQuery
- type ListPipelineRunsPageBuildParams
- type ListPipelineRunsPagePipelineRuns
- type ListPipelineRunsPageStageStatusList
- type ListPipelineRunsQuery
- type ListPipelineRunsRequest
- type ListPipelineRunsResponse
- type ListPipelineSimpleInfoRequest
- type ListPipelineSimpleInfoRequestBody
- type ListPipelineSimpleInfoResponse
- type ListPipelineTemplatesQuery
- type ListPipelineTemplatesRequest
- type ListPipelineTemplatesResponse
- type ListPipelinesPageLatestRun
- type ListPipelinesPageLatestRunArtifactParams
- type ListPipelinesPageLatestRunBuildParams
- type ListPipelinesPageLatestRunStageStatusList
- type ListPipelinesPagePipelines
- type ListPipelinesRequest
- type ListPipelinesResponse
- type ListPipleineBuildResultRequest
- type ListPipleineBuildResultResponse
- type ListPluginVersionNumberRequest
- type ListPluginVersionNumberResponse
- type ListPluginsRequest
- type ListPluginsResponse
- type ListProjectStrategyRequest
- type ListProjectStrategyResponse
- type ListPublisherRequest
- type ListPublisherResponse
- type ListRuleRequest
- type ListRuleResponse
- type ListStagePluginsRequest
- type ListStagePluginsResponse
- type ListStrategyRequest
- type ListStrategyResponse
- type ListTemplatesRequest
- type ListTemplatesResponse
- type LogQuery
- type NewExtensionExecution
- type NewExtensionInputs
- type NewExtensionOutputs
- type OutputRespOutputResult
- type OutputRespStepOutputs
- type PackageInfo
- type PageInfoBusinessTypeDefinitionVoData
- type PageInfoBusinessTypeDefinitionVoPluginsList
- type PageInfoOptionalSinglePluginVoData
- type ParamTypeLimits
- type PipelineBasicInfo
- type PipelineBuildResult
- type PipelineByTemplateDto
- type PipelineByTemplateDtoVariables
- type PipelineConcurrencyMgmt
- type PipelineDto
- type PipelineExecuteStates
- type PipelineGroupBindDto
- type PipelineGroupBindDtoPipelines
- type PipelineGroupCreateDto
- type PipelineGroupUpdateDto
- type PipelineGroupVo
- type PipelineLatestRun
- type PipelineLatestRunArtifactParams
- type PipelineLatestRunBuildParams
- type PipelineLatestRunStageStatusList
- type PipelineMoveToGroupResponseVo
- type PipelineParam
- type PipelineParameter
- type PipelineSchedule
- type PipelineSource
- type PipelineSourceParam
- type PipelineStateStatus
- type PipelineTemplateDto
- type PipelineTemplateSimpleVo
- type PipelineTemplateSimpleVoStages
- type PipelineTrigger
- type PipelineVariable
- type PluginBasicDto
- type PluginBasicVo
- type PluginDto
- type PluginDtoExecutionInfo
- type PluginDtoInputInfo
- type PluginPartQueryDto
- type PluginPartQueryVoListAgentPluginInputVo
- type PluginPartQueryVoListAgentPluginInputVoData
- type PluginPartQueryVoListAgentPluginOutputVo
- type PluginPartQueryVoListAgentPluginOutputVoData
- type PublishPluginBindRequest
- type PublishPluginBindResponse
- type PublishPluginDraftRequest
- type PublishPluginDraftResponse
- type PublishPluginDto
- type PublishPluginRequest
- type PublishPluginResponse
- type PublisherRequest
- type PublisherVo
- type RejectManualReviewRequest
- type RejectManualReviewResponse
- type RemovePipelineRequest
- type RemovePipelineResponse
- type RequestRuleInstance
- type RetryPipelineRunRequest
- type RetryPipelineRunResponse
- type Rule
- type RuleContent
- type RuleInstance
- type RuleInstanceContent
- type RuleInstanceProperty
- type RuleProperty
- type RuleSet
- type RunPipelineDto
- type RunPipelineDtoParams
- type RunPipelineDtoParamsBuildParams
- type RunPipelineDtoSources
- type RunPipelineDtoVariables
- type RunPipelineRequest
- type RunPipelineResponse
- type RunPipelineSource
- type RunPipelineSourceParams
- type RunPipelineSourceParamsBuildParams
- type ShowBasicPluginRequest
- type ShowBasicPluginResponse
- type ShowInstanceStatusRequest
- type ShowInstanceStatusResponse
- type ShowPipelineArtifactsRequest
- type ShowPipelineArtifactsResponse
- type ShowPipelineDetailRequest
- type ShowPipelineDetailResponse
- type ShowPipelineGroupTreeRequest
- type ShowPipelineGroupTreeResponse
- type ShowPipelineLogRequest
- type ShowPipelineLogResponse
- type ShowPipelineRunDetailRequest
- type ShowPipelineRunDetailResponse
- type ShowPipelineTemplateDetailRequest
- type ShowPipelineTemplateDetailResponse
- type ShowPipleineStatusRequest
- type ShowPipleineStatusResponse
- type ShowPluginInputsRequest
- type ShowPluginInputsResponse
- type ShowPluginMetricsRequest
- type ShowPluginMetricsResponse
- type ShowPluginOutputsRequest
- type ShowPluginOutputsResponse
- type ShowPluginVersionRequest
- type ShowPluginVersionResponse
- type ShowProjectStrategyRequest
- type ShowProjectStrategyResponse
- type ShowPublisherRequest
- type ShowPublisherResponse
- type ShowRuleRequest
- type ShowRuleResponse
- type ShowStepOutputsRequest
- type ShowStepOutputsResponse
- type ShowStrategyRequest
- type ShowStrategyResponse
- type ShowTemplateDetailRequest
- type ShowTemplateDetailResponse
- type Source
- type StagePluginsQueryDto
- type StageRun
- type Stages
- type StartNewPipelineRequest
- type StartNewPipelineResponse
- type StartPipelineBuildParams
- type StartPipelineParameters
- type StepRun
- type StepRunInputs
- type StopPipelineNewRequest
- type StopPipelineNewResponse
- type StopPipelineRunRequest
- type StopPipelineRunResponse
- type SwitchStrategyRequest
- type SwitchStrategyResponse
- type TemplateCddl
- type TemplateParam
- type TemplateState
- type TemplateView
- type UpdateBasicPluginRequest
- type UpdateBasicPluginResponse
- type UpdatePipelineGroupRequest
- type UpdatePipelineGroupResponse
- type UpdatePipelineInfoRequest
- type UpdatePipelineInfoResponse
- type UpdatePipelineTemplateRequest
- type UpdatePipelineTemplateResponse
- type UpdatePluginBaseInfoRequest
- type UpdatePluginBaseInfoResponse
- type UpdatePluginDraftRequest
- type UpdatePluginDraftResponse
- type UpdateRuleInstance
- type UpdateRuleReq
- type UpdateRuleRequest
- type UpdateRuleResponse
- type UpdateRuleSetReq
- type UpdateRuleSetStatusReq
- type UpdateStrategyRequest
- type UpdateStrategyResponse
- type UploadBasicPluginRequest
- type UploadBasicPluginRequestBody
- type UploadBasicPluginResponse
- type UploadPluginIconRequest
- type UploadPluginIconRequestBody
- type UploadPluginIconResponse
- type UploadPublisherIconRequest
- type UploadPublisherIconRequestBody
- type UploadPublisherIconResponse
- type Workflow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptManualReviewRequest ¶ added in v0.1.63
type AcceptManualReviewRequest struct { // 流水线任务ID JobRunId string `json:"job_run_id"` // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线运行实例ID PipelineRunId string `json:"pipeline_run_id"` // 流水线步骤ID StepRunId string `json:"step_run_id"` }
AcceptManualReviewRequest Request Object
func (AcceptManualReviewRequest) String ¶ added in v0.1.63
func (o AcceptManualReviewRequest) String() string
type AcceptManualReviewResponse ¶ added in v0.1.63
type AcceptManualReviewResponse struct { // 操作是否成功 Success *bool `json:"success,omitempty"` HttpStatusCode int `json:"-"` }
AcceptManualReviewResponse Response Object
func (AcceptManualReviewResponse) String ¶ added in v0.1.63
func (o AcceptManualReviewResponse) String() string
type AgentPluginInfoQueryDto ¶ added in v0.1.67
type AgentPluginInfoQueryDto struct { // 可选的查询条件-插件名 PluginName *string `json:"plugin_name,omitempty"` // 可选的查询条件-匹配名称 RegexName *string `json:"regex_name,omitempty"` // 维护者 Maintainer *string `json:"maintainer,omitempty"` // 业务类型,[Build,Gate,Deploy,Test,Normal] BusinessType *[]string `json:"business_type,omitempty"` // 插件属性,official/custom PluginAttribution *string `json:"plugin_attribution,omitempty"` }
func (AgentPluginInfoQueryDto) String ¶ added in v0.1.67
func (o AgentPluginInfoQueryDto) String() string
type Artifact ¶ added in v0.1.85
type Artifact struct { // 项目ID ProjectId *string `json:"project_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 版本 ArtifactVersion *string `json:"artifact_version,omitempty"` // 存放平台类型 UploadTarget *string `json:"upload_target,omitempty"` // 产物包类型 ArtifactPackageType *string `json:"artifact_package_type,omitempty"` // 制品仓路径 ArtifactUri *string `json:"artifact_uri,omitempty"` // 制品仓下载链接 ArtifactDownloadUrlWithId *string `json:"artifact_download_url_with_id,omitempty"` // 产物类型 ArtifactType *string `json:"artifact_type,omitempty"` // 哈希码 HashCode *[]ArtifactHashCode `json:"hash_code,omitempty"` // 构建任务ID JobId *string `json:"job_id,omitempty"` // 构建任务编号 BuildNo *int32 `json:"build_no,omitempty"` // 构建任务序号 DailyBuildNumber *string `json:"daily_build_number,omitempty"` // 产物大小 FileSize *string `json:"file_size,omitempty"` }
Artifact 产物
type ArtifactHashCode ¶ added in v0.1.85
type ArtifactHashCode struct { // 哈希算法 HashType *string `json:"hash_type,omitempty"` // 哈希值 HashValue *string `json:"hash_value,omitempty"` }
func (ArtifactHashCode) String ¶ added in v0.1.85
func (o ArtifactHashCode) String() string
type BatchMovePipelineToGroupRequest ¶ added in v0.1.67
type BatchMovePipelineToGroupRequest struct { // 项目ID ProjectId string `json:"project_id"` Body *PipelineGroupBindDto `json:"body,omitempty"` }
BatchMovePipelineToGroupRequest Request Object
func (BatchMovePipelineToGroupRequest) String ¶ added in v0.1.67
func (o BatchMovePipelineToGroupRequest) String() string
type BatchMovePipelineToGroupResponse ¶ added in v0.1.67
type BatchMovePipelineToGroupResponse struct { Body *[]PipelineMoveToGroupResponseVo `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
BatchMovePipelineToGroupResponse Response Object
func (BatchMovePipelineToGroupResponse) String ¶ added in v0.1.67
func (o BatchMovePipelineToGroupResponse) String() string
type BatchShowPipelinesLatestStatusRequest ¶
type BatchShowPipelinesLatestStatusRequest struct { // 项目ID ProjectId string `json:"project_id"` Body *[]string `json:"body,omitempty"` }
BatchShowPipelinesLatestStatusRequest Request Object
func (BatchShowPipelinesLatestStatusRequest) String ¶
func (o BatchShowPipelinesLatestStatusRequest) String() string
type BatchShowPipelinesLatestStatusResponse ¶
type BatchShowPipelinesLatestStatusResponse struct { Body *[]PipelineLatestRun `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
BatchShowPipelinesLatestStatusResponse Response Object
func (BatchShowPipelinesLatestStatusResponse) String ¶
func (o BatchShowPipelinesLatestStatusResponse) String() string
type BatchShowPipelinesStatusRequest ¶
type BatchShowPipelinesStatusRequest struct { // 要获取状态的流水线ID,用逗号隔开 PipelineIds string `json:"pipeline_ids"` }
BatchShowPipelinesStatusRequest Request Object
func (BatchShowPipelinesStatusRequest) String ¶
func (o BatchShowPipelinesStatusRequest) String() string
type BatchShowPipelinesStatusResponse ¶
type BatchShowPipelinesStatusResponse struct { Body *[]PipelineExecuteStates `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
BatchShowPipelinesStatusResponse Response Object
func (BatchShowPipelinesStatusResponse) String ¶
func (o BatchShowPipelinesStatusResponse) String() string
type BusinessTypePluginsQueryDto ¶ added in v0.1.67
type BusinessTypePluginsQueryDto struct { // 用于区分插件为流水线可使用/模板可使用, 可选pipeline/template UseCondition *string `json:"use_condition,omitempty"` // 用于区分源的代码仓类型codehub/gitlab/github等 InputRepoType *string `json:"input_repo_type,omitempty"` // 用于区分单源/多源的情况 InputSourceType *string `json:"input_source_type,omitempty"` // 业务类型 BusinessType *string `json:"business_type,omitempty"` // 名称 RegexName *string `json:"regex_name,omitempty"` }
func (BusinessTypePluginsQueryDto) String ¶ added in v0.1.67
func (o BusinessTypePluginsQueryDto) String() string
type CodeEvent ¶ added in v0.1.67
type CodeSource ¶
type CodeSource struct { // 流水线源类型 Type *string `json:"type,omitempty"` Params *CodeSourceParams `json:"params,omitempty"` }
func (CodeSource) String ¶
func (o CodeSource) String() string
type CodeSourceParams ¶
type CodeSourceParams struct { // 代码仓类型 GitType *string `json:"git_type,omitempty"` // codehub代码仓ID CodehubId *string `json:"codehub_id,omitempty"` // 扩展点ID EndpointId *string `json:"endpoint_id,omitempty"` // 默认分支 DefaultBranch *string `json:"default_branch,omitempty"` // 代码仓https地址 GitUrl *string `json:"git_url,omitempty"` // 代码仓ssh地址 SshGitUrl *string `json:"ssh_git_url,omitempty"` // 代码仓页面地址 WebUrl *string `json:"web_url,omitempty"` // 代码仓名称 RepoName *string `json:"repo_name,omitempty"` // 代码仓别名 Alias *string `json:"alias,omitempty"` }
CodeSourceParams 源参数
func (CodeSourceParams) String ¶
func (o CodeSourceParams) String() string
type Constraint ¶
type Constraint struct { // 校验规则类型 Type string `json:"type"` // 校验规则 Value string `json:"value"` // 校验失败描述 Errormsg string `json:"errormsg"` }
Constraint 任务参数校验参数
func (Constraint) String ¶
func (o Constraint) String() string
type CreateBasicPluginRequest ¶ added in v0.1.67
type CreateBasicPluginRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *PluginBasicDto `json:"body,omitempty"` }
CreateBasicPluginRequest Request Object
func (CreateBasicPluginRequest) String ¶ added in v0.1.67
func (o CreateBasicPluginRequest) String() string
type CreateBasicPluginResponse ¶ added in v0.1.67
type CreateBasicPluginResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CreateBasicPluginResponse Response Object
func (CreateBasicPluginResponse) String ¶ added in v0.1.67
func (o CreateBasicPluginResponse) String() string
type CreatePipelineByTemplateIdRequest ¶
type CreatePipelineByTemplateIdRequest struct { // 项目ID ProjectId string `json:"project_id"` // 模板ID TemplateId string `json:"template_id"` // 微服务ID ComponentId *string `json:"component_id,omitempty"` Body *PipelineByTemplateDto `json:"body,omitempty"` }
CreatePipelineByTemplateIdRequest Request Object
func (CreatePipelineByTemplateIdRequest) String ¶
func (o CreatePipelineByTemplateIdRequest) String() string
type CreatePipelineByTemplateIdResponse ¶
type CreatePipelineByTemplateIdResponse struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePipelineByTemplateIdResponse Response Object
func (CreatePipelineByTemplateIdResponse) String ¶
func (o CreatePipelineByTemplateIdResponse) String() string
type CreatePipelineByTemplateRequest ¶
type CreatePipelineByTemplateRequest struct {
Body *TemplateCddl `json:"body,omitempty"`
}
CreatePipelineByTemplateRequest Request Object
func (CreatePipelineByTemplateRequest) String ¶
func (o CreatePipelineByTemplateRequest) String() string
type CreatePipelineByTemplateResponse ¶
type CreatePipelineByTemplateResponse struct { // 实例ID TaskId *string `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePipelineByTemplateResponse Response Object
func (CreatePipelineByTemplateResponse) String ¶
func (o CreatePipelineByTemplateResponse) String() string
type CreatePipelineGroupRequest ¶ added in v0.1.67
type CreatePipelineGroupRequest struct { // 项目ID ProjectId string `json:"project_id"` Body *PipelineGroupCreateDto `json:"body,omitempty"` }
CreatePipelineGroupRequest Request Object
func (CreatePipelineGroupRequest) String ¶ added in v0.1.67
func (o CreatePipelineGroupRequest) String() string
type CreatePipelineGroupResponse ¶ added in v0.1.67
type CreatePipelineGroupResponse struct { // 分组ID Id *string `json:"id,omitempty"` // 租户ID DomainId *string `json:"domain_id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 分组名 Name *string `json:"name,omitempty"` // 父分组ID ParentId *string `json:"parent_id,omitempty"` // 分组路径ID PathId *string `json:"path_id,omitempty"` // 序号 Ordinal *int32 `json:"ordinal,omitempty"` // 创建用户ID Creator *string `json:"creator,omitempty"` // 更新用户ID Updater *string `json:"updater,omitempty"` // 创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 更新时间 UpdateTime *int64 `json:"update_time,omitempty"` // 子分组列表 Children *[]PipelineGroupVo `json:"children,omitempty"` HttpStatusCode int `json:"-"` }
CreatePipelineGroupResponse Response Object
func (CreatePipelineGroupResponse) String ¶ added in v0.1.67
func (o CreatePipelineGroupResponse) String() string
type CreatePipelineNewRequest ¶ added in v0.1.63
type CreatePipelineNewRequest struct { // 项目ID ProjectId string `json:"project_id"` // 组件ID ComponentId *string `json:"component_id,omitempty"` Body *PipelineDto `json:"body,omitempty"` }
CreatePipelineNewRequest Request Object
func (CreatePipelineNewRequest) String ¶ added in v0.1.63
func (o CreatePipelineNewRequest) String() string
type CreatePipelineNewResponse ¶ added in v0.1.63
type CreatePipelineNewResponse struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePipelineNewResponse Response Object
func (CreatePipelineNewResponse) String ¶ added in v0.1.63
func (o CreatePipelineNewResponse) String() string
type CreatePipelineTemplateRequest ¶ added in v0.1.67
type CreatePipelineTemplateRequest struct { // 租户ID TenantId string `json:"tenant_id"` Body *PipelineTemplateDto `json:"body,omitempty"` }
CreatePipelineTemplateRequest Request Object
func (CreatePipelineTemplateRequest) String ¶ added in v0.1.67
func (o CreatePipelineTemplateRequest) String() string
type CreatePipelineTemplateResponse ¶ added in v0.1.67
type CreatePipelineTemplateResponse struct { TemplateId *string `json:"templateId,omitempty"` HttpStatusCode int `json:"-"` }
CreatePipelineTemplateResponse Response Object
func (CreatePipelineTemplateResponse) String ¶ added in v0.1.67
func (o CreatePipelineTemplateResponse) String() string
type CreatePluginDraftRequest ¶ added in v0.1.68
type CreatePluginDraftRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *PluginDto `json:"body,omitempty"` }
CreatePluginDraftRequest Request Object
func (CreatePluginDraftRequest) String ¶ added in v0.1.68
func (o CreatePluginDraftRequest) String() string
type CreatePluginDraftResponse ¶ added in v0.1.68
type CreatePluginDraftResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CreatePluginDraftResponse Response Object
func (CreatePluginDraftResponse) String ¶ added in v0.1.68
func (o CreatePluginDraftResponse) String() string
type CreatePluginVersionRequest ¶ added in v0.1.68
type CreatePluginVersionRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *PluginDto `json:"body,omitempty"` }
CreatePluginVersionRequest Request Object
func (CreatePluginVersionRequest) String ¶ added in v0.1.68
func (o CreatePluginVersionRequest) String() string
type CreatePluginVersionResponse ¶ added in v0.1.68
type CreatePluginVersionResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CreatePluginVersionResponse Response Object
func (CreatePluginVersionResponse) String ¶ added in v0.1.68
func (o CreatePluginVersionResponse) String() string
type CreatePublisherRequest ¶ added in v0.1.68
type CreatePublisherRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *PublisherRequest `json:"body,omitempty"` }
CreatePublisherRequest Request Object
func (CreatePublisherRequest) String ¶ added in v0.1.68
func (o CreatePublisherRequest) String() string
type CreatePublisherResponse ¶ added in v0.1.68
type CreatePublisherResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CreatePublisherResponse Response Object
func (CreatePublisherResponse) String ¶ added in v0.1.68
func (o CreatePublisherResponse) String() string
type CreateRuleReq ¶ added in v0.1.67
type CreateRuleReq struct { // 类型:Build,Gate,Deploy,Test,Normal Type string `json:"type"` // 规则名称 Name string `json:"name"` // 布局内容 LayoutContent string `json:"layout_content"` // 插件ID PluginId *string `json:"plugin_id,omitempty"` // 插件名称 PluginName *string `json:"plugin_name,omitempty"` // 插件版本号 PluginVersion *string `json:"plugin_version,omitempty"` // 规则属性分组列表 Content []RuleContent `json:"content"` }
func (CreateRuleReq) String ¶ added in v0.1.67
func (o CreateRuleReq) String() string
type CreateRuleRequest ¶ added in v0.1.67
type CreateRuleRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *CreateRuleReq `json:"body,omitempty"` }
CreateRuleRequest Request Object
func (CreateRuleRequest) String ¶ added in v0.1.67
func (o CreateRuleRequest) String() string
type CreateRuleResponse ¶ added in v0.1.67
type CreateRuleResponse struct { // 创建状态 Status *bool `json:"status,omitempty"` // 规则ID RuleId *string `json:"rule_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateRuleResponse Response Object
func (CreateRuleResponse) String ¶ added in v0.1.67
func (o CreateRuleResponse) String() string
type CreateRuleSetReq ¶ added in v0.1.67
type CreateRuleSetReq struct { // 策略名称 Name string `json:"name"` // 规则集合 Rules []RequestRuleInstance `json:"rules"` }
func (CreateRuleSetReq) String ¶ added in v0.1.67
func (o CreateRuleSetReq) String() string
type CreateStrategyRequest ¶ added in v0.1.67
type CreateStrategyRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *CreateRuleSetReq `json:"body,omitempty"` }
CreateStrategyRequest Request Object
func (CreateStrategyRequest) String ¶ added in v0.1.67
func (o CreateStrategyRequest) String() string
type CreateStrategyResponse ¶ added in v0.1.67
type CreateStrategyResponse struct { // 状态 Status *bool `json:"status,omitempty"` // 策略ID RuleSetId *string `json:"rule_set_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateStrategyResponse Response Object
func (CreateStrategyResponse) String ¶ added in v0.1.67
func (o CreateStrategyResponse) String() string
type CustomVariable ¶
type CustomVariable struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 自定义参数名称 Name *string `json:"name,omitempty"` // 自定义参数顺序 Sequence *int32 `json:"sequence,omitempty"` // 自定义参数类型 Type *string `json:"type,omitempty"` // 自定义参数默认值 Value *string `json:"value,omitempty"` // 是否私密参数 IsSecret *bool `json:"is_secret,omitempty"` // 自定义参数描述 Description *string `json:"description,omitempty"` // 是否运行时设置 IsRuntime *bool `json:"is_runtime,omitempty"` // 参数限制 Limits *[]interface{} `json:"limits,omitempty"` // 是否重置 IsReset *bool `json:"is_reset,omitempty"` // 最近一次参数值 LatestValue *string `json:"latest_value,omitempty"` // 运行时传入值 RuntimeValue *string `json:"runtime_value,omitempty"` }
func (CustomVariable) String ¶
func (o CustomVariable) String() string
type DeleteBasicPluginRequest ¶ added in v0.1.67
type DeleteBasicPluginRequest struct { // 租户ID DomainId string `json:"domain_id"` // 需要删除的插件名 PluginName string `json:"plugin_name"` // 删除类型,all 代表删除整个插件,single代表删除单个插件版本 Type string `json:"type"` // 需要删除的插件版本 Version *string `json:"version,omitempty"` }
DeleteBasicPluginRequest Request Object
func (DeleteBasicPluginRequest) String ¶ added in v0.1.67
func (o DeleteBasicPluginRequest) String() string
type DeleteBasicPluginResponse ¶ added in v0.1.67
type DeleteBasicPluginResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteBasicPluginResponse Response Object
func (DeleteBasicPluginResponse) String ¶ added in v0.1.67
func (o DeleteBasicPluginResponse) String() string
type DeletePipelineGroupRequest ¶ added in v0.1.67
type DeletePipelineGroupRequest struct { // 项目ID ProjectId string `json:"project_id"` // 分组ID Id string `json:"id"` }
DeletePipelineGroupRequest Request Object
func (DeletePipelineGroupRequest) String ¶ added in v0.1.67
func (o DeletePipelineGroupRequest) String() string
type DeletePipelineGroupResponse ¶ added in v0.1.67
type DeletePipelineGroupResponse struct { // 操作是否成功 Success *bool `json:"success,omitempty"` HttpStatusCode int `json:"-"` }
DeletePipelineGroupResponse Response Object
func (DeletePipelineGroupResponse) String ¶ added in v0.1.67
func (o DeletePipelineGroupResponse) String() string
type DeletePipelineRequest ¶
type DeletePipelineRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` }
DeletePipelineRequest Request Object
func (DeletePipelineRequest) String ¶
func (o DeletePipelineRequest) String() string
type DeletePipelineResponse ¶
type DeletePipelineResponse struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` HttpStatusCode int `json:"-"` }
DeletePipelineResponse Response Object
func (DeletePipelineResponse) String ¶
func (o DeletePipelineResponse) String() string
type DeletePipelineTemplateRequest ¶ added in v0.1.67
type DeletePipelineTemplateRequest struct { // 租户ID TenantId string `json:"tenant_id"` // 模板ID TemplateId string `json:"template_id"` }
DeletePipelineTemplateRequest Request Object
func (DeletePipelineTemplateRequest) String ¶ added in v0.1.67
func (o DeletePipelineTemplateRequest) String() string
type DeletePipelineTemplateResponse ¶ added in v0.1.67
type DeletePipelineTemplateResponse struct { TemplateId *string `json:"templateId,omitempty"` HttpStatusCode int `json:"-"` }
DeletePipelineTemplateResponse Response Object
func (DeletePipelineTemplateResponse) String ¶ added in v0.1.67
func (o DeletePipelineTemplateResponse) String() string
type DeletePluginDraftRequest ¶ added in v0.1.67
type DeletePluginDraftRequest struct { // 租户ID DomainId string `json:"domain_id"` // 插件名 PluginName string `json:"plugin_name"` // 版本 Version string `json:"version"` }
DeletePluginDraftRequest Request Object
func (DeletePluginDraftRequest) String ¶ added in v0.1.67
func (o DeletePluginDraftRequest) String() string
type DeletePluginDraftResponse ¶ added in v0.1.67
type DeletePluginDraftResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeletePluginDraftResponse Response Object
func (DeletePluginDraftResponse) String ¶ added in v0.1.67
func (o DeletePluginDraftResponse) String() string
type DeletePublisherRequest ¶ added in v0.1.67
type DeletePublisherRequest struct { // 租户ID DomainId string `json:"domain_id"` // 发布商ID PublisherUniqueId string `json:"publisher_unique_id"` }
DeletePublisherRequest Request Object
func (DeletePublisherRequest) String ¶ added in v0.1.67
func (o DeletePublisherRequest) String() string
type DeletePublisherResponse ¶ added in v0.1.67
type DeletePublisherResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeletePublisherResponse Response Object
func (DeletePublisherResponse) String ¶ added in v0.1.67
func (o DeletePublisherResponse) String() string
type DeleteRuleRequest ¶ added in v0.1.67
type DeleteRuleRequest struct { // 租户ID DomainId string `json:"domain_id"` // 规则ID RuleId string `json:"rule_id"` }
DeleteRuleRequest Request Object
func (DeleteRuleRequest) String ¶ added in v0.1.67
func (o DeleteRuleRequest) String() string
type DeleteRuleResponse ¶ added in v0.1.67
type DeleteRuleResponse struct { // 状态 Status *bool `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
DeleteRuleResponse Response Object
func (DeleteRuleResponse) String ¶ added in v0.1.67
func (o DeleteRuleResponse) String() string
type DeleteStrategyRequest ¶ added in v0.1.67
type DeleteStrategyRequest struct { // 策略ID RuleSetId string `json:"rule_set_id"` // 租户ID DomainId string `json:"domain_id"` }
DeleteStrategyRequest Request Object
func (DeleteStrategyRequest) String ¶ added in v0.1.67
func (o DeleteStrategyRequest) String() string
type DeleteStrategyResponse ¶ added in v0.1.67
type DeleteStrategyResponse struct { // 状态 Status *bool `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
DeleteStrategyResponse Response Object
func (DeleteStrategyResponse) String ¶ added in v0.1.67
func (o DeleteStrategyResponse) String() string
type ExtensionExtendProp ¶ added in v0.1.67
type ExtensionExtendProp struct { // API 选项 ApiOptions *string `json:"api_options,omitempty"` // API 类型 ApiType *string `json:"api_type,omitempty"` // 选项 Options *string `json:"options,omitempty"` // 禁用条件 DisabledConditions *string `json:"disabled_conditions,omitempty"` // 可见条件 VisibleConditions *string `json:"visible_conditions,omitempty"` }
func (ExtensionExtendProp) String ¶ added in v0.1.67
func (o ExtensionExtendProp) String() string
type ExtensionValidation ¶ added in v0.1.67
type ExtensionValidation struct { // 消息 RequiredMessage *string `json:"required_message,omitempty"` // 正则 Regex *string `json:"regex,omitempty"` // 正则消息 RegexMessage *string `json:"regex_message,omitempty"` // 最大长度 MaxLength *int32 `json:"max_length,omitempty"` // 最小长度 MinLength *int32 `json:"min_length,omitempty"` }
func (ExtensionValidation) String ¶ added in v0.1.67
func (o ExtensionValidation) String() string
type FullStagePluginsRelationVoAddables ¶ added in v0.1.67
type FullStagePluginsRelationVoAddables struct { // 额外属性1 AdditionalProp1 *bool `json:"additionalProp1,omitempty"` // 额外属性2 AdditionalProp2 *bool `json:"additionalProp2,omitempty"` // 额外属性3 AdditionalProp3 *bool `json:"additionalProp3,omitempty"` }
func (FullStagePluginsRelationVoAddables) String ¶ added in v0.1.67
func (o FullStagePluginsRelationVoAddables) String() string
type FullStagePluginsRelationVoAllSteps ¶ added in v0.1.67
type FullStagePluginsRelationVoAllSteps struct { // 插件名 PluginName *string `json:"plugin_name,omitempty"` // 展示名 DisplayName *string `json:"display_name,omitempty"` // 版本 Version *string `json:"version,omitempty"` }
func (FullStagePluginsRelationVoAllSteps) String ¶ added in v0.1.67
func (o FullStagePluginsRelationVoAllSteps) String() string
type FullStagePluginsRelationVoFullStagePluginsItemList ¶ added in v0.1.67
type FullStagePluginsRelationVoFullStagePluginsItemList struct { // 插件列表 PluginsList *[]FullStagePluginsRelationVoPluginsList `json:"plugins_list,omitempty"` // 展示名 DisplayName *string `json:"display_name,omitempty"` // 业务类型 BusinessType *string `json:"business_type,omitempty"` // 唯一ID UniqueId *string `json:"unique_id,omitempty"` // 条件 Conditions *[]string `json:"conditions,omitempty"` // 额外属性 Addables *[]FullStagePluginsRelationVoAddables `json:"addables,omitempty"` // 是否可编辑 Editable *bool `json:"editable,omitempty"` // 是否可移除 Removable *bool `json:"removable,omitempty"` // 是否可复制 Cloneable *bool `json:"cloneable,omitempty"` // 禁用 Disabled *bool `json:"disabled,omitempty"` }
func (FullStagePluginsRelationVoFullStagePluginsItemList) String ¶ added in v0.1.67
func (o FullStagePluginsRelationVoFullStagePluginsItemList) String() string
type FullStagePluginsRelationVoPluginsList ¶ added in v0.1.67
type FullStagePluginsRelationVoPluginsList struct { // 唯一ID UniqueId *string `json:"unique_id,omitempty"` // 展示名 DisplayName *string `json:"display_name,omitempty"` // 插件名 PluginName *string `json:"plugin_name,omitempty"` // 禁用 Disabled *bool `json:"disabled,omitempty"` // 组名 GroupName *string `json:"group_name,omitempty"` // 组类型 GroupType *string `json:"group_type,omitempty"` // 插件属性 PluginAttribution *string `json:"plugin_attribution,omitempty"` // 组合插件 PluginCompositionType *string `json:"plugin_composition_type,omitempty"` // 运行属性 RuntimeAttribution *string `json:"runtime_attribution,omitempty"` // 基础插件列表 AllSteps *[]FullStagePluginsRelationVoAllSteps `json:"all_steps,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 版本属性 VersionAttribution *string `json:"version_attribution,omitempty"` // 图标URL IconUrl *string `json:"icon_url,omitempty"` // 是否可编辑 MultiStepEditable *int32 `json:"multi_step_editable,omitempty"` // 标准 Standard *bool `json:"standard,omitempty"` }
func (FullStagePluginsRelationVoPluginsList) String ¶ added in v0.1.67
func (o FullStagePluginsRelationVoPluginsList) String() string
type JobRun ¶
type JobRun struct { // 任务ID Id *string `json:"id,omitempty"` // 任务类型 Category *string `json:"category,omitempty"` // 序列号 Sequence *int32 `json:"sequence,omitempty"` // 是否异步 Async *string `json:"async,omitempty"` // 任务名称 Name *string `json:"name,omitempty"` // 任务唯一标识 Identifier *string `json:"identifier,omitempty"` // 依赖 DependsOn *[]string `json:"depends_on,omitempty"` // 运行条件 Condition *string `json:"condition,omitempty"` // 执行资源 Resource *string `json:"resource,omitempty"` // 是否选中 IsSelect *bool `json:"is_select,omitempty"` // 任务超时设置 Timeout *string `json:"timeout,omitempty"` // 任务上次下发ID LastDispatchId *string `json:"last_dispatch_id,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` // 开始时间 StartTime *int64 `json:"start_time,omitempty"` // 结束时间 EndTime *int64 `json:"end_time,omitempty"` // 步骤 Steps *[]StepRun `json:"steps,omitempty"` // 任务执行ID ExecId *string `json:"exec_id,omitempty"` }
JobRun 任务运行信息
type ListAvailablePublisherRequest ¶ added in v0.1.67
type ListAvailablePublisherRequest struct { // 租户ID DomainId string `json:"domain_id"` }
ListAvailablePublisherRequest Request Object
func (ListAvailablePublisherRequest) String ¶ added in v0.1.67
func (o ListAvailablePublisherRequest) String() string
type ListAvailablePublisherResponse ¶ added in v0.1.67
type ListAvailablePublisherResponse struct { Body *[]PublisherVo `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListAvailablePublisherResponse Response Object
func (ListAvailablePublisherResponse) String ¶ added in v0.1.67
func (o ListAvailablePublisherResponse) String() string
type ListBasePluginsNewPostRequest ¶ added in v0.1.67
type ListBasePluginsNewPostRequest struct { // 租户ID DomainId string `json:"domain_id"` // 偏移 Offset int32 `json:"offset"` // 大小 Limit int32 `json:"limit"` Body *BusinessTypePluginsQueryDto `json:"body,omitempty"` }
ListBasePluginsNewPostRequest Request Object
func (ListBasePluginsNewPostRequest) String ¶ added in v0.1.67
func (o ListBasePluginsNewPostRequest) String() string
type ListBasePluginsNewPostResponse ¶ added in v0.1.67
type ListBasePluginsNewPostResponse struct { // 偏移 Offset *int32 `json:"offset,omitempty"` // 大小 Limit *int32 `json:"limit,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 结果集 Data *[]PageInfoBusinessTypeDefinitionVoData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListBasePluginsNewPostResponse Response Object
func (ListBasePluginsNewPostResponse) String ¶ added in v0.1.67
func (o ListBasePluginsNewPostResponse) String() string
type ListBasePluginsRequest ¶ added in v0.1.67
type ListBasePluginsRequest struct { // 租户ID DomainId string `json:"domain_id"` // 插件属性,可选official、published Attribution string `json:"attribution"` // 偏移 Offset string `json:"offset"` // 大小 Limit string `json:"limit"` }
ListBasePluginsRequest Request Object
func (ListBasePluginsRequest) String ¶ added in v0.1.67
func (o ListBasePluginsRequest) String() string
type ListBasePluginsResponse ¶ added in v0.1.67
type ListBasePluginsResponse struct { // 偏移 Offset *int32 `json:"offset,omitempty"` // 大小 Limit *int32 `json:"limit,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 结果集 Data *[]PageInfoOptionalSinglePluginVoData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListBasePluginsResponse Response Object
func (ListBasePluginsResponse) String ¶ added in v0.1.67
func (o ListBasePluginsResponse) String() string
type ListPLuginVersionRequest ¶ added in v0.1.67
type ListPLuginVersionRequest struct { // 租户ID DomainId string `json:"domain_id"` // 插件名 PluginName string `json:"plugin_name"` // 偏移 Offset string `json:"offset"` // 大小 Limit string `json:"limit"` }
ListPLuginVersionRequest Request Object
func (ListPLuginVersionRequest) String ¶ added in v0.1.67
func (o ListPLuginVersionRequest) String() string
type ListPLuginVersionResponse ¶ added in v0.1.67
type ListPLuginVersionResponse struct { // 偏移 Offset *int32 `json:"offset,omitempty"` // 大小 Limit *int32 `json:"limit,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 结果集 Data *[]PluginBasicVo `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListPLuginVersionResponse Response Object
func (ListPLuginVersionResponse) String ¶ added in v0.1.67
func (o ListPLuginVersionResponse) String() string
type ListPipelineQuery ¶
type ListPipelineQuery struct { // 项目ID列表 ProjectIds *[]string `json:"project_ids,omitempty"` // 组件ID ComponentId *string `json:"component_id,omitempty"` // 流水线名称 Name *string `json:"name,omitempty"` // 状态 Status *[]string `json:"status,omitempty"` // 是否为变更流水线 IsPublish *bool `json:"is_publish,omitempty"` // 创建人ID列表 CreatorIds *[]string `json:"creator_ids,omitempty"` // 执行人ID列表 ExecutorIds *[]string `json:"executor_ids,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 起始偏移 Offset *int64 `json:"offset,omitempty"` // 查询数量 Limit *int64 `json:"limit,omitempty"` // 排序字段名称 SortKey *string `json:"sort_key,omitempty"` // 排序规则 SortDir *string `json:"sort_dir,omitempty"` // 流水线分组ID GroupPathId *string `json:"group_path_id,omitempty"` // 是否只查询新版流水线 QueryNew *bool `json:"query_new,omitempty"` // 是否分组查询 ByGroup *bool `json:"by_group,omitempty"` }
ListPipelineQuery 查询流水线列表请求体
func (ListPipelineQuery) String ¶
func (o ListPipelineQuery) String() string
type ListPipelineRunsPageBuildParams ¶
type ListPipelineRunsPageBuildParams struct { // 合并请求事件类型 Action *string `json:"action,omitempty"` // 基于分支还是tag触发 BuildType *string `json:"build_type,omitempty"` // 代码仓提交ID CommitId *string `json:"commit_id,omitempty"` // 运行事件类型 EventType *string `json:"event_type,omitempty"` // 合并请求ID MergeId *string `json:"merge_id,omitempty"` // 代码仓提交信息 Message *string `json:"message,omitempty"` // 源分支 SourceBranch *string `json:"source_branch,omitempty"` // 标签 Tag *string `json:"tag,omitempty"` // 目标分支 TargetBranch *string `json:"target_branch,omitempty"` // codehub代码仓ID CodehubId *string `json:"codehub_id,omitempty"` // 代码仓https地址 GitUrl *string `json:"git_url,omitempty"` // 源codehub代码仓ID SourceCodehubId *string `json:"source_codehub_id,omitempty"` // 源codehub代码仓地址 SourceCodehubUrl *string `json:"source_codehub_url,omitempty"` // 源codehub代码仓http地址 SourceCodehubHttpUrl *string `json:"source_codehub_http_url,omitempty"` }
ListPipelineRunsPageBuildParams 构建参数
func (ListPipelineRunsPageBuildParams) String ¶
func (o ListPipelineRunsPageBuildParams) String() string
type ListPipelineRunsPagePipelineRuns ¶
type ListPipelineRunsPagePipelineRuns struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 流水线运行实例ID PipelineRunId *string `json:"pipeline_run_id,omitempty"` // 执行人ID ExecutorId *string `json:"executor_id,omitempty"` // 执行人名称 ExecutorName *string `json:"executor_name,omitempty"` // 阶段信息 StageStatusList *[]ListPipelineRunsPageStageStatusList `json:"stage_status_list,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 运行序号 RunNumber *int32 `json:"run_number,omitempty"` // 触发类型 TriggerType *string `json:"trigger_type,omitempty"` BuildParams *ListPipelineRunsPageBuildParams `json:"build_params,omitempty"` ArtifactParams *ListPipelinesPageLatestRunArtifactParams `json:"artifact_params,omitempty"` // 开始时间 StartTime *int64 `json:"start_time,omitempty"` // 结束时间 EndTime *int64 `json:"end_time,omitempty"` // 详情页地址 DetailUrl *string `json:"detail_url,omitempty"` // 修改页地址 ModifyUrl *string `json:"modify_url,omitempty"` }
func (ListPipelineRunsPagePipelineRuns) String ¶
func (o ListPipelineRunsPagePipelineRuns) String() string
type ListPipelineRunsPageStageStatusList ¶
type ListPipelineRunsPageStageStatusList struct { // 阶段名称 Name *string `json:"name,omitempty"` // 序列号 Sequence *int32 `json:"sequence,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 阶段ID Id *string `json:"id,omitempty"` }
func (ListPipelineRunsPageStageStatusList) String ¶
func (o ListPipelineRunsPageStageStatusList) String() string
type ListPipelineRunsQuery ¶
type ListPipelineRunsQuery struct { // 状态 Status *[]string `json:"status,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 起始偏移 Offset *int64 `json:"offset,omitempty"` // 查询大小 Limit *int64 `json:"limit,omitempty"` // 排序字段名称 SortKey *string `json:"sort_key,omitempty"` // 排序规则 SortDir *string `json:"sort_dir,omitempty"` }
ListPipelineRunsQuery 查询流水线运行历史请求体
func (ListPipelineRunsQuery) String ¶
func (o ListPipelineRunsQuery) String() string
type ListPipelineRunsRequest ¶
type ListPipelineRunsRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` Body *ListPipelineRunsQuery `json:"body,omitempty"` }
ListPipelineRunsRequest Request Object
func (ListPipelineRunsRequest) String ¶
func (o ListPipelineRunsRequest) String() string
type ListPipelineRunsResponse ¶
type ListPipelineRunsResponse struct { // 起始偏移 Offset *int32 `json:"offset,omitempty"` // 查询大小 Limit *int32 `json:"limit,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 流水线运行信息 PipelineRuns *[]ListPipelineRunsPagePipelineRuns `json:"pipeline_runs,omitempty"` HttpStatusCode int `json:"-"` }
ListPipelineRunsResponse Response Object
func (ListPipelineRunsResponse) String ¶
func (o ListPipelineRunsResponse) String() string
type ListPipelineSimpleInfoRequest ¶
type ListPipelineSimpleInfoRequest struct {
Body *ListPipelineSimpleInfoRequestBody `json:"body,omitempty"`
}
ListPipelineSimpleInfoRequest Request Object
func (ListPipelineSimpleInfoRequest) String ¶
func (o ListPipelineSimpleInfoRequest) String() string
type ListPipelineSimpleInfoRequestBody ¶
type ListPipelineSimpleInfoRequestBody struct { // 流水线名字。参数存在,则进行模糊匹配 PipelineName *string `json:"pipeline_name,omitempty"` // CodeArts项目ids。该参数存在,则获取对应项目下的流水线列表,逗号分隔,id个数取值[0,10];如果不存在,则获取调用方所属租户的流水线列表 ProjectIds *string `json:"project_ids,omitempty"` // 创建人id。该参数存在,逗号分隔,id个数取值[0,10] CreatorIds *string `json:"creator_ids,omitempty"` // 执行人id。该参数存在,逗号分隔,id个数取值[0,10]; ExecutorIds *string `json:"executor_ids,omitempty"` // 流水线运行状态。取值范围:waiting,running,verifying,handling,suspending,completed Status *string `json:"status,omitempty"` // 流水线结果,标记流水线。error、success、aborted Outcome *string `json:"outcome,omitempty"` // 用于排序的字段。取值为:pipeline_name,create_time,start_time SortKey *string `json:"sort_key,omitempty"` // 排序类型。asc按排序字段升序,desc按排序字段降序 SortDir *string `json:"sort_dir,omitempty"` // codehub搜索链接:git@codehub.XXX.git;gitee搜索链接:git@gitee.com.XXX.git;github搜索链接:git@github.com.XXX.git等 GitUrl *string `json:"git_url,omitempty"` // 偏移量。表示从此偏移量开始查询,offset大于等于0,默认取值为0 Offset *int32 `json:"offset,omitempty"` // 每次查询的条目数量。取值[10-50],默认取值为10 Limit *int32 `json:"limit,omitempty"` }
ListPipelineSimpleInfoRequestBody 查询流水线信息对象
func (ListPipelineSimpleInfoRequestBody) String ¶
func (o ListPipelineSimpleInfoRequestBody) String() string
type ListPipelineSimpleInfoResponse ¶
type ListPipelineSimpleInfoResponse struct { // 偏移量,表示从此偏移量开始查询,offset大于等于0 Offset *int32 `json:"offset,omitempty"` // 每次查询的条目数量 Limit *int32 `json:"limit,omitempty"` // 总条目数量 Total *int32 `json:"total,omitempty"` // 执行状况数据列表 Result *[]PipelineBasicInfo `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ListPipelineSimpleInfoResponse Response Object
func (ListPipelineSimpleInfoResponse) String ¶
func (o ListPipelineSimpleInfoResponse) String() string
type ListPipelineTemplatesQuery ¶
type ListPipelineTemplatesQuery struct { // 创建模板时,用户选择的语言 Language *string `json:"language,omitempty"` // 是否系统模板 IsSystem *bool `json:"is_system,omitempty"` // 模板名称 Name *string `json:"name,omitempty"` // 偏移量,表示从此偏移量开始查询,offset大于等于0,默认为0 Offset *int64 `json:"offset,omitempty"` // 每次查询的条目数量,默认为10。 Limit *int64 `json:"limit,omitempty"` // 用于排序的字段,非必选。取值为:name,create_time SortKey *string `json:"sort_key,omitempty"` // 排序类型,非必选。asc按排序字段升序,desc按排序字段降序 SortDir *string `json:"sort_dir,omitempty"` }
func (ListPipelineTemplatesQuery) String ¶
func (o ListPipelineTemplatesQuery) String() string
type ListPipelineTemplatesRequest ¶
type ListPipelineTemplatesRequest struct { // 租户ID TenantId string `json:"tenant_id"` Body *ListPipelineTemplatesQuery `json:"body,omitempty"` }
ListPipelineTemplatesRequest Request Object
func (ListPipelineTemplatesRequest) String ¶
func (o ListPipelineTemplatesRequest) String() string
type ListPipelineTemplatesResponse ¶
type ListPipelineTemplatesResponse struct { // 起始偏移 Offset *int32 `json:"offset,omitempty"` // 每页大小 Limit *int32 `json:"limit,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` Templates *[]PipelineTemplateSimpleVo `json:"templates,omitempty"` HttpStatusCode int `json:"-"` }
ListPipelineTemplatesResponse Response Object
func (ListPipelineTemplatesResponse) String ¶
func (o ListPipelineTemplatesResponse) String() string
type ListPipelinesPageLatestRun ¶
type ListPipelinesPageLatestRun struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 流水线运行实例ID PipelineRunId *string `json:"pipeline_run_id,omitempty"` // 执行人ID ExecutorId *string `json:"executor_id,omitempty"` // 执行人名称 ExecutorName *string `json:"executor_name,omitempty"` // 阶段信息列表 StageStatusList *[]ListPipelinesPageLatestRunStageStatusList `json:"stage_status_list,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 运行序号 RunNumber *int32 `json:"run_number,omitempty"` // 触发类型 TriggerType *string `json:"trigger_type,omitempty"` BuildParams *ListPipelinesPageLatestRunBuildParams `json:"build_params,omitempty"` ArtifactParams *ListPipelinesPageLatestRunArtifactParams `json:"artifact_params,omitempty"` // 开始时间 StartTime *int64 `json:"start_time,omitempty"` // 结束时间 EndTime *int64 `json:"end_time,omitempty"` // 修改页地址 ModifyUrl *string `json:"modify_url,omitempty"` // 详情页地址 DetailUrl *string `json:"detail_url,omitempty"` }
ListPipelinesPageLatestRun 最近一次运行信息
func (ListPipelinesPageLatestRun) String ¶
func (o ListPipelinesPageLatestRun) String() string
type ListPipelinesPageLatestRunArtifactParams ¶
type ListPipelinesPageLatestRunArtifactParams struct { // 包版本 Version *string `json:"version,omitempty"` // 过滤分支 BranchFilter *string `json:"branch_filter,omitempty"` // 包名称 PackageName *string `json:"package_name,omitempty"` // docker组织 Organization *string `json:"organization,omitempty"` }
ListPipelinesPageLatestRunArtifactParams 制品源参数
func (ListPipelinesPageLatestRunArtifactParams) String ¶
func (o ListPipelinesPageLatestRunArtifactParams) String() string
type ListPipelinesPageLatestRunBuildParams ¶
type ListPipelinesPageLatestRunBuildParams struct { // 合并请求事件类型 Action *string `json:"action,omitempty"` // 基于分支还是tag运行 BuildType *string `json:"build_type,omitempty"` // 代码仓提交ID CommitId *string `json:"commit_id,omitempty"` // 运行事件类型 EventType *string `json:"event_type,omitempty"` // 合并请求ID MergeId *string `json:"merge_id,omitempty"` // 代码仓提交信息 Message *string `json:"message,omitempty"` // 源分支 SourceBranch *string `json:"source_branch,omitempty"` // 标签 Tag *string `json:"tag,omitempty"` // 目标分支 TargetBranch *string `json:"target_branch,omitempty"` // codehub仓库ID CodehubId *string `json:"codehub_id,omitempty"` // 代码仓https地址 GitUrl *string `json:"git_url,omitempty"` // 源codehub代码仓ID SourceCodehubId *string `json:"source_codehub_id,omitempty"` // 源codehub代码仓地址 SourceCodehubUrl *string `json:"source_codehub_url,omitempty"` // 源codehub代码仓http地址 SourceCodehubHttpUrl *string `json:"source_codehub_http_url,omitempty"` }
ListPipelinesPageLatestRunBuildParams 构建参数
func (ListPipelinesPageLatestRunBuildParams) String ¶
func (o ListPipelinesPageLatestRunBuildParams) String() string
type ListPipelinesPageLatestRunStageStatusList ¶
type ListPipelinesPageLatestRunStageStatusList struct { // 阶段名 Name *string `json:"name,omitempty"` // 序列号 Sequence *int32 `json:"sequence,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 阶段ID Id *string `json:"id,omitempty"` }
func (ListPipelinesPageLatestRunStageStatusList) String ¶
func (o ListPipelinesPageLatestRunStageStatusList) String() string
type ListPipelinesPagePipelines ¶
type ListPipelinesPagePipelines struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 流水线名称 Name *string `json:"name,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 组件ID ComponentId *string `json:"component_id,omitempty"` // 是否为变更流水线 IsPublish *bool `json:"is_publish,omitempty"` // 是否收藏此流水线 IsCollect *bool `json:"is_collect,omitempty"` // 流水线版本 ManifestVersion *string `json:"manifest_version,omitempty"` // 创建时间 CreateTime *int64 `json:"create_time,omitempty"` LatestRun *ListPipelinesPageLatestRun `json:"latest_run,omitempty"` // 旧版转新版标识 ConvertSign *int32 `json:"convert_sign,omitempty"` }
func (ListPipelinesPagePipelines) String ¶
func (o ListPipelinesPagePipelines) String() string
type ListPipelinesRequest ¶
type ListPipelinesRequest struct { // 项目ID ProjectId string `json:"project_id"` Body *ListPipelineQuery `json:"body,omitempty"` }
ListPipelinesRequest Request Object
func (ListPipelinesRequest) String ¶
func (o ListPipelinesRequest) String() string
type ListPipelinesResponse ¶
type ListPipelinesResponse struct { // 起始偏移 Offset *int32 `json:"offset,omitempty"` // 查询大小 Limit *int32 `json:"limit,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 流水线 Pipelines *[]ListPipelinesPagePipelines `json:"pipelines,omitempty"` HttpStatusCode int `json:"-"` }
ListPipelinesResponse Response Object
func (ListPipelinesResponse) String ¶
func (o ListPipelinesResponse) String() string
type ListPipleineBuildResultRequest ¶
type ListPipleineBuildResultRequest struct { // 项目id ProjectId string `json:"project_id"` // 起始日期,起始日期和结束日期间隔不超过一个月,查询包含起始日期 StartDate string `json:"start_date"` // 结束日期,起始日期和结束日期间隔不超过一个月,查询包含结束日期 EndDate string `json:"end_date"` // 偏移量,表示从此偏移量开始查询,offset大于等于0 Offset int32 `json:"offset"` // 每次查询的条目数量 Limit int32 `json:"limit"` }
ListPipleineBuildResultRequest Request Object
func (ListPipleineBuildResultRequest) String ¶
func (o ListPipleineBuildResultRequest) String() string
type ListPipleineBuildResultResponse ¶
type ListPipleineBuildResultResponse struct { // 偏移量,表示从此偏移量开始查询,offset大于等于0 Offset *int32 `json:"offset,omitempty"` // 每次查询的条目数量 Limit *int32 `json:"limit,omitempty"` // 总条目数量 Total *int32 `json:"total,omitempty"` // 执行状况数据列表 BuildResults *[]PipelineBuildResult `json:"build_results,omitempty"` HttpStatusCode int `json:"-"` }
ListPipleineBuildResultResponse Response Object
func (ListPipleineBuildResultResponse) String ¶
func (o ListPipleineBuildResultResponse) String() string
type ListPluginVersionNumberRequest ¶ added in v0.1.67
type ListPluginVersionNumberRequest struct { // 租户ID DomainId string `json:"domain_id"` // 插件名 PluginName string `json:"plugin_name"` // 偏移 Offset string `json:"offset"` // 大小 Limit string `json:"limit"` }
ListPluginVersionNumberRequest Request Object
func (ListPluginVersionNumberRequest) String ¶ added in v0.1.67
func (o ListPluginVersionNumberRequest) String() string
type ListPluginVersionNumberResponse ¶ added in v0.1.67
type ListPluginVersionNumberResponse struct { // 偏移 Offset *int32 `json:"offset,omitempty"` // 大小 Limit *int32 `json:"limit,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 结果集 Data *[]string `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListPluginVersionNumberResponse Response Object
func (ListPluginVersionNumberResponse) String ¶ added in v0.1.67
func (o ListPluginVersionNumberResponse) String() string
type ListPluginsRequest ¶ added in v0.1.67
type ListPluginsRequest struct { // 租户ID DomainId string `json:"domain_id"` // 偏移 Offset string `json:"offset"` // 大小 Limit string `json:"limit"` Body *AgentPluginInfoQueryDto `json:"body,omitempty"` }
ListPluginsRequest Request Object
func (ListPluginsRequest) String ¶ added in v0.1.67
func (o ListPluginsRequest) String() string
type ListPluginsResponse ¶ added in v0.1.67
type ListPluginsResponse struct { // 偏移 Offset *int32 `json:"offset,omitempty"` // 大小 Limit *int32 `json:"limit,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 结果集 Data *[]PluginBasicVo `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListPluginsResponse Response Object
func (ListPluginsResponse) String ¶ added in v0.1.67
func (o ListPluginsResponse) String() string
type ListProjectStrategyRequest ¶ added in v0.1.67
type ListProjectStrategyRequest struct { // 项目ID ProjectId string `json:"project_id"` // 偏移量,表示从此偏移量开始查询,offset大于等于0 Offset int32 `json:"offset"` // 每页显示的条目数量 Limit int32 `json:"limit"` // 是否包含租户级规则 IncludeTenantRuleSet bool `json:"include_tenant_rule_set"` // 策略名称,用于模糊查询 Name *string `json:"name,omitempty"` // 是否有效 IsValid *bool `json:"is_valid,omitempty"` // 策略类型 Type *string `json:"type,omitempty"` }
ListProjectStrategyRequest Request Object
func (ListProjectStrategyRequest) String ¶ added in v0.1.67
func (o ListProjectStrategyRequest) String() string
type ListProjectStrategyResponse ¶ added in v0.1.67
type ListProjectStrategyResponse struct { // 规则实例列表 Data *[]RuleSet `json:"data,omitempty"` // 总数 Total *int64 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListProjectStrategyResponse Response Object
func (ListProjectStrategyResponse) String ¶ added in v0.1.67
func (o ListProjectStrategyResponse) String() string
type ListPublisherRequest ¶ added in v0.1.67
type ListPublisherRequest struct { // 租户ID DomainId string `json:"domain_id"` // 偏移 Offset string `json:"offset"` // 大小 Limit string `json:"limit"` // 名称 Name *string `json:"name,omitempty"` }
ListPublisherRequest Request Object
func (ListPublisherRequest) String ¶ added in v0.1.67
func (o ListPublisherRequest) String() string
type ListPublisherResponse ¶ added in v0.1.67
type ListPublisherResponse struct { // 查询偏移量 Offset *int32 `json:"offset,omitempty"` // 每次查询的条目数量 Limit *int32 `json:"limit,omitempty"` // 查询总数 Total *int64 `json:"total,omitempty"` // 数据列表 Data *[]PublisherVo `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListPublisherResponse Response Object
func (ListPublisherResponse) String ¶ added in v0.1.67
func (o ListPublisherResponse) String() string
type ListRuleRequest ¶ added in v0.1.67
type ListRuleRequest struct { // 租户ID DomainId string `json:"domain_id"` // 项目ID CloudProjectId *string `json:"cloud_project_id,omitempty"` // 偏移量,表示从此偏移量开始查询,offset大于等于0 Offset int32 `json:"offset"` // 每页显示的条目数量 Limit int32 `json:"limit"` // 类型 Type *string `json:"type,omitempty"` // 规则名称,用于模糊搜索 Name *string `json:"name,omitempty"` }
ListRuleRequest Request Object
func (ListRuleRequest) String ¶ added in v0.1.67
func (o ListRuleRequest) String() string
type ListRuleResponse ¶ added in v0.1.67
type ListRuleResponse struct { // 静态规则列表 Data *[]Rule `json:"data,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListRuleResponse Response Object
func (ListRuleResponse) String ¶ added in v0.1.67
func (o ListRuleResponse) String() string
type ListStagePluginsRequest ¶ added in v0.1.67
type ListStagePluginsRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *StagePluginsQueryDto `json:"body,omitempty"` }
ListStagePluginsRequest Request Object
func (ListStagePluginsRequest) String ¶ added in v0.1.67
func (o ListStagePluginsRequest) String() string
type ListStagePluginsResponse ¶ added in v0.1.67
type ListStagePluginsResponse struct { // 结果集 FullStagePluginsItemList *[]FullStagePluginsRelationVoFullStagePluginsItemList `json:"full_stage_plugins_item_list,omitempty"` HttpStatusCode int `json:"-"` }
ListStagePluginsResponse Response Object
func (ListStagePluginsResponse) String ¶ added in v0.1.67
func (o ListStagePluginsResponse) String() string
type ListStrategyRequest ¶ added in v0.1.67
type ListStrategyRequest struct { // 租户ID DomainId string `json:"domain_id"` // 偏移量,表示从此偏移量开始查询,offset大于等于0 Offset int32 `json:"offset"` // 每页显示的条目数量 Limit int32 `json:"limit"` // 是否包含租户级规则 IncludeTenantRuleSet bool `json:"include_tenant_rule_set"` // 策略名称,用于模糊查询 Name *string `json:"name,omitempty"` // 是否有效 IsValid *bool `json:"is_valid,omitempty"` // 策略类型 Type *string `json:"type,omitempty"` // 项目ID CloudProjectId *string `json:"cloud_project_id,omitempty"` }
ListStrategyRequest Request Object
func (ListStrategyRequest) String ¶ added in v0.1.67
func (o ListStrategyRequest) String() string
type ListStrategyResponse ¶ added in v0.1.67
type ListStrategyResponse struct { // 规则实例列表 Data *[]RuleSet `json:"data,omitempty"` // 总数 Total *int64 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListStrategyResponse Response Object
func (ListStrategyResponse) String ¶ added in v0.1.67
func (o ListStrategyResponse) String() string
type ListTemplatesRequest ¶
type ListTemplatesRequest struct { // 模板类型 TemplateType string `json:"template_type"` // 是否内置模板 IsBuildIn string `json:"is_build_in"` // 偏移量,表示从此偏移量开始查询,offset大于等于0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 模板名称,匹配规则为模糊匹配 Name *string `json:"name,omitempty"` // 排序字段 Sort *string `json:"sort,omitempty"` // 是否正序 Asc *string `json:"asc,omitempty"` }
ListTemplatesRequest Request Object
func (ListTemplatesRequest) String ¶
func (o ListTemplatesRequest) String() string
type ListTemplatesResponse ¶
type ListTemplatesResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 页码数 PageNumber *int32 `json:"page_number,omitempty"` // 每页显示数 PageSize *int32 `json:"page_size,omitempty"` // 模板数据,list类型数据 Content *[]TemplateView `json:"content,omitempty"` HttpStatusCode int `json:"-"` }
ListTemplatesResponse Response Object
func (ListTemplatesResponse) String ¶
func (o ListTemplatesResponse) String() string
type LogQuery ¶ added in v0.1.70
type LogQuery struct { // 日志起始偏移 StartOffset *int64 `json:"start_offset,omitempty"` // 日志结束偏移 EndOffset *int64 `json:"end_offset,omitempty"` // 最大日志行数 Limit int64 `json:"limit"` // 排序规则[\"asc\",\"desc\"] Sort string `json:"sort"` }
LogQuery 流水线日志查询请求体 startOffset 和 endOffset 均设置为 0,则代表查询全量日志。
type NewExtensionExecution ¶ added in v0.1.67
type NewExtensionExecution struct { // 入口 Target *string `json:"target,omitempty"` // 类型 Type *string `json:"type,omitempty"` // sha256 Sha256 *string `json:"sha256,omitempty"` }
NewExtensionExecution 执行信息
func (NewExtensionExecution) String ¶ added in v0.1.67
func (o NewExtensionExecution) String() string
type NewExtensionInputs ¶ added in v0.1.67
type NewExtensionInputs struct { // 名称 Name *string `json:"name,omitempty"` // 类型 Type *string `json:"type,omitempty"` // 标签 Label *string `json:"label,omitempty"` // 说明 Description *string `json:"description,omitempty"` // 默认值 DefaultValue *string `json:"default_value,omitempty"` // 必填 Required *bool `json:"required,omitempty"` ExtendProp *ExtensionExtendProp `json:"extend_prop,omitempty"` Validation *ExtensionValidation `json:"validation,omitempty"` }
func (NewExtensionInputs) String ¶ added in v0.1.67
func (o NewExtensionInputs) String() string
type NewExtensionOutputs ¶ added in v0.1.67
type NewExtensionOutputs struct { // 名称 Name *string `json:"name,omitempty"` // 类型 Type *string `json:"type,omitempty"` // 描述 Description *string `json:"description,omitempty"` }
func (NewExtensionOutputs) String ¶ added in v0.1.67
func (o NewExtensionOutputs) String() string
type OutputRespOutputResult ¶ added in v0.1.85
type OutputRespOutputResult struct { // output名称 Key *string `json:"key,omitempty"` // output值 Value *string `json:"value,omitempty"` }
func (OutputRespOutputResult) String ¶ added in v0.1.85
func (o OutputRespOutputResult) String() string
type OutputRespStepOutputs ¶ added in v0.1.85
type OutputRespStepOutputs struct { StepRunId *string `json:"step_run_id,omitempty"` OutputResult *[]OutputRespOutputResult `json:"output_result,omitempty"` }
func (OutputRespStepOutputs) String ¶ added in v0.1.85
func (o OutputRespStepOutputs) String() string
type PackageInfo ¶
type PackageInfo struct { // 产物名 Name *string `json:"name,omitempty"` // 产物类型 PackageType *string `json:"packageType,omitempty"` // 产物版本号 Version *string `json:"version,omitempty"` // 产物下载地址 DownloadUrl *string `json:"downloadUrl,omitempty"` }
PackageInfo 流水线产物
func (PackageInfo) String ¶
func (o PackageInfo) String() string
type PageInfoBusinessTypeDefinitionVoData ¶ added in v0.1.67
type PageInfoBusinessTypeDefinitionVoData struct { // 业务类型 BusinessType *string `json:"business_type,omitempty"` // 展示名 DisplayName *string `json:"display_name,omitempty"` // 唯一ID UniqueId *string `json:"unique_id,omitempty"` // 可编辑 Editable *bool `json:"editable,omitempty"` // 可移除 Removable *bool `json:"removable,omitempty"` // 可复制 Cloneable *bool `json:"cloneable,omitempty"` // 禁用 Disabled *bool `json:"disabled,omitempty"` // 条件 Conditions *[]string `json:"conditions,omitempty"` // 插件列表 PluginsList *[]PageInfoBusinessTypeDefinitionVoPluginsList `json:"plugins_list,omitempty"` }
func (PageInfoBusinessTypeDefinitionVoData) String ¶ added in v0.1.67
func (o PageInfoBusinessTypeDefinitionVoData) String() string
type PageInfoBusinessTypeDefinitionVoPluginsList ¶ added in v0.1.67
type PageInfoBusinessTypeDefinitionVoPluginsList struct { // 唯一ID UniqueId *string `json:"unique_id,omitempty"` // 展示名 DisplayName *string `json:"display_name,omitempty"` // 插件名 PluginName *string `json:"plugin_name,omitempty"` // 禁用 Disabled *bool `json:"disabled,omitempty"` // 组名 GroupName *string `json:"group_name,omitempty"` // 组类型 GroupType *string `json:"group_type,omitempty"` // 属性 PluginAttribution *string `json:"plugin_attribution,omitempty"` // 组合插件 PluginCompositionType *string `json:"plugin_composition_type,omitempty"` // 运行属性 RuntimeAttribution *string `json:"runtime_attribution,omitempty"` // 基础插件列表 AllSteps *[]FullStagePluginsRelationVoAllSteps `json:"all_steps,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 版本属性 VersionAttribution *string `json:"version_attribution,omitempty"` // 图标URL IconUrl *string `json:"icon_url,omitempty"` // 可编辑 MultiStepEditable *int32 `json:"multi_step_editable,omitempty"` // 地址 Location *string `json:"location,omitempty"` // 发布商ID PublisherUniqueId *string `json:"publisher_unique_id,omitempty"` // 版本 ManifestVersion *string `json:"manifest_version,omitempty"` }
func (PageInfoBusinessTypeDefinitionVoPluginsList) String ¶ added in v0.1.67
func (o PageInfoBusinessTypeDefinitionVoPluginsList) String() string
type PageInfoOptionalSinglePluginVoData ¶ added in v0.1.67
type PageInfoOptionalSinglePluginVoData struct { // 名称 Name *string `json:"name,omitempty"` // 展示名 DisplayName *string `json:"display_name,omitempty"` // 属性 PluginAttribution *string `json:"plugin_attribution,omitempty"` // 图标URL IconUrl *string `json:"icon_url,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 发布商ID PublisherId *string `json:"publisher_id,omitempty"` // 版本 ManifestVersion *string `json:"manifest_version,omitempty"` }
func (PageInfoOptionalSinglePluginVoData) String ¶ added in v0.1.67
func (o PageInfoOptionalSinglePluginVoData) String() string
type ParamTypeLimits ¶
type ParamTypeLimits struct { // 是否废弃 Disable string `json:"disable"` // 语言名字 Name string `json:"name"` // 语言展示名字 Displayname string `json:"displayname"` // 策略ID Id string `json:"id"` // 扫描语言 Language string `json:"language"` }
ParamTypeLimits CodeCheck任务语言参数
func (ParamTypeLimits) String ¶
func (o ParamTypeLimits) String() string
type PipelineBasicInfo ¶
type PipelineBasicInfo struct { // CodeArts项目id ProjectId string `json:"project_id"` // CodeArts项目名字 ProjectName string `json:"project_name"` // 流水线id PipelineId string `json:"pipeline_id"` // 流水线名字 PipelineName string `json:"pipeline_name"` // 流水线创建人id CreatorId string `json:"creator_id"` // 流水线创建人名字 CreatorName string `json:"creator_name"` // 流水线创建人id ExecutorId string `json:"executor_id"` // 流水线执行人名字 ExecutorName string `json:"executor_name"` // 启动时间 StartTime string `json:"start_time"` // 创建时间 CreateTime string `json:"create_time"` // 用户是否关注流水线:true(关注),false(未关注) Watched string `json:"watched"` }
func (PipelineBasicInfo) String ¶
func (o PipelineBasicInfo) String() string
type PipelineBuildResult ¶
type PipelineBuildResult struct { // 执行ID BuildId string `json:"build_id"` // 运行耗时 ElapseTime *string `json:"elapse_time,omitempty"` // 执行结束时间 EndTime string `json:"end_time"` // 运行结果 Outcome string `json:"outcome"` // 流水线id PipelineId string `json:"pipeline_id"` // 流水线名称 PipelineName string `json:"pipeline_name"` // 执行开始时间 StartTime string `json:"start_time"` // 运行状态 Status string `json:"status"` }
func (PipelineBuildResult) String ¶
func (o PipelineBuildResult) String() string
type PipelineByTemplateDto ¶
type PipelineByTemplateDto struct { // 流水线名称 Name string `json:"name"` // 流水线描述 Description *string `json:"description,omitempty"` // 是否为变更流水线 IsPublish bool `json:"is_publish"` // 流水线源 Sources []CodeSource `json:"sources"` // 流水线参数 Variables *[]PipelineByTemplateDtoVariables `json:"variables,omitempty"` }
func (PipelineByTemplateDto) String ¶
func (o PipelineByTemplateDto) String() string
type PipelineByTemplateDtoVariables ¶ added in v0.1.63
type PipelineByTemplateDtoVariables struct { // 参数名称 Name *string `json:"name,omitempty"` // 参数序号 Sequence *int32 `json:"sequence,omitempty"` // 参数类型 Type *string `json:"type,omitempty"` // 参数值 Value *string `json:"value,omitempty"` // 是否私密参数 IsSecret *bool `json:"is_secret,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 是否运行时设置 IsRuntime *bool `json:"is_runtime,omitempty"` // 是否重置 IsReset *bool `json:"is_reset,omitempty"` // 最后一次参数值 LatestValue *string `json:"latest_value,omitempty"` // 枚举值 Limits *[]string `json:"limits,omitempty"` }
func (PipelineByTemplateDtoVariables) String ¶ added in v0.1.63
func (o PipelineByTemplateDtoVariables) String() string
type PipelineConcurrencyMgmt ¶ added in v0.1.102
type PipelineConcurrencyMgmt struct { // 流水线id PipelineId *string `json:"pipeline_id,omitempty"` // 并行数量 ConcurrencyNumber *int32 `json:"concurrency_number,omitempty"` // 超出情况下策略 ExceedAction *string `json:"exceed_action,omitempty"` // 创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 更新时间 UpdateTime *int64 `json:"update_time,omitempty"` // 是否有效 Enable *bool `json:"enable,omitempty"` }
PipelineConcurrencyMgmt 流水线并发管理
func (PipelineConcurrencyMgmt) String ¶ added in v0.1.102
func (o PipelineConcurrencyMgmt) String() string
type PipelineDto ¶ added in v0.1.63
type PipelineDto struct { // 流水线名称 Name string `json:"name"` // 流水线描述 Description *string `json:"description,omitempty"` // 是否为发布流水线 IsPublish bool `json:"is_publish"` // 流水线源 Sources *[]CodeSource `json:"sources,omitempty"` // 流水线自定义全局变量 Variables *[]CustomVariable `json:"variables,omitempty"` // 流水线定时执行配置 Schedules *[]PipelineSchedule `json:"schedules,omitempty"` // 流水线代码事件触发配置 Triggers *[]PipelineTrigger `json:"triggers,omitempty"` // 流水线结构定义版本,新版默认为3.0 ManifestVersion *string `json:"manifest_version,omitempty"` // 流水线结构定义 Definition string `json:"definition"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 流水线组ID GroupId *string `json:"group_id,omitempty"` // 若为复制场景,则为原流水线ID Id *string `json:"id,omitempty"` ConcurrencyControl *PipelineConcurrencyMgmt `json:"concurrency_control,omitempty"` }
func (PipelineDto) String ¶ added in v0.1.63
func (o PipelineDto) String() string
type PipelineExecuteStates ¶
type PipelineExecuteStates struct { // 流水线执行结果。取值及含义:success:成功;error:失败;aborted:终止 Result string `json:"result"` // 流水线执行状态.取值和含义:waiting:等待;running:执行中;verifying:待审核;suspending:挂起;completed:完成 Status string `json:"status"` // 阶段执行情况 Stages []Stages `json:"stages"` // 执行人 Executor string `json:"executor"` // 流水线名字 PipelineName string `json:"pipeline_name"` // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线执行ID BuildId string `json:"build_id"` // 流水线详情页URL DetailUrl string `json:"detail_url"` // 流水线编辑页URL ModifyUrl string `json:"modify_url"` // 开始执行时间 StartTime string `json:"start_time"` // 结束执行时间 EndTime string `json:"end_time"` }
PipelineExecuteStates 流水线执行结果
func (PipelineExecuteStates) String ¶
func (o PipelineExecuteStates) String() string
type PipelineGroupBindDto ¶ added in v0.1.67
type PipelineGroupBindDto struct { // 分组ID GroupId string `json:"group_id"` // 流水线集合 Pipelines []PipelineGroupBindDtoPipelines `json:"pipelines"` }
PipelineGroupBindDto PipelineGroupBindDTO
func (PipelineGroupBindDto) String ¶ added in v0.1.67
func (o PipelineGroupBindDto) String() string
type PipelineGroupBindDtoPipelines ¶ added in v0.1.67
type PipelineGroupBindDtoPipelines struct { // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线名 PipelineName string `json:"pipeline_name"` }
func (PipelineGroupBindDtoPipelines) String ¶ added in v0.1.67
func (o PipelineGroupBindDtoPipelines) String() string
type PipelineGroupCreateDto ¶ added in v0.1.67
type PipelineGroupCreateDto struct { // 流水线分组名 Name string `json:"name"` // 项目名 ProjectId string `json:"project_id"` // 父分组ID ParentId *string `json:"parent_id,omitempty"` }
PipelineGroupCreateDto PipelineGroupCreateDTO
func (PipelineGroupCreateDto) String ¶ added in v0.1.67
func (o PipelineGroupCreateDto) String() string
type PipelineGroupUpdateDto ¶ added in v0.1.67
type PipelineGroupUpdateDto struct { // 流水线分组名 Name string `json:"name"` // 流水线分组ID Id string `json:"id"` }
PipelineGroupUpdateDto PipelineGroupUpdateDTO
func (PipelineGroupUpdateDto) String ¶ added in v0.1.67
func (o PipelineGroupUpdateDto) String() string
type PipelineGroupVo ¶ added in v0.1.67
type PipelineGroupVo struct { // 分组ID Id string `json:"id"` // 租户ID DomainId string `json:"domain_id"` // 项目ID ProjectId string `json:"project_id"` // 分组名 Name string `json:"name"` // 父分组ID ParentId *string `json:"parent_id,omitempty"` // 分组路径ID PathId string `json:"path_id"` // 序号 Ordinal *int32 `json:"ordinal,omitempty"` // 创建用户ID Creator string `json:"creator"` // 更新用户ID Updater *string `json:"updater,omitempty"` // 创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 更新时间 UpdateTime *int64 `json:"update_time,omitempty"` // 子分组列表 Children *[]PipelineGroupVo `json:"children,omitempty"` }
PipelineGroupVo PipelineGroupVo
func (PipelineGroupVo) String ¶ added in v0.1.67
func (o PipelineGroupVo) String() string
type PipelineLatestRun ¶
type PipelineLatestRun struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 流水线运行实例ID PipelineRunId *string `json:"pipeline_run_id,omitempty"` // 执行人ID ExecutorId *string `json:"executor_id,omitempty"` // 执行人名称 ExecutorName *string `json:"executor_name,omitempty"` // 阶段状态信息 StageStatusList *[]PipelineLatestRunStageStatusList `json:"stage_status_list,omitempty"` // 流水线状态 Status *string `json:"status,omitempty"` // 运行序号 RunNumber *int32 `json:"run_number,omitempty"` // 触发类型 TriggerType *string `json:"trigger_type,omitempty"` BuildParams *PipelineLatestRunBuildParams `json:"build_params,omitempty"` ArtifactParams *PipelineLatestRunArtifactParams `json:"artifact_params,omitempty"` // 开始时间 StartTime *int64 `json:"start_time,omitempty"` // 结束时间 EndTime *int64 `json:"end_time,omitempty"` // 修改页地址 ModifyUrl *string `json:"modify_url,omitempty"` // 详情页地址 DetailUrl *string `json:"detail_url,omitempty"` }
PipelineLatestRun 流水线及其最近一次运行信息
func (PipelineLatestRun) String ¶
func (o PipelineLatestRun) String() string
type PipelineLatestRunArtifactParams ¶
type PipelineLatestRunArtifactParams struct { // 包版本 Version *string `json:"version,omitempty"` // 过滤分支 BranchFilter *string `json:"branch_filter,omitempty"` // 包名称 PackageName *string `json:"package_name,omitempty"` // docker组织信息 Organization *string `json:"organization,omitempty"` }
PipelineLatestRunArtifactParams 运行制品源参数
func (PipelineLatestRunArtifactParams) String ¶
func (o PipelineLatestRunArtifactParams) String() string
type PipelineLatestRunBuildParams ¶
type PipelineLatestRunBuildParams struct { // 合并请求的事件类型 Action *string `json:"action,omitempty"` // 基于分支还是tag触发 BuildType *string `json:"build_type,omitempty"` // 代码库提交ID CommitId *string `json:"commit_id,omitempty"` // 触发的事件类型 EventType *string `json:"event_type,omitempty"` // 合并请求的ID MergeId *string `json:"merge_id,omitempty"` // 代码库提交信息 Message *string `json:"message,omitempty"` // 合并请求的源分支 SourceBranch *string `json:"source_branch,omitempty"` // 标签 Tag *string `json:"tag,omitempty"` // 目标分支 TargetBranch *string `json:"target_branch,omitempty"` // codehub代码仓ID CodehubId *string `json:"codehub_id,omitempty"` // 代码仓https地址 GitUrl *string `json:"git_url,omitempty"` // 源codehub代码仓ID SourceCodehubId *string `json:"source_codehub_id,omitempty"` // 源codehub代码仓地址 SourceCodehubUrl *string `json:"source_codehub_url,omitempty"` // 源codehub代码仓http地址 SourceCodehubHttpUrl *string `json:"source_codehub_http_url,omitempty"` }
PipelineLatestRunBuildParams 运行构建参数
func (PipelineLatestRunBuildParams) String ¶
func (o PipelineLatestRunBuildParams) String() string
type PipelineLatestRunStageStatusList ¶
type PipelineLatestRunStageStatusList struct { // 阶段名 Name *string `json:"name,omitempty"` // 阶段序列号 Sequence *int32 `json:"sequence,omitempty"` // 阶段状态 Status *string `json:"status,omitempty"` // 阶段开始时间 StartTime *string `json:"start_time,omitempty"` // 阶段结束时间 EndTime *string `json:"end_time,omitempty"` }
func (PipelineLatestRunStageStatusList) String ¶
func (o PipelineLatestRunStageStatusList) String() string
type PipelineMoveToGroupResponseVo ¶ added in v0.1.67
type PipelineMoveToGroupResponseVo struct { // 响应码 [\"failed\", \"success\"] Code string `json:"code"` // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线名 PipelineName string `json:"pipeline_name"` }
PipelineMoveToGroupResponseVo PipelineMoveToGroupResponseVo
func (PipelineMoveToGroupResponseVo) String ¶ added in v0.1.67
func (o PipelineMoveToGroupResponseVo) String() string
type PipelineParam ¶
type PipelineParam struct { // 流水线参数名字 Name string `json:"name"` // 流水线参数值 Value string `json:"value"` // 流水线参数描述 Description string `json:"description"` // 流水线参数类型 ParamType string `json:"param_type"` // 是否静态参数 IsStatic bool `json:"is_static"` // 是否默认参数 IsDefault bool `json:"is_default"` }
PipelineParam 流水线参数
func (PipelineParam) String ¶
func (o PipelineParam) String() string
type PipelineParameter ¶
type PipelineParameter struct { // 参数名称 Name string `json:"name"` // 参数值 Value string `json:"value"` }
func (PipelineParameter) String ¶
func (o PipelineParameter) String() string
type PipelineSchedule ¶ added in v0.1.67
type PipelineSchedule struct { // 任务ID Uuid *string `json:"uuid,omitempty"` // 任务类型 Type *string `json:"type,omitempty"` // 任务名称 Name *string `json:"name,omitempty"` // 是否可用 Enable *string `json:"enable,omitempty"` // 一周内具体时间 DaysOfWeek *[]int32 `json:"days_of_week,omitempty"` // 时区 TimeZone *string `json:"time_zone,omitempty"` }
func (PipelineSchedule) String ¶ added in v0.1.67
func (o PipelineSchedule) String() string
type PipelineSource ¶ added in v0.1.72
type PipelineSource struct { // 流水线源类型 Type *string `json:"type,omitempty"` Params *PipelineSourceParam `json:"params,omitempty"` }
func (PipelineSource) String ¶ added in v0.1.72
func (o PipelineSource) String() string
type PipelineSourceParam ¶ added in v0.1.84
type PipelineSourceParam struct { // 代码/制品源参数 - 代码仓/制品源别名。别名仅支持输入大小写英文字母、数字、“_”,至多128个字符 Alias *string `json:"alias,omitempty"` // 代码源参数 - git类型 GitType *string `json:"git_type,omitempty"` // 代码源参数 - Repo代码仓ID CodehubId *string `json:"codehub_id,omitempty"` // 代码源参数 - 扩展点id EndpointId *string `json:"endpoint_id,omitempty"` // 代码源参数 - 默认分支 DefaultBranch *string `json:"default_branch,omitempty"` // 代码源参数 - git链接 GitUrl *string `json:"git_url,omitempty"` // 代码源参数 - ssh_git链接 SshGitUrl *string `json:"ssh_git_url,omitempty"` // 代码源参数 - 网页url WebUrl *string `json:"web_url,omitempty"` // 代码源参数 - 流水线源名称 RepoName *string `json:"repo_name,omitempty"` // 制品源参数 - 制品源类型,generic/docker ArtifactType *string `json:"artifact_type,omitempty"` // 制品源参数 - 制品源类型名 ArtifactTypeName *string `json:"artifact_type_name,omitempty"` // 制品源参数 - 过滤分支 BranchFilter *string `json:"branch_filter,omitempty"` // 制品源参数 - 目录 Directory *string `json:"directory,omitempty"` // 制品源参数 - 目录ID DirectoryId *string `json:"directory_id,omitempty"` // 制品源参数 - Docker组织 Organization *string `json:"organization,omitempty"` // 制品源参数 - 包名称 PackageName *string `json:"package_name,omitempty"` // 制品源参数 - 版本 Version *string `json:"version,omitempty"` // 制品源参数 - 获取制品源版本的策略,latest/specificVersion VersionStrategy *string `json:"version_strategy,omitempty"` // 制品源参数 - 制品源名称,如CloudArtifact SourceSystem *string `json:"source_system,omitempty"` }
PipelineSourceParam 流水线源参数
func (PipelineSourceParam) String ¶ added in v0.1.84
func (o PipelineSourceParam) String() string
type PipelineStateStatus ¶
type PipelineStateStatus struct { // 阶段或任务标识 Id string `json:"id"` // 阶段或任务名称 Name string `json:"name"` // 类别(阶段/任务) Type string `json:"type"` // 执行开始时间 StartTime string `json:"start_time"` // 执行结束时间 EndTime string `json:"end_time"` // 运行耗时 ElapsedTime string `json:"elapsed_time"` // 运行状态 Status string `json:"status"` // 运行结果 Outcome string `json:"outcome"` // 错误码 ErrorCode string `json:"error_code"` // 错误信息 ErrorMsg string `json:"error_msg"` // 子任务运行信息(对任务来说是空的) Children []PipelineStateStatus `json:"children"` // 任务运行记录跳转链接 DetailUrl string `json:"detail_url"` }
func (PipelineStateStatus) String ¶
func (o PipelineStateStatus) String() string
type PipelineTemplateDto ¶ added in v0.1.67
type PipelineTemplateDto struct { // 模板名称 Name string `json:"name"` // 模板描述 Description *string `json:"description,omitempty"` // 模板语言 Language string `json:"language"` Variables *CustomVariable `json:"variables,omitempty"` // 模板编排json,包含stages Definition string `json:"definition"` // 是否系统模板 IsSystem bool `json:"is_system"` // 所属租户ID DomainId string `json:"domain_id"` // 是否显示流水线源 IsShowSource bool `json:"is_show_source"` }
func (PipelineTemplateDto) String ¶ added in v0.1.67
func (o PipelineTemplateDto) String() string
type PipelineTemplateSimpleVo ¶
type PipelineTemplateSimpleVo struct { // 模板ID Id *string `json:"id,omitempty"` // 模板名称 Name *string `json:"name,omitempty"` // 模板图标 Icon *string `json:"icon,omitempty"` // 流水线结构定义版本,新版默认为3.0 ManifestVersion *string `json:"manifest_version,omitempty"` // 模板语言 Language *string `json:"language,omitempty"` // 模板描述 Description *string `json:"description,omitempty"` // 是否系统模板 IsSystem *bool `json:"is_system,omitempty"` // 模板局点 Region *string `json:"region,omitempty"` // 模板所属租户ID DomainId *string `json:"domain_id,omitempty"` // 模板创建人ID CreatorId *string `json:"creator_id,omitempty"` // 模板创建人名称 CreatorName *string `json:"creator_name,omitempty"` // 模板更新人ID UpdaterId *string `json:"updater_id,omitempty"` // 创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 更新时间 UpdateTime *int64 `json:"update_time,omitempty"` // 是否收藏 IsCollect *bool `json:"is_collect,omitempty"` // 是否展示流水线源 IsShowSource *string `json:"is_show_source,omitempty"` // 模板编排stages Stages *[]PipelineTemplateSimpleVoStages `json:"stages,omitempty"` }
func (PipelineTemplateSimpleVo) String ¶
func (o PipelineTemplateSimpleVo) String() string
type PipelineTemplateSimpleVoStages ¶
type PipelineTemplateSimpleVoStages struct { // 阶段名称 Name *string `json:"name,omitempty"` // 序列号 Sequence *int32 `json:"sequence,omitempty"` }
func (PipelineTemplateSimpleVoStages) String ¶
func (o PipelineTemplateSimpleVoStages) String() string
type PipelineTrigger ¶ added in v0.1.67
type PipelineTrigger struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // git链接 GitUrl *string `json:"git_url,omitempty"` // 代码仓类型 GitType *string `json:"git_type,omitempty"` // 是否自动提交 IsAutoCommit *bool `json:"is_auto_commit,omitempty"` // 事件 Events *[]CodeEvent `json:"events,omitempty"` // 回调id HookId *string `json:"hook_id,omitempty"` // 仓库id RepoId *string `json:"repo_id,omitempty"` // 扩展点id EndpointId *string `json:"endpoint_id,omitempty"` // 回调链接 CallbackUrl *string `json:"callback_url,omitempty"` // 用户token SecurityToken *string `json:"security_token,omitempty"` }
func (PipelineTrigger) String ¶ added in v0.1.67
func (o PipelineTrigger) String() string
type PipelineVariable ¶ added in v0.1.72
type PipelineVariable struct { // 参数名称 Name *string `json:"name,omitempty"` // 序号 Sequence *int32 `json:"sequence,omitempty"` // 类型 Type *string `json:"type,omitempty"` // 默认值 Value *string `json:"value,omitempty"` // 是否私密 IsSecret *bool `json:"is_secret,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 是否运行时设置 IsRuntime *bool `json:"is_runtime,omitempty"` // 限定枚举值 Limits *[]string `json:"limits,omitempty"` // 自增长参数是否被重置 IsReset *bool `json:"is_reset,omitempty"` // 自增长参数最新值 LatestValue *string `json:"latest_value,omitempty"` }
PipelineVariable 流水线自定义参数
func (PipelineVariable) String ¶ added in v0.1.72
func (o PipelineVariable) String() string
type PluginBasicDto ¶ added in v0.1.67
type PluginBasicDto struct { // 唯一ID UniqueId *string `json:"unique_id,omitempty"` // 图标URL IconUrl *string `json:"icon_url,omitempty"` // 运行属性 RuntimeAttribution *string `json:"runtime_attribution,omitempty"` // 插件名 PluginName string `json:"plugin_name"` // 展示名 DisplayName string `json:"display_name"` // 业务类型 BusinessType string `json:"business_type"` // 业务类型展示名 BusinessTypeDisplayName string `json:"business_type_display_name"` // 描述 Description *string `json:"description,omitempty"` // 是否私有 IsPrivate *int32 `json:"is_private,omitempty"` // 局点 Region *string `json:"region,omitempty"` // 维护者 Maintainers *string `json:"maintainers,omitempty"` // 组合插件类型 PluginCompositionType *string `json:"plugin_composition_type,omitempty"` }
func (PluginBasicDto) String ¶ added in v0.1.67
func (o PluginBasicDto) String() string
type PluginBasicVo ¶ added in v0.1.70
type PluginBasicVo struct { // 插件名 PluginName *string `json:"plugin_name,omitempty"` // 展示名 DisplayName *string `json:"display_name,omitempty"` // 版本 Version *string `json:"version,omitempty"` // 版本说明 VersionDescription *string `json:"version_description,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 版本属性 VersionAttribution *string `json:"version_attribution,omitempty"` // 唯一ID UniqueId *string `json:"unique_id,omitempty"` // 操作人 OpUser *string `json:"op_user,omitempty"` // 操作时间 OpTime *string `json:"op_time,omitempty"` // 组合类型 PluginCompositionType *string `json:"plugin_composition_type,omitempty"` // 属性 PluginAttribution *string `json:"plugin_attribution,omitempty"` // 租户ID WorkspaceId *string `json:"workspace_id,omitempty"` // 业务类型 BusinessType *string `json:"business_type,omitempty"` // 业务类型展示名 BusinessTypeDisplayName *string `json:"business_type_display_name,omitempty"` // 维护者 Maintainers *string `json:"maintainers,omitempty"` // 图标URL IconUrl *string `json:"icon_url,omitempty"` // 引用次数 ReferCount *int32 `json:"refer_count,omitempty"` // 使用次数 UsageCount *int32 `json:"usage_count,omitempty"` // 运行属性 RuntimeAttribution *string `json:"runtime_attribution,omitempty"` // 是否激活 Active *int32 `json:"active,omitempty"` }
func (PluginBasicVo) String ¶ added in v0.1.70
func (o PluginBasicVo) String() string
type PluginDto ¶ added in v0.1.68
type PluginDto struct { // 唯一ID UniqueId *string `json:"unique_id,omitempty"` // 图标URL IconUrl *string `json:"icon_url,omitempty"` // 运行属性 RuntimeAttribution string `json:"runtime_attribution"` // 插件名 PluginName string `json:"plugin_name"` // 展示名 DisplayName string `json:"display_name"` // 业务类型 BusinessType string `json:"business_type"` // 业务类型展示名 BusinessTypeDisplayName string `json:"business_type_display_name"` // 描述 Description string `json:"description"` // 是否私有 IsPrivate *int32 `json:"is_private,omitempty"` // 局点 Region *string `json:"region,omitempty"` // 维护者 Maintainers *string `json:"maintainers,omitempty"` // 版本号 Version string `json:"version"` // 版本号说明 VersionDescription *string `json:"version_description,omitempty"` ExecutionInfo *PluginDtoExecutionInfo `json:"execution_info"` // 输入信息 InputInfo *[]PluginDtoInputInfo `json:"input_info,omitempty"` }
type PluginDtoExecutionInfo ¶ added in v0.1.68
type PluginDtoExecutionInfo struct {
// 执行信息
InnerExecutionInfo *interface{} `json:"inner_execution_info,omitempty"`
}
PluginDtoExecutionInfo 执行信息
func (PluginDtoExecutionInfo) String ¶ added in v0.1.68
func (o PluginDtoExecutionInfo) String() string
type PluginDtoInputInfo ¶ added in v0.1.68
type PluginDtoInputInfo struct { // 名称 Name *string `json:"name,omitempty"` // 默认值 DefaultValue *string `json:"default_value,omitempty"` // 输入类型 Type *string `json:"type,omitempty"` // 验证 Validation *string `json:"validation,omitempty"` // 样式信息 LayoutContent *string `json:"layout_content,omitempty"` }
func (PluginDtoInputInfo) String ¶ added in v0.1.68
func (o PluginDtoInputInfo) String() string
type PluginPartQueryDto ¶ added in v0.1.67
type PluginPartQueryDto struct { // 插件名 PluginName string `json:"plugin_name"` // 展示名 DisplayName string `json:"display_name"` // 版本号 Version string `json:"version"` // 插件属性,custom/official PluginAttribution string `json:"plugin_attribution"` // 版本属性,draft/formal VersionAttribution *string `json:"version_attribution,omitempty"` }
func (PluginPartQueryDto) String ¶ added in v0.1.67
func (o PluginPartQueryDto) String() string
type PluginPartQueryVoListAgentPluginInputVo ¶ added in v0.1.67
type PluginPartQueryVoListAgentPluginInputVo struct { // 插件名 PluginName *string `json:"plugin_name,omitempty"` // 展示名 DisplayName *string `json:"display_name,omitempty"` // 结果集 Data *[]PluginPartQueryVoListAgentPluginInputVoData `json:"data,omitempty"` }
func (PluginPartQueryVoListAgentPluginInputVo) String ¶ added in v0.1.67
func (o PluginPartQueryVoListAgentPluginInputVo) String() string
type PluginPartQueryVoListAgentPluginInputVoData ¶ added in v0.1.67
type PluginPartQueryVoListAgentPluginInputVoData struct { // 唯一ID UniqueId *string `json:"unique_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 默认值 DefaultValue *string `json:"default_value,omitempty"` // 插件名 PluginName *string `json:"plugin_name,omitempty"` // 版本 Version *string `json:"version,omitempty"` // 类型 Type *string `json:"type,omitempty"` // 租户ID WorkspaceId *string `json:"workspace_id,omitempty"` Validation *ExtensionValidation `json:"validation,omitempty"` // 样式信息 LayoutContent *string `json:"layout_content,omitempty"` }
func (PluginPartQueryVoListAgentPluginInputVoData) String ¶ added in v0.1.67
func (o PluginPartQueryVoListAgentPluginInputVoData) String() string
type PluginPartQueryVoListAgentPluginOutputVo ¶ added in v0.1.67
type PluginPartQueryVoListAgentPluginOutputVo struct { // 插件名 PluginName *string `json:"plugin_name,omitempty"` // 展示名 DisplayName *string `json:"display_name,omitempty"` // 结果集 Data *[]PluginPartQueryVoListAgentPluginOutputVoData `json:"data,omitempty"` }
func (PluginPartQueryVoListAgentPluginOutputVo) String ¶ added in v0.1.67
func (o PluginPartQueryVoListAgentPluginOutputVo) String() string
type PluginPartQueryVoListAgentPluginOutputVoData ¶ added in v0.1.67
type PluginPartQueryVoListAgentPluginOutputVoData struct { // 唯一ID UniqueId *string `json:"unique_id,omitempty"` // 插件名 PluginName *string `json:"plugin_name,omitempty"` // 版本 Version *string `json:"version,omitempty"` // 租户ID WorkspaceId *string `json:"workspace_id,omitempty"` // 名称 OutputKey *string `json:"output_key,omitempty"` // 值 OutputValue *string `json:"output_value,omitempty"` }
func (PluginPartQueryVoListAgentPluginOutputVoData) String ¶ added in v0.1.67
func (o PluginPartQueryVoListAgentPluginOutputVoData) String() string
type PublishPluginBindRequest ¶ added in v0.1.67
type PublishPluginBindRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *PublishPluginDto `json:"body,omitempty"` }
PublishPluginBindRequest Request Object
func (PublishPluginBindRequest) String ¶ added in v0.1.67
func (o PublishPluginBindRequest) String() string
type PublishPluginBindResponse ¶ added in v0.1.67
type PublishPluginBindResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
PublishPluginBindResponse Response Object
func (PublishPluginBindResponse) String ¶ added in v0.1.67
func (o PublishPluginBindResponse) String() string
type PublishPluginDraftRequest ¶ added in v0.1.68
type PublishPluginDraftRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *PluginPartQueryDto `json:"body,omitempty"` }
PublishPluginDraftRequest Request Object
func (PublishPluginDraftRequest) String ¶ added in v0.1.68
func (o PublishPluginDraftRequest) String() string
type PublishPluginDraftResponse ¶ added in v0.1.68
type PublishPluginDraftResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
PublishPluginDraftResponse Response Object
func (PublishPluginDraftResponse) String ¶ added in v0.1.68
func (o PublishPluginDraftResponse) String() string
type PublishPluginDto ¶ added in v0.1.67
type PublishPluginDto struct { // 插件名 PluginName string `json:"plugin_name"` // 版本 Version string `json:"version"` // 发布商ID PublisherUniqueId string `json:"publisher_unique_id"` }
func (PublishPluginDto) String ¶ added in v0.1.67
func (o PublishPluginDto) String() string
type PublishPluginRequest ¶ added in v0.1.67
type PublishPluginRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *PublishPluginDto `json:"body,omitempty"` }
PublishPluginRequest Request Object
func (PublishPluginRequest) String ¶ added in v0.1.67
func (o PublishPluginRequest) String() string
type PublishPluginResponse ¶ added in v0.1.67
type PublishPluginResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
PublishPluginResponse Response Object
func (PublishPluginResponse) String ¶ added in v0.1.67
func (o PublishPluginResponse) String() string
type PublisherRequest ¶ added in v0.1.68
type PublisherRequest struct { // 名称 Name string `json:"name"` // 用户ID UserId *string `json:"user_id,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 图标URL LogoUrl *string `json:"logo_url,omitempty"` // 网页地址 Website *string `json:"website,omitempty"` // 地址 SupportUrl string `json:"support_url"` // 地址 SourceUrl *string `json:"source_url,omitempty"` // 英文名 EnName string `json:"en_name"` // 唯一ID PublisherUniqueId *string `json:"publisher_unique_id,omitempty"` }
func (PublisherRequest) String ¶ added in v0.1.68
func (o PublisherRequest) String() string
type PublisherVo ¶ added in v0.1.67
type PublisherVo struct { // 发布商ID PublisherUniqueId *string `json:"publisher_unique_id,omitempty"` // 用户ID UserId *string `json:"user_id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 图标URL LogoUrl *string `json:"logo_url,omitempty"` // 网页地址 Website *string `json:"website,omitempty"` // 地址 SupportUrl *string `json:"support_url,omitempty"` // 地址 SourceUrl *string `json:"source_url,omitempty"` // 英文名 EnName *string `json:"en_name,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 授权状态 AuthStatus *string `json:"auth_status,omitempty"` // 是否删除 IsDelete *int32 `json:"is_delete,omitempty"` // 最后更新人 LastUpdateUserName *string `json:"last_update_user_name,omitempty"` // 最后更新人ID LastUpdateUserId *string `json:"last_update_user_id,omitempty"` // 最后更新时间 LastUpdateTime *string `json:"last_update_time,omitempty"` }
func (PublisherVo) String ¶ added in v0.1.67
func (o PublisherVo) String() string
type RejectManualReviewRequest ¶ added in v0.1.63
type RejectManualReviewRequest struct { // 流水线任务ID JobRunId string `json:"job_run_id"` // 流水线步骤ID StepRunId string `json:"step_run_id"` // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线运行实例ID PipelineRunId string `json:"pipeline_run_id"` }
RejectManualReviewRequest Request Object
func (RejectManualReviewRequest) String ¶ added in v0.1.63
func (o RejectManualReviewRequest) String() string
type RejectManualReviewResponse ¶ added in v0.1.63
type RejectManualReviewResponse struct { // 操作是否成功 Success *bool `json:"success,omitempty"` HttpStatusCode int `json:"-"` }
RejectManualReviewResponse Response Object
func (RejectManualReviewResponse) String ¶ added in v0.1.63
func (o RejectManualReviewResponse) String() string
type RemovePipelineRequest ¶
type RemovePipelineRequest struct { // 要删除的流水线ID PipelineId string `json:"pipeline_id"` }
RemovePipelineRequest Request Object
func (RemovePipelineRequest) String ¶
func (o RemovePipelineRequest) String() string
type RemovePipelineResponse ¶
type RemovePipelineResponse struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 流水线名字 PipelineName *string `json:"pipeline_name,omitempty"` HttpStatusCode int `json:"-"` }
RemovePipelineResponse Response Object
func (RemovePipelineResponse) String ¶
func (o RemovePipelineResponse) String() string
type RequestRuleInstance ¶ added in v0.1.67
type RequestRuleInstance struct { // 规则实例ID Id *string `json:"id,omitempty"` // 规则实例状态 IsValid *bool `json:"is_valid,omitempty"` }
func (RequestRuleInstance) String ¶ added in v0.1.67
func (o RequestRuleInstance) String() string
type RetryPipelineRunRequest ¶ added in v0.1.63
type RetryPipelineRunRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线运行实例ID PipelineRunId string `json:"pipeline_run_id"` }
RetryPipelineRunRequest Request Object
func (RetryPipelineRunRequest) String ¶ added in v0.1.63
func (o RetryPipelineRunRequest) String() string
type RetryPipelineRunResponse ¶ added in v0.1.63
type RetryPipelineRunResponse struct { // 操作是否成功 Success *bool `json:"success,omitempty"` HttpStatusCode int `json:"-"` }
RetryPipelineRunResponse Response Object
func (RetryPipelineRunResponse) String ¶ added in v0.1.63
func (o RetryPipelineRunResponse) String() string
type Rule ¶ added in v0.1.67
type RuleContent ¶ added in v0.1.67
type RuleContent struct { // 分组名称 GroupName string `json:"group_name"` // 继承后的子策略是否可以修改阈值 CanModifyWhenInherit *bool `json:"can_modify_when_inherit,omitempty"` // 规则属性列表 Properties []RuleProperty `json:"properties"` }
func (RuleContent) String ¶ added in v0.1.67
func (o RuleContent) String() string
type RuleInstance ¶ added in v0.1.67
type RuleInstance struct { // 规则实例ID Id string `json:"id"` // 规则类型ID Type string `json:"type"` // 规则名称 Name string `json:"name"` // 规则版本 Version string `json:"version"` // 插件ID PluginId *string `json:"plugin_id,omitempty"` // 插件名称 PluginName *string `json:"plugin_name,omitempty"` // 插件版本号 PluginVersion *string `json:"plugin_version,omitempty"` // 是否生效 IsValid bool `json:"is_valid"` // 是否可编辑 Editable *bool `json:"editable,omitempty"` // 规则属性列表 Content []RuleInstanceContent `json:"content"` Parent *RuleSet `json:"parent,omitempty"` }
func (RuleInstance) String ¶ added in v0.1.67
func (o RuleInstance) String() string
type RuleInstanceContent ¶ added in v0.1.67
type RuleInstanceContent struct { // 分组名称 GroupName string `json:"group_name"` // 分组类型 Type string `json:"type"` // 继承后的子策略是否可以修改阈值 CanModifyWhenInherit *bool `json:"can_modify_when_inherit,omitempty"` // 规则属性列表 Properties []RuleInstanceProperty `json:"properties"` }
func (RuleInstanceContent) String ¶ added in v0.1.67
func (o RuleInstanceContent) String() string
type RuleInstanceProperty ¶ added in v0.1.67
type RuleInstanceProperty struct { // 属性键 Key string `json:"key"` // 类型 Type string `json:"type"` // 展示名称 Name string `json:"name"` // 比较运算符 Operator *string `json:"operator,omitempty"` // 属性值 Value string `json:"value"` // 数据类型 ValueType string `json:"value_type"` }
func (RuleInstanceProperty) String ¶ added in v0.1.67
func (o RuleInstanceProperty) String() string
type RuleProperty ¶ added in v0.1.67
type RuleProperty struct { // 属性键 Key string `json:"key"` // 类型 Type string `json:"type"` // 展示名称 Name string `json:"name"` // 比较运算符 Operator *string `json:"operator,omitempty"` // 属性值 Value string `json:"value"` // 数据类型 ValueType string `json:"value_type"` }
func (RuleProperty) String ¶ added in v0.1.67
func (o RuleProperty) String() string
type RuleSet ¶ added in v0.1.67
type RuleSet struct { // 规则模版实例ID Id string `json:"id"` // 规则模版实例名称 Name string `json:"name"` // 类型 Type string `json:"type"` // 版本 Version *string `json:"version,omitempty"` // 最近操作人 Operator string `json:"operator"` // 最近操作时间 OperateTime int64 `json:"operate_time"` // 是否生效 IsValid bool `json:"is_valid"` // 租户级、项目级 Level *string `json:"level,omitempty"` // 是否系统级 IsPublic *bool `json:"is_public,omitempty"` }
type RunPipelineDto ¶
type RunPipelineDto struct { // 使用的源 Sources *[]RunPipelineDtoSources `json:"sources,omitempty"` // 运行描述 Description *string `json:"description,omitempty"` // 使用的自定义参数 Variables *[]RunPipelineDtoVariables `json:"variables,omitempty"` // 选择的任务 ChooseJobs *[]string `json:"choose_jobs,omitempty"` // 选择的阶段 ChooseStages *[]string `json:"choose_stages,omitempty"` }
RunPipelineDto 运行流水线请求体
func (RunPipelineDto) String ¶
func (o RunPipelineDto) String() string
type RunPipelineDtoParams ¶
type RunPipelineDtoParams struct { // 代码仓类型 GitType string `json:"git_type"` // 代码仓别名 Alias *string `json:"alias,omitempty"` // codehub代码库ID CodehubId *string `json:"codehub_id,omitempty"` // 默认分支 DefaultBranch *string `json:"default_branch,omitempty"` // git仓库https地址 GitUrl string `json:"git_url"` // 扩展点ID EndpointId *string `json:"endpoint_id,omitempty"` BuildParams *RunPipelineDtoParamsBuildParams `json:"build_params,omitempty"` }
RunPipelineDtoParams 源参数
func (RunPipelineDtoParams) String ¶
func (o RunPipelineDtoParams) String() string
type RunPipelineDtoParamsBuildParams ¶
type RunPipelineDtoParamsBuildParams struct { // 分支还是tag触发 BuildType string `json:"build_type"` // 运行分支 TargetBranch *string `json:"target_branch,omitempty"` // 运行tag Tag *string `json:"tag,omitempty"` // 触发事件类型 EventType *string `json:"event_type,omitempty"` }
RunPipelineDtoParamsBuildParams 具体构建参数
func (RunPipelineDtoParamsBuildParams) String ¶
func (o RunPipelineDtoParamsBuildParams) String() string
type RunPipelineDtoSources ¶
type RunPipelineDtoSources struct { // 源类型 Type string `json:"type"` Params *RunPipelineDtoParams `json:"params,omitempty"` }
func (RunPipelineDtoSources) String ¶
func (o RunPipelineDtoSources) String() string
type RunPipelineDtoVariables ¶
type RunPipelineDtoVariables struct { // 参数名 Name string `json:"name"` // 参数值 Value string `json:"value"` }
func (RunPipelineDtoVariables) String ¶
func (o RunPipelineDtoVariables) String() string
type RunPipelineRequest ¶
type RunPipelineRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` Body *RunPipelineDto `json:"body,omitempty"` }
RunPipelineRequest Request Object
func (RunPipelineRequest) String ¶
func (o RunPipelineRequest) String() string
type RunPipelineResponse ¶
type RunPipelineResponse struct { PipelineRunId *string `json:"pipeline_run_id,omitempty"` HttpStatusCode int `json:"-"` }
RunPipelineResponse Response Object
func (RunPipelineResponse) String ¶
func (o RunPipelineResponse) String() string
type RunPipelineSource ¶
type RunPipelineSource struct { // 源类型 Type *string `json:"type,omitempty"` Params *RunPipelineSourceParams `json:"params,omitempty"` }
RunPipelineSource 流水线运行源参数
func (RunPipelineSource) String ¶
func (o RunPipelineSource) String() string
type RunPipelineSourceParams ¶
type RunPipelineSourceParams struct { // 代码仓类型 GitType *string `json:"git_type,omitempty"` // 代码仓https地址 GitUrl *string `json:"git_url,omitempty"` // 代码仓ssh地址 SshGitUrl *string `json:"ssh_git_url,omitempty"` // 代码仓页面地址 WebUrl *string `json:"web_url,omitempty"` // 代码仓名 RepoName *string `json:"repo_name,omitempty"` // 默认分支 DefaultBranch *string `json:"default_branch,omitempty"` // 扩展点ID EndpointId *string `json:"endpoint_id,omitempty"` // codehub代码仓ID CodehubId *string `json:"codehub_id,omitempty"` // 代码仓别名 Alias *string `json:"alias,omitempty"` BuildParams *RunPipelineSourceParamsBuildParams `json:"build_params,omitempty"` }
RunPipelineSourceParams 源参数
func (RunPipelineSourceParams) String ¶
func (o RunPipelineSourceParams) String() string
type RunPipelineSourceParamsBuildParams ¶
type RunPipelineSourceParamsBuildParams struct { // 合并请求事件类型 Action *string `json:"action,omitempty"` // 基于分支还是tag运行 BuildType *string `json:"build_type,omitempty"` // 代码仓提交ID CommitId *string `json:"commit_id,omitempty"` // 运行事件类型 EventType *string `json:"event_type,omitempty"` // 合并请求ID MergeId *string `json:"merge_id,omitempty"` // 代码仓提交信息 Message *string `json:"message,omitempty"` // 源分支 SourceBranch *string `json:"source_branch,omitempty"` // 标签 Tag *string `json:"tag,omitempty"` // 目标分支 TargetBranch *string `json:"target_branch,omitempty"` // codehub代码仓ID CodehubId *string `json:"codehub_id,omitempty"` // 源codehub代码仓ID SourceCodehubId *string `json:"source_codehub_id,omitempty"` // 源codehub代码仓地址 SourceCodehubUrl *string `json:"source_codehub_url,omitempty"` // 源codehub代码仓http地址 SourceCodehubHttpUrl *string `json:"source_codehub_http_url,omitempty"` }
RunPipelineSourceParamsBuildParams 构建参数
func (RunPipelineSourceParamsBuildParams) String ¶
func (o RunPipelineSourceParamsBuildParams) String() string
type ShowBasicPluginRequest ¶ added in v0.1.67
type ShowBasicPluginRequest struct { // 租户ID DomainId string `json:"domain_id"` // 插件名 PluginName string `json:"plugin_name"` // 版本 Version string `json:"version"` }
ShowBasicPluginRequest Request Object
func (ShowBasicPluginRequest) String ¶ added in v0.1.67
func (o ShowBasicPluginRequest) String() string
type ShowBasicPluginResponse ¶ added in v0.1.67
type ShowBasicPluginResponse struct { // 类型 Type *string `json:"type,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 展示名 FriendlyName *string `json:"friendly_name,omitempty"` // 业务类型 Category *string `json:"category,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 版本 Version *string `json:"version,omitempty"` // 版本说明 VersionDescription *string `json:"version_description,omitempty"` // 输入信息 Inputs *[]NewExtensionInputs `json:"inputs,omitempty"` // 输出信息 Outputs *[]NewExtensionOutputs `json:"outputs,omitempty"` Execution *NewExtensionExecution `json:"execution,omitempty"` HttpStatusCode int `json:"-"` }
ShowBasicPluginResponse Response Object
func (ShowBasicPluginResponse) String ¶ added in v0.1.67
func (o ShowBasicPluginResponse) String() string
type ShowInstanceStatusRequest ¶
type ShowInstanceStatusRequest struct { // 实例ID TaskId string `json:"task_id"` }
ShowInstanceStatusRequest Request Object
func (ShowInstanceStatusRequest) String ¶
func (o ShowInstanceStatusRequest) String() string
type ShowInstanceStatusResponse ¶
type ShowInstanceStatusResponse struct { // 实例ID TaskId *string `json:"task_id,omitempty"` // 实例创建状态,取值和含义:initializing:初始化中;processing:处理中;finished:已完成;succeeded:成功 TaskStatus *string `json:"task_status,omitempty"` // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 流水线名字 PipelineName *string `json:"pipeline_name,omitempty"` // 流水线详情页面url PipelineUrl *string `json:"pipeline_url,omitempty"` HttpStatusCode int `json:"-"` }
ShowInstanceStatusResponse Response Object
func (ShowInstanceStatusResponse) String ¶
func (o ShowInstanceStatusResponse) String() string
type ShowPipelineArtifactsRequest ¶ added in v0.1.85
type ShowPipelineArtifactsRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线运行实例ID PipelineRunId string `json:"pipeline_run_id"` }
ShowPipelineArtifactsRequest Request Object
func (ShowPipelineArtifactsRequest) String ¶ added in v0.1.85
func (o ShowPipelineArtifactsRequest) String() string
type ShowPipelineArtifactsResponse ¶ added in v0.1.85
type ShowPipelineArtifactsResponse struct { // 产物列表 Artifacts *[]Artifact `json:"artifacts,omitempty"` HttpStatusCode int `json:"-"` }
ShowPipelineArtifactsResponse Response Object
func (ShowPipelineArtifactsResponse) String ¶ added in v0.1.85
func (o ShowPipelineArtifactsResponse) String() string
type ShowPipelineDetailRequest ¶ added in v0.1.72
type ShowPipelineDetailRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` }
ShowPipelineDetailRequest Request Object
func (ShowPipelineDetailRequest) String ¶ added in v0.1.72
func (o ShowPipelineDetailRequest) String() string
type ShowPipelineDetailResponse ¶ added in v0.1.72
type ShowPipelineDetailResponse struct { // 流水线ID Id *string `json:"id,omitempty"` // 流水线名称 Name *string `json:"name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 流水线版本 ManifestVersion *string `json:"manifest_version,omitempty"` // 局点 Region *string `json:"region,omitempty"` // 所属租户ID DomainId *string `json:"domain_id,omitempty"` // 所属项目ID ProjectId *string `json:"project_id,omitempty"` // 所属微服务ID ComponentId *string `json:"component_id,omitempty"` // 是否为变更流水线 IsPublish *bool `json:"is_publish,omitempty"` // 创建人ID CreatorId *string `json:"creator_id,omitempty"` // 创建人名称 CreatorName *string `json:"creator_name,omitempty"` // 更新人ID UpdaterId *string `json:"updater_id,omitempty"` // 更新人名称 CreateTime *int64 `json:"create_time,omitempty"` // 更新时间 UpdateTime *int64 `json:"update_time,omitempty"` // 是否被当前用户收藏 IsCollect *bool `json:"is_collect,omitempty"` // 流水线源 Sources *[]PipelineSource `json:"sources,omitempty"` // 流水线自定义参数 Variables *[]PipelineVariable `json:"variables,omitempty"` // 流水线定时任务设置 Schedules *[]PipelineSchedule `json:"schedules,omitempty"` // 流水线事件触发设置 Triggers *[]PipelineTrigger `json:"triggers,omitempty"` // 流水线所属分组ID GroupId *string `json:"group_id,omitempty"` // 流水线定义 Definition *string `json:"definition,omitempty"` HttpStatusCode int `json:"-"` }
ShowPipelineDetailResponse Response Object
func (ShowPipelineDetailResponse) String ¶ added in v0.1.72
func (o ShowPipelineDetailResponse) String() string
type ShowPipelineGroupTreeRequest ¶ added in v0.1.67
type ShowPipelineGroupTreeRequest struct { // 项目ID ProjectId string `json:"project_id"` }
ShowPipelineGroupTreeRequest Request Object
func (ShowPipelineGroupTreeRequest) String ¶ added in v0.1.67
func (o ShowPipelineGroupTreeRequest) String() string
type ShowPipelineGroupTreeResponse ¶ added in v0.1.67
type ShowPipelineGroupTreeResponse struct { Body *[]PipelineGroupVo `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ShowPipelineGroupTreeResponse Response Object
func (ShowPipelineGroupTreeResponse) String ¶ added in v0.1.67
func (o ShowPipelineGroupTreeResponse) String() string
type ShowPipelineLogRequest ¶ added in v0.1.70
type ShowPipelineLogRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线运行实例ID PipelineRunId string `json:"pipeline_run_id"` // 流水线任务ID JobRunId string `json:"job_run_id"` // 流水线步骤ID StepRunId string `json:"step_run_id"` Body *LogQuery `json:"body,omitempty"` }
ShowPipelineLogRequest Request Object
func (ShowPipelineLogRequest) String ¶ added in v0.1.70
func (o ShowPipelineLogRequest) String() string
type ShowPipelineLogResponse ¶ added in v0.1.70
type ShowPipelineLogResponse struct { // 是否有更多日志 HasMore *bool `json:"has_more,omitempty"` // 查询日志结束偏移。填入请求体end_offset字段,用于查询下一页日志。 EndOffset *string `json:"end_offset,omitempty"` // 查询日志起始偏移。填入请求体start_offset字段,用于查询下一页日志。 StartOffset *string `json:"start_offset,omitempty"` // 日志内容 Log *string `json:"log,omitempty"` // 日志存储位置 Location *string `json:"location,omitempty"` // 所属步骤ID StepRunId *string `json:"step_run_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPipelineLogResponse Response Object
func (ShowPipelineLogResponse) String ¶ added in v0.1.70
func (o ShowPipelineLogResponse) String() string
type ShowPipelineRunDetailRequest ¶
type ShowPipelineRunDetailRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线运行实例ID PipelineRunId *string `json:"pipeline_run_id,omitempty"` }
ShowPipelineRunDetailRequest Request Object
func (ShowPipelineRunDetailRequest) String ¶
func (o ShowPipelineRunDetailRequest) String() string
type ShowPipelineRunDetailResponse ¶
type ShowPipelineRunDetailResponse struct { // 流水线运行实例ID Id *string `json:"id,omitempty"` // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 流水线版本 ManifestVersion *string `json:"manifest_version,omitempty"` // 流水线名称 Name *string `json:"name,omitempty"` // 运行描述 Description *string `json:"description,omitempty"` // 是否为变更流水线 IsPublish *bool `json:"is_publish,omitempty"` // 运行人ID ExecutorId *string `json:"executor_id,omitempty"` // 运行人名称 ExecutorName *string `json:"executor_name,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 触发类型 TriggerType *string `json:"trigger_type,omitempty"` // 运行序号 RunNumber *int32 `json:"run_number,omitempty"` // 开始时间 StartTime *int64 `json:"start_time,omitempty"` // 结束时间 EndTime *int64 `json:"end_time,omitempty"` // 阶段信息 Stages *[]StageRun `json:"stages,omitempty"` // 租户ID DomainId *string `json:"domain_id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 局点 Region *string `json:"region,omitempty"` // 组件ID ComponentId *string `json:"component_id,omitempty"` // 语言 Language *string `json:"language,omitempty"` // 运行源信息 Sources *[]RunPipelineSource `json:"sources,omitempty"` // 流水线运行产物 Artifacts *[]PackageInfo `json:"artifacts,omitempty"` // 流水线运行实例ID SubjectId *string `json:"subject_id,omitempty"` // 分组ID GroupId *string `json:"group_id,omitempty"` // 分组名称 GroupName *string `json:"group_name,omitempty"` // 详情页地址 DetailUrl *string `json:"detail_url,omitempty"` // 当前系统时间 CurrentSystemTime *int64 `json:"current_system_time,omitempty"` HttpStatusCode int `json:"-"` }
ShowPipelineRunDetailResponse Response Object
func (ShowPipelineRunDetailResponse) String ¶
func (o ShowPipelineRunDetailResponse) String() string
type ShowPipelineTemplateDetailRequest ¶
type ShowPipelineTemplateDetailRequest struct { // 租户ID TenantId string `json:"tenant_id"` // 模板ID TemplateId string `json:"template_id"` }
ShowPipelineTemplateDetailRequest Request Object
func (ShowPipelineTemplateDetailRequest) String ¶
func (o ShowPipelineTemplateDetailRequest) String() string
type ShowPipelineTemplateDetailResponse ¶
type ShowPipelineTemplateDetailResponse struct { // 模板ID Id *string `json:"id,omitempty"` // 模板名称 Name *string `json:"name,omitempty"` // 模板图标 Icon *string `json:"icon,omitempty"` // 流水线结构定义版本,新版默认为3.0 ManifestVersion *string `json:"manifest_version,omitempty"` // 模板语言 Language *string `json:"language,omitempty"` // 模板描述 Description *string `json:"description,omitempty"` // 是否系统模板 IsSystem *bool `json:"is_system,omitempty"` // 所属局点 Region *string `json:"region,omitempty"` // 所属租户ID DomainId *string `json:"domain_id,omitempty"` // 使用的自定义参数 Variables *[]CustomVariable `json:"variables,omitempty"` // 创建人ID CreatorId *string `json:"creator_id,omitempty"` // 编辑人ID UpdaterId *string `json:"updater_id,omitempty"` // 创建日期 CreateTime *int64 `json:"create_time,omitempty"` // 更新日期 UpdateTime *int64 `json:"update_time,omitempty"` // 是否收藏 IsCollect *string `json:"is_collect,omitempty"` // 是否显示流水线源 IsShowSource *bool `json:"is_show_source,omitempty"` // 模板编排json,包含stages Definition *string `json:"definition,omitempty"` HttpStatusCode int `json:"-"` }
ShowPipelineTemplateDetailResponse Response Object
func (ShowPipelineTemplateDetailResponse) String ¶
func (o ShowPipelineTemplateDetailResponse) String() string
type ShowPipleineStatusRequest ¶
type ShowPipleineStatusRequest struct { // 要获取状态的流水线ID PipelineId string `json:"pipeline_id"` // 要获取状态的执行ID BuildId *string `json:"build_id,omitempty"` }
ShowPipleineStatusRequest Request Object
func (ShowPipleineStatusRequest) String ¶
func (o ShowPipleineStatusRequest) String() string
type ShowPipleineStatusResponse ¶
type ShowPipleineStatusResponse struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 流水线名称 PipelineName *string `json:"pipeline_name,omitempty"` // 执行人 Executor *string `json:"executor,omitempty"` // 流水线执行ID BuildId *string `json:"build_id,omitempty"` // 开始执行时间 StartTime *string `json:"start_time,omitempty"` // 结束执行时间 EndTime *string `json:"end_time,omitempty"` // 流水线参数 Parameters *[]PipelineParameter `json:"parameters,omitempty"` // 流水线执行情况 States *[]PipelineStateStatus `json:"states,omitempty"` // 执行耗时 ElapsedTime *string `json:"elapsed_time,omitempty"` // 流水线运行状态 Status *string `json:"status,omitempty"` // 流水线执行结果 Outcome *string `json:"outcome,omitempty"` // 流水线详情页地址 DetailUrl *string `json:"detail_url,omitempty"` HttpStatusCode int `json:"-"` }
ShowPipleineStatusResponse Response Object
func (ShowPipleineStatusResponse) String ¶
func (o ShowPipleineStatusResponse) String() string
type ShowPluginInputsRequest ¶ added in v0.1.67
type ShowPluginInputsRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *[]PluginPartQueryDto `json:"body,omitempty"` }
ShowPluginInputsRequest Request Object
func (ShowPluginInputsRequest) String ¶ added in v0.1.67
func (o ShowPluginInputsRequest) String() string
type ShowPluginInputsResponse ¶ added in v0.1.67
type ShowPluginInputsResponse struct { Body *[]PluginPartQueryVoListAgentPluginInputVo `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ShowPluginInputsResponse Response Object
func (ShowPluginInputsResponse) String ¶ added in v0.1.67
func (o ShowPluginInputsResponse) String() string
type ShowPluginMetricsRequest ¶ added in v0.1.67
type ShowPluginMetricsRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *[]PluginPartQueryDto `json:"body,omitempty"` }
ShowPluginMetricsRequest Request Object
func (ShowPluginMetricsRequest) String ¶ added in v0.1.67
func (o ShowPluginMetricsRequest) String() string
type ShowPluginMetricsResponse ¶ added in v0.1.67
type ShowPluginMetricsResponse struct { Body *[]PluginPartQueryVoListAgentPluginOutputVo `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ShowPluginMetricsResponse Response Object
func (ShowPluginMetricsResponse) String ¶ added in v0.1.67
func (o ShowPluginMetricsResponse) String() string
type ShowPluginOutputsRequest ¶ added in v0.1.67
type ShowPluginOutputsRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *[]PluginPartQueryDto `json:"body,omitempty"` }
ShowPluginOutputsRequest Request Object
func (ShowPluginOutputsRequest) String ¶ added in v0.1.67
func (o ShowPluginOutputsRequest) String() string
type ShowPluginOutputsResponse ¶ added in v0.1.67
type ShowPluginOutputsResponse struct { Body *[]PluginPartQueryVoListAgentPluginOutputVo `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ShowPluginOutputsResponse Response Object
func (ShowPluginOutputsResponse) String ¶ added in v0.1.67
func (o ShowPluginOutputsResponse) String() string
type ShowPluginVersionRequest ¶ added in v0.1.67
type ShowPluginVersionRequest struct { // 租户ID DomainId string `json:"domain_id"` // 插件名 PluginName string `json:"plugin_name"` // 版本 Version *string `json:"version,omitempty"` }
ShowPluginVersionRequest Request Object
func (ShowPluginVersionRequest) String ¶ added in v0.1.67
func (o ShowPluginVersionRequest) String() string
type ShowPluginVersionResponse ¶ added in v0.1.67
type ShowPluginVersionResponse struct { // 插件名 PluginName *string `json:"plugin_name,omitempty"` // 展示名 DisplayName *string `json:"display_name,omitempty"` // 操作人 OpUser *string `json:"op_user,omitempty"` // 操作时间 OpTime *string `json:"op_time,omitempty"` // 版本 Version *string `json:"version,omitempty"` // 唯一ID UniqueId *string `json:"unique_id,omitempty"` // 版本说明 VersionDescription *string `json:"version_description,omitempty"` // 版本属性 VersionAttribution *string `json:"version_attribution,omitempty"` // 组合插件类型 PluginCompositionType *string `json:"plugin_composition_type,omitempty"` // 插件属性 PluginAttribution *string `json:"plugin_attribution,omitempty"` // 输入信息 InputInfo *[]PluginPartQueryVoListAgentPluginInputVoData `json:"input_info,omitempty"` // 执行信息 PluginExecution *interface{} `json:"plugin_execution,omitempty"` // 运行属性 RuntimeAttribution *string `json:"runtime_attribution,omitempty"` HttpStatusCode int `json:"-"` }
ShowPluginVersionResponse Response Object
func (ShowPluginVersionResponse) String ¶ added in v0.1.67
func (o ShowPluginVersionResponse) String() string
type ShowProjectStrategyRequest ¶ added in v0.1.67
type ShowProjectStrategyRequest struct { // 策略ID RuleSetId string `json:"rule_set_id"` // 项目ID ProjectId string `json:"project_id"` }
ShowProjectStrategyRequest Request Object
func (ShowProjectStrategyRequest) String ¶ added in v0.1.67
func (o ShowProjectStrategyRequest) String() string
type ShowProjectStrategyResponse ¶ added in v0.1.67
type ShowProjectStrategyResponse struct { // 规则模版实例ID Id *string `json:"id,omitempty"` // 规则模版实例名称 Name *string `json:"name,omitempty"` // 类型 Type *string `json:"type,omitempty"` // 版本 Version *string `json:"version,omitempty"` // 创建人 Creator *string `json:"creator,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 最近更新人 Updater *string `json:"updater,omitempty"` // 最近更新时间 UpdateTime *string `json:"update_time,omitempty"` // 是否生效 IsValid *bool `json:"is_valid,omitempty"` // 规则实例集合 RuleInstances *[]RuleInstance `json:"rule_instances,omitempty"` HttpStatusCode int `json:"-"` }
ShowProjectStrategyResponse Response Object
func (ShowProjectStrategyResponse) String ¶ added in v0.1.67
func (o ShowProjectStrategyResponse) String() string
type ShowPublisherRequest ¶ added in v0.1.67
type ShowPublisherRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *[]string `json:"body,omitempty"` }
ShowPublisherRequest Request Object
func (ShowPublisherRequest) String ¶ added in v0.1.67
func (o ShowPublisherRequest) String() string
type ShowPublisherResponse ¶ added in v0.1.67
type ShowPublisherResponse struct { // 发布商详情 PublisherDetailMap map[string]PublisherVo `json:"publisher_detail_map,omitempty"` HttpStatusCode int `json:"-"` }
ShowPublisherResponse Response Object
func (ShowPublisherResponse) String ¶ added in v0.1.67
func (o ShowPublisherResponse) String() string
type ShowRuleRequest ¶ added in v0.1.67
type ShowRuleRequest struct { // 租户ID DomainId string `json:"domain_id"` // 规则ID RuleId string `json:"rule_id"` // 项目ID CloudProjectId *string `json:"cloud_project_id,omitempty"` }
ShowRuleRequest Request Object
func (ShowRuleRequest) String ¶ added in v0.1.67
func (o ShowRuleRequest) String() string
type ShowRuleResponse ¶ added in v0.1.67
type ShowRuleResponse struct { // 规则ID Id *string `json:"id,omitempty"` // 规则类型 Type *string `json:"type,omitempty"` // 规则名称 Name *string `json:"name,omitempty"` // 规则版本 Version *string `json:"version,omitempty"` // 布局内容 LayoutContent *string `json:"layout_content,omitempty"` // 插件ID PluginId *string `json:"plugin_id,omitempty"` // 插件名称 PluginName *string `json:"plugin_name,omitempty"` // 插件版本号 PluginVersion *string `json:"plugin_version,omitempty"` // 创建人 Creator *string `json:"creator,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新人 Updater *string `json:"updater,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 规则属性列表 Content *[]RuleContent `json:"content,omitempty"` HttpStatusCode int `json:"-"` }
ShowRuleResponse Response Object
func (ShowRuleResponse) String ¶ added in v0.1.67
func (o ShowRuleResponse) String() string
type ShowStepOutputsRequest ¶ added in v0.1.85
type ShowStepOutputsRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线运行实例ID PipelineRunId string `json:"pipeline_run_id"` StepRunIds *string `json:"step_run_ids,omitempty"` }
ShowStepOutputsRequest Request Object
func (ShowStepOutputsRequest) String ¶ added in v0.1.85
func (o ShowStepOutputsRequest) String() string
type ShowStepOutputsResponse ¶ added in v0.1.85
type ShowStepOutputsResponse struct { StepOutputs *[]OutputRespStepOutputs `json:"step_outputs,omitempty"` CurrentSystemTime *int64 `json:"current_system_time,omitempty"` HttpStatusCode int `json:"-"` }
ShowStepOutputsResponse Response Object
func (ShowStepOutputsResponse) String ¶ added in v0.1.85
func (o ShowStepOutputsResponse) String() string
type ShowStrategyRequest ¶ added in v0.1.67
type ShowStrategyRequest struct { // 策略ID RuleSetId string `json:"rule_set_id"` // 租户ID DomainId string `json:"domain_id"` // 项目ID CloudProjectId *string `json:"cloud_project_id,omitempty"` }
ShowStrategyRequest Request Object
func (ShowStrategyRequest) String ¶ added in v0.1.67
func (o ShowStrategyRequest) String() string
type ShowStrategyResponse ¶ added in v0.1.67
type ShowStrategyResponse struct { // 规则模版实例ID Id *string `json:"id,omitempty"` // 规则模版实例名称 Name *string `json:"name,omitempty"` // 类型 Type *string `json:"type,omitempty"` // 版本 Version *string `json:"version,omitempty"` // 创建人 Creator *string `json:"creator,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 最近更新人 Updater *string `json:"updater,omitempty"` // 最近更新时间 UpdateTime *string `json:"update_time,omitempty"` // 是否生效 IsValid *bool `json:"is_valid,omitempty"` // 规则实例集合 RuleInstances *[]RuleInstance `json:"rule_instances,omitempty"` HttpStatusCode int `json:"-"` }
ShowStrategyResponse Response Object
func (ShowStrategyResponse) String ¶ added in v0.1.67
func (o ShowStrategyResponse) String() string
type ShowTemplateDetailRequest ¶
type ShowTemplateDetailRequest struct { // 模板ID TemplateId string `json:"template_id"` // 模板类型 TemplateType string `json:"template_type"` // 接口调用方 Source *string `json:"source,omitempty"` }
ShowTemplateDetailRequest Request Object
func (ShowTemplateDetailRequest) String ¶
func (o ShowTemplateDetailRequest) String() string
type ShowTemplateDetailResponse ¶
type ShowTemplateDetailResponse struct { // 模板ID TemplateId *string `json:"template_id,omitempty"` // 模板名字 TemplateName *string `json:"template_name,omitempty"` // 模板类型 TemplateType *string `json:"template_type,omitempty"` // 用户ID UserId *string `json:"user_id,omitempty"` // 用户名字 UserName *string `json:"user_name,omitempty"` // 租户ID DomainId *string `json:"domain_id,omitempty"` // 租户名字 DomainName *string `json:"domain_name,omitempty"` // 是否内置模板 IsBuildIn *bool `json:"is_build_in,omitempty"` // region Region *string `json:"region,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 项目名字 ProjectName *string `json:"project_name,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 修改时间 LastModifyTime *string `json:"last_modify_time,omitempty"` // 是否关注 IsWatch *bool `json:"is_watch,omitempty"` // 模板描述 Description *string `json:"description,omitempty"` // 模板参数 Parameter *[]TemplateParam `json:"parameter,omitempty"` // 编排flow详情,描述流水线内各阶段任务的串并行关系。map类型数据,key为阶段名字,默认第一阶段initial,最后阶段为final,其余名字以'state_数字'标识。value为该阶段内任务(以'Task_数字'标识)以及后续阶段的标识。本字段为描述流水线基础编排数据之一,建议可通过流水线真实界面基于模板创建接口中获取 Flow map[string]map[string]string `json:"flow,omitempty"` // 编排State详情,map类型数据。本字段为描述流水线基础编排数据之一,建议可通过流水线真实界面基于模板创建接口中获取 States map[string]TemplateState `json:"states,omitempty"` HttpStatusCode int `json:"-"` }
ShowTemplateDetailResponse Response Object
func (ShowTemplateDetailResponse) String ¶
func (o ShowTemplateDetailResponse) String() string
type Source ¶
type Source struct { // 源码仓名字 CodehubName string `json:"codehub_name"` // 触发分支 Branches []string `json:"branches"` // 源码仓来源 ScmType string `json:"scm_type"` // 是否开启触发执行流水线功能 HookFlag bool `json:"hook_flag"` // 触发分支 Branch string `json:"branch"` // 源码仓ssh地址 GitUrl string `json:"git_url"` // 源码仓ID CodehubId string `json:"codehub_id"` // 源码仓首页url WebUrl string `json:"web_url"` // 分支列表 BranchList []string `json:"branch_list"` // 初始化ID InitId string `json:"init_id"` // 是否废弃 Disable bool `json:"disable"` }
Source 源码仓库参数
type StagePluginsQueryDto ¶ added in v0.1.67
type StagePluginsQueryDto struct { // 用于区分插件为流水线可使用/模板可使用 UseCondition *string `json:"use_condition,omitempty"` // 微服务ID CompId *string `json:"comp_id,omitempty"` // 微服务名 CompName *string `json:"comp_name,omitempty"` // 局点ID CloudId *string `json:"cloud_id,omitempty"` // 策略ID StrategyId *string `json:"strategy_id,omitempty"` // 流水线类型 Category *string `json:"category,omitempty"` // 是否发布流水线 PublishTab *string `json:"publish_tab,omitempty"` // 部署平台 Platform *string `json:"platform,omitempty"` // 组件类型 CompExtendType *string `json:"comp_extend_type,omitempty"` // 部署类型 DeployType *string `json:"deploy_type,omitempty"` }
func (StagePluginsQueryDto) String ¶ added in v0.1.67
func (o StagePluginsQueryDto) String() string
type StageRun ¶
type StageRun struct { // 阶段ID Id *string `json:"id,omitempty"` // 阶段类型 Category *string `json:"category,omitempty"` // 阶段名称 Name *string `json:"name,omitempty"` // 唯一标识 Identifier *string `json:"identifier,omitempty"` // 是否总是运行 RunAlways *bool `json:"run_always,omitempty"` // 是否并行 Parallel *string `json:"parallel,omitempty"` // 是否选中 IsSelect *bool `json:"is_select,omitempty"` // 序列号 Sequence *int32 `json:"sequence,omitempty"` // 依赖 DependsOn *[]string `json:"depends_on,omitempty"` // 运行条件 Condition *string `json:"condition,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 开始时间 StartTime *int64 `json:"start_time,omitempty"` // 结束时间 EndTime *int64 `json:"end_time,omitempty"` // 阶段准入 Pre *[]StepRun `json:"pre,omitempty"` // 阶段准出 Post *[]StepRun `json:"post,omitempty"` // 任务 Jobs *[]JobRun `json:"jobs,omitempty"` }
StageRun 阶段运行信息
type Stages ¶
type Stages struct { // 阶段执行结果。取值及含义:success:成功;error:失败;aborted:终止 Result string `json:"result"` // 阶段执行状态。取值和含义:waiting:等待;running:执行中;verifying:待审核;suspending:挂起;completed:完成 Status string `json:"status"` // 阶段名字 Name string `json:"name"` // - Parameters *interface{} `json:"parameters"` // 阶段顺序 Order int32 `json:"order"` // 阶段类型 DslMethod string `json:"dsl_method"` // 阶段显示名称 DisplayName string `json:"display_name"` }
Stages 流水线阶段执行信息
type StartNewPipelineRequest ¶
type StartNewPipelineRequest struct { // 流水线ID PipelineId string `json:"pipeline_id"` Body *StartPipelineParameters `json:"body,omitempty"` }
StartNewPipelineRequest Request Object
func (StartNewPipelineRequest) String ¶
func (o StartNewPipelineRequest) String() string
type StartNewPipelineResponse ¶
type StartNewPipelineResponse struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 流水线构建ID BuildId *string `json:"build_id,omitempty"` HttpStatusCode int `json:"-"` }
StartNewPipelineResponse Response Object
func (StartNewPipelineResponse) String ¶
func (o StartNewPipelineResponse) String() string
type StartPipelineBuildParams ¶
type StartPipelineBuildParams struct { // 构建参数名 Name string `json:"name"` // 构建参数值,最大长度为8192 Value string `json:"value"` }
func (StartPipelineBuildParams) String ¶
func (o StartPipelineBuildParams) String() string
type StartPipelineParameters ¶
type StartPipelineParameters struct { // 启动流水线时的构建参数 BuildParams *[]StartPipelineBuildParams `json:"build_params,omitempty"` }
func (StartPipelineParameters) String ¶
func (o StartPipelineParameters) String() string
type StepRun ¶
type StepRun struct { // 步骤名称 Name *string `json:"name,omitempty"` // 步骤插件 Task *string `json:"task,omitempty"` // 插件业务类型 BusinessType *string `json:"business_type,omitempty"` // 输入参数 Inputs *[]StepRunInputs `json:"inputs,omitempty"` // 序列号 Sequence *int32 `json:"sequence,omitempty"` // 官方插件版本号 OfficialTaskVersion *string `json:"official_task_version,omitempty"` // 唯一标识符 Identifier *string `json:"identifier,omitempty"` // 是否可编辑 MultiStepEditable *int32 `json:"multi_step_editable,omitempty"` // 步骤ID Id *string `json:"id,omitempty"` // 扩展点 EndpointIds *[]string `json:"endpoint_ids,omitempty"` // 上次下发任务ID LastDispatchId *string `json:"last_dispatch_id,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 错误消息 Message *string `json:"message,omitempty"` // 开始时间 StartTime *int64 `json:"start_time,omitempty"` // 结束时间 EndTime *int64 `json:"end_time,omitempty"` }
StepRun 步骤运行信息
type StepRunInputs ¶
type StepRunInputs struct { // 输入参数名 Key *string `json:"key,omitempty"` // 输入参数值 Value *interface{} `json:"value,omitempty"` }
func (StepRunInputs) String ¶
func (o StepRunInputs) String() string
type StopPipelineNewRequest ¶
type StopPipelineNewRequest struct { // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线执行ID BuildId string `json:"build_id"` }
StopPipelineNewRequest Request Object
func (StopPipelineNewRequest) String ¶
func (o StopPipelineNewRequest) String() string
type StopPipelineNewResponse ¶
type StopPipelineNewResponse struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` // 流水线名字 PipelineName *string `json:"pipeline_name,omitempty"` HttpStatusCode int `json:"-"` }
StopPipelineNewResponse Response Object
func (StopPipelineNewResponse) String ¶
func (o StopPipelineNewResponse) String() string
type StopPipelineRunRequest ¶
type StopPipelineRunRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` // 流水线运行实例ID PipelineRunId string `json:"pipeline_run_id"` }
StopPipelineRunRequest Request Object
func (StopPipelineRunRequest) String ¶
func (o StopPipelineRunRequest) String() string
type StopPipelineRunResponse ¶
type StopPipelineRunResponse struct { // 操作是否成功 Success *bool `json:"success,omitempty"` HttpStatusCode int `json:"-"` }
StopPipelineRunResponse Response Object
func (StopPipelineRunResponse) String ¶
func (o StopPipelineRunResponse) String() string
type SwitchStrategyRequest ¶ added in v0.1.67
type SwitchStrategyRequest struct { // 策略ID RuleSetId string `json:"rule_set_id"` // 租户ID DomainId string `json:"domain_id"` Body *UpdateRuleSetStatusReq `json:"body,omitempty"` }
SwitchStrategyRequest Request Object
func (SwitchStrategyRequest) String ¶ added in v0.1.67
func (o SwitchStrategyRequest) String() string
type SwitchStrategyResponse ¶ added in v0.1.67
type SwitchStrategyResponse struct { // 状态 Status *bool `json:"status,omitempty"` // 策略ID RuleSetId *string `json:"rule_set_id,omitempty"` HttpStatusCode int `json:"-"` }
SwitchStrategyResponse Response Object
func (SwitchStrategyResponse) String ¶ added in v0.1.67
func (o SwitchStrategyResponse) String() string
type TemplateCddl ¶
type TemplateCddl struct { // 编排flow详情,描述流水线内各阶段任务的串并行关系。map类型数据,key为阶段名字,默认第一阶段initial,最后阶段为final,其余名字以'state_数字'标识。value为该阶段内任务(以'Task_数字'标识)以及后续阶段的标识。本字段为描述流水线基础编排数据之一,建议可通过流水线真实界面基于模板创建接口中获取 Flow map[string]map[string]string `json:"flow"` // 编排State详情,map类型数据。本字段为描述流水线基础编排数据之一,建议可通过流水线真实界面基于模板创建接口中获取 States map[string]TemplateState `json:"states"` Workflow *Workflow `json:"workflow"` }
TemplateCddl 创建流水线接口入参
func (TemplateCddl) String ¶
func (o TemplateCddl) String() string
type TemplateParam ¶
type TemplateParam struct { // 是否必须 Required string `json:"required"` // 是否可见 Visible string `json:"visible"` // 流水线参数名字 Name string `json:"name"` // 流水线参数值 Value string `json:"value"` // 流水线参数描述 Description string `json:"description"` // 流水线参数类型 Paramtype string `json:"paramtype"` // 流水线参数展示类型 DisplayType string `json:"display_type"` // 流水线参数展示名字 DisplayName string `json:"display_name"` // 是否静态参数 IsStatic bool `json:"is_static"` // 是否默认参数 IsDefault bool `json:"is_default"` // array类型数据 Limits []ParamTypeLimits `json:"limits"` // array类型数据 Constraints []Constraint `json:"constraints"` }
TemplateParam 流水线参数
func (TemplateParam) String ¶
func (o TemplateParam) String() string
type TemplateState ¶
type TemplateState struct { // 任务类型 Type string `json:"type"` // 任务名字 Name string `json:"name"` // 模板任务ID ModuleOrTemplateId string `json:"module_or_template_id"` // 模板任务名字 ModuleOrTemplateName string `json:"module_or_template_name"` // 任务在流水线页面展示名字 DisplayName string `json:"display_name"` // 流水线可挂载任务类型 DslMethod string `json:"dsl_method"` // 任务参数,map类型数据 Parameters map[string]interface{} `json:"parameters"` // 是否手动执行 IsManualExecution bool `json:"is_manual_execution"` // 任务参数是否校验 JobParameterValidate bool `json:"job_parameter_validate"` // 是否显示代码仓URL IsShowCodehubUrl bool `json:"is_show_codehub_url"` // 是否执行 IsExecute bool `json:"is_execute"` // 执行任务ID JobId string `json:"job_id"` // 执行任务名字 JobName string `json:"job_name"` // 任务所属项目ID ProjectId string `json:"project_id"` // 控制阶段下任务的串并行(type是task的execution_mode值为null,type是stage的execution_mode可选parallel(并行)或者serial(串行)) ExecutionMode string `json:"execution_mode"` }
TemplateState 子任务参数
func (TemplateState) String ¶
func (o TemplateState) String() string
type TemplateView ¶
type TemplateView struct { // 模板ID TemplateId string `json:"template_id"` // 模板名字 TemplateName string `json:"template_name"` // 模板类型 TemplateType string `json:"template_type"` // 模板编辑URL TemplateUrl string `json:"template_url"` // 用户ID UserId string `json:"user_id"` // 用户名字 UserName string `json:"user_name"` // 租户ID DomainId string `json:"domain_id"` // 租户名字 DomainName string `json:"domain_name"` // 是否内置模板 IsBuildIn bool `json:"is_build_in"` // 系统模板region为Cloud Pipeline。自定义模板region为实际region Region string `json:"region"` // 项目ID ProjectId string `json:"project_id"` // 项目名字 ProjectName string `json:"project_name"` // 创建时间 CreateTime string `json:"create_time"` // 修改时间 LastModifyTime string `json:"last_modify_time"` // 是否关注 IsWatch bool `json:"is_watch"` // 模板描述 Description string `json:"description"` // 模板参数 Parameter []TemplateParam `json:"parameter"` // 编排flow详情,描述流水线内各阶段任务的串并行关系。map类型数据,key为阶段名字,默认第一阶段initial,最后阶段为final,其余名字以'state_数字'标识。value为该阶段内任务(以'Task_数字'标识)以及后续阶段的标识。本字段为描述流水线基础编排数据之一,建议可通过流水线真实界面基于模板创建接口中获取 Flow map[string]map[string]string `json:"flow"` // 编排State详情,map类型数据。本字段为描述流水线基础编排数据之一,建议可通过流水线真实界面基于模板创建接口中获取 States map[string]TemplateState `json:"states"` // 是否可以修改 CanUpdate bool `json:"can_update"` // 是否可以删除 CanDelete bool `json:"can_delete"` // 是否需要代码仓库 NeedHub bool `json:"need_hub"` }
TemplateView 流水线创建状态响应体
func (TemplateView) String ¶
func (o TemplateView) String() string
type UpdateBasicPluginRequest ¶ added in v0.1.67
type UpdateBasicPluginRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *PluginBasicDto `json:"body,omitempty"` }
UpdateBasicPluginRequest Request Object
func (UpdateBasicPluginRequest) String ¶ added in v0.1.67
func (o UpdateBasicPluginRequest) String() string
type UpdateBasicPluginResponse ¶ added in v0.1.67
type UpdateBasicPluginResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UpdateBasicPluginResponse Response Object
func (UpdateBasicPluginResponse) String ¶ added in v0.1.67
func (o UpdateBasicPluginResponse) String() string
type UpdatePipelineGroupRequest ¶ added in v0.1.67
type UpdatePipelineGroupRequest struct { // 项目ID ProjectId string `json:"project_id"` Body *PipelineGroupUpdateDto `json:"body,omitempty"` }
UpdatePipelineGroupRequest Request Object
func (UpdatePipelineGroupRequest) String ¶ added in v0.1.67
func (o UpdatePipelineGroupRequest) String() string
type UpdatePipelineGroupResponse ¶ added in v0.1.67
type UpdatePipelineGroupResponse struct { // 操作是否成功 Success *bool `json:"success,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePipelineGroupResponse Response Object
func (UpdatePipelineGroupResponse) String ¶ added in v0.1.67
func (o UpdatePipelineGroupResponse) String() string
type UpdatePipelineInfoRequest ¶ added in v0.1.99
type UpdatePipelineInfoRequest struct { // 项目ID ProjectId string `json:"project_id"` // 流水线ID PipelineId string `json:"pipeline_id"` // 微服务ID ComponentId *string `json:"componentId,omitempty"` Body *PipelineDto `json:"body,omitempty"` }
UpdatePipelineInfoRequest Request Object
func (UpdatePipelineInfoRequest) String ¶ added in v0.1.99
func (o UpdatePipelineInfoRequest) String() string
type UpdatePipelineInfoResponse ¶ added in v0.1.99
type UpdatePipelineInfoResponse struct { // 流水线ID PipelineId *string `json:"pipeline_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePipelineInfoResponse Response Object
func (UpdatePipelineInfoResponse) String ¶ added in v0.1.99
func (o UpdatePipelineInfoResponse) String() string
type UpdatePipelineTemplateRequest ¶ added in v0.1.67
type UpdatePipelineTemplateRequest struct { // 租户ID TenantId string `json:"tenant_id"` // 模板ID TemplateId string `json:"template_id"` Body *PipelineTemplateDto `json:"body,omitempty"` }
UpdatePipelineTemplateRequest Request Object
func (UpdatePipelineTemplateRequest) String ¶ added in v0.1.67
func (o UpdatePipelineTemplateRequest) String() string
type UpdatePipelineTemplateResponse ¶ added in v0.1.67
type UpdatePipelineTemplateResponse struct { TemplateId *string `json:"templateId,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePipelineTemplateResponse Response Object
func (UpdatePipelineTemplateResponse) String ¶ added in v0.1.67
func (o UpdatePipelineTemplateResponse) String() string
type UpdatePluginBaseInfoRequest ¶ added in v0.1.68
type UpdatePluginBaseInfoRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *PluginBasicDto `json:"body,omitempty"` }
UpdatePluginBaseInfoRequest Request Object
func (UpdatePluginBaseInfoRequest) String ¶ added in v0.1.68
func (o UpdatePluginBaseInfoRequest) String() string
type UpdatePluginBaseInfoResponse ¶ added in v0.1.68
type UpdatePluginBaseInfoResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePluginBaseInfoResponse Response Object
func (UpdatePluginBaseInfoResponse) String ¶ added in v0.1.68
func (o UpdatePluginBaseInfoResponse) String() string
type UpdatePluginDraftRequest ¶ added in v0.1.68
type UpdatePluginDraftRequest struct { // 租户ID DomainId string `json:"domain_id"` Body *PluginDto `json:"body,omitempty"` }
UpdatePluginDraftRequest Request Object
func (UpdatePluginDraftRequest) String ¶ added in v0.1.68
func (o UpdatePluginDraftRequest) String() string
type UpdatePluginDraftResponse ¶ added in v0.1.68
type UpdatePluginDraftResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePluginDraftResponse Response Object
func (UpdatePluginDraftResponse) String ¶ added in v0.1.68
func (o UpdatePluginDraftResponse) String() string
type UpdateRuleInstance ¶ added in v0.1.67
type UpdateRuleInstance struct { // 规则实例ID Id *string `json:"id,omitempty"` // 规则实例状态 IsValid *bool `json:"is_valid,omitempty"` }
func (UpdateRuleInstance) String ¶ added in v0.1.67
func (o UpdateRuleInstance) String() string
type UpdateRuleReq ¶ added in v0.1.67
type UpdateRuleReq struct { // 规则类型 Type string `json:"type"` // 规则名称 Name string `json:"name"` // 布局内容 LayoutContent string `json:"layout_content"` // 插件ID PluginId *string `json:"plugin_id,omitempty"` // 插件名称 PluginName *string `json:"plugin_name,omitempty"` // 插件版本号 PluginVersion *string `json:"plugin_version,omitempty"` // 规则属性集 Content []RuleContent `json:"content"` }
func (UpdateRuleReq) String ¶ added in v0.1.67
func (o UpdateRuleReq) String() string
type UpdateRuleRequest ¶ added in v0.1.67
type UpdateRuleRequest struct { // 租户ID DomainId string `json:"domain_id"` // 规则ID RuleId string `json:"rule_id"` Body *UpdateRuleReq `json:"body,omitempty"` }
UpdateRuleRequest Request Object
func (UpdateRuleRequest) String ¶ added in v0.1.67
func (o UpdateRuleRequest) String() string
type UpdateRuleResponse ¶ added in v0.1.67
type UpdateRuleResponse struct { // 创建状态 Status *bool `json:"status,omitempty"` // 规则ID RuleId *string `json:"rule_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateRuleResponse Response Object
func (UpdateRuleResponse) String ¶ added in v0.1.67
func (o UpdateRuleResponse) String() string
type UpdateRuleSetReq ¶ added in v0.1.67
type UpdateRuleSetReq struct { // 规则模版实例名称 Name string `json:"name"` // 规则实例列表 Rules *[]UpdateRuleInstance `json:"rules,omitempty"` }
func (UpdateRuleSetReq) String ¶ added in v0.1.67
func (o UpdateRuleSetReq) String() string
type UpdateRuleSetStatusReq ¶ added in v0.1.67
type UpdateRuleSetStatusReq struct { // 规则模版实例状态 IsValid bool `json:"is_valid"` }
func (UpdateRuleSetStatusReq) String ¶ added in v0.1.67
func (o UpdateRuleSetStatusReq) String() string
type UpdateStrategyRequest ¶ added in v0.1.67
type UpdateStrategyRequest struct { // 策略ID RuleSetId string `json:"rule_set_id"` // 租户ID DomainId string `json:"domain_id"` Body *UpdateRuleSetReq `json:"body,omitempty"` }
UpdateStrategyRequest Request Object
func (UpdateStrategyRequest) String ¶ added in v0.1.67
func (o UpdateStrategyRequest) String() string
type UpdateStrategyResponse ¶ added in v0.1.67
type UpdateStrategyResponse struct { // 状态 Status *bool `json:"status,omitempty"` // 策略ID RuleSetId *string `json:"rule_set_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateStrategyResponse Response Object
func (UpdateStrategyResponse) String ¶ added in v0.1.67
func (o UpdateStrategyResponse) String() string
type UploadBasicPluginRequest ¶ added in v0.1.67
type UploadBasicPluginRequest struct { // 租户ID DomainId string `json:"domain_id"` // 插件名 PluginName string `json:"plugin_name"` // 业务类型 BusinessType string `json:"business_type"` Body *UploadBasicPluginRequestBody `json:"body,omitempty" type:"multipart"` }
UploadBasicPluginRequest Request Object
func (UploadBasicPluginRequest) String ¶ added in v0.1.67
func (o UploadBasicPluginRequest) String() string
type UploadBasicPluginRequestBody ¶ added in v0.1.67
func (UploadBasicPluginRequestBody) String ¶ added in v0.1.67
func (o UploadBasicPluginRequestBody) String() string
func (*UploadBasicPluginRequestBody) UnmarshalJSON ¶ added in v0.1.67
func (o *UploadBasicPluginRequestBody) UnmarshalJSON(b []byte) error
type UploadBasicPluginResponse ¶ added in v0.1.67
type UploadBasicPluginResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UploadBasicPluginResponse Response Object
func (UploadBasicPluginResponse) String ¶ added in v0.1.67
func (o UploadBasicPluginResponse) String() string
type UploadPluginIconRequest ¶ added in v0.1.67
type UploadPluginIconRequest struct { // 租户ID DomainId string `json:"domain_id"` PluginName string `json:"plugin_name"` Body *UploadPluginIconRequestBody `json:"body,omitempty" type:"multipart"` }
UploadPluginIconRequest Request Object
func (UploadPluginIconRequest) String ¶ added in v0.1.67
func (o UploadPluginIconRequest) String() string
type UploadPluginIconRequestBody ¶ added in v0.1.67
func (UploadPluginIconRequestBody) String ¶ added in v0.1.67
func (o UploadPluginIconRequestBody) String() string
func (*UploadPluginIconRequestBody) UnmarshalJSON ¶ added in v0.1.67
func (o *UploadPluginIconRequestBody) UnmarshalJSON(b []byte) error
type UploadPluginIconResponse ¶ added in v0.1.67
type UploadPluginIconResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UploadPluginIconResponse Response Object
func (UploadPluginIconResponse) String ¶ added in v0.1.67
func (o UploadPluginIconResponse) String() string
type UploadPublisherIconRequest ¶ added in v0.1.67
type UploadPublisherIconRequest struct { // 租户ID DomainId string `json:"domain_id"` // 发布商名称 PublisherEnName string `json:"publisher_en_name"` Body *UploadPublisherIconRequestBody `json:"body,omitempty" type:"multipart"` }
UploadPublisherIconRequest Request Object
func (UploadPublisherIconRequest) String ¶ added in v0.1.67
func (o UploadPublisherIconRequest) String() string
type UploadPublisherIconRequestBody ¶ added in v0.1.67
type UploadPublisherIconRequestBody struct { // 图标文件 UploadFile *def.FilePart `json:"upload_file"` }
func (UploadPublisherIconRequestBody) String ¶ added in v0.1.67
func (o UploadPublisherIconRequestBody) String() string
func (*UploadPublisherIconRequestBody) UnmarshalJSON ¶ added in v0.1.67
func (o *UploadPublisherIconRequestBody) UnmarshalJSON(b []byte) error
type UploadPublisherIconResponse ¶ added in v0.1.67
type UploadPublisherIconResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UploadPublisherIconResponse Response Object
func (UploadPublisherIconResponse) String ¶ added in v0.1.67
func (o UploadPublisherIconResponse) String() string
Source Files ¶
- model_accept_manual_review_request.go
- model_accept_manual_review_response.go
- model_agent_plugin_info_query_dto.go
- model_artifact.go
- model_artifact_hash_code.go
- model_batch_move_pipeline_to_group_request.go
- model_batch_move_pipeline_to_group_response.go
- model_batch_show_pipelines_latest_status_request.go
- model_batch_show_pipelines_latest_status_response.go
- model_batch_show_pipelines_status_request.go
- model_batch_show_pipelines_status_response.go
- model_business_type_plugins_query_dto.go
- model_code_event.go
- model_code_source.go
- model_code_source_params.go
- model_constraint.go
- model_create_basic_plugin_request.go
- model_create_basic_plugin_response.go
- model_create_pipeline_by_template_id_request.go
- model_create_pipeline_by_template_id_response.go
- model_create_pipeline_by_template_request.go
- model_create_pipeline_by_template_response.go
- model_create_pipeline_group_request.go
- model_create_pipeline_group_response.go
- model_create_pipeline_new_request.go
- model_create_pipeline_new_response.go
- model_create_pipeline_template_request.go
- model_create_pipeline_template_response.go
- model_create_plugin_draft_request.go
- model_create_plugin_draft_response.go
- model_create_plugin_version_request.go
- model_create_plugin_version_response.go
- model_create_publisher_request.go
- model_create_publisher_response.go
- model_create_rule_req.go
- model_create_rule_request.go
- model_create_rule_response.go
- model_create_rule_set_req.go
- model_create_strategy_request.go
- model_create_strategy_response.go
- model_custom_variable.go
- model_delete_basic_plugin_request.go
- model_delete_basic_plugin_response.go
- model_delete_pipeline_group_request.go
- model_delete_pipeline_group_response.go
- model_delete_pipeline_request.go
- model_delete_pipeline_response.go
- model_delete_pipeline_template_request.go
- model_delete_pipeline_template_response.go
- model_delete_plugin_draft_request.go
- model_delete_plugin_draft_response.go
- model_delete_publisher_request.go
- model_delete_publisher_response.go
- model_delete_rule_request.go
- model_delete_rule_response.go
- model_delete_strategy_request.go
- model_delete_strategy_response.go
- model_extension_extend_prop.go
- model_extension_validation.go
- model_full_stage_plugins_relation_vo_addables.go
- model_full_stage_plugins_relation_vo_all_steps.go
- model_full_stage_plugins_relation_vo_full_stage_plugins_item_list.go
- model_full_stage_plugins_relation_vo_plugins_list.go
- model_job_run.go
- model_list_available_publisher_request.go
- model_list_available_publisher_response.go
- model_list_base_plugins_new_post_request.go
- model_list_base_plugins_new_post_response.go
- model_list_base_plugins_request.go
- model_list_base_plugins_response.go
- model_list_p_lugin_version_request.go
- model_list_p_lugin_version_response.go
- model_list_pipeline_query.go
- model_list_pipeline_runs_page_build_params.go
- model_list_pipeline_runs_page_pipeline_runs.go
- model_list_pipeline_runs_page_stage_status_list.go
- model_list_pipeline_runs_query.go
- model_list_pipeline_runs_request.go
- model_list_pipeline_runs_response.go
- model_list_pipeline_simple_info_request.go
- model_list_pipeline_simple_info_request_body.go
- model_list_pipeline_simple_info_response.go
- model_list_pipeline_templates_query.go
- model_list_pipeline_templates_request.go
- model_list_pipeline_templates_response.go
- model_list_pipelines_page_latest_run.go
- model_list_pipelines_page_latest_run_artifact_params.go
- model_list_pipelines_page_latest_run_build_params.go
- model_list_pipelines_page_latest_run_stage_status_list.go
- model_list_pipelines_page_pipelines.go
- model_list_pipelines_request.go
- model_list_pipelines_response.go
- model_list_pipleine_build_result_request.go
- model_list_pipleine_build_result_response.go
- model_list_plugin_version_number_request.go
- model_list_plugin_version_number_response.go
- model_list_plugins_request.go
- model_list_plugins_response.go
- model_list_project_strategy_request.go
- model_list_project_strategy_response.go
- model_list_publisher_request.go
- model_list_publisher_response.go
- model_list_rule_request.go
- model_list_rule_response.go
- model_list_stage_plugins_request.go
- model_list_stage_plugins_response.go
- model_list_strategy_request.go
- model_list_strategy_response.go
- model_list_templates_request.go
- model_list_templates_response.go
- model_log_query.go
- model_new_extension_execution.go
- model_new_extension_inputs.go
- model_new_extension_outputs.go
- model_output_resp_output_result.go
- model_output_resp_step_outputs.go
- model_package_info.go
- model_page_info_business_type_definition_vo_data.go
- model_page_info_business_type_definition_vo_plugins_list.go
- model_page_info_optional_single_plugin_vo_data.go
- model_param_type_limits.go
- model_pipeline_basic_info.go
- model_pipeline_build_result.go
- model_pipeline_by_template_dto.go
- model_pipeline_by_template_dto_variables.go
- model_pipeline_concurrency_mgmt.go
- model_pipeline_dto.go
- model_pipeline_execute_states.go
- model_pipeline_group_bind_dto.go
- model_pipeline_group_bind_dto_pipelines.go
- model_pipeline_group_create_dto.go
- model_pipeline_group_update_dto.go
- model_pipeline_group_vo.go
- model_pipeline_latest_run.go
- model_pipeline_latest_run_artifact_params.go
- model_pipeline_latest_run_build_params.go
- model_pipeline_latest_run_stage_status_list.go
- model_pipeline_move_to_group_response_vo.go
- model_pipeline_param.go
- model_pipeline_parameter.go
- model_pipeline_schedule.go
- model_pipeline_source.go
- model_pipeline_source_param.go
- model_pipeline_state_status.go
- model_pipeline_template_dto.go
- model_pipeline_template_simple_vo.go
- model_pipeline_template_simple_vo_stages.go
- model_pipeline_trigger.go
- model_pipeline_variable.go
- model_plugin_basic_dto.go
- model_plugin_basic_vo.go
- model_plugin_dto.go
- model_plugin_dto_execution_info.go
- model_plugin_dto_input_info.go
- model_plugin_part_query_dto.go
- model_plugin_part_query_vo_list_agent_plugin_input_vo.go
- model_plugin_part_query_vo_list_agent_plugin_input_vo_data.go
- model_plugin_part_query_vo_list_agent_plugin_output_vo.go
- model_plugin_part_query_vo_list_agent_plugin_output_vo_data.go
- model_publish_plugin_bind_request.go
- model_publish_plugin_bind_response.go
- model_publish_plugin_draft_request.go
- model_publish_plugin_draft_response.go
- model_publish_plugin_dto.go
- model_publish_plugin_request.go
- model_publish_plugin_response.go
- model_publisher_request.go
- model_publisher_vo.go
- model_reject_manual_review_request.go
- model_reject_manual_review_response.go
- model_remove_pipeline_request.go
- model_remove_pipeline_response.go
- model_request_rule_instance.go
- model_retry_pipeline_run_request.go
- model_retry_pipeline_run_response.go
- model_rule.go
- model_rule_content.go
- model_rule_instance.go
- model_rule_instance_content.go
- model_rule_instance_property.go
- model_rule_property.go
- model_rule_set.go
- model_run_pipeline_dto.go
- model_run_pipeline_dto_params.go
- model_run_pipeline_dto_params_build_params.go
- model_run_pipeline_dto_sources.go
- model_run_pipeline_dto_variables.go
- model_run_pipeline_request.go
- model_run_pipeline_response.go
- model_run_pipeline_source.go
- model_run_pipeline_source_params.go
- model_run_pipeline_source_params_build_params.go
- model_show_basic_plugin_request.go
- model_show_basic_plugin_response.go
- model_show_instance_status_request.go
- model_show_instance_status_response.go
- model_show_pipeline_artifacts_request.go
- model_show_pipeline_artifacts_response.go
- model_show_pipeline_detail_request.go
- model_show_pipeline_detail_response.go
- model_show_pipeline_group_tree_request.go
- model_show_pipeline_group_tree_response.go
- model_show_pipeline_log_request.go
- model_show_pipeline_log_response.go
- model_show_pipeline_run_detail_request.go
- model_show_pipeline_run_detail_response.go
- model_show_pipeline_template_detail_request.go
- model_show_pipeline_template_detail_response.go
- model_show_pipleine_status_request.go
- model_show_pipleine_status_response.go
- model_show_plugin_inputs_request.go
- model_show_plugin_inputs_response.go
- model_show_plugin_metrics_request.go
- model_show_plugin_metrics_response.go
- model_show_plugin_outputs_request.go
- model_show_plugin_outputs_response.go
- model_show_plugin_version_request.go
- model_show_plugin_version_response.go
- model_show_project_strategy_request.go
- model_show_project_strategy_response.go
- model_show_publisher_request.go
- model_show_publisher_response.go
- model_show_rule_request.go
- model_show_rule_response.go
- model_show_step_outputs_request.go
- model_show_step_outputs_response.go
- model_show_strategy_request.go
- model_show_strategy_response.go
- model_show_template_detail_request.go
- model_show_template_detail_response.go
- model_source.go
- model_stage_plugins_query_dto.go
- model_stage_run.go
- model_stages.go
- model_start_new_pipeline_request.go
- model_start_new_pipeline_response.go
- model_start_pipeline_build_params.go
- model_start_pipeline_parameters.go
- model_step_run.go
- model_step_run_inputs.go
- model_stop_pipeline_new_request.go
- model_stop_pipeline_new_response.go
- model_stop_pipeline_run_request.go
- model_stop_pipeline_run_response.go
- model_switch_strategy_request.go
- model_switch_strategy_response.go
- model_template_cddl.go
- model_template_param.go
- model_template_state.go
- model_template_view.go
- model_update_basic_plugin_request.go
- model_update_basic_plugin_response.go
- model_update_pipeline_group_request.go
- model_update_pipeline_group_response.go
- model_update_pipeline_info_request.go
- model_update_pipeline_info_response.go
- model_update_pipeline_template_request.go
- model_update_pipeline_template_response.go
- model_update_plugin_base_info_request.go
- model_update_plugin_base_info_response.go
- model_update_plugin_draft_request.go
- model_update_plugin_draft_response.go
- model_update_rule_instance.go
- model_update_rule_req.go
- model_update_rule_request.go
- model_update_rule_response.go
- model_update_rule_set_req.go
- model_update_rule_set_status_req.go
- model_update_strategy_request.go
- model_update_strategy_response.go
- model_upload_basic_plugin_request.go
- model_upload_basic_plugin_request_body.go
- model_upload_basic_plugin_response.go
- model_upload_plugin_icon_request.go
- model_upload_plugin_icon_request_body.go
- model_upload_plugin_icon_response.go
- model_upload_publisher_icon_request.go
- model_upload_publisher_icon_request_body.go
- model_upload_publisher_icon_response.go
- model_workflow.go