pipelineserver

package
v0.0.0-...-8b5a1e4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScopedHandlerFactory

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

func NewScopedHandlerFactory

func NewScopedHandlerFactory(
	pipelineDBFactory db.PipelineDBFactory,
	teamDBFactory db.TeamDBFactory,
) *ScopedHandlerFactory

func (*ScopedHandlerFactory) HandlerFor

func (pdbh *ScopedHandlerFactory) HandlerFor(pipelineScopedHandler func(db.PipelineDB) http.Handler) http.HandlerFunc

type Server

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

func NewServer

func NewServer(
	logger lager.Logger,
	teamDBFactory db.TeamDBFactory,
	pipelinesDB db.PipelinesDB,
) *Server

func (*Server) DeletePipeline

func (s *Server) DeletePipeline(pipelineDB db.PipelineDB) http.Handler

func (*Server) ExposePipeline

func (s *Server) ExposePipeline(pipelineDB db.PipelineDB) http.Handler

func (*Server) GetPipeline

func (s *Server) GetPipeline(pipelineDB db.PipelineDB) http.Handler

func (*Server) GetVersionsDB

func (s *Server) GetVersionsDB(pipelineDB db.PipelineDB) http.Handler

func (*Server) HidePipeline

func (s *Server) HidePipeline(pipelineDB db.PipelineDB) http.Handler

func (*Server) ListAllPipelines

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

show all public pipelines and team private pipelines if authorized

func (*Server) ListPipelines

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

func (*Server) OrderPipelines

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

func (*Server) PausePipeline

func (s *Server) PausePipeline(pipelineDB db.PipelineDB) http.Handler

func (*Server) RenamePipeline

func (s *Server) RenamePipeline(pipelineDB db.PipelineDB) http.Handler

func (*Server) UnpausePipeline

func (s *Server) UnpausePipeline(pipelineDB db.PipelineDB) http.Handler

Jump to

Keyboard shortcuts

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