jobserver

package
v4.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: Apache-2.0 Imports: 16 Imported by: 74

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Badge

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

func BadgeForBuild

func BadgeForBuild(build db.Build) *Badge

func (*Badge) String

func (b *Badge) String() string

type SchedulerFactory

type SchedulerFactory interface {
	BuildScheduler(db.Pipeline, string, creds.Variables) scheduler.BuildScheduler
}

type Server

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

func NewServer

func NewServer(
	logger lager.Logger,
	schedulerFactory SchedulerFactory,
	externalURL string,
	variablesFactory creds.VariablesFactory,
	jobFactory db.JobFactory,
) *Server

func (*Server) ClearTaskCache

func (s *Server) ClearTaskCache(pipeline db.Pipeline) http.Handler

func (*Server) CreateJobBuild

func (s *Server) CreateJobBuild(pipeline db.Pipeline) http.Handler

func (*Server) GetJob

func (s *Server) GetJob(pipeline db.Pipeline) http.Handler

func (*Server) GetJobBuild

func (s *Server) GetJobBuild(pipeline db.Pipeline) http.Handler

func (*Server) JobBadge

func (s *Server) JobBadge(pipeline db.Pipeline) http.Handler

func (*Server) ListAllJobs

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

func (*Server) ListJobBuilds

func (s *Server) ListJobBuilds(pipeline db.Pipeline) http.Handler

func (*Server) ListJobInputs

func (s *Server) ListJobInputs(pipeline db.Pipeline) http.Handler

func (*Server) ListJobs

func (s *Server) ListJobs(pipeline db.Pipeline) http.Handler

func (*Server) PauseJob

func (s *Server) PauseJob(pipeline db.Pipeline) http.Handler

func (*Server) UnpauseJob

func (s *Server) UnpauseJob(pipeline db.Pipeline) http.Handler

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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