buildserver

package
v6.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const CurrentProtocolVersion = "2.0"
View Source
const ProtocolVersionHeader = "X-ATC-Stream-Version"

Variables

This section is empty.

Functions

func NewEventHandler

func NewEventHandler(logger lager.Logger, build db.Build) http.Handler

func NewScopedHandlerFactory

func NewScopedHandlerFactory(
	logger lager.Logger,
) *scopedHandlerFactory

Types

type EventHandlerFactory

type EventHandlerFactory func(lager.Logger, db.Build) http.Handler

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(
	logger lager.Logger,
	externalURL string,
	teamFactory db.TeamFactory,
	buildFactory db.BuildFactory,
	eventHandlerFactory EventHandlerFactory,
) *Server

func (*Server) AbortBuild

func (s *Server) AbortBuild(build db.Build) http.Handler

func (*Server) BuildEvents

func (s *Server) BuildEvents(build db.Build) http.Handler

func (*Server) BuildResources

func (s *Server) BuildResources(build db.Build) http.Handler

func (*Server) CreateBuild

func (s *Server) CreateBuild(team db.Team) http.Handler

func (*Server) GetBuild

func (s *Server) GetBuild(build db.Build) http.Handler

func (*Server) GetBuildArtifacts

func (s *Server) GetBuildArtifacts(build db.Build) http.Handler

func (*Server) GetBuildPlan

func (s *Server) GetBuildPlan(build db.Build) http.Handler

func (*Server) GetBuildPreparation

func (s *Server) GetBuildPreparation(build db.Build) http.Handler

func (*Server) ListBuilds

func (s *Server) ListBuilds(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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