pipelineserver

package
v6.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

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 (s *Server) ArchivePipeline(pipelineDB db.Pipeline) http.Handler

func (*Server) CreateBuild

func (s *Server) CreateBuild(pipeline db.Pipeline) http.Handler

func (*Server) DeletePipeline

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

func (*Server) ExposePipeline

func (s *Server) ExposePipeline(pipeline db.Pipeline) http.Handler

func (*Server) GetPipeline

func (s *Server) GetPipeline(pipeline db.Pipeline) http.Handler

func (*Server) GetVersionsDB

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

func (*Server) HidePipeline

func (s *Server) HidePipeline(pipelineDB db.Pipeline) 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) ListPipelineBuilds

func (s *Server) ListPipelineBuilds(pipeline db.Pipeline) http.Handler

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.Pipeline) http.Handler

func (*Server) PipelineBadge

func (s *Server) PipelineBadge(pipeline db.Pipeline) http.Handler

func (*Server) RenamePipeline

func (s *Server) RenamePipeline(pipeline db.Pipeline) http.Handler

func (*Server) UnpausePipeline

func (s *Server) UnpausePipeline(pipelineDB 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