package
0.0.0-20201106104914-e99cc0b83bb6
Repository: https://github.com/ozonep/drone.git
Documentation: pkg.go.dev
# Functions
HandleAccept returns an http.HandlerFunc that processes an http.Request to accept ownership of the stage.
HandleInfo returns an http.HandlerFunc that processes an http.Request to get the build details.
HandleJoin returns an http.HandlerFunc that makes an http.Request to join the cluster.
HandleLeave returns an http.HandlerFunc that makes an http.Request to leave the cluster.
HandleLogBatch returns an http.HandlerFunc that accepts an http.Request to submit a stream of logs to the system.
HandleLogUpload returns an http.HandlerFunc that accepts an http.Request to upload and persist logs for a pipeline stage.
HandlePing returns an http.HandlerFunc that makes an http.Request to ping the server and confirm connectivity.
HandleRequest returns an http.HandlerFunc that processes an http.Request to reqeust a stage from the queue for execution.
HandleUpdateStage returns an http.HandlerFunc that processes an http.Request to update a stage.
HandleUpdateStep returns an http.HandlerFunc that processes an http.Request to update a step.
HandleWatch returns an http.HandlerFunc that accepts a blocking http.Request that watches a build for cancellation events.
NewServer returns a new rpc server that enables remote interaction with the build controller using the http transport.
# Type aliases
Server wraps the chi Router in a custom type for wire injection purposes.