Documentation ¶
Index ¶
- type ScannerFactory
- type Server
- func (s *Server) CheckResource(dbPipeline db.Pipeline) http.Handler
- func (s *Server) CheckResourceType(dbPipeline db.Pipeline) http.Handler
- func (s *Server) CheckResourceWebHook(dbPipeline db.Pipeline) http.Handler
- func (s *Server) GetResource(pipeline db.Pipeline) http.Handler
- func (s *Server) ListAllResources(w http.ResponseWriter, r *http.Request)
- func (s *Server) ListResources(pipeline db.Pipeline) http.Handler
- func (s *Server) ListVersionedResourceTypes(pipeline db.Pipeline) http.Handler
- func (s *Server) PauseResource(dbPipeline db.Pipeline) http.Handler
- func (s *Server) UnpauseResource(dbPipeline db.Pipeline) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScannerFactory ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( logger lager.Logger, scannerFactory ScannerFactory, variablesFactory creds.VariablesFactory, resourceFactory db.ResourceFactory, ) *Server
func (*Server) CheckResourceType ¶
func (*Server) CheckResourceWebHook ¶
CheckResourceWebHook defines a handler for process a check resource request via an access token.
func (*Server) ListAllResources ¶
func (s *Server) ListAllResources(w http.ResponseWriter, r *http.Request)
func (*Server) ListVersionedResourceTypes ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.