rpc

package
v0.0.0-...-5cccba7 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

*

  • Created by zc on 2020/9/6.

*

  • Created by zc on 2020/9/5.

Index

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 AfterAll

func AfterAll(ctx context.Context, stage *core.Stage) error

func BeforeAll

func BeforeAll(ctx context.Context, stage *core.Stage) error

func Detail

func Detail(ctx context.Context, id int64) (*manager.Context, error)

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.

Jump to

Keyboard shortcuts

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