v2

package
v0.0.13-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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 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 (*DevcloudpipelineClient) CreatePipelineByTemplate

基于模板快速创建流水线及流水线内任务

func (*DevcloudpipelineClient) ListTemplates

查询模板列表,支持分页查询,支持模板名字模糊查询

func (*DevcloudpipelineClient) RegisterAgent

注册创建Slave接口

func (*DevcloudpipelineClient) RemovePipeline

根据id删除流水线

func (*DevcloudpipelineClient) ShowAgentStatus

Agent状态查询

func (*DevcloudpipelineClient) ShowInstanceStatus

检查流水线创建状态

func (*DevcloudpipelineClient) ShowPipleineStatus

获取流水线状态,阶段及任务信息

func (*DevcloudpipelineClient) ShowTemplateDetail

查询模板详情

func (*DevcloudpipelineClient) StartNewPipeline

启动流水线

func (*DevcloudpipelineClient) StartPipeline

执行流水线

func (*DevcloudpipelineClient) StopPipeline

停止流水线

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL