Documentation ¶
Index ¶
- type IntMetric
- type Server
- func (s *Server) DeleteWorker(w http.ResponseWriter, r *http.Request)
- func (s *Server) HeartbeatWorker(w http.ResponseWriter, r *http.Request)
- func (s *Server) LandWorker(w http.ResponseWriter, r *http.Request)
- func (s *Server) ListWorkers(team db.Team) http.Handler
- func (s *Server) PruneWorker(w http.ResponseWriter, r *http.Request)
- func (s *Server) RegisterWorker(w http.ResponseWriter, r *http.Request)
- func (s *Server) RetireWorker(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( logger lager.Logger, teamFactory db.TeamFactory, dbWorkerFactory db.WorkerFactory, ) *Server
func (*Server) DeleteWorker ¶
func (s *Server) DeleteWorker(w http.ResponseWriter, r *http.Request)
func (*Server) HeartbeatWorker ¶
func (s *Server) HeartbeatWorker(w http.ResponseWriter, r *http.Request)
func (*Server) LandWorker ¶
func (s *Server) LandWorker(w http.ResponseWriter, r *http.Request)
func (*Server) PruneWorker ¶
func (s *Server) PruneWorker(w http.ResponseWriter, r *http.Request)
func (*Server) RegisterWorker ¶
func (s *Server) RegisterWorker(w http.ResponseWriter, r *http.Request)
func (*Server) RetireWorker ¶
func (s *Server) RetireWorker(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.