Documentation ¶
Index ¶
- type SchedulerFactory
- type Server
- func (s *Server) CreateJobBuild(pipelineDB db.PipelineDB) http.Handler
- func (s *Server) GetJob(pipelineDB db.PipelineDB) http.Handler
- func (s *Server) GetJobBuild(pipelineDB db.PipelineDB) http.Handler
- func (s *Server) ListJobBuilds(pipelineDB db.PipelineDB) http.Handler
- func (s *Server) ListJobInputs(pipelineDB db.PipelineDB) http.Handler
- func (s *Server) ListJobs(pipelineDB db.PipelineDB) http.Handler
- func (s *Server) PauseJob(pipelineDB db.PipelineDB) http.Handler
- func (s *Server) UnpauseJob(pipelineDB db.PipelineDB) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchedulerFactory ¶
type SchedulerFactory interface {
BuildScheduler(db.PipelineDB, 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) http.Handler
func (*Server) GetJobBuild ¶
func (s *Server) GetJobBuild(pipelineDB db.PipelineDB) http.Handler
func (*Server) ListJobBuilds ¶
func (s *Server) ListJobBuilds(pipelineDB db.PipelineDB) http.Handler
func (*Server) ListJobInputs ¶
func (s *Server) ListJobInputs(pipelineDB db.PipelineDB) http.Handler
func (*Server) UnpauseJob ¶
func (s *Server) UnpauseJob(pipelineDB db.PipelineDB) http.Handler
Source Files ¶
Click to show internal directories.
Click to hide internal directories.