Documentation ¶
Index ¶
- type InterceptTimeout
- type InterceptTimeoutError
- type InterceptTimeoutFactory
- type Server
- func (s *Server) GetContainer(team db.Team) http.Handler
- func (s *Server) HijackContainer(team db.Team) http.Handler
- func (s *Server) ListContainers(team db.Team) http.Handler
- func (s *Server) ListDestroyingContainers(w http.ResponseWriter, r *http.Request)
- func (s *Server) ReportWorkerContainers(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterceptTimeout ¶
type InterceptTimeoutError ¶
type InterceptTimeoutError struct {
// contains filtered or unexported fields
}
func (InterceptTimeoutError) Error ¶
func (err InterceptTimeoutError) Error() string
type InterceptTimeoutFactory ¶
type InterceptTimeoutFactory interface {
NewInterceptTimeout() InterceptTimeout
}
func NewInterceptTimeoutFactory ¶
func NewInterceptTimeoutFactory(duration time.Duration) InterceptTimeoutFactory
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( logger lager.Logger, workerClient worker.Client, variablesFactory creds.VariablesFactory, interceptTimeoutFactory InterceptTimeoutFactory, containerRepository db.ContainerRepository, destroyer gc.Destroyer, ) *Server
func (*Server) ListDestroyingContainers ¶
func (s *Server) ListDestroyingContainers(w http.ResponseWriter, r *http.Request)
func (*Server) ReportWorkerContainers ¶
func (s *Server) ReportWorkerContainers(w http.ResponseWriter, r *http.Request)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.