Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var TrivyScanner = report.ScannerDetails{ ID: "starboard_trivy", Name: "Trivy (via Starboard Operator)", Vendor: report.Vendor{ Name: "GitLab", }, }
Functions ¶
This section is empty.
Types ¶
type CronScheduler ¶
type CronScheduler struct {
	// contains filtered or unexported fields
}
    CronScheduler can run tasks on a cron schedule, with cancellation.
func NewCronScheduler ¶
func NewCronScheduler() *CronScheduler
func (*CronScheduler) Run ¶
func (s *CronScheduler) Run(ctx context.Context)
type Factory ¶
type Factory struct{}
    func (*Factory) IsProducingLeaderModules ¶
func (*Factory) StartStopPhase ¶
func (f *Factory) StartStopPhase() modshared.ModuleStartStopPhase
type Payload ¶
type Payload struct {
	Vulnerability *report.Vulnerability `json:"vulnerability"`
	Scanner       report.ScannerDetails `json:"scanner"`
}
    Payload resembles the create-starboard-vulnerability payload of the KAS API https://docs.gitlab.com/ee/development/internal_api/#create-starboard-vulnerability
type Reporter ¶
type Reporter struct {
	// contains filtered or unexported fields
}
    func (*Reporter) ResolveVulnerabilities ¶
      
      Source Files
      ¶
    
   Click to show internal directories. 
   Click to hide internal directories.