Documentation ¶
Index ¶
- type BindNodeRequest
- type Controller
- func (instance *Controller) DeleteBy(id string, ctx iris.Context) mvc.Response
- func (instance *Controller) DeleteTaskBy(id string, ctx iris.Context) mvc.Response
- func (instance *Controller) Get(ctx iris.Context) mvc.Response
- func (instance *Controller) GetNodes(ctx iris.Context) mvc.Response
- func (instance *Controller) GetTasks(ctx iris.Context) mvc.Response
- func (instance *Controller) PatchBy(id string, ctx iris.Context) mvc.Response
- func (instance *Controller) Post(ctx iris.Context) mvc.Response
- func (instance *Controller) PostKiller(ctx iris.Context) mvc.Response
- func (instance *Controller) PostNodes(ctx iris.Context) mvc.Response
- func (instance *Controller) PostTask(ctx iris.Context) mvc.Response
- func (instance *Controller) PutBy(id string, ctx iris.Context) mvc.Response
- func (instance *Controller) PutSteps(ctx iris.Context) mvc.Response
- func (instance *Controller) PutTaskBy(id string, ctx iris.Context) mvc.Response
- type KillPipelineRequest
- type PutStepsRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindNodeRequest ¶
type Controller ¶
type Controller struct {
Service services.PipelineService
}
func (*Controller) DeleteTaskBy ¶
从流水线解绑任务
func (*Controller) GetNodes ¶
func (instance *Controller) GetNodes(ctx iris.Context) mvc.Response
获取流水线绑定的节点
func (*Controller) GetTasks ¶
func (instance *Controller) GetTasks(ctx iris.Context) mvc.Response
获取流水线绑定的任务
func (*Controller) PostKiller ¶
func (instance *Controller) PostKiller(ctx iris.Context) mvc.Response
创建强杀指令
func (*Controller) PostNodes ¶
func (instance *Controller) PostNodes(ctx iris.Context) mvc.Response
绑定流水线到节点
func (*Controller) PostTask ¶
func (instance *Controller) PostTask(ctx iris.Context) mvc.Response
绑定任务到流水线
type KillPipelineRequest ¶
type KillPipelineRequest struct {
PipelineId string `json:"pipeline_id" validate:"required,uuid4"`
}
type PutStepsRequest ¶
Click to show internal directories.
Click to hide internal directories.