jobserver

package
v3.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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,
) *Server

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) 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