Documentation ¶
Index ¶
- func CloudPipelineClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchShowPipelinesStatus() *def.HttpRequestDef
- func GenReqDefForCreatePipelineByTemplate() *def.HttpRequestDef
- func GenReqDefForListPipleineBuildResult() *def.HttpRequestDef
- func GenReqDefForListTemplates() *def.HttpRequestDef
- func GenReqDefForRegisterAgent() *def.HttpRequestDef
- func GenReqDefForRemovePipeline() *def.HttpRequestDef
- func GenReqDefForShowAgentStatus() *def.HttpRequestDef
- func GenReqDefForShowInstanceStatus() *def.HttpRequestDef
- func GenReqDefForShowPipleineStatus() *def.HttpRequestDef
- func GenReqDefForShowTemplateDetail() *def.HttpRequestDef
- func GenReqDefForStartNewPipeline() *def.HttpRequestDef
- func GenReqDefForStartPipeline() *def.HttpRequestDef
- func GenReqDefForStopPipeline() *def.HttpRequestDef
- type CloudPipelineClient
- func (c *CloudPipelineClient) BatchShowPipelinesStatus(request *model.BatchShowPipelinesStatusRequest) (*model.BatchShowPipelinesStatusResponse, error)
- func (c *CloudPipelineClient) CreatePipelineByTemplate(request *model.CreatePipelineByTemplateRequest) (*model.CreatePipelineByTemplateResponse, error)
- func (c *CloudPipelineClient) ListPipleineBuildResult(request *model.ListPipleineBuildResultRequest) (*model.ListPipleineBuildResultResponse, error)
- func (c *CloudPipelineClient) ListTemplates(request *model.ListTemplatesRequest) (*model.ListTemplatesResponse, error)
- func (c *CloudPipelineClient) RegisterAgent(request *model.RegisterAgentRequest) (*model.RegisterAgentResponse, error)
- func (c *CloudPipelineClient) RemovePipeline(request *model.RemovePipelineRequest) (*model.RemovePipelineResponse, error)
- func (c *CloudPipelineClient) ShowAgentStatus(request *model.ShowAgentStatusRequest) (*model.ShowAgentStatusResponse, error)
- func (c *CloudPipelineClient) ShowInstanceStatus(request *model.ShowInstanceStatusRequest) (*model.ShowInstanceStatusResponse, error)
- func (c *CloudPipelineClient) ShowPipleineStatus(request *model.ShowPipleineStatusRequest) (*model.ShowPipleineStatusResponse, error)
- func (c *CloudPipelineClient) ShowTemplateDetail(request *model.ShowTemplateDetailRequest) (*model.ShowTemplateDetailResponse, error)
- func (c *CloudPipelineClient) StartNewPipeline(request *model.StartNewPipelineRequest) (*model.StartNewPipelineResponse, error)
- func (c *CloudPipelineClient) StartPipeline(request *model.StartPipelineRequest) (*model.StartPipelineResponse, error)
- func (c *CloudPipelineClient) StopPipeline(request *model.StopPipelineRequest) (*model.StopPipelineResponse, error)
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 GenReqDefForListPipleineBuildResult ¶
func GenReqDefForListPipleineBuildResult() *def.HttpRequestDef
func GenReqDefForListTemplates ¶
func GenReqDefForListTemplates() *def.HttpRequestDef
func GenReqDefForRegisterAgent ¶
func GenReqDefForRegisterAgent() *def.HttpRequestDef
func GenReqDefForRemovePipeline ¶
func GenReqDefForRemovePipeline() *def.HttpRequestDef
func GenReqDefForShowAgentStatus ¶
func GenReqDefForShowAgentStatus() *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 GenReqDefForStartPipeline ¶
func GenReqDefForStartPipeline() *def.HttpRequestDef
func GenReqDefForStopPipeline ¶
func GenReqDefForStopPipeline() *def.HttpRequestDef
Types ¶
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)
批量获取流水线状态和阶段信息
func (*CloudPipelineClient) CreatePipelineByTemplate ¶
func (c *CloudPipelineClient) CreatePipelineByTemplate(request *model.CreatePipelineByTemplateRequest) (*model.CreatePipelineByTemplateResponse, error)
基于模板快速创建流水线及流水线内任务
func (*CloudPipelineClient) ListPipleineBuildResult ¶
func (c *CloudPipelineClient) ListPipleineBuildResult(request *model.ListPipleineBuildResultRequest) (*model.ListPipleineBuildResultResponse, error)
获取项目下流水线执行状况
func (*CloudPipelineClient) ListTemplates ¶
func (c *CloudPipelineClient) ListTemplates(request *model.ListTemplatesRequest) (*model.ListTemplatesResponse, error)
查询模板列表,支持分页查询,支持模板名字模糊查询
func (*CloudPipelineClient) RegisterAgent ¶
func (c *CloudPipelineClient) RegisterAgent(request *model.RegisterAgentRequest) (*model.RegisterAgentResponse, error)
注册创建Slave接口
func (*CloudPipelineClient) RemovePipeline ¶
func (c *CloudPipelineClient) RemovePipeline(request *model.RemovePipelineRequest) (*model.RemovePipelineResponse, error)
根据id删除流水线
func (*CloudPipelineClient) ShowAgentStatus ¶
func (c *CloudPipelineClient) ShowAgentStatus(request *model.ShowAgentStatusRequest) (*model.ShowAgentStatusResponse, error)
Agent状态查询
func (*CloudPipelineClient) ShowInstanceStatus ¶
func (c *CloudPipelineClient) ShowInstanceStatus(request *model.ShowInstanceStatusRequest) (*model.ShowInstanceStatusResponse, error)
检查流水线创建状态
func (*CloudPipelineClient) ShowPipleineStatus ¶
func (c *CloudPipelineClient) ShowPipleineStatus(request *model.ShowPipleineStatusRequest) (*model.ShowPipleineStatusResponse, error)
获取流水线状态,阶段及任务信息
func (*CloudPipelineClient) ShowTemplateDetail ¶
func (c *CloudPipelineClient) ShowTemplateDetail(request *model.ShowTemplateDetailRequest) (*model.ShowTemplateDetailResponse, error)
查询模板详情
func (*CloudPipelineClient) StartNewPipeline ¶
func (c *CloudPipelineClient) StartNewPipeline(request *model.StartNewPipelineRequest) (*model.StartNewPipelineResponse, error)
启动流水线
func (*CloudPipelineClient) StartPipeline ¶
func (c *CloudPipelineClient) StartPipeline(request *model.StartPipelineRequest) (*model.StartPipelineResponse, error)
执行流水线
func (*CloudPipelineClient) StopPipeline ¶
func (c *CloudPipelineClient) StopPipeline(request *model.StopPipelineRequest) (*model.StopPipelineResponse, error)
停止流水线
Click to show internal directories.
Click to hide internal directories.