Documentation ¶
Index ¶
- func DevcloudpipelineClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchShowPipelinesStatus(request *model.BatchShowPipelinesStatusRequest) *def.HttpRequestDef
- func GenReqDefForCreatePipelineByTemplate(request *model.CreatePipelineByTemplateRequest) *def.HttpRequestDef
- func GenReqDefForListTemplates(request *model.ListTemplatesRequest) *def.HttpRequestDef
- func GenReqDefForRegisterAgent(request *model.RegisterAgentRequest) *def.HttpRequestDef
- func GenReqDefForRemovePipeline(request *model.RemovePipelineRequest) *def.HttpRequestDef
- func GenReqDefForShowAgentStatus(request *model.ShowAgentStatusRequest) *def.HttpRequestDef
- func GenReqDefForShowInstanceStatus(request *model.ShowInstanceStatusRequest) *def.HttpRequestDef
- func GenReqDefForShowPipleineStatus(request *model.ShowPipleineStatusRequest) *def.HttpRequestDef
- func GenReqDefForShowTemplateDetail(request *model.ShowTemplateDetailRequest) *def.HttpRequestDef
- func GenReqDefForStartNewPipeline(request *model.StartNewPipelineRequest) *def.HttpRequestDef
- func GenReqDefForStartPipeline(request *model.StartPipelineRequest) *def.HttpRequestDef
- func GenReqDefForStopPipeline(request *model.StopPipelineRequest) *def.HttpRequestDef
- func GenRespForBatchShowPipelinesStatus() (*model.BatchShowPipelinesStatusResponse, *def.HttpResponseDef)
- func GenRespForCreatePipelineByTemplate() (*model.CreatePipelineByTemplateResponse, *def.HttpResponseDef)
- func GenRespForListTemplates() (*model.ListTemplatesResponse, *def.HttpResponseDef)
- func GenRespForRegisterAgent() (*model.RegisterAgentResponse, *def.HttpResponseDef)
- func GenRespForRemovePipeline() (*model.RemovePipelineResponse, *def.HttpResponseDef)
- func GenRespForShowAgentStatus() (*model.ShowAgentStatusResponse, *def.HttpResponseDef)
- func GenRespForShowInstanceStatus() (*model.ShowInstanceStatusResponse, *def.HttpResponseDef)
- func GenRespForShowPipleineStatus() (*model.ShowPipleineStatusResponse, *def.HttpResponseDef)
- func GenRespForShowTemplateDetail() (*model.ShowTemplateDetailResponse, *def.HttpResponseDef)
- func GenRespForStartNewPipeline() (*model.StartNewPipelineResponse, *def.HttpResponseDef)
- func GenRespForStartPipeline() (*model.StartPipelineResponse, *def.HttpResponseDef)
- func GenRespForStopPipeline() (*model.StopPipelineResponse, *def.HttpResponseDef)
- type DevcloudpipelineClient
- func (c *DevcloudpipelineClient) BatchShowPipelinesStatus(request *model.BatchShowPipelinesStatusRequest) (*model.BatchShowPipelinesStatusResponse, error)
- func (c *DevcloudpipelineClient) CreatePipelineByTemplate(request *model.CreatePipelineByTemplateRequest) (*model.CreatePipelineByTemplateResponse, error)
- func (c *DevcloudpipelineClient) ListTemplates(request *model.ListTemplatesRequest) (*model.ListTemplatesResponse, error)
- func (c *DevcloudpipelineClient) RegisterAgent(request *model.RegisterAgentRequest) (*model.RegisterAgentResponse, error)
- func (c *DevcloudpipelineClient) RemovePipeline(request *model.RemovePipelineRequest) (*model.RemovePipelineResponse, error)
- func (c *DevcloudpipelineClient) ShowAgentStatus(request *model.ShowAgentStatusRequest) (*model.ShowAgentStatusResponse, error)
- func (c *DevcloudpipelineClient) ShowInstanceStatus(request *model.ShowInstanceStatusRequest) (*model.ShowInstanceStatusResponse, error)
- func (c *DevcloudpipelineClient) ShowPipleineStatus(request *model.ShowPipleineStatusRequest) (*model.ShowPipleineStatusResponse, error)
- func (c *DevcloudpipelineClient) ShowTemplateDetail(request *model.ShowTemplateDetailRequest) (*model.ShowTemplateDetailResponse, error)
- func (c *DevcloudpipelineClient) StartNewPipeline(request *model.StartNewPipelineRequest) (*model.StartNewPipelineResponse, error)
- func (c *DevcloudpipelineClient) StartPipeline(request *model.StartPipelineRequest) (*model.StartPipelineResponse, error)
- func (c *DevcloudpipelineClient) StopPipeline(request *model.StopPipelineRequest) (*model.StopPipelineResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DevcloudpipelineClientBuilder ¶
func DevcloudpipelineClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForBatchShowPipelinesStatus ¶
func GenReqDefForBatchShowPipelinesStatus(request *model.BatchShowPipelinesStatusRequest) *def.HttpRequestDef
func GenReqDefForCreatePipelineByTemplate ¶
func GenReqDefForCreatePipelineByTemplate(request *model.CreatePipelineByTemplateRequest) *def.HttpRequestDef
func GenReqDefForListTemplates ¶
func GenReqDefForListTemplates(request *model.ListTemplatesRequest) *def.HttpRequestDef
func GenReqDefForRegisterAgent ¶
func GenReqDefForRegisterAgent(request *model.RegisterAgentRequest) *def.HttpRequestDef
func GenReqDefForRemovePipeline ¶
func GenReqDefForRemovePipeline(request *model.RemovePipelineRequest) *def.HttpRequestDef
func GenReqDefForShowAgentStatus ¶
func GenReqDefForShowAgentStatus(request *model.ShowAgentStatusRequest) *def.HttpRequestDef
func GenReqDefForShowInstanceStatus ¶
func GenReqDefForShowInstanceStatus(request *model.ShowInstanceStatusRequest) *def.HttpRequestDef
func GenReqDefForShowPipleineStatus ¶
func GenReqDefForShowPipleineStatus(request *model.ShowPipleineStatusRequest) *def.HttpRequestDef
func GenReqDefForShowTemplateDetail ¶
func GenReqDefForShowTemplateDetail(request *model.ShowTemplateDetailRequest) *def.HttpRequestDef
func GenReqDefForStartNewPipeline ¶
func GenReqDefForStartNewPipeline(request *model.StartNewPipelineRequest) *def.HttpRequestDef
func GenReqDefForStartPipeline ¶
func GenReqDefForStartPipeline(request *model.StartPipelineRequest) *def.HttpRequestDef
func GenReqDefForStopPipeline ¶
func GenReqDefForStopPipeline(request *model.StopPipelineRequest) *def.HttpRequestDef
func GenRespForBatchShowPipelinesStatus ¶
func GenRespForBatchShowPipelinesStatus() (*model.BatchShowPipelinesStatusResponse, *def.HttpResponseDef)
func GenRespForCreatePipelineByTemplate ¶
func GenRespForCreatePipelineByTemplate() (*model.CreatePipelineByTemplateResponse, *def.HttpResponseDef)
func GenRespForListTemplates ¶
func GenRespForListTemplates() (*model.ListTemplatesResponse, *def.HttpResponseDef)
func GenRespForRegisterAgent ¶
func GenRespForRegisterAgent() (*model.RegisterAgentResponse, *def.HttpResponseDef)
func GenRespForRemovePipeline ¶
func GenRespForRemovePipeline() (*model.RemovePipelineResponse, *def.HttpResponseDef)
func GenRespForShowAgentStatus ¶
func GenRespForShowAgentStatus() (*model.ShowAgentStatusResponse, *def.HttpResponseDef)
func GenRespForShowInstanceStatus ¶
func GenRespForShowInstanceStatus() (*model.ShowInstanceStatusResponse, *def.HttpResponseDef)
func GenRespForShowPipleineStatus ¶
func GenRespForShowPipleineStatus() (*model.ShowPipleineStatusResponse, *def.HttpResponseDef)
func GenRespForShowTemplateDetail ¶
func GenRespForShowTemplateDetail() (*model.ShowTemplateDetailResponse, *def.HttpResponseDef)
func GenRespForStartNewPipeline ¶
func GenRespForStartNewPipeline() (*model.StartNewPipelineResponse, *def.HttpResponseDef)
func GenRespForStartPipeline ¶
func GenRespForStartPipeline() (*model.StartPipelineResponse, *def.HttpResponseDef)
func GenRespForStopPipeline ¶
func GenRespForStopPipeline() (*model.StopPipelineResponse, *def.HttpResponseDef)
Types ¶
type DevcloudpipelineClient ¶
type DevcloudpipelineClient struct {
// contains filtered or unexported fields
}
func NewDevcloudpipelineClient ¶
func NewDevcloudpipelineClient(hcClient *http_client.HcHttpClient) *DevcloudpipelineClient
func (*DevcloudpipelineClient) BatchShowPipelinesStatus ¶
func (c *DevcloudpipelineClient) BatchShowPipelinesStatus(request *model.BatchShowPipelinesStatusRequest) (*model.BatchShowPipelinesStatusResponse, error)
批量获取流水线状态和阶段信息
func (*DevcloudpipelineClient) CreatePipelineByTemplate ¶
func (c *DevcloudpipelineClient) CreatePipelineByTemplate(request *model.CreatePipelineByTemplateRequest) (*model.CreatePipelineByTemplateResponse, error)
基于模板快速创建流水线及流水线内任务
func (*DevcloudpipelineClient) ListTemplates ¶
func (c *DevcloudpipelineClient) ListTemplates(request *model.ListTemplatesRequest) (*model.ListTemplatesResponse, error)
查询模板列表,支持分页查询,支持模板名字模糊查询
func (*DevcloudpipelineClient) RegisterAgent ¶
func (c *DevcloudpipelineClient) RegisterAgent(request *model.RegisterAgentRequest) (*model.RegisterAgentResponse, error)
注册创建Slave接口
func (*DevcloudpipelineClient) RemovePipeline ¶
func (c *DevcloudpipelineClient) RemovePipeline(request *model.RemovePipelineRequest) (*model.RemovePipelineResponse, error)
根据id删除流水线
func (*DevcloudpipelineClient) ShowAgentStatus ¶
func (c *DevcloudpipelineClient) ShowAgentStatus(request *model.ShowAgentStatusRequest) (*model.ShowAgentStatusResponse, error)
Agent状态查询
func (*DevcloudpipelineClient) ShowInstanceStatus ¶
func (c *DevcloudpipelineClient) ShowInstanceStatus(request *model.ShowInstanceStatusRequest) (*model.ShowInstanceStatusResponse, error)
检查流水线创建状态
func (*DevcloudpipelineClient) ShowPipleineStatus ¶
func (c *DevcloudpipelineClient) ShowPipleineStatus(request *model.ShowPipleineStatusRequest) (*model.ShowPipleineStatusResponse, error)
获取流水线状态,阶段及任务信息
func (*DevcloudpipelineClient) ShowTemplateDetail ¶
func (c *DevcloudpipelineClient) ShowTemplateDetail(request *model.ShowTemplateDetailRequest) (*model.ShowTemplateDetailResponse, error)
查询模板详情
func (*DevcloudpipelineClient) StartNewPipeline ¶
func (c *DevcloudpipelineClient) StartNewPipeline(request *model.StartNewPipelineRequest) (*model.StartNewPipelineResponse, error)
启动流水线
func (*DevcloudpipelineClient) StartPipeline ¶
func (c *DevcloudpipelineClient) StartPipeline(request *model.StartPipelineRequest) (*model.StartPipelineResponse, error)
执行流水线
func (*DevcloudpipelineClient) StopPipeline ¶
func (c *DevcloudpipelineClient) StopPipeline(request *model.StopPipelineRequest) (*model.StopPipelineResponse, error)
停止流水线
Click to show internal directories.
Click to hide internal directories.