Documentation ¶
Index ¶
- func CloudPipelineClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchShowPipelinesStatus() *def.HttpRequestDef
- func GenReqDefForCreatePipelineByTemplate() *def.HttpRequestDef
- func GenReqDefForListPipelineSimpleInfo() *def.HttpRequestDef
- func GenReqDefForListPipleineBuildResult() *def.HttpRequestDef
- func GenReqDefForListTemplates() *def.HttpRequestDef
- func GenReqDefForRemovePipeline() *def.HttpRequestDef
- func GenReqDefForShowInstanceStatus() *def.HttpRequestDef
- func GenReqDefForShowPipleineStatus() *def.HttpRequestDef
- func GenReqDefForShowTemplateDetail() *def.HttpRequestDef
- func GenReqDefForStartNewPipeline() *def.HttpRequestDef
- func GenReqDefForStopPipelineNew() *def.HttpRequestDef
- type BatchShowPipelinesStatusInvoker
- type CloudPipelineClient
- func (c *CloudPipelineClient) BatchShowPipelinesStatus(request *model.BatchShowPipelinesStatusRequest) (*model.BatchShowPipelinesStatusResponse, error)
- func (c *CloudPipelineClient) BatchShowPipelinesStatusInvoker(request *model.BatchShowPipelinesStatusRequest) *BatchShowPipelinesStatusInvoker
- func (c *CloudPipelineClient) CreatePipelineByTemplate(request *model.CreatePipelineByTemplateRequest) (*model.CreatePipelineByTemplateResponse, error)
- func (c *CloudPipelineClient) CreatePipelineByTemplateInvoker(request *model.CreatePipelineByTemplateRequest) *CreatePipelineByTemplateInvoker
- func (c *CloudPipelineClient) ListPipelineSimpleInfo(request *model.ListPipelineSimpleInfoRequest) (*model.ListPipelineSimpleInfoResponse, error)
- func (c *CloudPipelineClient) ListPipelineSimpleInfoInvoker(request *model.ListPipelineSimpleInfoRequest) *ListPipelineSimpleInfoInvoker
- func (c *CloudPipelineClient) ListPipleineBuildResult(request *model.ListPipleineBuildResultRequest) (*model.ListPipleineBuildResultResponse, error)
- func (c *CloudPipelineClient) ListPipleineBuildResultInvoker(request *model.ListPipleineBuildResultRequest) *ListPipleineBuildResultInvoker
- func (c *CloudPipelineClient) ListTemplates(request *model.ListTemplatesRequest) (*model.ListTemplatesResponse, error)
- func (c *CloudPipelineClient) ListTemplatesInvoker(request *model.ListTemplatesRequest) *ListTemplatesInvoker
- func (c *CloudPipelineClient) RemovePipeline(request *model.RemovePipelineRequest) (*model.RemovePipelineResponse, error)
- func (c *CloudPipelineClient) RemovePipelineInvoker(request *model.RemovePipelineRequest) *RemovePipelineInvoker
- func (c *CloudPipelineClient) ShowInstanceStatus(request *model.ShowInstanceStatusRequest) (*model.ShowInstanceStatusResponse, error)
- func (c *CloudPipelineClient) ShowInstanceStatusInvoker(request *model.ShowInstanceStatusRequest) *ShowInstanceStatusInvoker
- func (c *CloudPipelineClient) ShowPipleineStatus(request *model.ShowPipleineStatusRequest) (*model.ShowPipleineStatusResponse, error)
- func (c *CloudPipelineClient) ShowPipleineStatusInvoker(request *model.ShowPipleineStatusRequest) *ShowPipleineStatusInvoker
- func (c *CloudPipelineClient) ShowTemplateDetail(request *model.ShowTemplateDetailRequest) (*model.ShowTemplateDetailResponse, error)
- func (c *CloudPipelineClient) ShowTemplateDetailInvoker(request *model.ShowTemplateDetailRequest) *ShowTemplateDetailInvoker
- func (c *CloudPipelineClient) StartNewPipeline(request *model.StartNewPipelineRequest) (*model.StartNewPipelineResponse, error)
- func (c *CloudPipelineClient) StartNewPipelineInvoker(request *model.StartNewPipelineRequest) *StartNewPipelineInvoker
- func (c *CloudPipelineClient) StopPipelineNew(request *model.StopPipelineNewRequest) (*model.StopPipelineNewResponse, error)
- func (c *CloudPipelineClient) StopPipelineNewInvoker(request *model.StopPipelineNewRequest) *StopPipelineNewInvoker
- type CreatePipelineByTemplateInvoker
- type ListPipelineSimpleInfoInvoker
- type ListPipleineBuildResultInvoker
- type ListTemplatesInvoker
- type RemovePipelineInvoker
- type ShowInstanceStatusInvoker
- type ShowPipleineStatusInvoker
- type ShowTemplateDetailInvoker
- type StartNewPipelineInvoker
- type StopPipelineNewInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudPipelineClientBuilder ¶
func CloudPipelineClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForBatchShowPipelinesStatus ¶
func GenReqDefForBatchShowPipelinesStatus() *def.HttpRequestDef
func GenReqDefForCreatePipelineByTemplate ¶
func GenReqDefForCreatePipelineByTemplate() *def.HttpRequestDef
func GenReqDefForListPipelineSimpleInfo ¶ added in v0.0.53
func GenReqDefForListPipelineSimpleInfo() *def.HttpRequestDef
func GenReqDefForListPipleineBuildResult ¶
func GenReqDefForListPipleineBuildResult() *def.HttpRequestDef
func GenReqDefForListTemplates ¶
func GenReqDefForListTemplates() *def.HttpRequestDef
func GenReqDefForRemovePipeline ¶
func GenReqDefForRemovePipeline() *def.HttpRequestDef
func GenReqDefForShowInstanceStatus ¶
func GenReqDefForShowInstanceStatus() *def.HttpRequestDef
func GenReqDefForShowPipleineStatus ¶
func GenReqDefForShowPipleineStatus() *def.HttpRequestDef
func GenReqDefForShowTemplateDetail ¶
func GenReqDefForShowTemplateDetail() *def.HttpRequestDef
func GenReqDefForStartNewPipeline ¶
func GenReqDefForStartNewPipeline() *def.HttpRequestDef
func GenReqDefForStopPipelineNew ¶
func GenReqDefForStopPipelineNew() *def.HttpRequestDef
Types ¶
type BatchShowPipelinesStatusInvoker ¶ added in v0.0.90
type BatchShowPipelinesStatusInvoker struct {
*invoker.BaseInvoker
}
func (*BatchShowPipelinesStatusInvoker) Invoke ¶ added in v0.0.90
func (i *BatchShowPipelinesStatusInvoker) Invoke() (*model.BatchShowPipelinesStatusResponse, error)
type CloudPipelineClient ¶
type CloudPipelineClient struct {
HcClient *http_client.HcHttpClient
}
func NewCloudPipelineClient ¶
func NewCloudPipelineClient(hcClient *http_client.HcHttpClient) *CloudPipelineClient
func (*CloudPipelineClient) BatchShowPipelinesStatus ¶
func (c *CloudPipelineClient) BatchShowPipelinesStatus(request *model.BatchShowPipelinesStatusRequest) (*model.BatchShowPipelinesStatusResponse, error)
BatchShowPipelinesStatus 批量获取流水线状态
批量获取流水线状态和阶段信息
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) BatchShowPipelinesStatusInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) BatchShowPipelinesStatusInvoker(request *model.BatchShowPipelinesStatusRequest) *BatchShowPipelinesStatusInvoker
BatchShowPipelinesStatusInvoker 批量获取流水线状态
func (*CloudPipelineClient) CreatePipelineByTemplate ¶
func (c *CloudPipelineClient) CreatePipelineByTemplate(request *model.CreatePipelineByTemplateRequest) (*model.CreatePipelineByTemplateResponse, error)
CreatePipelineByTemplate 基于模板快速创建流水线及流水线内任务
基于模板快速创建流水线及流水线内任务
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) CreatePipelineByTemplateInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) CreatePipelineByTemplateInvoker(request *model.CreatePipelineByTemplateRequest) *CreatePipelineByTemplateInvoker
CreatePipelineByTemplateInvoker 基于模板快速创建流水线及流水线内任务
func (*CloudPipelineClient) ListPipelineSimpleInfo ¶ added in v0.0.53
func (c *CloudPipelineClient) ListPipelineSimpleInfo(request *model.ListPipelineSimpleInfoRequest) (*model.ListPipelineSimpleInfoResponse, error)
ListPipelineSimpleInfo 获取流水线列表接口
获取流水线列表接口
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) ListPipelineSimpleInfoInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) ListPipelineSimpleInfoInvoker(request *model.ListPipelineSimpleInfoRequest) *ListPipelineSimpleInfoInvoker
ListPipelineSimpleInfoInvoker 获取流水线列表接口
func (*CloudPipelineClient) ListPipleineBuildResult ¶
func (c *CloudPipelineClient) ListPipleineBuildResult(request *model.ListPipleineBuildResultRequest) (*model.ListPipleineBuildResultResponse, error)
ListPipleineBuildResult 获取项目下流水线执行状况
获取项目下流水线执行状况
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) ListPipleineBuildResultInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) ListPipleineBuildResultInvoker(request *model.ListPipleineBuildResultRequest) *ListPipleineBuildResultInvoker
ListPipleineBuildResultInvoker 获取项目下流水线执行状况
func (*CloudPipelineClient) ListTemplates ¶
func (c *CloudPipelineClient) ListTemplates(request *model.ListTemplatesRequest) (*model.ListTemplatesResponse, error)
ListTemplates 查询模板列表
查询模板列表,支持分页查询,支持模板名字模糊查询
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) ListTemplatesInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) ListTemplatesInvoker(request *model.ListTemplatesRequest) *ListTemplatesInvoker
ListTemplatesInvoker 查询模板列表
func (*CloudPipelineClient) RemovePipeline ¶
func (c *CloudPipelineClient) RemovePipeline(request *model.RemovePipelineRequest) (*model.RemovePipelineResponse, error)
RemovePipeline 删除流水线
根据id删除流水线
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) RemovePipelineInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) RemovePipelineInvoker(request *model.RemovePipelineRequest) *RemovePipelineInvoker
RemovePipelineInvoker 删除流水线
func (*CloudPipelineClient) ShowInstanceStatus ¶
func (c *CloudPipelineClient) ShowInstanceStatus(request *model.ShowInstanceStatusRequest) (*model.ShowInstanceStatusResponse, error)
ShowInstanceStatus 检查流水线创建状态
检查流水线创建状态
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) ShowInstanceStatusInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) ShowInstanceStatusInvoker(request *model.ShowInstanceStatusRequest) *ShowInstanceStatusInvoker
ShowInstanceStatusInvoker 检查流水线创建状态
func (*CloudPipelineClient) ShowPipleineStatus ¶
func (c *CloudPipelineClient) ShowPipleineStatus(request *model.ShowPipleineStatusRequest) (*model.ShowPipleineStatusResponse, error)
ShowPipleineStatus 获取流水线状态
获取流水线状态,阶段及任务信息
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) ShowPipleineStatusInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) ShowPipleineStatusInvoker(request *model.ShowPipleineStatusRequest) *ShowPipleineStatusInvoker
ShowPipleineStatusInvoker 获取流水线状态
func (*CloudPipelineClient) ShowTemplateDetail ¶
func (c *CloudPipelineClient) ShowTemplateDetail(request *model.ShowTemplateDetailRequest) (*model.ShowTemplateDetailResponse, error)
ShowTemplateDetail 查询模板详情
查询模板详情
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) ShowTemplateDetailInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) ShowTemplateDetailInvoker(request *model.ShowTemplateDetailRequest) *ShowTemplateDetailInvoker
ShowTemplateDetailInvoker 查询模板详情
func (*CloudPipelineClient) StartNewPipeline ¶
func (c *CloudPipelineClient) StartNewPipeline(request *model.StartNewPipelineRequest) (*model.StartNewPipelineResponse, error)
StartNewPipeline 启动流水线
启动流水线
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) StartNewPipelineInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) StartNewPipelineInvoker(request *model.StartNewPipelineRequest) *StartNewPipelineInvoker
StartNewPipelineInvoker 启动流水线
func (*CloudPipelineClient) StopPipelineNew ¶
func (c *CloudPipelineClient) StopPipelineNew(request *model.StopPipelineNewRequest) (*model.StopPipelineNewResponse, error)
StopPipelineNew 停止流水线
停止流水线
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPipelineClient) StopPipelineNewInvoker ¶ added in v0.0.90
func (c *CloudPipelineClient) StopPipelineNewInvoker(request *model.StopPipelineNewRequest) *StopPipelineNewInvoker
StopPipelineNewInvoker 停止流水线
type CreatePipelineByTemplateInvoker ¶ added in v0.0.90
type CreatePipelineByTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*CreatePipelineByTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *CreatePipelineByTemplateInvoker) Invoke() (*model.CreatePipelineByTemplateResponse, error)
type ListPipelineSimpleInfoInvoker ¶ added in v0.0.90
type ListPipelineSimpleInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ListPipelineSimpleInfoInvoker) Invoke ¶ added in v0.0.90
func (i *ListPipelineSimpleInfoInvoker) Invoke() (*model.ListPipelineSimpleInfoResponse, error)
type ListPipleineBuildResultInvoker ¶ added in v0.0.90
type ListPipleineBuildResultInvoker struct {
*invoker.BaseInvoker
}
func (*ListPipleineBuildResultInvoker) Invoke ¶ added in v0.0.90
func (i *ListPipleineBuildResultInvoker) Invoke() (*model.ListPipleineBuildResultResponse, error)
type ListTemplatesInvoker ¶ added in v0.0.90
type ListTemplatesInvoker struct {
*invoker.BaseInvoker
}
func (*ListTemplatesInvoker) Invoke ¶ added in v0.0.90
func (i *ListTemplatesInvoker) Invoke() (*model.ListTemplatesResponse, error)
type RemovePipelineInvoker ¶ added in v0.0.90
type RemovePipelineInvoker struct {
*invoker.BaseInvoker
}
func (*RemovePipelineInvoker) Invoke ¶ added in v0.0.90
func (i *RemovePipelineInvoker) Invoke() (*model.RemovePipelineResponse, error)
type ShowInstanceStatusInvoker ¶ added in v0.0.90
type ShowInstanceStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowInstanceStatusInvoker) Invoke ¶ added in v0.0.90
func (i *ShowInstanceStatusInvoker) Invoke() (*model.ShowInstanceStatusResponse, error)
type ShowPipleineStatusInvoker ¶ added in v0.0.90
type ShowPipleineStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowPipleineStatusInvoker) Invoke ¶ added in v0.0.90
func (i *ShowPipleineStatusInvoker) Invoke() (*model.ShowPipleineStatusResponse, error)
type ShowTemplateDetailInvoker ¶ added in v0.0.90
type ShowTemplateDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTemplateDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ShowTemplateDetailInvoker) Invoke() (*model.ShowTemplateDetailResponse, error)
type StartNewPipelineInvoker ¶ added in v0.0.90
type StartNewPipelineInvoker struct {
*invoker.BaseInvoker
}
func (*StartNewPipelineInvoker) Invoke ¶ added in v0.0.90
func (i *StartNewPipelineInvoker) Invoke() (*model.StartNewPipelineResponse, error)
type StopPipelineNewInvoker ¶ added in v0.0.90
type StopPipelineNewInvoker struct {
*invoker.BaseInvoker
}
func (*StopPipelineNewInvoker) Invoke ¶ added in v0.0.90
func (i *StopPipelineNewInvoker) Invoke() (*model.StopPipelineNewResponse, error)