jobserver

package
v0.0.0-...-7f11b89 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 15 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.PipelineDB, dbng.Pipeline, string) scheduler.BuildScheduler
}

type Server

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

func NewServer

func NewServer(
	logger lager.Logger,
	schedulerFactory SchedulerFactory,
	externalURL string,
) *Server

func (*Server) CreateJobBuild

func (s *Server) CreateJobBuild(pipelineDB db.PipelineDB, dbPipeline dbng.Pipeline) http.Handler

func (*Server) GetJob

func (s *Server) GetJob(pipelineDB db.PipelineDB, _ dbng.Pipeline) http.Handler

func (*Server) GetJobBuild

func (s *Server) GetJobBuild(pipelineDB db.PipelineDB, _ dbng.Pipeline) http.Handler

func (*Server) JobBadge

func (s *Server) JobBadge(pipelineDB db.PipelineDB, _ dbng.Pipeline) http.Handler

func (*Server) ListJobBuilds

func (s *Server) ListJobBuilds(pipelineDB db.PipelineDB, _ dbng.Pipeline) http.Handler

func (*Server) ListJobInputs

func (s *Server) ListJobInputs(pipelineDB db.PipelineDB, dbPipeline dbng.Pipeline) http.Handler

func (*Server) ListJobs

func (s *Server) ListJobs(pipelineDB db.PipelineDB, _ dbng.Pipeline) http.Handler

func (*Server) PauseJob

func (s *Server) PauseJob(pipelineDB db.PipelineDB, _ dbng.Pipeline) http.Handler

func (*Server) UnpauseJob

func (s *Server) UnpauseJob(pipelineDB db.PipelineDB, _ dbng.Pipeline) http.Handler

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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