Documentation
¶
Index ¶
- type RejectArchivedHandler
- type RejectArchivedHandlerFactory
- type ScopedHandlerFactory
- type Server
- func (s *Server) ArchivePipeline(pipelineDB db.Pipeline) http.Handler
- func (s *Server) CreateBuild(pipeline db.Pipeline) http.Handler
- func (s *Server) DeletePipeline(pipelineDB db.Pipeline) http.Handler
- func (s *Server) ExposePipeline(pipeline db.Pipeline) http.Handler
- func (s *Server) GetPipeline(pipeline db.Pipeline) http.Handler
- func (s *Server) GetVersionsDB(pipelineDB db.Pipeline) http.Handler
- func (s *Server) HidePipeline(pipelineDB db.Pipeline) http.Handler
- func (s *Server) ListAllPipelines(w http.ResponseWriter, r *http.Request)
- func (s *Server) ListPipelineBuilds(pipeline db.Pipeline) http.Handler
- func (s *Server) ListPipelines(w http.ResponseWriter, r *http.Request)
- func (s *Server) OrderPipelines(w http.ResponseWriter, r *http.Request)
- func (s *Server) PausePipeline(pipelineDB db.Pipeline) http.Handler
- func (s *Server) PipelineBadge(pipeline db.Pipeline) http.Handler
- func (s *Server) RenamePipeline(pipeline db.Pipeline) http.Handler
- func (s *Server) UnpausePipeline(pipelineDB db.Pipeline) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RejectArchivedHandler ¶
type RejectArchivedHandler struct {
// contains filtered or unexported fields
}
func (RejectArchivedHandler) ServeHTTP ¶
func (ra RejectArchivedHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type RejectArchivedHandlerFactory ¶
type RejectArchivedHandlerFactory struct {
// contains filtered or unexported fields
}
func NewRejectArchivedHandlerFactory ¶
func NewRejectArchivedHandlerFactory(factory db.TeamFactory) RejectArchivedHandlerFactory
func (RejectArchivedHandlerFactory) RejectArchived ¶
func (f RejectArchivedHandlerFactory) RejectArchived(handler http.Handler) http.Handler
type ScopedHandlerFactory ¶
type ScopedHandlerFactory struct {
// contains filtered or unexported fields
}
func NewScopedHandlerFactory ¶
func NewScopedHandlerFactory( teamDBFactory db.TeamFactory, ) *ScopedHandlerFactory
func (*ScopedHandlerFactory) HandlerFor ¶
func (pdbh *ScopedHandlerFactory) HandlerFor(pipelineScopedHandler func(db.Pipeline) http.Handler) http.HandlerFunc
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( logger lager.Logger, teamFactory db.TeamFactory, pipelineFactory db.PipelineFactory, externalURL string, ) *Server
func (*Server) ArchivePipeline ¶
func (*Server) DeletePipeline ¶
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) ListPipelineBuilds ¶
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)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.