Documentation
¶
Overview ¶
*
- Created by zc on 2020/9/6.
*
- Created by zc on 2020/9/5.
Index ¶
- func Accept() http.HandlerFunc
- func AfterAll(ctx context.Context, stage *core.Stage) error
- func BeforeAll(ctx context.Context, stage *core.Stage) error
- func Detail(ctx context.Context, id int64) (*manager.Context, error)
- func Info() http.HandlerFunc
- func Join() http.HandlerFunc
- func Leave() http.HandlerFunc
- func LogBatch() http.HandlerFunc
- func LogUpload() http.HandlerFunc
- func Ping() http.HandlerFunc
- func Request() http.HandlerFunc
- func UpdateStage() http.HandlerFunc
- func UpdateStep() http.HandlerFunc
- func Watch() http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Accept ¶
func Accept() http.HandlerFunc
Accept returns an http.HandlerFunc that processes an http.Request to accept ownership of the stage.
func Info ¶
func Info() http.HandlerFunc
Info returns an http.HandlerFunc that processes an http.Request to get the build details.
func Join ¶
func Join() http.HandlerFunc
Join returns an http.HandlerFunc that makes an http.Request to join the cluster.
func Leave ¶
func Leave() http.HandlerFunc
Leave returns an http.HandlerFunc that makes an http.Request to leave the cluster.
func LogBatch ¶
func LogBatch() http.HandlerFunc
LogBatch returns an http.HandlerFunc that accepts an http.Request to submit a stream of logs to the system.
func LogUpload ¶
func LogUpload() http.HandlerFunc
LogUpload returns an http.HandlerFunc that accepts an http.Request to upload and persist logs for a pipeline stage.
func Ping ¶
func Ping() http.HandlerFunc
Ping returns an http.HandlerFunc that makes an http.Request to ping the server and confirm connectivity.
func Request ¶
func Request() http.HandlerFunc
Request returns an http.HandlerFunc that processes an http.Request to reqeust a stage from the queue for execution.
func UpdateStage ¶
func UpdateStage() http.HandlerFunc
UpdateStage returns an http.HandlerFunc that processes an http.Request to update a stage.
func UpdateStep ¶
func UpdateStep() http.HandlerFunc
UpdateStep returns an http.HandlerFunc that processes an http.Request to update a step.
func Watch ¶
func Watch() http.HandlerFunc
Watch returns an http.HandlerFunc that accepts a blocking http.Request that watches a build for cancellation events.
Types ¶
This section is empty.