Documentation ¶
Index ¶
- Variables
- type ComplianceIngestServer
- func (srv *ComplianceIngestServer) HandleEvent(ctx context.Context, req *automate_event.EventMsg) (*automate_event.EventResponse, error)
- func (s *ComplianceIngestServer) ProcessComplianceReport(ctx context.Context, in *compliance.Report) (*gp.Empty, error)
- func (srv *ComplianceIngestServer) ProjectUpdateStatus(ctx context.Context, req *ingest_api.ProjectUpdateStatusReq) (*ingest_api.ProjectUpdateStatusResp, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var MinimumSupportedInspecVersion = semver.MustParse("2.0.0")
Functions ¶
This section is empty.
Types ¶
type ComplianceIngestServer ¶
type ComplianceIngestServer struct {
// contains filtered or unexported fields
}
func NewComplianceIngestServer ¶
func NewComplianceIngestServer(esClient *ingestic.ESClient, mgrClient manager.NodeManagerServiceClient, automateURL string, notifierClient notifier.Notifier, authzProjectsClient authz.ProjectsServiceClient, messageBufferSize int) *ComplianceIngestServer
func (*ComplianceIngestServer) HandleEvent ¶
func (srv *ComplianceIngestServer) HandleEvent(ctx context.Context, req *automate_event.EventMsg) (*automate_event.EventResponse, error)
func (*ComplianceIngestServer) ProcessComplianceReport ¶
func (s *ComplianceIngestServer) ProcessComplianceReport(ctx context.Context, in *compliance.Report) (*gp.Empty, error)
func (*ComplianceIngestServer) ProjectUpdateStatus ¶
func (srv *ComplianceIngestServer) ProjectUpdateStatus(ctx context.Context, req *ingest_api.ProjectUpdateStatusReq) (*ingest_api.ProjectUpdateStatusResp, error)
Click to show internal directories.
Click to hide internal directories.