Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ErrImagePullBackOff - Container image pull failed, kubelet is backing off image pull ErrImagePullBackOff = "ImagePullBackOff" // ErrImageInspect - Unable to inspect imag ErrImageInspect = "ImageInspectError" // ErrImagePull - General image pull error ErrImagePull = "ErrImagePull" // ErrImageNeverPull - Required Image is absent on host and PullPolicy is NeverPullImage ErrImageNeverPull = "ErrImageNeverPull" // ErrInvalidImageName - Unable to parse the image name. ErrInvalidImageName = "InvalidImageName" )
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 NamespaceScanner ¶ added in v17.5.0
type NamespaceScanner interface {
// contains filtered or unexported methods
}
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 Scanner ¶ added in v17.5.0
type Scanner interface {
// contains filtered or unexported methods
}
type ScanningManager ¶ added in v17.5.0
type ScanningManager interface {
// contains filtered or unexported methods
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.