Documentation ¶
Index ¶
- type ScanResultsHandler
- type Server
- func (s *Server) PostScanScanUUIDCISDockerBenchmarkResults(params operations.PostScanScanUUIDCisDockerBenchmarkResultsParams) middleware.Responder
- func (s *Server) PostScanScanUUIDContentAnalysis(params operations.PostScanScanUUIDContentAnalysisParams) middleware.Responder
- func (s *Server) PostScanScanUUIDResults(params operations.PostScanScanUUIDResultsParams) middleware.Responder
- func (s *Server) Start(errChan chan struct{})
- func (s *Server) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScanResultsHandler ¶
type ScanResultsHandler interface { HandleScanResults(params operations.PostScanScanUUIDResultsParams) error HandleScanContentAnalysis(params operations.PostScanScanUUIDContentAnalysisParams) error HandleCISDockerBenchmarkScanResults(params operations.PostScanScanUUIDCisDockerBenchmarkResultsParams) error }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func CreateRESTServer ¶
func CreateRESTServer(port int, handler ScanResultsHandler) (*Server, error)
func (*Server) PostScanScanUUIDCISDockerBenchmarkResults ¶
func (s *Server) PostScanScanUUIDCISDockerBenchmarkResults(params operations.PostScanScanUUIDCisDockerBenchmarkResultsParams) middleware.Responder
func (*Server) PostScanScanUUIDContentAnalysis ¶
func (s *Server) PostScanScanUUIDContentAnalysis(params operations.PostScanScanUUIDContentAnalysisParams) middleware.Responder
func (*Server) PostScanScanUUIDResults ¶
func (s *Server) PostScanScanUUIDResults(params operations.PostScanScanUUIDResultsParams) middleware.Responder
Click to show internal directories.
Click to hide internal directories.