package
1.0.0
Repository: https://github.com/shaowenchen/ops.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
@Summary Create Event @Tags Event @Accept json @Produce json @Param event path string true "event" @Success 200 @Router /api/v1/events/{event} [post].
@Summary Create Pipeline @Tags Pipelines @Accept json @Produce json @Param namespace path string true "namespace" @Param pipeline body opsv1.Pipeline true "pipeline" @Success 200 @Router /api/v1/namespaces/{namespace}/pipelines [post].
@Summary Create PipelineRun @Tags PipelineRun @Accept json @Produce json @Param namespace path string true "namespace" @Param pipelineRef body string true "pipelineRef" @Param variables body map[string]string true "variables" @Success 200 @Router /api/v1/namespaces/{namespace}/pipelineruns [post].
@Summary Create PipelineRun Sync @Tags PipelineRun @Accept json @Produce json @Param namespace path string true "namespace" @Param pipelineRef body string true "pipelineRef" @Param variables body map[string]string true "variables" @Success 200 @Router /api/v1/namespaces/{namespace}/pipelineruns/sync [post].
@Summary Create Task @Tags Tasks @Accept json @Produce json @Param namespace path string true "namespace" @Param task body opsv1.Task true "task" @Success 200 @Router /api/v1/namespaces/{namespace}/tasks [post].
@Summary Create TaskRun @Tags TaskRun @Accept json @Produce json @Param namespace path string true "namespace" @Param taskRef body string true "taskRef" @Param variables body map[string]string true "variables" @Success 200 @Router /api/v1/namespaces/{namespace}/taskruns [post].
@Summary Create TaskRun Sync @Tags TaskRun @Accept json @Produce json @Param namespace path string true "namespace" @Param taskRef body string true "taskRef" @Param variables body map[string]string true "variables" @Success 200 @Router /api/v1/namespaces/{namespace}/taskruns/sync [post].
@Summary Delete Pipeline @Tags Pipelines @Accept json @Produce json @Param namespace path string true "namespace" @Param pipeline path string true "pipeline" @Success 200 @Router /api/v1/namespaces/{namespace}/pipelines/{pipeline} [delete].
@Summary Delete Task @Tags Tasks @Accept json @Produce json @Param namespace path string true "namespace" @Param task path string true "task" @Success 200 @Router /api/v1/namespaces/{namespace}/tasks/{task} [delete].
@Summary Get Cluster @Tags Clusters @Accept json @Produce json @Param namespace path string true "namespace" @Param cluster path string true "cluster" @Success 200 @Router /api/v1/namespaces/{namespace}/clusters/{cluster} [get].
@Summary Get Cluster Nodes @Tags Clusters @Accept json @Produce json @Param namespace path string true "namespace" @Param cluster path string true "cluster" @Success 200 @Router /api/v1/namespaces/{namespace}/clusters/{cluster}/nodes [get].
@Summary Get Pipeline @Tags Pipelines @Accept json @Produce json @Param namespace path string true "namespace" @Param pipeline path string true "pipeline" @Success 200 @Router /api/v1/namespaces/{namespace}/pipelines/{pipeline} [get].
@Summary Get PipelineRun @Tags PipelineRun @Accept json @Produce json @Param namespace path string true "namespace" @Param pipelinerun path string true "pipelinerun" @Success 200 @Router /api/v1/namespaces/{namespace}/pipelineruns/{pipelinerun} [get].
@Summary Get Summary @Tags Summary @Accept json @Produce json @Success 200 @Router /api/v1/summary [get].
@Summary Get Task @Tags Tasks @Accept json @Produce json @Param namespace path string true "namespace" @Param task path string true "task" @Success 200 @Router /api/v1/namespaces/{namespace}/tasks/{task} [get].
@Summary Get TaskRun @Tags TaskRun @Accept json @Produce json @Param namespace path string true "namespace" @Param taskrun path string true "taskrun" @Success 200 @Router /api/v1/namespaces/{namespace}/taskruns/{taskrun} [get].
No description provided by the author
@Summary Health Check @Tags Health @Accept json @Produce json @Success 200 @Router /healthz [get].
@Summary List Clusters @Tags Clusters @Accept json @Produce json @Param namespace path string true "namespace" @Param page query int false "page" @Param page_size query int false "page_size" @Success 200 @Router /api/v1/namespaces/{namespace}/clusters [get].
@Summary List Hosts @Tags Hosts @Accept json @Produce json @Param namespace path string true "namespace" @Param page query int false "page" @Param page_size query int false "page_size" @Success 200 @Router /api/v1/namespaces/{namespace}/hosts [get].
@Summary List PipelineRun @Tags PipelineRun @Accept json @Produce json @Param namespace path string true "namespace" @Param page query int false "page" @Param page_size query int false "page_size" @Success 200 @Router /api/v1/namespaces/{namespace}/pipelineruns [get].
@Summary List Pipelines @Tags Pipelines @Accept json @Produce json @Param namespace path string true "namespace" @Param page query int false "page" @Param page_size query int false "page_size" @Param search query string false "search" @Success 200 @Router /api/v1/namespaces/{namespace}/pipelines [get].
@Summary List Pipeline Tools @Tags Pipeline Tools @Accept json @Produce json @Param namespace path string true "namespace" @Param page query int false "page" @Param page_size query int false "page_size" @Success 200 @Router /api/v1/namespaces/{namespace}/pipelinetools [get].
@Summary List TaskRun @Tags TaskRun @Accept json @Produce json @Param namespace path string true "namespace" @Param page query int false "page" @Param page_size query int false "page_size" @Success 200 @Router /api/v1/namespaces/{namespace}/taskruns [get].
@Summary List Tasks @Tags Tasks @Accept json @Produce json @Param namespace path string true "namespace" @Param page query int false "page" @Param page_size query int false "page_size" @Param search query string false "search" @Success 200 @Router /api/v1/namespaces/{namespace}/tasks [get].
No description provided by the author
@Summary Login Check @Tags Login @Accept json @Produce json @Success 200 @Router /api/v1/login/check [get].
No description provided by the author
@Summary Update Pipeline @Tags Pipelines @Accept json @Produce json @Param namespace path string true "namespace" @Param pipeline body opsv1.Pipeline true "pipeline" @Success 200 @Router /api/v1/namespaces/{namespace}/pipelines [put].
@Summary Update Task @Tags Tasks @Accept json @Produce json @Param namespace path string true "namespace" @Param task body opsv1.Task true "task" @Success 200 @Router /api/v1/namespaces/{namespace}/tasks [put].
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author